/* Sansheryon v2 — everything from the petals and the light. No green. */
:root {
  --night: #110f0c;     /* the shadow in the hero */
  --umber: #1c1a17;   /* neutral charcoal, not brown */
  --umber-2: #2e2b27;
  --cream: #f4efe3;     /* the petals */
  --paper: #faf7f0;
  --cream-2: #ebe3d3;
  --amber: #d9a75f;     /* the light on the petals (accent on dark) */
  --brown: #8a5a2b;     /* accent on light */
  --ink: #1f1d18;
  --ink-2: #4a443b;
  --muted: #7a7267;
  --line: rgba(31, 29, 24, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 em, h1 em { font-style: italic; }
p { margin: 0 0 1em; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
.small { font-size: .9rem; opacity: .82; }
.wrap { width: min(1180px, 100%); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font: 500 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.ivory { background: var(--cream); color: var(--ink); }
.btn.ivory:hover { background: #fff; }
.btn.ghost { border-color: rgba(244,239,227,.45); color: var(--cream); background: transparent; }
.btn.ghost:hover { background: rgba(244,239,227,.1); }
.btn.dark { background: var(--night); color: var(--cream); }
.btn.dark:hover { background: #000; }
.btn.outline { border-color: rgba(31,29,24,.35); color: var(--ink); background: transparent; }
.btn.outline:hover { background: rgba(31,29,24,.06); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header: brand + Book only */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--gutter); color: var(--cream); transition: background .35s, color .35s; }
.top.scrolled { background: var(--night); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 1.35rem var(--serif); letter-spacing: .04em; text-decoration: none; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(217,167,95,.18); }
.top-actions { display: flex; gap: 8px; }
.sections-btn { display: none !important; font: inherit; color: inherit; background: transparent; cursor: pointer; }
.top .pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(244,239,227,.45); border-radius: 999px; font-size: .9rem; text-decoration: none; }

/* Tab strip: pinned under the brand once the hero has gone */
.tabs { position: fixed; top: 64px; left: 0; right: 0; z-index: 49; background: transparent; border-bottom: 1px solid transparent; transition: background .35s ease, border-color .35s ease; }
.tabs.on, .top.scrolled ~ .tabs { background: var(--night); border-bottom-color: rgba(244,239,227,.1); }
.tabs-row { display: flex; gap: 4px; padding: 6px var(--gutter); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs-row::-webkit-scrollbar { display: none; }

.tabs-row a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: .88rem; color: rgba(244,239,227,.75); text-decoration: none; border: 1px solid transparent; transition: color .2s, border-color .2s, background .2s; }
.tabs-row a:hover { color: var(--cream); }
.tabs-row a.current { color: var(--amber); border-color: rgba(217,167,95,.45); background: rgba(217,167,95,.08); }

/* 1 · Hero */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--night); color: var(--cream); }
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--night) url("../assets/hero-end.jpg") 50% 50% / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(17,15,12,.55) 0%, rgba(17,15,12,0) 28%, rgba(17,15,12,0) 50%, rgba(17,15,12,.78) 82%, var(--night) 100%); }
.hero-text { position: relative; padding: 0 var(--gutter) clamp(56px, 10vh, 110px); max-width: 760px; }
.hero { padding-top: 116px; }
.hero-text { padding-bottom: clamp(150px, 20vh, 200px); }

/* Card tabs rising out of the bottom of the hero */
.jump { position: relative; z-index: 2; padding: 0 var(--gutter); margin-top: -110px; background: linear-gradient(to bottom, transparent 110px, var(--night) 110px); }
.jump-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.jc { display: grid; align-content: space-between; gap: 14px; min-height: 148px; padding: 18px; border-radius: 18px; text-decoration: none; color: var(--cream); background: rgba(244,239,227,.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(244,239,227,.24); transition: transform .3s, border-color .3s, background .3s; }
.jc:hover { transform: translateY(-4px); border-color: rgba(244,239,227,.6); background: rgba(244,239,227,.14); }
.jc svg { width: 24px; height: 24px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.jc b { font: 500 1.4rem/1.1 var(--serif); }
.jc small { font-size: .8rem; color: rgba(244,239,227,.72); }
.jc.urgent { grid-column: 1 / -1; min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(244,239,227,.07); border-color: rgba(217,167,95,.55); }
.jc.urgent b { font-size: 1.25rem; }
.jc.urgent small { margin-left: auto; }

/* Phones: Sections overlay with the same cards */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--night); overflow-y: auto; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-inner { max-width: 520px; margin: 0 auto; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; color: var(--cream); font: 400 1.4rem var(--serif); margin: 4px 0 16px; }
.sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,239,227,.35); background: transparent; color: var(--cream); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sheet .jump-grid { grid-template-columns: 1fr 1fr; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 5.6rem); }
.hero h1 em { display: block; opacity: .92; }
.hero .lede { max-width: 520px; margin: 22px 0 26px; font-size: 1.05rem; color: rgba(244,239,227,.88); }
.line { display: block; }
.actions.line { display: flex; }
.motion { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,239,227,.35); background: rgba(0,0,0,.3); color: var(--cream); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.motion .i-play { display: none; }
.motion[aria-pressed="true"] .i-play { display: block; }
.motion[aria-pressed="true"] .i-pause { display: none; }
@media (min-width: 901px) {
  .hero-video { transform: translateX(11%) scale(1.08); transform-origin: 50% 50%; }
  .hero-media { background-position: 72% 50%; background-size: 118% auto; }
  .hero-text { max-width: 700px; }
  .hero h1 { max-width: 560px; }
}

