/* Story Clinic: nacre, oxblood and the deep sea the nautilus lives in */

@font-face { font-family: 'Literata'; src: url('../fonts/literata.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Commissioner'; src: url('../fonts/commissioner.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --nacre: #f3ebe6;
  --pearl: #e8dcd4;
  --oxblood: #9b2a2d;
  --oxblood-dark: #7c2024;
  --oxblood-deep: #4e1417;
  --abyss: #12202a;
  --kelp: #1b3335;
  --gilt: #c9a46a;
  --gilt-soft: #dcc093;
  --ink: #1c1a1f;
  --drift: #5f5450;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4.4vw, 72px);
  --maxw: 1560px;
  --gx: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --head-h: 96px;
  --pad: clamp(72px, 10vh, 132px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nacre);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: calc(100% - 2 * var(--gx)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--abyss); color: var(--nacre); padding: .7rem 1rem; border-radius: 8px; }
.skip:focus { top: 16px; }

.h2 { font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1.08; font-variation-settings: 'opsz' 72; }
.h2 em, .hero__title em { font-style: italic; }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.55; }

/* Masked line reveals (SplitText adds .ln and .ln-mask). Net-zero padding so motion on and off lay out alike. */
[data-split], .hero__title { display: flow-root; }
.ln-mask { padding: .12em .16em .3em; margin: 0 -.16em -.42em; }
.ln-mask:first-child { margin-top: -.12em; }
.ln-mask:last-child { margin-bottom: -.3em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--oxblood); color: #fff; box-shadow: 0 10px 30px -12px rgba(78, 20, 23, .7); }
.btn--solid:hover { background: var(--oxblood-dark); }
.btn--ghost-light { color: var(--nacre); border: 1.5px solid rgba(243, 235, 230, .55); }
.btn--ghost-light:hover { background: rgba(243, 235, 230, .12); border-color: var(--nacre); }
.btn--dark { background: var(--abyss); color: var(--nacre); }
.btn--dark:hover { background: var(--kelp); }
.btn--light { background: var(--nacre); color: var(--oxblood-deep); }
.btn--light:hover { background: #fff; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; gap: .5em; font-weight: 600; color: var(--oxblood); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.textlink:hover { background-size: 40% 1.5px; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head-h);
  color: var(--nacre);
  transition: background-color .45s var(--ease), color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease);
}
.site-head.is-solid { --head-h: 72px; height: 72px; background: rgba(243, 235, 230, .94); color: var(--ink); box-shadow: 0 1px 0 rgba(28, 26, 31, .08); }
@supports (backdrop-filter: blur(1px)) { @media (min-width: 1200px) { .site-head.is-solid { background: rgba(243, 235, 230, .82); backdrop-filter: blur(14px) saturate(1.2); } } }
.site-head__inner { height: 100%; width: calc(100% - 2 * var(--gx)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.brand { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; flex: none; }
.brand__mark { position: relative; display: block; height: 70px; aspect-ratio: 360 / 323; transition: height .45s var(--ease); }
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s var(--ease); }
.brand__img--red { opacity: 0; }
.site-head.is-solid .brand__mark { height: 48px; }
.site-head.is-solid .brand__img--red { opacity: 1; }
.site-head.is-solid .brand__img--white { opacity: 0; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; align-items: center; gap: 1.5rem; }
.nav__item { position: relative; }
.nav__item.is-open { z-index: 5; }
.nav__item.is-snap .nav__panel, .nav__item.is-snap .nav__trigger::before { transition: none; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: .4em; padding: .6rem 0; text-decoration: none;
  font-weight: 500; font-size: 1rem; white-space: nowrap; position: relative;
}
.nav__link::after, .nav__trigger::after { content: ''; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover::after, .nav__trigger:hover::after, .nav__item.is-open .nav__trigger::after { transform: scaleX(1); transform-origin: left; }
.nav__trigger::before {
  content: ''; order: 2; width: 7px; height: 7px; margin: -4px 0 0 .15em;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .35s var(--ease), margin .35s var(--ease);
}
.nav__item.is-open .nav__trigger::before { transform: rotate(225deg); margin-top: 4px; }

.nav__panel {
  position: absolute; z-index: 10; top: 100%; left: 50%; min-width: 260px; padding-top: 16px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav__panel::before {
  /* a bridge from the trigger's width out to the panel's width, so any straight path into the panel stays inside the menu */
  content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px;
  clip-path: polygon(calc(50% - var(--tw, 40px)) 0, calc(50% + var(--tw, 40px)) 0, 100% 100%, 0 100%);
}
.nav__card {
  padding: .7rem; border-radius: 16px; background: var(--nacre); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(18, 32, 42, .45), 0 0 0 1px rgba(28, 26, 31, .06);
}
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.nav__sub a, .nav__all { display: block; padding: .6rem .9rem; border-radius: 10px; text-decoration: none; font-size: 1rem; white-space: nowrap; transition: background-color .25s, color .25s; }
.nav__sub a:hover, .nav__sub a:focus-visible, .nav__all:hover { background: var(--pearl); color: var(--oxblood); }
.nav__panel--wide { min-width: 500px; }
.nav__sub--cols { display: grid; grid-template-columns: 1fr 1fr; }
.nav__all { margin-top: .3rem; border-top: 1px solid rgba(28, 26, 31, .1); border-radius: 0 0 10px 10px; font-weight: 600; color: var(--oxblood); }
.no-js .has-sub:hover .nav__panel, .no-js .has-sub:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__cta { min-height: 46px; padding: .7rem 1.3rem; font-size: .98rem; }

.burger { display: none; margin-left: auto; align-items: center; gap: .7rem; min-height: 48px; padding: 0 .4rem; font-weight: 600; position: relative; z-index: 3; }
.burger__lines { position: relative; width: 26px; height: 14px; }
.burger__lines span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger__lines span:first-child { top: 2px; }
.burger__lines span:last-child { top: 10px; }
.burger[aria-expanded='true'] .burger__lines span:first-child { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger__lines span:last-child { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1199px) {
  :root { --head-h: 84px; }
  .site-head.is-solid { --head-h: 68px; height: 68px; }
  .brand__mark { height: 60px; }
  .site-head.is-solid .brand__mark { height: 44px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 2; margin: 0; overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: calc(var(--head-h) + 24px) var(--gx) 40px;
    background: var(--abyss); color: var(--nacre);
    clip-path: circle(0% at calc(100% - 48px) 42px); visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s linear .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 48px) 42px); visibility: visible; transition-delay: 0s; }
  .site-head:has(.nav.is-open) { color: var(--nacre); }
  .site-head:has(.nav.is-open) .brand__img--white { opacity: 1; }
  .site-head:has(.nav.is-open) .brand__img--red { opacity: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(243, 235, 230, .14); }
  .nav__link, .nav__trigger { width: 100%; justify-content: space-between; font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2rem); padding: .9rem 0; }
  .nav__link::after, .nav__trigger::after { display: none; }
  .nav__trigger::before { width: 10px; height: 10px; margin-right: 5px; }
  .nav__panel, .nav__panel--wide {
    position: static; min-width: 0; transform: none; opacity: 1; visibility: visible; padding: 0;
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease);
  }
  .nav__panel::before { display: none; }
  .nav__card { overflow: hidden; min-height: 0; padding: 0; background: none; color: inherit; box-shadow: none; border-radius: 0; }
  .nav__item.is-open .nav__panel { grid-template-rows: 1fr; transform: none; }
  .nav__sub--cols { grid-template-columns: 1fr; }
  .nav__sub a, .nav__all { display: flex; align-items: center; min-height: 44px; padding: .5rem 0 .5rem 1rem; font-size: 1.05rem; white-space: normal; }
  .nav__sub a:hover, .nav__all:hover { background: none; color: var(--gilt-soft); }
  .nav__all { border: 0; color: var(--gilt-soft); margin: 0 0 .8rem; }
  .nav__sub { padding-bottom: .2rem; }
  .nav__cta { align-self: flex-start; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 1.35rem; }
  .burger__label { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--nacre); background: var(--abyss); overflow: clip; }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12, 20, 26, .9) 0%, rgba(12, 20, 26, .55) 38%, rgba(12, 20, 26, .12) 70%, rgba(12, 20, 26, .35) 100%),
    linear-gradient(to right, rgba(12, 20, 26, .55), rgba(12, 20, 26, 0) 65%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 8vh, 96px); }
