/* Sandra Ishkanes: shared styles. Tokens from _work/design-plan.md */

@font-face { font-family: 'Bricolage'; src: url('../fonts/bricolage-var.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-var.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-italic-var.woff2') format('woff2'); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bricolage fallback'; src: local('Arial'); size-adjust: 106%; ascent-override: 88%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Newsreader fallback'; src: local('Georgia'); size-adjust: 91.4%; ascent-override: 92%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --ink: #13212A; --ink-2: #1B2E38; --ink-3: #243B47;
  --coral: #FE594C; --magenta: #DB3EB1; --saffron: #F4B342; --sage: #8DB89E;
  --blush: #F8D5CC; --paper: #FCF5F1; --rust: #B8392C;
  --mute-d: #B9C6CC; --mute-l: #4F5D64;
  --line-d: rgba(252, 245, 241, .14); --line-l: rgba(19, 33, 42, .14);
  --display: 'Bricolage', 'Bricolage fallback', Arial, sans-serif;
  --body: 'Newsreader', 'Newsreader fallback', Georgia, serif;
  --r: 0 36px 0 0;             /* one corner only (14 mod 5 = 4) */
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --hdr: 96px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --media-cap: min(76vh, 760px);
}
@media (max-width: 760px) { :root { --hdr: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1.125rem/1.6 var(--body); font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; line-height: 1.06; letter-spacing: -.02em; margin: 0; display: flow-root; font-variation-settings: 'opsz' 48; }
h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
blockquote { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.paper :focus-visible, .blush :focus-visible { outline-color: var(--ink); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--coral); color: var(--ink); padding: 14px 20px; font: 700 1rem var(--display); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.ink { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); color: var(--ink); }
.blush { background: var(--blush); color: var(--ink); }
.sec { position: relative; padding: clamp(56px, 6vw, 88px) 0; overflow: clip; }
.sec__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.lede { font-size: 1.2rem; line-height: 1.55; }
.ink .lede, .ink p { color: #E4EAEC; }
.paper .lede, .blush .lede { color: #2B3A42; }

/* Heading masks: the frontend-design recipe, nets to zero height */
.ln-mask { padding: .2em .15em .5em; margin: -.7em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.2em; }
.js [data-reveal="lines"], .js [data-hero-h] { visibility: hidden; }
.morph { font-variation-settings: 'opsz' 96; }

/* Frames: one rounded corner, top right */
.frame { position: relative; border-radius: var(--r); overflow: hidden; isolation: isolate; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons: square (6 mod 3 = 0) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 0; font: 650 1rem/1.1 var(--display); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); will-change: transform; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: var(--paper); }
.paper .btn--coral:hover, .blush .btn--coral:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: rgba(252, 245, 241, .55); color: var(--paper); background: transparent; }
.btn--ghost:hover { border-color: var(--paper); background: rgba(252, 245, 241, .08); }
.paper .btn--ghost, .blush .btn--ghost { border-color: var(--ink); color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 650 1rem var(--display); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1.5px no-repeat; transition: background-size .4s var(--ease); }
.link::after { content: ''; width: 18px; height: 10px; background: currentColor; clip-path: polygon(0 45%, 78% 45%, 78% 0, 100% 50%, 78% 100%, 78% 55%, 0 55%); transition: transform .3s var(--ease); }
.link:hover { background-size: 0 1.5px; }
.link:hover::after { transform: translateX(4px); }
.paper .link, .blush .link { color: var(--rust); }
.ink .link { color: var(--coral); }


/* Thread motif */
.thread { width: 100%; height: 120px; overflow: visible; }
.thread path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: height .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.hdr::before { content: ''; position: absolute; inset: 0; background: rgba(19, 33, 42, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s var(--ease); }
.hdr.is-scrolled { height: 76px; }
.hdr.is-scrolled::before { opacity: 1; }
.hdr__in { position: relative; height: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; padding: 4px 0; }
.brand img { height: 64px; width: auto; transition: height .4s var(--ease); }
.hdr.is-scrolled .brand img { height: 50px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; white-space: nowrap; font: 600 1rem var(--display); color: var(--paper); text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; }
.nav__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-cur::after, .is-open > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link .chev { width: 12px; height: 21px; transition: transform .3s var(--ease); }
.is-open > .nav__btn .chev { transform: rotate(180deg); }
.nav__ext svg { width: 11px; height: 11px; opacity: .7; }
.dd { position: absolute; top: calc(100% + 12px); left: -24px; width: 640px; padding: 14px; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.is-open > .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s; }
.dd__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd__a { display: flex; gap: 14px; align-items: center; padding: 10px; text-decoration: none; color: var(--paper); transition: background .25s; }
.dd__a:hover, .dd__a[aria-current="page"] { background: var(--ink-3); }
.dd__img { flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 0 16px 0 0; }
.dd__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dd__a:hover .dd__img img { transform: scale(1.1); }
.dd__t { display: block; font: 650 1rem/1.2 var(--display); }
.dd__p { display: block; font-size: .95rem; line-height: 1.35; color: var(--mute-d); margin-top: 3px; }
.hdr__cta { display: flex; align-items: center; gap: 10px; }
/* the nav waits for the web font so it never jumps sideways */
.js .nav, .js .hdr__cta .btn { opacity: 0; transition: opacity .5s var(--ease); }
.js.fonts-in .nav, .js.fonts-in .hdr__cta .btn { opacity: 1; }
.burger { display: none; width: 48px; height: 48px; border: 1.5px solid rgba(252, 245, 241, .4); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1299px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__cta { margin-left: auto; }
}
@media (max-width: 760px) {
  .brand img { height: 46px; }
  .hdr.is-scrolled { height: 64px; }
  .hdr.is-scrolled .brand img { height: 40px; }
  .hdr__cta .btn { display: none; }
}
.menu-open .hdr::before { opacity: 1; }
.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--ink); padding: calc(var(--hdr) + 16px) var(--gut) 32px; overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease); }
.mmenu.is-open { opacity: 1; }
.mmenu__in { min-height: 100%; display: flex; flex-direction: column; gap: 32px; }
.mmenu__list { border-top: 1px solid var(--line-d); }
.mmenu__item { border-bottom: 1px solid var(--line-d); }
.mmenu__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 64px; font: 650 1.6rem/1.1 var(--display); color: var(--paper); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.mmenu__link .chev { width: 18px; height: 12px; transition: transform .3s; }
.mmenu__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mmenu__sub { padding: 0 0 14px 2px; display: grid; gap: 2px; }
.mmenu__sub a { display: flex; align-items: center; min-height: 44px; font: 600 1.1rem var(--display); text-decoration: none; color: var(--mute-d); }
.mmenu__sub a:hover { color: var(--coral); }
.mmenu__foot { display: grid; gap: 12px; margin-top: auto; }

