:root {
  --cream: #F7F4EE;
  --card: #EEEBE3;
  --ink: #2B2723;
  --muted: #6F6A62;
  --sage: #9DA58F;
  --sage-deep: #7E8771;
  --terra: #C9775A;
  --terra-deep: #B5634A;
  --terra-light: #E9A487;
  --line: #DDD8CE;
  --foot: #2F322B;
  --sans: "Onest", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --r-tile: 28px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.pill-accent { background: var(--terra); color: #fff; }
.pill-accent:hover { background: var(--terra-deep); }
.pill-accent:disabled { background: #D9CFC6; color: #fff; cursor: not-allowed; }
.pill-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.pill-ghost:hover { background: rgba(255,255,255,.14); }
.pill-light { background: #fff; color: var(--ink); }
.pill-outline-light { border: 1px solid rgba(255,255,255,.75); color: #fff; min-height: 46px; padding: 0 26px; }
.pill-outline-light:hover { background: rgba(255,255,255,.16); }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: rgba(255,255,255,.85); }
.link-sm { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-sm.accent { color: var(--terra-deep); }

.sec-title {
  font-weight: 300; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.035em;
  margin-top: 16px;
}
.sec-title em { color: var(--terra); font-size: 1.06em; }
.sec-sub { margin-top: 18px; color: var(--muted); max-width: 44ch; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.solid { background: rgba(247,244,238,.94); color: var(--ink); padding-block: 14px; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-size: 30px; font-weight: 300; letter-spacing: .32em; }
.logo-sub { font-size: 10px; font-weight: 400; letter-spacing: .38em; margin-top: 8px; opacity: .85; }
.nav { display: flex; gap: 40px; margin-left: auto; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { min-height: 46px; padding: 0 26px; }
.site-header.solid .header-cta { background: var(--ink); color: var(--cream); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 20px; }
.menu-btn span:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; color: #fff; }
.hero-media {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 0 0 var(--r-tile) var(--r-tile);
  background: #6E6A57;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform-origin: 70% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(38,36,28,.62) 0%, rgba(38,36,28,.38) 38%, rgba(38,36,28,0) 62%),
              linear-gradient(0deg, rgba(38,36,28,.28) 0%, rgba(38,36,28,0) 30%);
}
.hero-copy { position: relative; width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 150px 0 220px; }
.hero h1 { font-weight: 200; font-size: clamp(56px, 8.4vw, 132px); line-height: .92; letter-spacing: -0.05em; }
.h-line { display: block; }
.h-accent {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  font-size: 1.18em; line-height: 1; color: var(--terra-light); padding: 0 .12em .08em 0; margin-left: .02em;
}
.hero-rule { display: block; width: 56px; height: 1px; background: rgba(255,255,255,.8); margin: 30px 0 26px; }
.hero-sub { max-width: 36ch; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Trust card ---------- */
.trust { position: relative; z-index: 2; margin-top: -132px; }
.trust-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--r-tile); padding: 40px 12px;
}
.trust-item { padding: 6px 32px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 44px; height: 44px; margin: 0 auto 18px; }
.trust-item h3 { font-weight: 400; font-size: 21px; letter-spacing: -0.02em; }
.trust-item p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 26ch; margin-inline: auto; }

svg.draw path, svg.draw circle { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1.85fr 1fr; gap: 24px; margin-top: 56px; }
.tile { border-radius: var(--r-tile); overflow: hidden; }
.tile-sage { background: var(--sage); color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.tile-copy { padding: 56px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.tile-title { font-weight: 300; font-size: clamp(38px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -0.04em; margin-top: 22px; }
.tile-title span { display: block; }
.tile-title em { display: block; font-size: 1.08em; }
.tile-rule { width: 44px; height: 1px; background: rgba(255,255,255,.75); margin: 28px 0; }
.tile-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.92); max-width: 34ch; }
.tile-copy .pill { margin-top: auto; }
.tile-copy p + .pill { margin-top: 32px; }
.tile-photo { position: relative; overflow: hidden; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.tile-list { border: 1px solid var(--line); background: var(--cream); padding: 34px 32px 16px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.list-head .link-sm { color: var(--ink); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn { display: grid; grid-template-columns: 96px 1fr 28px; gap: 18px; align-items: center; width: 100%; text-align: left; padding: 18px 0; }
.acc-btn img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.acc-text strong { display: block; font-weight: 400; font-size: 19px; letter-spacing: -0.02em; }
.acc-text span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.plus { position: relative; width: 22px; height: 22px; transition: transform .45s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.25px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .plus { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { font-size: 14px; color: var(--muted); padding: 0 0 12px 114px; }
.acc-panel .link-sm { display: inline-block; margin: 0 0 20px 114px; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Concerns ---------- */
.concerns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 140px; }
.concern-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.concern-list button {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 15px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.concern-list button:hover { border-color: var(--ink); }
.concern-list button[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.concern-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.note-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.note-text { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.2; color: var(--terra-deep); transition: opacity .3s var(--ease); }
.note-text.swap { opacity: 0; }

.face { margin: 0; background: var(--card); border-radius: var(--r-tile); aspect-ratio: 1 / 1.05; display: grid; place-items: center; position: relative; overflow: hidden; }
.face::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,119,90,.10), rgba(201,119,90,0) 70%); }
.face svg { position: relative; width: 74%; height: auto; }
.face-lines path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.face-lines path.soft { stroke: var(--sage-deep); stroke-width: 1; }
.zone { fill: rgba(201,119,90,.16); stroke: var(--terra); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.85); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.zone-line { fill: none; stroke-width: 2; stroke-dasharray: none; }
.zone-dots { stroke: none; fill: var(--terra); }
.zone.on { opacity: 1; transform: scale(1); }
.zone.on ellipse { animation: breathe 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { 50% { transform: scale(1.06); } }

/* ---------- Visit ---------- */
.visit { margin-top: 150px; position: relative; }
.visit-head { max-width: 640px; }
.thread { position: relative; height: 1px; background: var(--line); margin: 64px 0 0; }
.thread-fill { position: absolute; inset: 0; background: var(--terra); transform: scaleX(var(--p, 0)); transform-origin: left; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; padding-top: 36px; }
.step-dot { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); transition: background .4s var(--ease), border-color .4s var(--ease); }
.step.lit .step-dot { background: var(--terra); border-color: var(--terra); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--terra); }
.step h3 { font-weight: 400; font-size: 24px; letter-spacing: -0.025em; margin-top: 10px; }
.step p { color: var(--muted); margin-top: 10px; max-width: 34ch; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; margin-top: 150px; }
.book-media { border-radius: var(--r-tile); overflow: hidden; min-height: 560px; position: relative; }
.book-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.book-card { background: var(--card); border-radius: var(--r-tile); padding: 48px 44px; display: flex; flex-direction: column; }
.book-title { font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.035em; margin: 14px 0 30px; }
.book-title em { color: var(--terra); }
.book-step { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 26px; }
.day { border: 1px solid var(--line); border-radius: 16px; padding: 10px 0; text-align: center; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.day span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day strong { display: block; font-weight: 400; font-size: 20px; margin-top: 2px; }
.day:hover { border-color: var(--ink); }
.day[aria-checked="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.day[aria-checked="true"] span { color: rgba(247,244,238,.7); }
.times { display: flex; flex-wrap: wrap; gap: 8px; min-height: 50px; align-content: flex-start; margin-bottom: 26px; }
.times .hint { font-size: 14px; color: var(--muted); }
.time { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; opacity: 0; transform: translateY(10px); animation: chip .5s var(--ease) forwards; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.time:hover { border-color: var(--ink); }
.time[aria-checked="true"] { background: var(--terra); border-color: var(--terra); color: #fff; }
@keyframes chip { to { opacity: 1; transform: none; } }
.book-go { align-self: flex-start; margin-top: auto; }
.book-msg { font-size: 14px; color: var(--muted); margin-top: 14px; min-height: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--foot); color: rgba(247,244,238,.86); margin-top: 150px; padding: 80px 0 32px; border-radius: var(--r-tile) var(--r-tile) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; font-size: 15px; }
.logo-foot { color: var(--cream); }
.foot-line { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--cream); }
.foot-head { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,244,238,.55); margin-bottom: 12px; }
.footer a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(247,244,238,.14); font-size: 13px; color: rgba(247,244,238,.6); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .h-line { animation: rise .9s var(--ease) .15s both; }
  .js .h-accent { animation: write 1.3s var(--ease) .55s both; }
  .js .hero-rule { animation: grow .8s var(--ease) 1.1s both; transform-origin: left; }
  .js .hero-sub, .js .hero-actions { animation: rise .9s var(--ease) 1.2s both; }
  .js .hero-actions { animation-delay: 1.3s; }

  .js svg.draw path, .js svg.draw circle { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.4s var(--ease); }
  .js .trust-item:nth-child(2) svg * { transition-delay: .12s; }
  .js .trust-item:nth-child(3) svg * { transition-delay: .24s; }
  .js .trust-item:nth-child(4) svg * { transition-delay: .36s; }
  .js .trust-card.in svg.draw path, .js .trust-card.in svg.draw circle { stroke-dashoffset: 0; }

  .js .rise-in { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .rise-in.in { opacity: 1; transform: none; }
  .js .steps .step:nth-child(2) { transition-delay: .08s; }
  .js .steps .step:nth-child(3) { transition-delay: .16s; }

  .js .face-lines path { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease); }
  .js .face.in .face-lines path { stroke-dashoffset: 0; }

  @supports (animation-timeline: scroll()) {
    .hero-media img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1) translateY(4%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 26px; }
  .bento { grid-template-columns: 1fr; }
  .tile-sage { min-height: 480px; }
  .book { grid-template-columns: 1fr; }
  .book-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .mobile-nav {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 22px;
    background: var(--cream); color: var(--ink); box-shadow: 0 0 0 1px var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .mobile-nav a { padding: 12px 14px; font-size: 17px; border-radius: 12px; }
  .mobile-nav a:last-child { background: var(--terra); color: #fff; text-align: center; margin-top: 6px; border-radius: 999px; }
  .site-header.open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-header.open { background: rgba(247,244,238,.96); color: var(--ink); }
  .trust-card { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .trust-item:nth-child(3) { border-left: 0; }
  .concerns { grid-template-columns: 1fr; gap: 44px; margin-top: 110px; }
  .face { max-width: 560px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .thread { display: none; }
  .step { padding: 28px 0 28px 34px; border-left: 1px solid var(--line); }
  .step-dot { top: 36px; left: -6px; }
  .visit, .book { margin-top: 110px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { align-items: flex-end; min-height: min(100svh, 1100px); }
  .hero-media img { object-position: 62% 45%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(38,36,28,.8) 0%, rgba(38,36,28,.5) 42%, rgba(38,36,28,.05) 72%); }
  .hero-copy { padding: 0 0 190px; }
}
@media (max-width: 600px) {
  .logo-word { font-size: 24px; }
  .hero { min-height: 100svh; }
  .hero-copy { padding: 0 0 170px; }
  .hero-sub { font-size: 16px; }
  .hero-actions .pill { flex: 1 1 100%; }
  .trust { margin-top: -110px; }
  .trust-card { grid-template-columns: 1fr; padding: 12px 24px; row-gap: 0; }
  .trust-item { padding: 24px 0; text-align: left; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
  .trust-item svg { grid-row: span 2; margin: 0; }
  .trust-item p { margin-inline: 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .tile-sage { grid-template-columns: 1fr; }
  .tile-copy { padding: 40px 28px; }
  .tile-photo { aspect-ratio: 1; }
  .tile-list { padding: 26px 20px 8px; }
  .acc-btn { grid-template-columns: 72px 1fr 24px; gap: 14px; }
  .acc-btn img { width: 72px; height: 72px; }
  .acc-panel p, .acc-panel .link-sm { margin-left: 0; padding-left: 86px; }
  .acc-panel .link-sm { margin-left: 86px; padding-left: 0; }
  .book-card { padding: 34px 22px; }
  .days { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
}