.hero__title { font-size: clamp(2.5rem, 5.5vw, 6.4rem); line-height: 1.04; font-weight: 400; font-variation-settings: 'opsz' 72; letter-spacing: -.02em; }
.hero__title em { color: var(--gilt-soft); }
.hero__foot { margin-top: clamp(1.4rem, 3.4vh, 2.6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4vw; align-items: end; }
.hero__lede { font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.6; color: rgba(243, 235, 230, .92); }
.hero__actions { display: flex; flex-direction: column; justify-content: center; align-self: stretch; gap: .8rem; }
.hero__cue { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 1.5px; height: 44px; background: rgba(243, 235, 230, .25); overflow: hidden; transform: translateX(-50%); }
.hero__cue span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--nacre); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.intro-mark { position: absolute; z-index: 3; left: 50%; top: 50%; width: 120px; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; }

/* First-paint state for the load sequence; released when GSAP never arrives or motion is reduced. */
.js [data-intro='fade'] { opacity: 0; }
.js [data-intro='title'] { visibility: hidden; }
.js [data-intro='media'] { clip-path: circle(0% at 50% 50%); }
.js.no-gsap [data-intro='fade'] { opacity: 1; }
.js.no-gsap [data-intro='title'] { visibility: visible; }
.js.no-gsap [data-intro='media'] { clip-path: none; }