/* ---------- Reveal start states (JS only) ---------- */
.js [data-reveal="rise"] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(26px); }
.js [data-reveal="wipe"] { clip-path: inset(100% 0% 0% 0%); }
.js [data-hero-in] { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; background: var(--ink); isolation: isolate; }
.hero__poster, .hero__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { z-index: 0; }
.hero__cv { z-index: 1; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__cv.is-live { opacity: 1; }
.hero__poster { transition: opacity 1.2s var(--ease); }
.hero.is-live .hero__poster { opacity: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(19, 33, 42, .92) 0%, rgba(19, 33, 42, .75) 34%, rgba(19, 33, 42, 0) 58%), linear-gradient(0deg, rgba(19, 33, 42, .7), rgba(19, 33, 42, 0) 22%); }
.hero__in { position: relative; z-index: 3; padding-top: calc(var(--hdr) + 40px); padding-bottom: 150px; pointer-events: none; }
.hero__in > * { pointer-events: auto; max-width: 720px; }
.hero__h { font-size: clamp(2.9rem, 6vw, 5.6rem); font-weight: 680; line-height: 1; letter-spacing: -.035em; font-variation-settings: 'opsz' 96; }
.hero__h .morph { color: var(--coral); font-style: normal; display: inline-block; }
.hero__lede { margin-top: 28px; font-size: 1.2rem; color: #E4EAEC; }
.hero__acts { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__who { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero__who img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--coral); object-fit: fill; }
.hero__who p { display: grid; font-size: 1rem; line-height: 1.35; color: var(--mute-d); }
.hero__who strong { font: 650 1.05rem var(--display); color: var(--paper); }
.hero__stage { position: absolute; z-index: 3; right: var(--gut); bottom: 36px; display: grid; gap: 12px; justify-items: end; font-family: var(--display); }
.hero__count { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; color: var(--paper); }
.hero__count svg { width: 24px; height: 12px; color: var(--coral); }
.hero__count span { transition: opacity .5s var(--ease); }
.hero__count .is-dim { opacity: .4; }
.hero__prog { width: 260px; height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.hero__prog i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--magenta), var(--coral), var(--saffron), var(--sage)); transform-origin: left; transform: scaleX(0); }
.hero__key { display: flex; gap: 16px; font-size: .95rem; color: var(--mute-d); }
.hero__key li { display: flex; align-items: center; gap: 7px; }
.hero__key li::before { content: ''; width: 14px; height: 3px; background: var(--c); }
@media (max-width: 760px) {
  .hero { align-items: flex-start; }
  .hero__in { padding-top: calc(var(--hdr) + 200px); padding-bottom: 150px; }
  .hero__who { margin-top: 20px; }
  .hero__who img { width: 48px; height: 48px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(19, 33, 42, 0) 0%, rgba(19, 33, 42, 0) calc(var(--hdr) + 170px), rgba(19, 33, 42, .9) calc(var(--hdr) + 215px)); }
  .hero__h { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero__lede { font-size: 1.05rem; margin-top: 16px; }
  .hero__acts { margin-top: 22px; }
  .hero__acts .btn { width: 100%; }
  .hero__who { margin-top: 24px; }
  .hero__stage { left: var(--gut); right: var(--gut); bottom: 22px; justify-items: start; }
  .hero__prog { width: 100%; }
  .hero__key { flex-wrap: wrap; gap: 6px 14px; }
}

