:root {
  color-scheme: light;
  --green: #173b2c;
  --dark: #113124;
  --body: #2d4136;
  --muted: #526252;
  --cream: #faf8f0;
  --white: #fffdf7;
  --sage: #e8ecd9;
  --line: #d8dfcb;
  --gold: #b18a40;
  --content: 1200px;
  --heading: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--body);
  background: var(--cream);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { color: var(--dark); }
h1, h2 { font-family: var(--heading); line-height: 1.04; }
section[id], article[id] { scroll-margin-top: 20px; }
:focus-visible { outline: 3px solid #9b681e; outline-offset: 4px; }

.wrap { width: min(calc(100% - 80px), var(--content)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 12px; top: 12px; padding: 12px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 2; background: var(--cream); border-bottom: 1px solid #ddd0aa; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--dark); text-decoration: none; }
.brand img { flex: none; object-fit: contain; }
.brand strong { display: block; font: bold clamp(19px, 2vw, 29px)/1.08 var(--heading); }
.brand small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.25; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding-block: 12px; white-space: nowrap; }
.nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav a:last-child { border: 1px solid #bcc8ad; border-radius: 100px; padding: 9px 16px; }
.nav a span { margin-left: 4px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f8f1e5 url("assets/hero-interior.png") center center / cover no-repeat;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 53%) 1fr;
  align-items: center;
  min-height: clamp(500px, 43vw, 625px);
}
.hero-copy { position: relative; z-index: 3; padding-block: 42px 60px; }
.hero-name { font: bold clamp(22px, 2.1vw, 30px)/1.15 var(--heading); color: var(--dark); }
.hero-role { display: flex; align-items: center; gap: 14px; color: #415945; margin-top: 5px; font-size: 17px; }
.hero-role::after { content: ""; width: 56px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 650px; margin: 22px 0 16px; font-size: clamp(38px, 4.2vw, 60px); letter-spacing: -.04em; font-weight: 700; }
.hero-description { max-width: 46ch; font-size: clamp(16px, 1.4vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--green); border-radius: 10px; font-weight: 650; font-size: 15px; text-align: center; text-decoration: none; }
.primary { background: var(--green); color: var(--white); }
.primary:hover { background: #28553c; }
.outline { color: var(--dark); background: #fffdf747; }
.outline:hover { background: var(--white); }
.hero-visual {
  position: absolute;
  inset: 0 max(3.5%, calc((100vw - 1350px) / 2)) 0 auto;
  width: min(44%, 650px);
  pointer-events: none;
}
.hero-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}
.hero-photo img {
  width: auto;
  height: auto;
  max-height: 100%;
}
.hero-gold, .hero-branch {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
}
.hero-gold {
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(33%) rotate(2.7deg);
}
.hero-branch {
  right: -14px;
  bottom: -32px;
  width: clamp(148px, 17vw, 250px);
}

.services { padding-top: 48px; }
.requests { padding-top: 34px; }
.requests h2, .education h3 { font: bold clamp(22px, 2.7vw, 32px)/1.15 var(--heading); }
.requests ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 15px 0 0; }
.requests li { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 10px; background: #edf0e3; font-size: 14px; overflow-wrap: anywhere; }
.icon-bubble { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); }
.icon-bubble img { width: 18px; height: 18px; }
.education { margin-top: 22px; padding: clamp(14px, 2vw, 22px); border-radius: 14px; background: #edf0e3; }
.education h3 { font-size: clamp(21px, 2.2vw, 28px); }
.education-program { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.education-program h4, .education-docs h4 { color: var(--dark); }
.education-program p, .education-learning { font-size: 14px; }
#about .education-program p { margin-top: 5px; }
.education-meta { color: #42654d; font-weight: 600; }
.education-learning { margin-top: 14px; }
.education-gallery { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.education-docs { display: grid; gap: 10px; margin-top: 12px; }
.education-docs > div { min-width: 0; padding: 12px; border-radius: 10px; background: var(--cream); }
.education-docs a { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 44px; margin-top: 8px; color: var(--green); font-size: 13px; overflow-wrap: anywhere; text-underline-offset: 3px; }
.education-docs img { width: 64px; height: 46px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); object-fit: contain; }
@media (min-width: 811px) { .education-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.support-requirement { margin-top: 10px; }
#support { grid-column: 1 / -1; min-height: 0; }
.plan-grid { display: grid; align-items: start; gap: 12px; }
.plan-grid .plan { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
@media (min-width: 811px) {
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .plan-grid .plan { display: flex; flex-direction: column; }
  .plan-grid .plan p:last-of-type { margin-bottom: 12px; }
  .plan-grid .booking-link { margin-top: auto; }
}
@media (max-width: 810px) { .requests ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 350px) { .requests ul { grid-template-columns: 1fr; } }
.section-title { display: flex; gap: 20px; align-items: center; font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -.035em; }
.section-title::after, .section-title.centered::before { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #bfa064, #e8ddbb); }
.section-title.centered { justify-content: center; }
.section-title.centered::before, .section-title.centered::after { flex: 0 1 130px; }
.section-title.centered::before { transform: scaleX(-1); }
.section-lead { margin: 12px auto 25px; color: var(--muted); text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 315px;
  padding: 22px;
  border: 1px solid #e0e2d1;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8f6eb, #f0f0e1);
}
.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto auto;
  width: 78px;
  height: 57px;
  border-top-right-radius: inherit;
  background: var(--card-leaves) var(--leaf-position, left top) / var(--leaf-size, 92px) auto no-repeat;
  opacity: .72;
  mask-image: linear-gradient(125deg, transparent 8%, #000 59%);
  pointer-events: none;
}
#first-steps { --card-leaves: url("assets/leaves-small.png"); --leaf-position: left -10px; }
#deep-review { --card-leaves: url("assets/leaves-small-alt.png"); --leaf-position: left -10px top 24px; }
#deep-review::before {
  right: 21px;
  width: 57px;
  height: 78px;
  border-radius: 0 0 18px 0;
  transform: translateY(57px) rotate(-90deg);
  transform-origin: top left;
  mask-image: linear-gradient(215deg, transparent 8%, #000 59%);
}
#support { --card-leaves: url("assets/leaves-large.png"); --leaf-size: 85px; }
#support::before {
  transform: scaleY(-1);
  border-radius: 0 0 18px 0;
  mask-image: linear-gradient(55deg, transparent 8%, #000 59%);
}
.service-card:hover, .service-card:focus-within { border-color: #6a865e; box-shadow: 0 0 0 2px #a0b28a6b; }
.service-card:target { border-color: #9b7c42; box-shadow: 0 0 0 2px #d2bc85; }
.service-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 2px #567750; }
.card-heading { display: flex; align-items: center; gap: 13px; min-height: 56px; }
.card-heading h3 { font: bold clamp(23px, 2.2vw, 30px)/1.07 var(--heading); letter-spacing: -.025em; }
.service-icon { display: grid; place-items: center; flex: 0 0 49px; width: 49px; height: 49px; border-radius: 50%; background: #e2e8c9; }
.service-icon img { width: 24px; height: 24px; }
.format { margin-block: 10px 6px; color: #4d6049; font-size: 13px; font-weight: 650; }
.card-summary { min-height: 4.65em; }
#support .card-summary { min-height: 0; }
#support .card-summary + .card-summary { margin-top: 12px; }
.price { margin-top: 13px; color: var(--dark); font: bold 29px/1.2 var(--heading); }
.details { margin-top: 13px; }
.details summary { width: fit-content; padding-block: 5px; color: var(--green); font-weight: 650; cursor: pointer; }
.details summary:hover { text-decoration: underline; }
.details p { margin-top: 10px; font-size: 14px; }
.plan { padding-block: 12px; border-bottom: 1px solid #d8deca; }
.plan p { margin-top: 12px; }
.plan-price { font-weight: 650; }
.support-note { padding-top: 10px; }
.support-note p + p { margin-top: 12px; }
.booking-link { display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; margin-top: 10px; min-height: 44px; padding: 6px 13px; border: 1px solid #52704d; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--dark); background: #fbfbf3; }
.booking-link:hover, .booking-link[aria-current="true"] { color: var(--white); background: var(--green); }
.booking-link[aria-current="true"] .arrow { display: none; }
.booking-link[aria-current="true"]::after { content: "✓"; }

.process { display: grid; gap: 22px; padding: 26px 30px; border-radius: 18px; background: #edf0e3; }
.process h2 { font-size: clamp(29px, 3vw, 40px); letter-spacing: -.035em; }
.process ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.process ol::before { content: ""; position: absolute; inset: 15px calc((100% - 40px) / 3 - 16px) auto 16px; height: 1px; background: #b89b59; }
.process li { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; }
.step { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #b89b59; border-radius: 50%; background: #f5edd3; color: #283a28; font-weight: 700; font-size: 14px; }
.process h3 { font-size: 16px; line-height: 1.2; margin-top: 3px; }
.process p { font-size: 14px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .service-card { transition: border-color 160ms ease, box-shadow 160ms ease; }
  .process-reveal li { animation: stage-enter 360ms ease-out both; }
  .process-reveal li:nth-child(2) { animation-delay: 75ms; }
  .process-reveal li:nth-child(3) { animation-delay: 150ms; }
  @keyframes stage-enter { from { transform: translateY(5px); opacity: .75; } }
}

.editorial { padding-block: 48px; }
.editorial .section-title { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 16px; }
.case-placeholder { display: grid; gap: 10px; align-content: center; min-height: 144px; padding: 18px 22px 22px; border-radius: 15px; background: #f1f0e4; }
.case-placeholder[hidden] { display: none; }
#case-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
#case-list > div:only-child { grid-column: 1 / -1; }
.case-category { color: #4b624a; font-size: 13px; font-weight: 700; }
.case-placeholder h3 { font: bold 23px/1.15 var(--heading); }
.case-metrics { display: grid; gap: 10px; }
.case-metric strong { display: block; color: var(--dark); font: bold 25px/1.15 var(--heading); }
.case-metric span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.case-sources a { margin-top: 0; }
.case-placeholder .details { margin-top: 0; }
.case-placeholder .details .case-sources { margin-top: 6px; }
.cases-intro { max-width: 75ch; margin: 14px 0 20px; }
.cases-note { margin-top: 18px; }
.case-stages { margin-top: 8px; font-size: 14px; }
.case-stage + .case-stage { margin-top: 8px; }
.case-stage a { text-decoration: underline; text-underline-offset: 3px; }
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case-filters button { min-height: 44px; padding: 6px 12px; border: 1px solid #bcc8ad; border-radius: 40px; background: transparent; color: var(--green); font: inherit; cursor: pointer; }
.case-filters button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.case-toggle { margin-top: 14px; cursor: pointer; }
.case-toggle[hidden] { display: none; }
.case-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-weight: 700; text-underline-offset: 4px; }
.quote-mark { height: 34px; font: 60px/1 var(--heading); color: #9b7935; }
.case-placeholder blockquote { margin: 0; }
#about p { max-width: 72ch; }
#about .about-copy p { max-width: 95ch; }
#about p + p { margin-top: 12px; }
@media (min-width: 811px) {
  #about .about-copy p, #about .education p { max-width: none; }
}
.scope { color: var(--muted); font-size: 14px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; }
.links a { margin-top: 12px; }

.channels-section { padding-block: 32px 48px; }
.channels-panel { padding: clamp(20px, 4vw, 38px); border-radius: 20px; background: #f1f2e6; text-align: center; }
.channels-panel h2 { font-size: clamp(28px, 3.3vw, 42px); }
.channels-panel > p { max-width: 72ch; margin: 15px auto 0; }
.channel-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.channel-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 145px; padding: 18px; border: 1px solid #cbd9bd; border-radius: 14px; background: #e8eedf; color: var(--dark); text-decoration: none; }
.channel-card:hover { border-color: var(--green); background: #dce8d7; }
.channel-card span { font-size: 14px; color: #49644c; }
.channel-icon { width: 42px; height: 42px; object-fit: contain; }
.contacts { padding-bottom: 36px; }
.contact-title {
  margin-bottom: 18px;
  font-size: clamp(29px, 3.25vw, 46px);
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
}
.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr) minmax(185px, 24%);
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  min-height: clamp(210px, 19vw, 282px);
  padding: 22px clamp(22px, 3.8vw, 58px) 22px 0;
  border-radius: 22px;
  color: #fffaf0;
  background: #0d3928;
}
.contact-art {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 100%;
  background: url("assets/panel-still-life.png") left 54% / max(70%, 450px) auto no-repeat;
  mask-image: linear-gradient(90deg, #000 46%, transparent 70%);
}
.contact-copy {
  grid-column: 2;
}
.contact-copy h3 {
  color: inherit;
  font: bold clamp(24px, 2.3vw, 34px)/1.1 var(--heading);
  margin-bottom: 8px;
}
.contact-actions { display: grid; gap: 8px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; min-height: 44px; border: 1px solid #dfecd385; border-radius: 8px; font-weight: 650; text-decoration: none; }
.contact-link { background: #f7f2dc; color: var(--dark); }
.contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-link:focus-visible { outline-color: #f5df9a; }
.copy-button { margin-top: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #dfecd385; border-radius: 8px; background: #fffaf01a; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.copy-button:hover { background: #fffaf030; }
.copy-button:focus-visible, #booking-message:focus-visible { outline-color: #f5df9a; }
.copy-status:not(:empty) { margin-top: 7px; font-size: 13px; }
.booking-hint { margin-top: 6px; font-size: 14px; }
#booking-note:not(:empty) { margin-top: 10px; }
.booking-terms { padding: 16px; border-radius: 12px; background: var(--cream); }
.booking-terms p + p { margin-top: 12px; }
#booking-message { width: 100%; margin-top: 7px; padding: 8px; border: 1px solid #dfecd385; border-radius: 8px; background: #fffdf2; color: var(--dark); font: inherit; resize: vertical; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px 24px; border-top: 1px solid var(--line); }
.footer-inner .brand strong { font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a, .links a { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.footer-links:empty { display: none; }
.footer-credit { margin-inline-start: auto; color: var(--muted); font-size: 13px; text-align: right; }
.footer-credit strong { font-weight: 600; }
.arrow { margin-left: 5px; }

@media (max-width: 1020px) {
  .wrap { width: min(calc(100% - 48px), var(--content)); }
  .nav { gap: 13px; }
  .nav a { font-size: 13px; }
  .hero-inner { min-height: 454px; }
  .process { gap: 16px; }
}

@media (max-width: 810px) {
  #case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { min-height: 68px; position: relative; }
  .header-inner .brand img { width: 47px; height: 47px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0 8px 8px; min-height: 44px; border: 0; background: transparent; color: var(--dark); font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1; cursor: pointer; }
  .menu-toggle span { font-size: 21px; line-height: 1; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 10px 24px #173b2c16; }
  .nav.is-open { display: grid; gap: 0; }
  .nav a, .nav a:last-child { border: 0; padding: 10px 0; font-size: 15px; }
  .hero-inner { grid-template-columns: minmax(0, 57%) 1fr; }
  .hero-copy { padding-block: 34px; }
  .hero-visual { right: 0; width: 49%; }
  .service-card { padding: 16px; }
  .card-heading { gap: 9px; }
  .service-icon { width: 39px; height: 39px; flex-basis: 39px; }
}

@media (max-width: 650px) {
  .footer-credit { flex-basis: 100%; margin-inline-start: 0; text-align: center; }
  .channel-cards { grid-template-columns: 1fr; }
  .channel-card { min-height: 110px; }
  #case-list { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 10px; }
  .hero {
    background:
      linear-gradient(180deg, #fcf6eb30 42%, transparent 68%),
      #f8f1e5 url("assets/hero-interior.png") 45% top / auto 100% no-repeat;
  }
  .hero-inner { display: block; }
  .hero-copy { padding: 29px 0 17px; }
  .hero h1 { font-size: clamp(36px, 8.8vw, 52px); margin-block: 16px 14px; max-width: 15ch; text-wrap: initial; }
  .hero-description { font-size: 16px; }
  .hero-actions { display: grid; gap: 8px; margin-top: 21px; }
  .button { border-radius: 100px; }
  .hero-visual { position: relative; inset: auto; width: min(83%, 385px); margin-inline: auto; }
  .hero-photo { height: auto; }
  .hero-photo img { width: 100%; }
  .hero-gold { width: 136%; max-width: none; left: -18%; transform: translateY(27%); }
  .hero-branch { right: -9px; bottom: -16px; width: clamp(89px, 25vw, 147px); }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: 0;
    padding: 0 17px 20px;
    border-radius: 16px;
  }
  .contact-art {
    position: relative;
    inset: auto;
    width: calc(100% + 34px);
    height: clamp(164px, 48vw, 235px);
    margin-inline: -17px;
    background-size: auto 114%;
    background-position: left 52%;
    mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
  }
  .contact-copy { grid-column: 1; }
  .services { padding-top: 31px; }
  .section-title { gap: 12px; }
  .section-lead { margin-bottom: 17px; }
  .service-grid, .process ol { grid-template-columns: 1fr; }
  .service-grid { gap: 11px; }
  .service-card { min-height: 0; padding: 17px; }
  .card-heading { min-height: 0; }
  .card-summary { min-height: 0; }
  .process { padding: 20px; }
  .process ol { gap: 14px; }
  .process ol::before { display: none; }
  .process li { grid-template-columns: 32px minmax(0, 1fr); }
  .process li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 16px; height: calc(100% + 14px); width: 1px; background: #b89b59; }
  .step { position: relative; }
  .editorial { padding-block: 29px; }
}