@media (max-width: 800px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__cue { display: none; }
}

/* ---------- Where story can help ---------- */
.apps { padding-block: var(--pad); background: var(--nacre); position: relative; }
.apps__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 5vw; align-items: end; margin-bottom: clamp(1.8rem, 4vh, 3rem); }
.apps__intro { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--drift); }
.panels { display: flex; gap: clamp(8px, .8vw, 14px); height: clamp(460px, 62vh, 640px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: 999px 999px 18px 18px; background: var(--abyss); color: var(--nacre);
  transition: flex-grow .8s var(--ease);
}
.panel.is-open { flex-grow: 3.4; }
@media (hover: hover) and (pointer: fine) {
  .panel:not(.is-open):hover { flex-grow: 1.3; }
  .panel:not(.is-open):hover .panel__img img { filter: saturate(.95) brightness(.95); transform: scale(1.06); }
}
.panel__hit { position: absolute; inset: 0; z-index: 3; }
.panel__img { position: absolute; inset: -9% 0; z-index: -1; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease), filter .8s var(--ease); filter: saturate(.75) brightness(.8); }
.panel.is-open .panel__img img { transform: scale(1); filter: none; }
.panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 20, 26, .92) 0%, rgba(12, 20, 26, .45) 45%, rgba(12, 20, 26, .05) 75%); }
.panel__content {
  position: absolute; left: clamp(18px, 1.8vw, 30px); right: clamp(18px, 1.8vw, 30px); bottom: clamp(18px, 2.4vh, 30px); z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
}
.panel__title {
  font-size: clamp(1.3rem, 1.65vw, 1.9rem); line-height: 1.15; white-space: nowrap;
  transform-origin: 0 100%; transform: translateX(1.2em) rotate(-90deg);
  transition: transform .8s var(--ease);
}
.panel.is-open .panel__title { transform: none; }
.panel.is-open .panel__content { z-index: 4; }
.panels.is-sized .panel__content { right: auto; width: var(--open-w); }
.panel__body { display: grid; grid-template-rows: 0fr; overflow: clip; transition: grid-template-rows .7s var(--ease); }
.panel.is-open .panel__body { grid-template-rows: 1fr; }
.panel__inner { min-height: 0; transform: translateY(18px); transition: transform .8s var(--ease) .1s; }
.panel.is-open .panel__inner { transform: none; }
.panel__topics { display: grid; gap: .3rem; margin: .9rem 0 .8rem; font-size: 1rem; line-height: 1.4; color: rgba(243, 235, 230, .9); }
.panel__topics li { padding-left: 1.1rem; position: relative; }
.panel__topics li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gilt); }
.panel__link { display: inline-flex; align-items: center; min-height: 44px; gap: .4em; font-weight: 600; text-decoration: none; color: var(--gilt-soft); position: relative; z-index: 4; }
.panel__link:hover { color: #fff; }

.no-js .panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; }
.no-js .panel { min-height: 520px; border-radius: 18px; }
.no-js .panel__content { position: relative; left: auto; right: auto; bottom: auto; padding: 250px 24px 24px; }
.no-js .panel__title { transform: none; white-space: normal; }
.no-js .panel__body { grid-template-rows: 1fr; }
.no-js .panel__inner { transform: none; }