/* ---------- Proof strip ---------- */
.proof { background: var(--ink-2); padding: 56px 0 44px; overflow: clip; border-top: 1px solid var(--line-d); }
.proof__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof__f { display: grid; gap: 6px; padding-left: 22px; border-left: 2px solid var(--coral); }
.proof__f:nth-child(2) { border-color: var(--saffron); }
.proof__f:nth-child(3) { border-color: var(--sage); }
.proof__n { font: 700 clamp(2.2rem, 3.4vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--paper); }
.proof__l { font-size: 1.05rem; color: var(--mute-d); }
.press { margin-top: 44px; display: grid; gap: 18px; }
.press__l { font: 600 .95rem var(--display); color: var(--mute-d); }
.press__mq { width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.press__mq .mq__row { gap: 72px; padding-right: 72px; align-items: center; }
.press__mq img { height: 30px; width: auto; max-width: none; opacity: .85; }
.press__mq li:nth-child(3) img { height: 26px; }
.proof__thread { position: absolute; left: 0; right: 0; bottom: -20px; opacity: .35; }
.proof__facts, .press { position: relative; }

/* Marquees: CSS loop over server-side copies (see marquee() in config.php) */
.mq { overflow: hidden; }
.mq__track { display: flex; width: max-content; animation: mq var(--dur, 60s) linear infinite; }
.mq__row { display: flex; flex: none; }
.vm--rev .mq__track { animation-direction: reverse; }
@keyframes mq { to { transform: translateX(calc(-100% / var(--n, 3))); } }
@media (max-width: 760px) {
  .proof__facts { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Drivers ---------- */
.drivers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dcard { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line-l); transition: box-shadow .5s var(--ease), transform .5s var(--ease); transform-style: preserve-3d; }
.dcard:hover { box-shadow: 0 30px 60px -30px rgba(19, 33, 42, .45), inset 0 -3px 0 var(--coral); }
.dcard__media { aspect-ratio: 4 / 3.4; border-radius: 0; }
.dcard__media img { transition: transform 1.2s var(--ease); }
.dcard:hover .dcard__media img { transform: scale(1.06); }
.dcard__t { padding: 22px 22px 0; font: 680 1.4rem/1.15 var(--display); letter-spacing: -.015em; }
.dcard__p { padding: 10px 22px 0; font-size: 1.05rem; line-height: 1.5; color: #33424A; }
.dcard__go { margin-top: auto; padding: 18px 22px 22px; font: 650 .98rem var(--display); color: var(--rust); display: flex; align-items: center; gap: 8px; }
.dcard__go::after { content: ''; width: 18px; height: 10px; background: currentColor; clip-path: polygon(0 45%, 78% 45%, 78% 0, 100% 50%, 78% 100%, 78% 55%, 0 55%); transition: transform .3s var(--ease); }
.dcard:hover .dcard__go::after { transform: translateX(5px); }
@media (max-width: 1100px) { .drivers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .drivers__grid { grid-template-columns: 1fr; } .dcard__media { aspect-ratio: 16 / 10; } }

/* ---------- Myth ---------- */
.myth__thread { position: absolute; left: 0; right: 0; top: 4px; height: 44px; opacity: .8; }
.myth__say { font: 600 clamp(1.7rem, 3vw, 2.9rem)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: clamp(48px, 6vw, 80px); }
.myth__say .w { color: rgba(19, 33, 42, .55); transition: color .5s var(--ease); }
.myth__say .w.is-on { color: var(--ink); }
.myth__say .w.is-key.is-on { color: var(--rust); }
.myth__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.myth__fig { aspect-ratio: 1; max-height: var(--media-cap); width: min(100%, var(--media-cap)); }
.myth__fig img { height: 112%; }
.myth__steps { display: grid; gap: 30px; }
.myth__steps li { padding-left: 26px; border-left: 2px solid var(--ink); }
.myth__steps li:nth-child(2) { border-color: var(--rust); }
.myth__steps li:nth-child(3) { border-color: var(--magenta); }
.myth__steps h3 { margin-bottom: 8px; }
.myth__steps p { font-size: 1.1rem; color: #2B3A42; }
@media (max-width: 900px) { .myth__grid { grid-template-columns: 1fr; } .myth__fig { aspect-ratio: 4 / 3; } }

/* ---------- Four shifts (pinned signature) ---------- */
.shifts { --glow: #DB3EB1; position: relative; padding: clamp(80px, 9vw, 120px) 0; overflow: clip; isolation: isolate; }
.shifts::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(48% 60% at 42% 66%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%); pointer-events: none; }
.shifts__head { display: grid; gap: 18px; margin-bottom: 40px; }
.shifts__head h2 .morph { color: var(--coral); display: inline-block; }
.shifts__stage { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 4vw, 64px); }
.shifts__rail { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0 2px 30px; font-family: var(--display); }
.shifts__phase { font-size: .9rem; font-weight: 600; color: var(--mute-d); line-height: 1.3; }
.shifts__phase:not(:first-of-type) { margin-top: auto; }
.shifts__track { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line-d); }
.shifts__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--magenta), var(--coral), var(--saffron), var(--sage)); transform-origin: top; }
.js .shifts__fill { transform: scaleY(0); }
.shifts__dot { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 1.02rem; font-weight: 600; color: var(--mute-d); transition: color .4s; }
.shifts__dot::before { content: ''; position: absolute; left: -30px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c); background: var(--ink); transition: background .4s, transform .4s var(--ease); }
.shifts__dot.is-on { color: var(--paper); }
.shifts__dot.is-on::before { background: var(--c); transform: scale(1.25); }
.shifts__panels { display: grid; gap: 48px; }
.shift { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.shift__fig { aspect-ratio: 16 / 9; max-height: min(52vh, 520px); width: 100%; box-shadow: 0 0 0 1px var(--line-d); }
.shift__fig::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c); }
.shift__stage { display: flex; align-items: center; gap: 14px; font: 600 .95rem var(--display); color: var(--c); margin-bottom: 10px; }
.shift__n { padding: 3px 10px; border: 1.5px solid var(--c); color: var(--paper); font-size: .85rem; }
.shift__fig img { width: 106%; max-width: none; margin-left: -3%; }
.shift__h { font-size: clamp(1.9rem, 2.8vw, 2.4rem); margin-bottom: 14px; }
.shift__p { font-size: 1.12rem; color: #E4EAEC; }
.shift__list { margin-top: 20px; display: grid; gap: 8px; }
.shift__list li { display: flex; gap: 12px; align-items: baseline; font: 500 1.05rem/1.35 var(--display); }
.shift__list li::before { content: ''; flex: none; width: 16px; height: 2px; background: var(--c); transform: translateY(-4px); }
/* desktop pin: one stage built by home.js */
.is-pinned .shifts__panels { position: absolute; left: -300vw; top: 0; visibility: hidden; }
.shifts__stage { position: relative; }
.shiftstage { --c: var(--magenta); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; height: min(54vh, 520px); }
.shiftstage__fig { position: relative; aspect-ratio: 16 / 9; max-height: min(52vh, 520px); width: 100%; box-shadow: 0 0 0 1px var(--line-d); background: var(--ink-2); }
.shiftstage__fig img { position: absolute; top: 0; left: -3%; width: 106%; height: 100%; max-width: none; margin: 0; }
.shiftstage__fig::after { z-index: 2; transition: background .6s; }
.is-pinned .shifts__head { margin-bottom: 28px; }
.shifts.is-pinned { padding: calc(var(--hdr) + 16px) 0 36px; min-height: 100vh; }
@media (max-width: 1000px) {
  .shifts__stage { grid-template-columns: 1fr; }
  .shifts__rail { display: none; }
  .shift { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Functional medicine comparison ---------- */
.fm__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.fm__row { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-l); font-size: 1.08rem; align-items: start; }
.fm__row--head { font: 650 1rem var(--display); color: var(--mute-l); padding-top: 0; }
.fm__row--head span:last-child { color: var(--rust); }
.fm__k { font: 650 1rem var(--display); }
.fm__row strong { font-weight: 600; color: var(--ink); }
.fm__bar { display: block; position: relative; height: 10px; background: rgba(19, 33, 42, .08); margin: 6px 0 10px; }
.fm__bar i { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); background: var(--mute-l); transform-origin: left; }
.fm__bar--me i { background: var(--coral); }
.js .fm__bar i { transform: scaleX(0); }
.fm__panel { background: var(--ink); color: var(--paper); padding: clamp(24px, 2.6vw, 36px); display: grid; align-content: space-between; gap: 22px; }
.fm__thread { position: absolute; left: 0; right: 0; top: 4px; height: 44px; opacity: .55; }
.fm__big { display: grid; gap: 4px; font: 700 clamp(3.4rem, 6vw, 5.4rem)/0.95 var(--display); letter-spacing: -.04em; color: var(--coral); }
.fm__big span:last-child { font: 600 1.15rem/1.3 var(--display); letter-spacing: 0; color: var(--paper); }
.fm__dots { display: grid; grid-template-columns: repeat(18, 1fr); gap: 8px; }
.fm__dots i { aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.fm__dots i:nth-child(4n+2) { background: var(--saffron); }
.fm__dots i:nth-child(5n+3) { background: var(--magenta); }
.fm__dots i:nth-child(7n+1) { background: var(--sage); }
.fm__note { font-size: 1.02rem; color: var(--mute-d) !important; }
@media (max-width: 1000px) { .fm__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .fm__dots { grid-template-columns: repeat(9, 1fr); } }
@media (max-width: 600px) { .fm__row { grid-template-columns: 1fr 1fr; } .fm__row .fm__k, .fm__row--head span:first-child { grid-column: 1 / -1; } .fm__row--head span:first-child { display: none; } }

/* ---------- Symptoms list + pane ---------- */
.syms__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.syms__main { display: grid; gap: 0; }
.syms__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.syms__g:nth-child(2) { grid-row: span 2; }
.syms__g h3 { font-size: 1.05rem; color: var(--coral); margin-bottom: 8px; }
.syms__g:nth-child(2) h3 { color: var(--saffron); }
.syms__g:nth-child(3) h3 { color: var(--sage); }
.syms__i { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 0; background: none; border: 0; border-bottom: 1px solid var(--line-d); text-align: left; font: 500 1.05rem/1.3 var(--display); color: var(--paper); cursor: pointer; transition: color .3s, padding .4s var(--ease); }
.syms__i::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--mute-d); transition: background .3s, border-color .3s; }
.syms__i:hover, .syms__i.is-on { color: var(--coral); padding-left: 6px; }
.syms__i.is-on::before { background: var(--coral); border-color: var(--coral); }
.syms__pane { position: sticky; top: calc(var(--hdr) + 24px); aspect-ratio: 4 / 3.6; max-height: min(60vh, 520px); width: min(100%, calc(var(--media-cap) / 1.1)); justify-self: end; background: var(--ink-2); }
.syms__pane img { position: absolute; inset: 0; animation: breathe 8s ease-in-out infinite alternate; }
@keyframes breathe { to { scale: 1.07; } }
.syms__pane figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 22px 18px; font: 600 1.05rem var(--display); background: linear-gradient(0deg, rgba(19, 33, 42, .9), rgba(19, 33, 42, 0)); }
@media (max-width: 900px) {
  .syms__grid { grid-template-columns: 1fr; }
  .syms__pane { position: relative; top: 0; order: -1; justify-self: stretch; width: 100%; aspect-ratio: 16 / 10; }
  .syms__groups { grid-template-columns: 1fr; }
  .syms__g:nth-child(2) { grid-row: auto; }
}

