/* Self-hosted fonts (SIL Open Font License 1.1; see assets/fonts/OFL-*.txt).
   Preloaded with font-display: optional so a late font never reflows the page. */
@font-face{font-family:Fraunces;font-style:normal;font-weight:400 600;font-display:optional;src:url(/assets/fonts/fraunces-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Fraunces;font-style:italic;font-weight:400 600;font-display:optional;src:url(/assets/fonts/fraunces-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:400 600;font-display:optional;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* EndoAI Living Science design system.
   Botanical Couture palette: forest and emerald for cinematic scenes, ivory for
   reading, gold only for meaningful emphasis. Works without JavaScript. */
:root{
  --forest:#132D27;--emerald:#0D201B;--teal:#1A4B44;--ivory:#F5F1E8;--paper:#FCF9F3;--mint:#79D7A3;--gold:#C5A059;
  --brand:#1F4D37;--brand-deep:#163928;
  --ink:#1D2824;--ink-soft:#44524C;--ink-mute:#58655F;--line:rgba(19,45,39,.14);--line-strong:rgba(19,45,39,.26);
  --on-dark:#F5F1E8;--on-dark-soft:rgba(245,241,232,.84);--on-dark-mute:rgba(245,241,232,.7);--line-dark:rgba(245,241,232,.16);
  --focus-light:#1F6B4A;--focus-dark:#9BE8BD;
  --surface:#FFFEFA;--sage:#EEF4EC;--notice:#F3EEDF;--gold-ink:#7A5A1C;
  --serif:Fraunces,Georgia,'Times New Roman',serif;--sans:Inter,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --step--1:clamp(.84rem,.82rem + .1vw,.9rem);--step-0:clamp(1rem,.97rem + .15vw,1.08rem);--step-1:clamp(1.15rem,1.08rem + .35vw,1.35rem);
  --step-2:clamp(1.4rem,1.25rem + .75vw,1.85rem);--step-3:clamp(1.8rem,1.5rem + 1.5vw,2.75rem);--step-4:clamp(2.3rem,1.8rem + 2.6vw,4rem);--step-5:clamp(2.7rem,2rem + 3.8vw,5.4rem);
  --radius-s:12px;--radius:20px;--radius-l:30px;--ease:cubic-bezier(.22,.8,.24,1);
  --gutter:clamp(16px,4vw,48px);--max:1240px;--header-h:72px;
  --shadow:0 1px 0 rgba(255,255,255,.7) inset,0 24px 50px -30px rgba(13,32,27,.32),0 8px 18px -12px rgba(13,32,27,.18);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 12px)}
@media (prefers-reduced-motion:no-preference){html.is-settled:not([data-motion="off"]){scroll-behavior:smooth}}
body{margin:0;background:var(--paper);color:var(--ink);font:400 var(--step-0)/1.7 var(--sans);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img,svg,canvas,video,picture{display:block;max-width:100%}
img{height:auto}
a{color:inherit}
button,input,select{font:inherit;color:inherit}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.08;letter-spacing:-.025em;margin:0;text-wrap:balance}
h1 em,h2 em,h3 em{font-style:italic;font-weight:400}
p{margin:0}
p+p{margin-top:1em}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid var(--focus-light);outline-offset:3px;border-radius:6px}
.scene-dark :focus-visible,.site-footer :focus-visible{outline-color:var(--focus-dark)}
.skip-link{position:fixed;z-index:200;left:16px;top:-80px;padding:12px 20px;border-radius:12px;background:var(--brand);color:#fff;text-decoration:none}
.skip-link:focus{top:12px}

/* Layout primitives */
.wrap{width:min(var(--max),calc(100% - var(--gutter) * 2));margin-inline:auto}
.section{padding-block:clamp(64px,9vw,128px)}
.section-tight{padding-block:clamp(44px,6vw,80px)}
.stack>*+*{margin-top:var(--space,1rem)}
.cluster{display:flex;flex-wrap:wrap;gap:var(--gap,12px);align-items:center}
.grid{display:grid;gap:clamp(16px,2.4vw,28px)}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.split{display:grid;gap:clamp(28px,5vw,80px);align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media (max-width:900px){.split{grid-template-columns:1fr}}
.measure{max-width:64ch}
.center{text-align:center;margin-inline:auto}

/* Scenes */
.scene-dark{position:relative;color:var(--on-dark);background:radial-gradient(120% 90% at 85% 0%,rgba(26,75,68,.85) 0%,transparent 55%),radial-gradient(90% 80% at 0% 100%,rgba(19,45,39,.9) 0%,transparent 60%),linear-gradient(180deg,var(--forest) 0%,var(--emerald) 100%);isolation:isolate}
.scene-dark .eyebrow{color:var(--mint)}
.scene-dark .lead,.scene-dark p{color:var(--on-dark-soft)}
.scene-ivory{background:var(--ivory)}
.scene-paper{background:var(--paper)}

/* Type */
.eyebrow{font:600 .72rem/1.5 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--brand);margin-bottom:18px}
.display{font-size:var(--step-5)}
.h2{font-size:var(--step-4)}
.h3{font-size:var(--step-2)}
.lead{font-size:var(--step-1);line-height:1.6;color:var(--ink-soft);max-width:60ch}
.small{font-size:var(--step--1);line-height:1.6}
.muted{color:var(--ink-mute)}
.section-head{max-width:760px;margin-bottom:clamp(32px,5vw,56px)}
.section-head .lead{margin-top:18px}
.section-head.center{margin-inline:auto}
/* Desktop split heading: title left, lede and sources right, so wide screens
   are not left with an empty half beside every introduction. */
@media (min-width:1080px){.section-head.head-split{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);column-gap:clamp(40px,6vw,104px);align-items:start}.section-head.head-split>.eyebrow{grid-column:1;grid-row:1}.section-head.head-split>h2{grid-column:1;grid-row:2/span 4}.section-head.head-split>:not(.eyebrow):not(h2){grid-column:2}.section-head.head-split>.lead{grid-row:2;margin-top:8px}.section-head.head-split>.source{grid-row:3;margin-top:14px}.section-head.head-split>.section-audio{grid-row:4;margin-top:14px}}
/* A dark scene that continues the one above it, without a seam. */
.scene-continue{background:radial-gradient(80% 70% at 10% 100%,rgba(26,75,68,.55) 0%,transparent 60%),linear-gradient(180deg,var(--emerald) 0%,var(--forest) 100%);padding-top:0}
.scene-continue>.wrap{border-top:1px solid var(--line-dark);padding-top:clamp(56px,7vw,96px)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;height:var(--header-h);display:flex;align-items:center;gap:20px;padding-inline:var(--gutter);background:rgba(252,249,243,.9);backdrop-filter:saturate(140%) blur(16px);-webkit-backdrop-filter:saturate(140%) blur(16px);border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;flex-shrink:0;color:var(--brand)}
.brand img{width:36px;height:36px;object-fit:contain}
/* The official mark's deep-green face line disappears on dark surfaces. There it sits, unaltered, on the app icon's ivory tile. */
body[data-page="home"] .site-header .brand img,.footer-brand .brand img{background:#FEF7EE;border-radius:22%;forced-color-adjust:none}
.brand span{font:500 1.7rem/1 var(--serif);letter-spacing:-.04em}
.primary-nav{display:flex;align-items:center;gap:clamp(12px,1.6vw,26px);margin-left:auto}
.primary-nav a{white-space:nowrap;font-size:.86rem;font-weight:500;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;position:relative;color:var(--ink-soft)}
.primary-nav a:hover,.primary-nav a[aria-current="page"]{color:var(--brand)}
.primary-nav a[aria-current="page"]::after{content:'';position:absolute;left:0;right:0;bottom:8px;height:2px;border-radius:2px;background:var(--brand)}
.header-actions{display:flex;align-items:center;gap:10px}
.btn-download{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border-radius:999px;background:var(--brand);color:#fff;text-decoration:none;font-size:.86rem;font-weight:600;white-space:nowrap}
.btn-download:hover{background:var(--brand-deep)}
.motion-toggle{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);background:transparent;cursor:pointer;font-size:.8rem;color:var(--ink-soft)}
.motion-toggle:hover{background:var(--sage)}
.motion-toggle svg{width:16px;height:16px}
.motion-toggle .when-off{display:none}
.motion-toggle[aria-pressed="true"] .when-on{display:none}
.motion-toggle[aria-pressed="true"] .when-off{display:inline}
.mobile-menu{display:none}
.mobile-menu summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);cursor:pointer;font-size:.86rem;font-weight:500}
.mobile-menu summary::-webkit-details-marker{display:none}
/* The panel hangs from the header's right edge (the sticky header is its
   containing block), so it always stays inside the screen. */