@media (max-width: 899px) {
  .apps__head { grid-template-columns: 1fr; }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; border-radius: 16px; }
  .panel__content { position: relative; left: auto; right: auto; bottom: auto; padding: 24px 20px 22px; transition: padding-top .7s var(--ease); }
  .panel.is-open .panel__content { padding-top: 200px; }
  .panel__title { transform: none; white-space: normal; font-size: 1.35rem; }
  .panel::after { background: linear-gradient(to top, rgba(12, 20, 26, .92) 0%, rgba(12, 20, 26, .6) 55%, rgba(12, 20, 26, .2) 100%); }
  .no-js .panels { grid-template-columns: 1fr; }
  .no-js .panel { min-height: 0; }
  .no-js .panel__content { padding-top: 200px; }
}

/* ---------- Method ---------- */
.method { position: relative; overflow: clip; background: radial-gradient(70% 90% at 80% 50%, #1a2d38 0%, var(--abyss) 70%); color: var(--nacre); padding-block: var(--pad); }
.method__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.method__title { font-size: clamp(1.6rem, 2.3vw, 2.5rem); color: var(--gilt-soft); font-style: italic; }
.method__quote { margin: clamp(1.2rem, 3vh, 2.2rem) 0 clamp(1.8rem, 4.5vh, 3.2rem); }
.method__quote p { font-family: var(--serif); font-size: clamp(1.9rem, 3.1vw, 3.5rem); line-height: 1.16; letter-spacing: -.015em; font-variation-settings: 'opsz' 72; }
.method__list { display: grid; }
.method__list li { position: relative; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .3rem 2rem; align-items: baseline; padding: 1.05rem 0; }
[data-rule]::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor; opacity: .35; transform-origin: left; transform: scaleX(var(--rule, 1)); }
.creds li::before { opacity: .22; }
.method__list h3 { font-size: clamp(1.3rem, 1.6vw, 1.7rem); }
.method__list p { color: rgba(243, 235, 230, .82); }
.method__shell { --cap: min(72vh, 640px); width: min(100%, var(--cap)); justify-self: center; aspect-ratio: 1; }
.method__shell img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
@media (max-width: 899px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__shell { --cap: min(46vh, 380px); order: -1; }
  .method__list li { grid-template-columns: 1fr; }
}

/* ---------- Spiral (signature) ---------- */
.spiral { position: relative; color: var(--nacre); background: radial-gradient(120% 90% at 25% 55%, #7d2226 0%, var(--oxblood-deep) 70%); overflow: clip; }
.spiral__marble { position: absolute; inset: 0; background: url('../img/marble.webp') center / cover; opacity: .09; mix-blend-mode: screen; pointer-events: none; }
.spiral__head { position: relative; padding-top: var(--pad); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 5vw; align-items: end; }
.spiral__head p { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: rgba(243, 235, 230, .86); }
.spiral__pin { position: relative; }

/* Static list: no JavaScript or reduced motion */
.spiral__stage, .spiral__count { display: none; }
.spiral__copy { width: calc(100% - 2 * var(--gx)); margin-inline: auto; padding-block: clamp(2.5rem, 6vh, 4rem) var(--pad); }
.spiral__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.story { display: grid; grid-template-columns: clamp(110px, 12vw, 170px) minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.story__fig { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(201, 164, 106, .5), 0 0 0 8px rgba(243, 235, 230, .06); }
.story__fig img { width: 100%; height: 100%; object-fit: cover; }
.story__title { font-size: clamp(1.8rem, 2.6vw, 2.8rem); line-height: 1.15; margin-bottom: .5rem; }
.story__text p { color: rgba(243, 235, 230, .86); }

/* Live scene */
.spiral__pin.is-live {
  --s: min(calc(100svh - var(--head-h) - 72px), 44vw, 720px);
  --top: calc(var(--head-h) + (100svh - var(--head-h) - var(--s)) / 2);
  height: 100svh; display: flex; align-items: center;
}
.is-live .spiral__stage { display: block; position: absolute; z-index: 3; left: var(--gx); top: var(--top); width: var(--s); height: var(--s); pointer-events: none; }
.is-live .spiral__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spiral__disc { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.spiral__disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.spiral__disc img.is-active { opacity: 1; transform: none; }
.is-live .story__fig { display: none; }
.spiral__track { fill: none; stroke: rgba(243, 235, 230, .28); stroke-width: 1.4; }
.spiral__ink-shadow { fill: none; stroke: rgba(20, 6, 8, .45); stroke-width: 7; stroke-linecap: round; }
.spiral__ink { fill: none; stroke: var(--gilt); stroke-width: 3; stroke-linecap: round; }
.spiral__station { fill: var(--oxblood-deep); stroke: rgba(243, 235, 230, .7); stroke-width: 2; transition: fill .4s, stroke .4s; }
.spiral__station.is-on { fill: var(--gilt); stroke: var(--nacre); }
.spiral__dot { fill: var(--nacre); stroke: var(--gilt); stroke-width: 4; }
.is-live .spiral__copy { width: auto; margin: 0 var(--gx) 0 calc(var(--gx) + var(--s) + clamp(2.5rem, 6vw, 7rem)); padding: var(--head-h) 0 0; flex: 1; }
.is-live .spiral__count { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1rem; color: var(--gilt-soft); margin-bottom: 1.4rem; font-variant-numeric: tabular-nums; }
.spiral__scale { display: inline-flex; align-items: center; gap: .7rem; margin-left: 1.2rem; font-weight: 500; color: rgba(243, 235, 230, .75); }
.spiral__scale i { position: relative; width: clamp(80px, 9vw, 150px); height: 2px; background: rgba(243, 235, 230, .2); }
.spiral__scale b { position: absolute; inset: 0; background: var(--gilt); transform-origin: left; transform: scaleX(0); }
.is-live .spiral__list { display: grid; grid-template-columns: 1fr; }
.is-live .story { grid-area: 1 / 1; display: block; }
.is-live .story__text > * { opacity: 0; transform: translateY(26px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.is-live .story.is-active .story__text > * { opacity: 1; transform: none; transition: opacity .7s var(--ease) .15s, transform .8s var(--ease) .15s; }
.is-live .story.is-active .story__text p { transition-delay: .25s; }
.is-live .story__text p { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); }

@media (max-width: 899px) {
  .spiral__head { grid-template-columns: 1fr; }
  .spiral__list { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: .9rem; }
  .story__fig { width: 120px; }
  .story__title { font-size: 1.7rem; }
  .spiral__pin.is-live { --s: min(84vw, calc(100svh - var(--head-h) - 340px)); --top: calc(var(--head-h) + 14px); align-items: flex-start; }
  .is-live .spiral__stage { left: calc(50% - var(--s) / 2); }
  .is-live .spiral__copy { margin: 0 var(--gx); padding-top: calc(var(--top) + var(--s) + 22px); }
  .is-live .spiral__count { margin-bottom: .7rem; }
  .spiral__scale { margin-left: .4rem; }
  .is-live .story__text p { font-size: 1.02rem; line-height: 1.5; }
}

/* ---------- About ---------- */
.about { padding-block: var(--pad); background: var(--nacre); position: relative; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.about__frame { --cap: min(74vh, 700px); position: relative; width: min(100%, calc(var(--cap) * .86)); justify-self: center; }
.about__photo { position: relative; aspect-ratio: 1000 / 1163; border-radius: 999px 999px 14px 14px; overflow: hidden; z-index: 1; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__outline { position: absolute; left: 22px; top: 22px; width: 100%; height: 100%; overflow: visible; }
.about__outline path { fill: none; stroke: var(--oxblood); stroke-width: 1.6; }
.about__frame figcaption { position: absolute; z-index: 2; left: -14px; bottom: 34px; background: var(--oxblood); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.05rem; padding: .5rem 1rem; border-radius: 6px; }
.about__text > * + * { margin-top: 1.2rem; }
.about__text .lede { color: var(--oxblood-deep); font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.55rem); line-height: 1.4; }
.about__text > p:not(.lede) { color: #3b3432; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.4rem; margin-top: 1.8rem !important; }
.creds li { position: relative; padding: .8rem 0 .8rem 1.5rem; line-height: 1.4; }
.creds li::after { content: ''; position: absolute; left: 0; top: 1.25rem; width: 8px; height: 8px; border-radius: 50%; background: var(--oxblood); }
.creds li:last-child { grid-column: 1 / -1; }
.about .textlink { margin-top: 1.6rem; }
@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__frame { --cap: min(62vh, 520px); width: min(88%, calc(var(--cap) * .86)); }
  .creds { grid-template-columns: 1fr; }
}

/* ---------- Consultations ---------- */
.consult { padding-block: var(--pad); background: var(--kelp); color: var(--nacre); position: relative; overflow: clip; }
.consult::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, rgba(201, 164, 106, .12), transparent 70%); pointer-events: none; }
.consult__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.consult__text .lede { margin-top: 1.1rem; color: rgba(243, 235, 230, .86); }
.steps { position: relative; margin-top: clamp(1.8rem, 4vh, 2.8rem); display: grid; gap: clamp(1.1rem, 2.6vh, 1.8rem); }
.steps::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1.5px; background: rgba(201, 164, 106, .55); transform-origin: top; transform: scaleY(var(--line, 1)); z-index: 0; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--kelp); border: 1.5px solid var(--gilt); font-family: var(--serif); font-size: 1.3rem; color: var(--gilt-soft); }
.step h3 { font-size: clamp(1.3rem, 1.6vw, 1.65rem); margin: .45rem 0 .3rem; }
.step p { color: rgba(243, 235, 230, .8); }
.consult__visual { position: relative; padding-bottom: 5.5rem; }
.consult__photo { --cap: min(58vh, 560px); position: relative; width: min(100%, calc(var(--cap) * 4 / 3)); margin-left: auto; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.consult__photo img { width: 100%; height: 100%; object-fit: cover; }
.rates { position: absolute; left: 0; bottom: 0; width: min(430px, 88%); background: var(--nacre); color: var(--ink); border-radius: 18px; padding: 1.5rem 1.6rem 1.6rem; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.rates__label { font-family: var(--serif); font-size: 1.25rem; }
.rates__tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin: .8rem 0 .4rem; padding: .25rem; background: var(--pearl); border-radius: 999px; width: fit-content; max-width: 100%; }
.rates__tabs button { min-height: 44px; padding: .35rem .85rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--drift); transition: background-color .3s, color .3s; }
.rates__tabs button[aria-selected='true'] { background: var(--oxblood); color: #fff; }
.rates__price { font-family: var(--serif); font-size: clamp(2.2rem, 3vw, 3rem); line-height: 1.2; color: var(--oxblood-deep); overflow: hidden; }
.rates__price span { display: inline-block; }
.rates__note { font-size: 1rem; color: var(--drift); margin: .3rem 0 1.1rem; }
@media (max-width: 899px) {
  .consult__grid { grid-template-columns: 1fr; }
  .consult__visual { padding-bottom: 0; }
  .consult__photo { width: 100%; }
  .rates { position: relative; width: auto; margin: -3rem 1rem 0; }
  .rates__tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; }
}

/* ---------- Therapists and coaches ---------- */
.train { padding-block: var(--pad); background: var(--pearl); position: relative; overflow: clip; }
.train__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.train__photo { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc(min(70vh, 640px) * 16 / 9)); border-radius: 18px; overflow: hidden; transform-origin: left center; }
.train__photo img { width: 100%; height: 100%; object-fit: cover; }
.train__text > * + * { margin-top: 1.1rem; }
.train__text p { color: #3b3432; }
.train__text .btn { margin-top: 1.8rem; }
@media (max-width: 899px) { .train__grid { grid-template-columns: 1fr; } }

/* ---------- Start with a free conversation ---------- */
.start { background: var(--oxblood); color: var(--nacre); position: relative; overflow: clip; padding-bottom: var(--pad); }
.strip { padding-block: clamp(28px, 5vh, 56px); overflow: hidden; }
.strip__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.strip__item { flex: none; height: clamp(150px, 22vh, 230px); border-radius: 12px; overflow: hidden; }
.strip__item img { height: 100%; width: auto; object-fit: cover; filter: saturate(.9); }
.start__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.start__text .lede { margin-top: 1.1rem; color: rgba(243, 235, 230, .9); }
.contact { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.contact li { border-top: 1px solid rgba(243, 235, 230, .3); padding-top: .9rem; }
.contact__k { display: block; font-size: .95rem; font-weight: 600; color: var(--gilt-soft); margin-bottom: .2rem; }
.contact a { text-decoration: none; font-family: var(--serif); font-size: clamp(1.1rem, 1.2vw, 1.3rem); }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact span:not(.contact__k) { font-family: var(--serif); font-size: clamp(1.1rem, 1.2vw, 1.3rem); }
.start__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.note { --cap: min(56vh, 460px); width: min(100%, var(--cap)); justify-self: center; padding: 14px 14px 46px; background: #fbf8f5; border-radius: 4px; transform: rotate(-3.5deg); box-shadow: 0 34px 60px -26px rgba(30, 6, 8, .7), 0 2px 0 rgba(0, 0, 0, .05); position: relative; }
.note::before { content: ''; position: absolute; left: 50%; top: -14px; width: 96px; height: 28px; transform: translateX(-50%) rotate(2deg); background: rgba(232, 220, 212, .82); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.note img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
@media (max-width: 899px) {
  .start__grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .note { width: min(78%, var(--cap)); }
}

/* ---------- Footer ---------- */
.site-foot { position: relative; background: var(--abyss); color: rgba(243, 235, 230, .86); padding-top: clamp(64px, 9vh, 110px); overflow: clip; }
.site-foot__marble { position: absolute; inset: 0; background: url('../img/marble.webp') center / cover; opacity: .06; pointer-events: none; }
.site-foot__grid { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.brand--foot .brand__mark { height: 64px; }
.brand--foot { color: var(--nacre); }
.site-foot__brand p { margin-top: 1.2rem; }
.site-foot h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--gilt-soft); margin-bottom: 1rem; letter-spacing: 0; }
.site-foot li + li { margin-top: .55rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-foot__base { position: relative; margin-top: clamp(48px, 7vh, 80px); padding-block: 1.6rem; border-top: 1px solid rgba(243, 235, 230, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: 1rem; }
.site-foot__base a { color: var(--gilt-soft); font-weight: 600; }
@media (max-width: 899px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-intro='fade'] { opacity: 1; }
  .js [data-intro='title'] { visibility: visible; }
  .js [data-intro='media'] { clip-path: none; }
}