/* ---------- Case studies ---------- */
.cases__grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.case { background: #fff; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 4fr 8fr; }
.case:nth-child(2) { grid-template-columns: 8fr 4fr; }
.case:nth-child(2) .case__fig { order: 2; }
.case__fig { border-radius: 0; min-height: 100%; }
.case__fig img { position: absolute; left: 0; top: -8%; height: 116%; }
.case__body { padding: clamp(22px, 2.6vw, 34px); display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; align-content: start; }
.case__body > * { grid-column: 2; }
.case__body > .case__stat { grid-column: 1; grid-row: 1 / span 5; align-self: start; flex-direction: column; align-items: flex-start; }
.case__tags { font: 600 .92rem var(--display); color: var(--mute-l); }
.case__stat { display: flex; align-items: baseline; gap: 2px; font: 700 clamp(3rem, 5vw, 4.4rem)/1 var(--display); letter-spacing: -.04em; color: var(--rust); }
.case__unit { margin-top: 8px; font: 600 1.05rem/1.25 var(--display); letter-spacing: 0; color: var(--ink); }
.case__h { font-size: 1.45rem; }
.case__body > p:not([class]) { font-size: 1.06rem; color: #2B3A42; }
.case blockquote { font: italic 500 1.2rem/1.4 var(--body); padding-left: 18px; border-left: 2px solid var(--coral); }
@media (max-width: 900px) { .case, .case:nth-child(2) { grid-template-columns: 1fr; } .case:nth-child(2) .case__fig { order: 0; } .case__fig { aspect-ratio: 16 / 9; } .case__body { grid-template-columns: 1fr; } .case__body > *, .case__body > .case__stat { grid-column: 1; grid-row: auto; flex-direction: row; align-items: baseline; } .case__unit { margin: 0 0 0 12px; } }

/* ---------- HRT tabs ---------- */
.hrt__box { background: var(--paper); border-radius: var(--r); padding: clamp(18px, 2.4vw, 30px); }
.hrt__box { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.hrt__tabs { position: relative; display: grid; border-left: 1px solid var(--line-l); }
.hrt__tab { min-height: 64px; padding: 12px 14px 12px 20px; background: none; border: 0; font: 650 1.05rem/1.2 var(--display); color: var(--mute-l); text-align: left; cursor: pointer; transition: color .3s; }
.hrt__tab[aria-selected="true"], .hrt__tab:hover { color: var(--ink); }
.hrt__ink { position: absolute; left: -2px; top: 0; width: 3px; height: 33.333%; background: var(--rust); transition: transform .55s var(--ease); }
.hrt__panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 44px); align-items: center; }
.hrt__fig { aspect-ratio: 4 / 3.2; max-height: min(44vh, 380px); width: 100%; }
.hrt__txt { display: grid; gap: 14px; justify-items: start; }
.hrt__txt h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.hrt__txt p { font-size: 1.1rem; color: #2B3A42; }
.hrt__panel[hidden] { display: none; }
.no-js .hrt__panel[hidden] { display: grid; margin-top: 32px; }
@media (max-width: 800px) {
  .hrt__box { grid-template-columns: 1fr; }
  .hrt__tabs { border-left: 0; }
  .hrt__tab { border-left: 3px solid transparent; padding-left: 14px; }
  .hrt__tab[aria-selected="true"] { border-left-color: var(--rust); }
  .hrt__ink { display: none; }
  .hrt__panel { grid-template-columns: 1fr; }
}

/* ---------- Voices ---------- */
.voices__thread { position: absolute; left: 0; right: 0; top: 4px; height: 44px; opacity: .5; }
.voices__top { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.voices__q { font: 600 clamp(1.8rem, 3.2vw, 3rem)/1.15 var(--display); letter-spacing: -.02em; color: var(--paper) !important; }
.voices__quote figcaption { margin-top: 22px; font-size: 1.05rem; color: var(--mute-d); }
.voices__quote figcaption strong { color: var(--coral); font-family: var(--display); margin-right: 8px; }
.voices__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.voices__stats li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 1rem; color: var(--mute-d); }
.voices__n { font: 700 2.4rem/1 var(--display); letter-spacing: -.03em; color: var(--paper); }
.voices__marquee { margin: clamp(44px, 5vw, 72px) 0; display: grid; gap: 14px; }
.vm { --dur: 80s; }
.vm .mq__row { gap: 14px; padding-right: 14px; }
.vm .mq__row li { flex: 0 0 auto; width: 460px; white-space: normal; padding: 18px 24px; border: 1px solid var(--line-d); border-radius: var(--r); font: italic 400 1.1rem/1.4 var(--body); color: #E4EAEC; background: var(--ink-2); }
.vm--rev .mq__row li { background: transparent; }
.voices__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard { padding: 28px; background: var(--paper); color: var(--ink); border-radius: var(--r); display: grid; gap: 18px; align-content: space-between; }
.vcard blockquote { font: 500 1.15rem/1.45 var(--body); }
.vcard figcaption { font-size: .98rem; color: var(--mute-l); }
.vcard figcaption strong { display: block; font: 650 1.05rem var(--display); color: var(--ink); }
@media (max-width: 900px) { .voices__top, .voices__cards { grid-template-columns: 1fr; } .vm .mq__row li { width: 80vw; } }

/* ---------- How it works + call CTA ---------- */
.how__track { --g: clamp(24px, 3vw, 48px); position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
/* from the centre of the first number to the centre of the last: two columns and two gaps */
.how__line { position: absolute; z-index: 0; top: 3px; left: 23px; width: calc((100% - 2 * var(--g)) * 2 / 3 + 2 * var(--g)); height: 40px; pointer-events: none; }
.how__line svg { width: 100%; height: 40px; overflow: visible; }
.how__line path { fill: none; stroke: var(--rust); stroke-width: 2; vector-effect: non-scaling-stroke; }
.how__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.how__steps li { display: grid; gap: 12px; align-content: start; }
.how__n { position: relative; box-shadow: 0 0 0 6px var(--paper); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 1.2rem var(--display); }
.how__steps li:nth-child(2) .how__n { background: var(--rust); }
.how__steps li:nth-child(3) .how__n { background: var(--magenta); }
.how__steps p { font-size: 1.08rem; color: #2B3A42; }
.callcta { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--r); padding: clamp(18px, 2vw, 24px); }
.callcta__fig { aspect-ratio: 16 / 10.5; max-height: var(--media-cap); width: 100%; }
.callcta__fig img { height: 112%; object-position: 35% 50%; }
.callcta__txt { display: grid; gap: 20px; justify-items: start; padding: 12px clamp(8px, 2vw, 28px) 12px 0; }
.callcta__h { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; font-size: 1.1rem; line-height: 1.4; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 10px; margin-top: 6px; border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg); }
.callcta__hrs { font-size: 1.02rem; color: var(--mute-d) !important; }
@media (max-width: 900px) { .how__steps, .callcta { grid-template-columns: 1fr; } .how__line { display: none; } .callcta__txt { padding: 4px 6px 12px; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { display: grid; gap: 32px; position: sticky; top: calc(var(--hdr) + 24px); }
.faq__fig { aspect-ratio: 4 / 3.2; max-height: min(52vh, 480px); width: 100%; }
.faq__fig img { height: 112%; }
.acc { border-top: 1px solid var(--line-l); }
.acc__item { border-bottom: 1px solid var(--line-l); }
.acc__item h3 { font-size: inherit; }
.acc__btn { display: flex; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; padding: 18px 0; background: none; border: 0; text-align: left; font: 650 1.18rem/1.3 var(--display); color: var(--ink); cursor: pointer; }
.acc__q { flex: 1; }
.acc__ic { flex: none; position: relative; width: 22px; height: 22px; margin-top: 2px; }
.acc__ic::before, .acc__ic::after { content: ''; position: absolute; left: 2px; right: 2px; top: 10px; height: 2px; background: var(--rust); transition: transform .4s var(--ease); }
.acc__ic::after { transform: rotate(90deg); }
.is-open .acc__ic::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 40px 22px 0; font-size: 1.08rem; color: #2B3A42; }
.js .acc__item:not(.is-open) .acc__panel { grid-template-rows: 0fr; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: relative; top: 0; } }

/* ---------- Footer ---------- */
.ftr { position: relative; background: var(--ink); padding: 40px 0 28px; overflow: clip; border-top: 1px solid var(--line-d); }
.ftr__threads { position: absolute; left: 0; right: 0; top: 0; height: 120px; opacity: .7; pointer-events: none; }
.ftr__cols { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 110px; }
.brand--ftr img { height: 58px; }
.ftr__about p { margin-top: 18px; font-size: 1.02rem; color: var(--mute-d); }
.ftr__cred { font-size: .95rem !important; }
.ftr__h { font-size: 1.05rem; color: var(--coral); margin-bottom: 12px; }
.ftr__col li a { display: inline-flex; align-items: center; min-height: 44px; font: 500 1.02rem var(--display); text-decoration: none; color: var(--paper); transition: color .25s; }
.ftr__col li a:hover { color: var(--coral); }
.ftr__note { font-size: .95rem; color: var(--mute-d); margin-top: 8px; }
.ftr__disc { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.ftr__disc p { font-size: .95rem; line-height: 1.55; color: var(--mute-d); }
.ftr__base { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--mute-d); }
.ftr__base a { color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ftr__base a:hover { color: var(--coral); }
.ftr__credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ftr__cols { grid-template-columns: 1fr 1fr; } .ftr__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__cols { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal] > *, .js [data-hero-in] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="lines"], .js [data-hero-h] { visibility: visible !important; }
  .js .fm__bar i, .js .shifts__fill { transform: none !important; }
  .hero__cv { transition: none; }
  .mq__track { animation: none !important; width: auto; }
  .mq__row { flex-wrap: wrap; row-gap: 14px; flex: 1; }
  .mq__row[aria-hidden] { display: none; }
  .vm .mq__row li { width: auto; max-width: 560px; }
}
.case__num { white-space: nowrap; }
.case + .case { margin-top: clamp(18px, 2vw, 28px); }

/* footer columns: a slow glow drifts behind them so the block never goes still */
.ftr__cols::before { content: ''; position: absolute; inset: 60px -10% -40px; z-index: -1; pointer-events: none; background: radial-gradient(30% 60% at 20% 50%, rgba(219, 62, 177, .16), transparent 70%), radial-gradient(28% 55% at 80% 40%, rgba(254, 89, 76, .13), transparent 70%); animation: ftrglow 11s ease-in-out infinite alternate; }
.ftr__cols { isolation: isolate; }
@keyframes ftrglow { to { transform: translateX(14%) translateY(-8%); } }
@media (prefers-reduced-motion: reduce) { .ftr__cols::before { animation: none; } }