.mobile-menu nav{position:absolute;right:max(12px,env(safe-area-inset-right,0px));top:calc(100% + 8px);width:min(340px,calc(100vw - 24px));max-height:calc(100vh - var(--header-h) - 24px);max-height:calc(100dvh - var(--header-h) - 24px);overflow-y:auto;overscroll-behavior:contain;padding:10px;border-radius:var(--radius);background:var(--surface);color:var(--ink);box-shadow:var(--shadow);border:1px solid var(--line);display:grid}
.mobile-menu nav a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;text-decoration:none;font-weight:500;color:var(--ink)}
.mobile-menu nav a:hover,.mobile-menu nav a[aria-current="page"]{background:var(--sage);color:var(--brand)}
/* The breakpoint is in em so larger default text moves it too; .is-compact (site.js) catches every
   other case where the full row does not fit, such as text-only zoom. */
@media (max-width:67.5em){.primary-nav{display:none}.mobile-menu{display:block;margin-left:auto}}
.site-header.is-compact .primary-nav{display:none}
.site-header.is-compact .mobile-menu{display:block;margin-left:auto}
.menu-motion{display:none}
@media (max-width:640px){.header-actions .motion-toggle{display:none}.menu-motion{display:flex;margin-top:6px;justify-content:center}.mobile-menu summary{padding:0 12px}.btn-download{padding:0 14px}.brand span{font-size:1.4rem}.brand img{width:32px;height:32px}.site-header{gap:10px}}