/* Chapter markers: the peony opening as you scroll */
.chapter { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 5vh, 56px); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); }
.chapter img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(217,167,95,.5), 0 0 0 7px rgba(217,167,95,.1); }

/* 2 · The person: night fades to cream behind her */
.person { padding: clamp(72px, 12vh, 140px) var(--gutter) clamp(56px, 8vh, 96px); color: var(--ink); background: linear-gradient(to bottom, var(--night) 0, var(--umber) 90px, var(--umber-2) 170px, #8f8b84 280px, #d8d2c6 360px, var(--cream) 430px, var(--cream) 100%); }
.person .chapter { color: var(--amber); }
.person-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.portrait { margin: 0; position: sticky; top: 124px; border-radius: 200px 200px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--umber); box-shadow: 0 30px 60px -30px rgba(17,15,12,.6); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-copy { padding-top: clamp(40px, 10vh, 110px); }
.person-copy h2 { margin-bottom: 26px; color: var(--ink); }
.person-copy p { font-size: 1.08rem; max-width: 58ch; }
.sub { font: 400 1.7rem/1.1 var(--serif); margin: 30px 0 12px; color: var(--ink); }
.creds { display: grid; gap: 14px; margin: 30px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.creds div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.creds dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); padding-top: .3em; }
.creds dd { font: 400 1.2rem/1.3 var(--serif); color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 30px 0; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.aside { margin: 0; padding-left: 18px; border-left: 2px solid var(--amber); font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--ink-2); max-width: 46ch; }
.aside cite { display: block; margin-top: 8px; font: .8rem var(--sans); font-style: normal; letter-spacing: .04em; color: var(--muted); }

/* 3 · Start here: paper */
.start { padding: clamp(72px, 12vh, 140px) var(--gutter); background: var(--paper); color: var(--ink); }
.start-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.start-intro { position: sticky; top: 124px; }
.start-intro h2 em { color: var(--brown); }
.start-intro p { margin-top: 16px; color: var(--ink-2); }
.qgroups h3 { font: .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brown); margin: 0 0 6px; }
.qgroups h3 + .qs { margin-bottom: 44px; }
.qs details { border-top: 1px solid var(--line); }
.qs details:last-child { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; min-height: 60px; font: 400 clamp(1.4rem, 2.5vw, 1.9rem)/1.15 var(--serif); color: var(--ink); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--brown); border-bottom: 1.5px solid var(--brown); transform: rotate(45deg); transition: transform .3s; margin-right: 6px; }
.qs details[open] summary::after { transform: rotate(225deg); }
.qs details[open] summary { color: var(--brown); }
.qs .a { padding: 0 0 26px; max-width: 58ch; color: var(--ink-2); }
.qs .a p { font-size: 1.05rem; }
.qs .a .actions { margin-top: 8px; }
.qs .a a:not(.btn) { color: var(--brown); display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (prefers-reduced-motion: no-preference) {
  .qs details[open] .a { animation: open .35s ease; }
  @keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* 4 · Who I see: three groups on cream */
.who { padding: clamp(72px, 12vh, 140px) var(--gutter) 0; background: var(--cream); color: var(--ink); }
.group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 7vh, 72px) 0; border-top: 1px solid var(--line); }
.group:last-of-type { border-bottom: 1px solid var(--line); }
.group-head { display: flex; gap: 18px; align-items: flex-start; position: sticky; top: 124px; }
.num { flex: none; font: italic 1.2rem var(--serif); color: var(--brown); padding-top: .6em; }
.group h2 em { color: var(--brown); }
.group-body p { font-size: 1.08rem; color: var(--ink-2); max-width: 56ch; }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 18px 0 22px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.list li { padding-left: 16px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.group .btn { margin-top: 8px; }
.group .small a { color: var(--brown); display: inline-block; padding: 10px 0; margin: -10px 0; }
.session { margin: clamp(48px, 9vh, 110px) calc(var(--gutter) * -1) 0; aspect-ratio: 2 / 1; overflow: hidden; }
.session img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* 5 · Reach out: back to night, the open flower behind */
.reach { position: relative; isolation: isolate; padding: clamp(80px, 14vh, 160px) var(--gutter) 40px; color: var(--cream); background: var(--night); overflow: hidden; }
.reach-bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/peony-full-w.jpg") 50% 40% / cover no-repeat; opacity: .55; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.reach::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 45%, rgba(17,15,12,.2), rgba(17,15,12,.85) 70%); }
.reach-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.reach h2 em { color: var(--amber); }
.reach .lede { margin: 18px auto 26px; max-width: 46ch; color: rgba(244,239,227,.88); }
.reach .actions { justify-content: center; }
.callback { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin: 36px auto 0; padding: 18px; border-radius: 20px; background: rgba(244,239,227,.08); border: 1px solid rgba(244,239,227,.18); backdrop-filter: blur(8px); text-align: left; }
.callback label { display: grid; gap: 4px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.callback input { font: inherit; font-size: 1rem; color: var(--ink); padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; background: var(--cream); min-height: 44px; }
.callback .btn { align-self: end; }
.callback .status { grid-column: 1 / -1; margin: 0; min-height: 1.2em; font-size: .85rem; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid rgba(244,239,227,.18); text-align: left; font-size: .92rem; }
.details dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.details a { color: var(--cream); display: inline-block; padding: 10px 0; margin: -10px 0; }
.foot { margin: 56px 0 0; font-size: .78rem; opacity: .6; }

/* Pinned Book / Call bar on phones */
.bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video, .motion { display: none; }
  .btn, .bar, .tabs { transition: none !important; }
}

/* Responsive */
@media (max-width: 900px) {
  .person-grid, .start-grid, .group { grid-template-columns: 1fr; }
  .portrait, .start-intro, .group-head { position: static; }
  .portrait { max-width: 360px; }
  .person-copy { padding-top: 0; }
  .person-copy h2 { color: var(--ink); }
  .person-copy > p:first-of-type { color: var(--ink-2); }
  .callback { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.9rem, 13.5vw, 4.2rem); }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero-shade { background: linear-gradient(to bottom, rgba(17,15,12,.7) 0%, rgba(17,15,12,.1) 30%, rgba(17,15,12,.1) 48%, rgba(17,15,12,.86) 74%, var(--night) 100%); }
  .motion { bottom: 86px; right: 12px; }
  .hero-video { transform: translateY(-16%) scale(1.12); transform-origin: 50% 50%; }
  .hero-media { background-position: 50% 28%; }
  .facts, .list { grid-template-columns: 1fr; }
  .facts { font-size: 1.15rem; }
  .qs summary { font-size: 1.35rem; padding: 16px 0; }
  .details { grid-template-columns: 1fr; }
  .session { aspect-ratio: 4 / 3; }
  .bar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(17,15,12,.9); backdrop-filter: blur(12px); border-top: 1px solid rgba(244,239,227,.14); transform: translateY(110%); transition: transform .35s ease; }
  body.show-bar .bar { transform: none; }
  .reach { padding-bottom: 110px; }
}

/* Card tabs and Sections overlay: tablet and phone (kept last so they win over the base rules) */
@media (max-width: 1020px) {
  .jump-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tabs { display: none; }
  .sections-btn { display: inline-flex !important; }
  .hero { padding-top: 64px; }
  .jump { margin-top: -96px; background: linear-gradient(to bottom, transparent 96px, var(--night) 96px); }
  .jump-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .jc { min-height: 112px; padding: 14px; gap: 10px; }
  .jc b { font-size: 1.2rem; }
  .jc svg { width: 20px; height: 20px; }
  .jc.urgent small { display: none; }
  .hero-text { padding-bottom: 130px; }
  html { scroll-padding-top: 76px; }
}
@media (max-width: 640px) { .creds div { grid-template-columns: 1fr; gap: 2px; } }