/* Buttons and links */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:0 24px;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .35s var(--ease),background-color .25s,border-color .25s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-deep)}
.btn-secondary{border-color:var(--line-strong);color:var(--brand);background:transparent}
.btn-secondary:hover{background:var(--sage)}
.scene-dark .btn-primary{background:var(--mint);color:var(--emerald)}
.scene-dark .btn-primary:hover{background:#95e2b8}
.scene-dark .btn-secondary{border-color:rgba(245,241,232,.4);color:var(--on-dark)}
.scene-dark .btn-secondary:hover{background:rgba(245,241,232,.08)}
.text-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:600;font-size:.92rem;color:var(--brand);text-decoration:none;border-bottom:1px solid currentColor}
.text-link:hover{gap:14px}
.scene-dark .text-link{color:var(--mint)}
.store-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.store-links a{display:inline-flex;align-items:center;min-height:52px;border-radius:10px}
.store-links img.badge-apple{width:135px;height:45px}
.store-links img.badge-google{width:153px;height:59px;object-fit:contain}
.availability{font-size:var(--step--1);color:var(--ink-mute);margin-top:10px}
.scene-dark .availability{color:var(--on-dark-mute)}

/* Chips, tabs and form controls */
.chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;font-size:.88rem;font-weight:500;color:var(--ink)}
.chip:hover{border-color:var(--brand)}
.chip[aria-pressed="true"],.chip[aria-selected="true"],.chip[aria-checked="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.scene-dark .chip{background:rgba(245,241,232,.06);border-color:var(--line-dark);color:var(--on-dark)}
.scene-dark .chip[aria-pressed="true"],.scene-dark .chip[aria-selected="true"]{background:var(--mint);border-color:var(--mint);color:var(--emerald)}
.chip .glyph{width:14px;height:14px;flex:none}
.control-row{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.control-label{font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-mute)}
.scene-dark .control-label{color:var(--on-dark-mute)}
.range{display:grid;gap:6px;min-width:min(100%,260px)}
.range label{font-size:.88rem;font-weight:600}
.range output{font-variant-numeric:tabular-nums;font-weight:600;color:var(--brand)}
.scene-dark .range output{color:var(--mint)}
input[type="range"]{width:100%;min-height:44px;accent-color:var(--brand);cursor:pointer}
.scene-dark input[type="range"]{accent-color:var(--mint)}
select.select{min-height:44px;padding:0 36px 0 14px;border-radius:12px;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}
.check{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:.9rem}
.check input{width:20px;height:20px;accent-color:var(--brand)}
.scene-dark .check input{accent-color:var(--mint)}

/* Cards */
.card{position:relative;padding:clamp(22px,3vw,32px);border-radius:var(--radius-l);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.card h3{font-size:var(--step-2);margin-bottom:12px}
.card-glass{background:rgba(245,241,232,.06);border:1px solid var(--line-dark);box-shadow:0 1px 0 rgba(245,241,232,.08) inset,0 30px 60px -40px rgba(0,0,0,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.card-link{text-decoration:none;display:flex;flex-direction:column;gap:12px;transition:transform .4s var(--ease),border-color .3s}
.card-link:hover{transform:translateY(-4px);border-color:var(--mint)}
.card-link .arrow{margin-top:auto;font-weight:600;color:var(--brand)}
.scene-dark .card-link .arrow{color:var(--mint)}
.stat{display:flex;flex-direction:column;gap:10px}
.stat-value{font:500 clamp(2.2rem,1.5rem + 2.2vw,3.5rem)/1.02 var(--serif);letter-spacing:-.03em;color:var(--brand);text-wrap:balance}
.scene-dark .stat-value{color:var(--mint)}

/* Labels that keep real and illustrative content clearly separate */
.tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font:600 .7rem/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;border:1px solid currentColor;max-width:100%}
.tag-genuine{color:var(--brand)}
.tag-synthetic{color:var(--gold-ink);background:rgba(197,160,89,.12)}
.tag-concept{color:#6B3F6E;background:rgba(107,63,110,.08)}
.tag-illustrative{color:var(--ink-mute)}
.scene-dark .tag-genuine{color:var(--mint)}
.scene-dark .tag-synthetic{color:#E3C88C;background:rgba(197,160,89,.14)}
.scene-dark .tag-concept{color:#E7C2EA;background:rgba(231,194,234,.08)}
.scene-dark .tag-illustrative{color:var(--on-dark-mute)}

/* Evidence notes */
.source{display:block;margin-top:14px;font-size:.8rem;line-height:1.55;color:var(--ink-mute)}
.source a{color:inherit;text-underline-offset:3px}
.scene-dark .source{color:var(--on-dark-mute)}
.callout{padding:22px 24px;border-radius:var(--radius);background:var(--notice);border:1px solid rgba(197,160,89,.35)}
.callout strong{color:var(--ink)}
.scene-dark .callout{background:rgba(197,160,89,.1);border-color:rgba(197,160,89,.4)}
.scene-dark .callout strong{color:var(--on-dark)}
.disclaimer{font-size:.8rem;line-height:1.6;color:var(--ink-mute)}
.scene-dark .disclaimer{color:var(--on-dark-mute)}
ul.ticks{list-style:none;padding:0;margin:0;display:grid;gap:12px}
ul.ticks li{position:relative;padding-left:30px}
ul.ticks li::before{content:'';position:absolute;left:0;top:.45em;width:16px;height:16px;border-radius:50%;background:var(--sage);box-shadow:inset 0 0 0 5px var(--brand)}
ul.crosses li::before{background:transparent;box-shadow:inset 0 0 0 2px var(--ink-mute);border-radius:4px}

/* Tables */
.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);max-height:480px}
table.data{border-collapse:collapse;width:100%;font-size:.86rem;font-variant-numeric:tabular-nums}
table.data caption{text-align:left;padding:14px 16px;font-weight:600}
table.data th,table.data td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
table.data thead th{position:sticky;top:0;background:var(--sage);font-weight:600}
details.disclosure{border-top:1px solid var(--line);padding-top:6px;margin-top:22px}
details.disclosure>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px;font-weight:600;color:var(--brand)}
.scene-dark details.disclosure{border-color:var(--line-dark)}
.scene-dark details.disclosure>summary{color:var(--mint)}
.scene-dark .table-wrap{background:rgba(245,241,232,.04);border-color:var(--line-dark)}
.scene-dark table.data th,.scene-dark table.data td{border-color:var(--line-dark)}
.scene-dark table.data thead th{background:var(--teal)}

/* Hero */
.hero{min-height:min(860px,calc(100svh - var(--header-h)));display:grid;align-items:center;overflow:hidden;padding-block:clamp(40px,6vw,72px)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,64px);align-items:center}
.hero-copy{position:relative;z-index:2}
.hero-copy h1{font-size:var(--step-5);color:var(--on-dark)}
.hero-copy h1 em{color:var(--mint)}
.hero-copy .lead{margin-top:24px;color:var(--on-dark-soft)}
.hero-tagline{margin-top:16px;font:italic 400 var(--step-1)/1.4 var(--serif);color:var(--gold)!important}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-stores{margin-top:30px}
.hero-visual{position:relative;margin:0;aspect-ratio:1/1.08;max-height:720px;width:100%}
/* Soft light behind the bloom and the root; fades in with the bloom. */
.hero-visual::before,.hero-visual::after{content:"";position:absolute;pointer-events:none;opacity:0;transition:opacity 2.4s var(--ease) 2.4s}
.hero-visual::before{inset:-8% 16% 64% 16%;background:radial-gradient(closest-side,rgba(121,215,163,.16),rgba(121,215,163,.05) 55%,transparent)}
.hero-visual::after{inset:80% 30% -2% 30%;background:radial-gradient(closest-side,rgba(197,160,89,.11),transparent)}
.hero-visual.is-live::before,.hero-visual.is-live::after{opacity:1}
[data-motion="off"] .hero-visual::before,[data-motion="off"] .hero-visual::after{transition:none}
.hero-visual .hero-fallback,.hero-visual canvas{position:absolute;inset:0 0 44px;width:100%;height:calc(100% - 44px)}
.hero-visual .hero-fallback{object-fit:contain;opacity:.9;transition:opacity 1.2s var(--ease)}
.hero-visual canvas{opacity:0;transition:opacity 1.2s var(--ease)}
.hero-visual.is-live canvas{opacity:1}
.hero-visual.is-live .hero-fallback{opacity:0}
.hero-visual figcaption{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:12px;font-size:.78rem;color:var(--on-dark-mute)}
/* Below 900px the scene becomes an ambient layer behind the copy, so the
   headline, actions and store links stay in the first viewport. */
@media (max-width:900px){.hero{position:relative;min-height:auto;padding-block:clamp(36px,7vw,60px) 92px}.hero-grid{grid-template-columns:1fr;position:static}.hero-visual{position:absolute;inset:0;max-height:none;aspect-ratio:auto;pointer-events:none}.hero-visual .hero-fallback,.hero-visual canvas{inset:0 -4% auto auto;width:54%;height:100%;-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent);mask-image:linear-gradient(to bottom,#000 55%,transparent)}.hero-visual .hero-fallback{opacity:.45}.hero-visual.is-live canvas{opacity:.85}.hero-visual::before{inset:-4% -10% auto 40%;height:36%}.hero-visual::after{display:none}.hero-visual figcaption{left:var(--gutter);right:var(--gutter);bottom:28px}}
@media (max-width:520px){.hero-visual .hero-fallback,.hero-visual canvas{inset:0 -34% auto auto;width:100%;height:min(80%,640px)}.hero-visual.is-live canvas{opacity:.62}}

/* Media frames for genuine screenshots */
.phone{position:relative;border-radius:34px;padding:10px;background:linear-gradient(160deg,#1d3a33,#0b1a16);box-shadow:0 40px 80px -40px rgba(13,32,27,.55),0 0 0 1px rgba(245,241,232,.08) inset;width:100%;max-width:300px;margin-inline:auto}
.phone img{border-radius:26px;width:100%;aspect-ratio:9/19;object-fit:cover;object-position:top}
.photo{border-radius:var(--radius-l);overflow:hidden;background:var(--ivory)}
.photo picture,.photo img{width:100%;height:100%}
.photo img{object-fit:cover}
.media-caption{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:14px;font-size:.82rem;color:var(--ink-mute)}

/* Footer */
/* Liquid glass material. One recipe for the few surfaces that float over the
   world (navigation, scene controls, the footer panel). Text never relies on
   what moves behind it: every glass tint alone gives AA contrast for ivory text,
   and the blur is an enhancement with a solid fallback. */
:root{
  --glass-tint:rgba(11,30,26,.55);--glass-tint-strong:rgba(10,26,22,.82);--glass-solid:#0E2621;
  --glass-blur:18px;--glass-saturate:140%;--glass-radius:32px;
  --glass-sheen:linear-gradient(160deg,rgba(245,241,232,.09),rgba(245,241,232,.02) 38%,rgba(8,22,19,.2));
  --glass-edge:linear-gradient(115deg,rgba(121,215,163,.6),rgba(245,241,232,.28) 26%,rgba(95,211,184,.06) 52%,rgba(197,160,89,.42) 82%,rgba(121,215,163,.32));
  --glass-rim:inset 0 1px 0 rgba(245,241,232,.2),inset 0 -1px 0 rgba(0,0,0,.35);
  --glass-drop:0 50px 90px -48px rgba(0,0,0,.85),0 18px 36px -24px rgba(0,0,0,.6);
  --halo-mint:rgba(121,215,163,.62);--halo-teal:rgba(95,211,184,.4);--halo-gold:rgba(197,160,89,.42);
  --spring-glass:.12;--dur-breathe:14s;--dur-glint:9s;
}

/* Footer rules live in glass-footer.css, linked just before the footer so
   they never delay the first paint. */

/* Read-aloud controls inherited from the existing site (site-audio.js) */
.section-audio{display:flex;align-items:center;flex-wrap:wrap;gap:0 10px;margin-top:18px;min-height:44px;font-size:.8rem}
.section-audio button{display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:8px 12px;border-radius:12px;border:1px solid var(--line-strong);background:transparent;cursor:pointer;font-size:.8rem}
.scene-dark .section-audio button{border-color:var(--line-dark);color:var(--on-dark)}
.audio-status{font-size:.78rem;color:var(--ink-mute)}
.audio-status:empty{display:none}

/* Motion: a gentle settle only. Content is never hidden waiting for a scroll
   observer, so slow devices and throttled tabs always show the text. */
[data-motion="on"] .reveal{transform:translateY(14px);transition:transform 1s var(--ease)}
[data-motion="on"] .reveal.is-visible{transform:none}
[data-motion="off"] *,[data-motion="off"] *::before,[data-motion="off"] *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important}}
@media print{.site-header,.motion-toggle,.hero-visual,.section-audio{display:none!important}.scene-dark{background:#fff;color:#000}.scene-dark p{color:#000}}
@media (max-width:380px){.site-header{padding-inline:12px;gap:8px}.brand span{font-size:1.2rem}.btn-download{padding:0 12px;font-size:.8rem}.btn-download span{display:none}.mobile-menu summary{padding:0 10px;font-size:.8rem}}
/* Reserve space for read-aloud controls before site-audio.js reveals them (prevents layout shift). */
.section-audio[hidden]{display:flex!important;visibility:hidden}
@media (prefers-reduced-transparency:reduce){
  .site-header{background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}
  .card-glass{background:#10291F;-webkit-backdrop-filter:none;backdrop-filter:none}
}
