@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
/* Devanagari: only downloaded when Hindi characters are on screen */
@font-face { font-family: "Noto Sans Devanagari"; src: url(../fonts/noto-sans-devanagari-devanagari-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-wght-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

/* ---------- Theme tokens ---------- */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #062019;             /* specimen dark: deep pine */
  --fg: #E8F3EE;
  --fg-soft: #A6C1B7;
  --accent: #7FE0B8;         /* luminous mint */
  --accent-ink: #062019;
  --accent-hover: #A5ECCF;
  --warn-text: #F2C46D;      /* "not yet right" in the ORS story */
  --glass: 6, 32, 25;        /* rgb of translucent chrome */
  --hair: 166, 193, 183;     /* rgb of hairlines on chapters */
  --accent-rgb: 127, 224, 184;
  --stage-a: #0F4A3A; --stage-b: #0C3A2E;
  /* working sheets */
  --paper: #0C2E25; --ink: #E8F3EE; --ink-soft: #A6C1B7; --line: #23493E;
  --card: #113A30; --field: #082820; --tabs: #082820; --tab-on: #1A4A3C; --mark: #1E5747;
  --s-accent: #7FE0B8; --s-btn: #7FE0B8; --s-btn-ink: #062019; --s-btn-hover: #A5ECCF; --s-soft-bg: #15443A;
  --chip-on: #7FE0B8; --chip-on-ink: #062019;
  --sheet-shadow: rgba(0,0,0,.6);
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #EEF5F1;
  --fg: #0E2B24;
  --fg-soft: #46605A;
  --accent: #1F6F5B;
  --accent-ink: #FFFFFF;
  --accent-hover: #185A4A;
  --warn-text: #8A5A08;
  --glass: 238, 245, 241;
  --hair: 70, 96, 90;
  --accent-rgb: 31, 111, 91;
  --stage-a: #CFEADF; --stage-b: #DDEFE7;
  --paper: #FFFFFF; --ink: #0E2B24; --ink-soft: #4A645D; --line: #D3E2DB;
  --card: #F6FAF8; --field: #FFFFFF; --tabs: #E2ECE7; --tab-on: #FFFFFF; --mark: #CDEBDD;
  --s-accent: #1F6F5B; --s-btn: #1F6F5B; --s-btn-ink: #FFFFFF; --s-btn-hover: #185A4A; --s-soft-bg: #DCEFE7;
  --chip-on: #0E2B24; --chip-on-ink: #FFFFFF;
  --sheet-shadow: rgba(14,43,36,.18);
}
:root {
  --brand: #1F6F5B;
  --display: "Montserrat", "Noto Sans Devanagari", system-ui, sans-serif;
  --text: "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --pad: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .35s, color .35s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .5em; letter-spacing: -0.02em; line-height: 1.06; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.5rem); font-weight: 750; max-width: 13ch; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 720; max-width: 16ch; }
h3 { font-size: 1.35rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 60ch; }
/* Hindi: Devanagari needs more line height and no negative tracking */
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) .big-number { letter-spacing: 0; line-height: 1.3; }
:lang(hi) h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 15ch; }
:lang(hi) body { line-height: 1.75; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--fg); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sheet :focus-visible { outline-color: var(--s-accent); }
.fine { font-size: .86rem; color: var(--ink-soft); }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.4rem; border-radius: 999px; font: 600 1rem/1.1 var(--text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-hover); }
.sheet .btn-solid, .apply .btn-solid, .qa .btn-solid { background: var(--s-btn); color: var(--s-btn-ink); }
.sheet .btn-solid:hover, .apply .btn-solid:hover, .qa .btn-solid:hover { background: var(--s-btn-hover); }
.btn-line { border-color: rgba(var(--hair), .5); color: var(--fg); background: rgba(var(--glass), .3); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-line.dark { color: var(--s-accent); border-color: var(--s-accent); background: transparent; }
.btn-line.dark:hover { background: var(--s-soft-bg); }
.btn-plain { background: none; color: var(--ink-soft); padding-inline: .6rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage-bg { position: absolute; inset: -12% -6%; background:
  radial-gradient(55% 60% at 70% 42%, var(--stage-a) 0%, transparent 70%),
  radial-gradient(40% 45% at 10% 95%, var(--stage-b) 0%, transparent 70%),
  var(--bg); will-change: transform; transition: background-color .35s; }
.stage-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--accent-rgb), .1) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(75% 70% at 65% 45%, #000, transparent 80%); }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { position: absolute; right: 6%; top: 50%; width: min(42vw, 520px); transform: translateY(-50%); opacity: .55; display: none; }
.no-gl .stage-fallback { display: block; }
.no-gl .stage-canvas { display: none; }
.stage-fg { position: absolute; inset: 0; will-change: transform; }
.stage-fg i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #9BEACB, #1F6F5B 72%); filter: blur(7px); opacity: .45; }
[data-theme="light"] .stage-fg i { opacity: .28; }
.stage-fg i:nth-child(1) { width: 110px; height: 110px; right: 3%; top: 78%; }
.stage-fg i:nth-child(2) { width: 54px; height: 54px; right: 44%; top: 92%; filter: blur(4px); }
.stage-fg i:nth-child(3) { width: 34px; height: 34px; right: 12%; top: 14%; filter: blur(3px); opacity: .35; }

/* ---------- Corner: brand + always-visible controls ---------- */
.corner { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: max(.9rem, env(safe-area-inset-top)) var(--pad) .9rem; pointer-events: none; }
.corner > * { pointer-events: auto; }
.brand, .controls { background: rgba(var(--glass), .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(var(--hair), .28); border-radius: 999px; box-shadow: 0 10px 26px -14px rgba(0,0,0,.45); }
.brand { display: flex; align-items: center; text-decoration: none; padding: .55rem 1.1rem; min-width: 0; }
.brand img { height: 44px; width: auto; }
/* Logo follows the theme: light wordmark on dark, brand-green wordmark on light */
[data-theme="dark"] .logo-for-light, [data-theme="light"] .logo-for-dark { display: none; }

.controls { display: flex; align-items: center; gap: .25rem; padding: .3rem; }
.lang-switch { display: flex; background: rgba(var(--hair), .16); border-radius: 999px; padding: 2px; }
.lang-switch button { min-width: 46px; min-height: 40px; padding: 0 .75rem; border: 0; border-radius: 999px; background: none; color: var(--fg-soft); font: 650 .9rem/1 var(--text); cursor: pointer; transition: background-color .2s, color .2s; }
.lang-switch button[lang="hi"] { font-family: "Noto Sans Devanagari", var(--text); font-size: 1rem; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--fg); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--fg); cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: rgba(var(--hair), .18); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.i-moon, .i-play { fill: currentColor !important; stroke-width: 0 !important; }
.i-play { fill: currentColor; }
/* Theme icon shows the mode you will switch to */
[data-theme="dark"] .i-sun { opacity: 1; } [data-theme="dark"] .i-moon { opacity: 0; transform: rotate(-30deg) scale(.6); }
[data-theme="light"] .i-sun { opacity: 0; transform: rotate(40deg) scale(.6); } [data-theme="light"] .i-moon { opacity: 1; }
[data-motion] .i-play { opacity: 0; } [data-motion][aria-pressed="true"] .i-play { opacity: 1; } [data-motion][aria-pressed="true"] .i-pause { opacity: 0; }

/* ---------- Chapters ---------- */
main { position: relative; z-index: 2; }
.ch { position: relative; min-height: 100vh; padding: 0 var(--pad); }

.hero { display: grid; min-height: 130vh; padding-top: 10vh; align-content: start; }
.hero-copy { padding-top: 3vh; }
.tag { color: var(--accent); font-weight: 600; margin-bottom: 1.3rem; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--fg-soft); max-width: 46ch; margin: 1.2rem 0 1.8rem; }

.story { padding: 0; }
.story-inner { height: 100vh; display: grid; align-items: center; padding: 0 var(--pad); }
.story-copy { max-width: 560px; }
.story-intro { color: var(--fg-soft); font-size: 1.12rem; }
.beats { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .7rem; }
.beats li, .story-close { font: 650 clamp(1.1rem, 1.8vw, 1.45rem)/1.3 var(--display); color: var(--fg); opacity: .2; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .45s; }
.beats li.on, .story-close.on { opacity: 1; transform: none; }
.beats li[data-beat="0"].on, .beats li[data-beat="1"].on { color: var(--warn-text); }
.beats li[data-beat="2"].on { color: var(--accent); }
.story-close { font: 500 1.08rem/1.5 var(--text); color: var(--fg-soft); }
.stir-hint { font-size: .88rem; color: var(--fg-soft); margin-top: 1.4rem; }
.story.settled .beats li[data-beat="2"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.pan { padding: 0; overflow: hidden; }
.pan-track { display: flex; width: 300vw; height: 100vh; }
.panel { width: 100vw; height: 100vh; display: grid; align-items: center; padding: 0 var(--pad); }
.panel-copy { max-width: 540px; }
.panel-kicker { color: var(--accent); font-weight: 600; margin-bottom: .8rem; }
.panel p:not(.panel-kicker) { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 1.8rem; }

/* ---------- Working sheets ---------- */
.sheet { position: relative; z-index: 3; background: var(--paper); color: var(--ink); padding: 7rem var(--pad) 6rem; transition: background-color .35s, color .35s; }
.sheet h2 { color: var(--ink); }
.sheet a { color: var(--s-accent); }
.sheet-inner { max-width: 1200px; margin: 0 auto; }
/* Seamless chapters: paper sections melt into the 3D stage above and below them instead of starting and stopping on a hard line.
   The fades sit outside each section, never cover its content, and take no clicks. */
.sheet::before, .sheet::after, .reel::before, .reel::after { content: ''; position: absolute; left: 0; right: 0; height: clamp(80px, 16vh, 180px); pointer-events: none; z-index: 1; }
.sheet::before { bottom: 100%; background: linear-gradient(to bottom, transparent, var(--paper)); }
.sheet::after { top: 100%; background: linear-gradient(to top, transparent, var(--paper)); }
.reel::before { bottom: 100%; background: linear-gradient(to bottom, transparent, #081d17); }
.reel::after { bottom: 0; z-index: 4; background: linear-gradient(to bottom, transparent, var(--bg)); } /* the store film ends by melting into the page, inside its own box */
.sheet + .sheet::before, .sheet:has(+ .sheet)::after, .reel + .sheet::before, .sheet:has(+ .reel)::after { display: none; }
.sheet + .reel::before { height: 5rem; } /* paper into the dark store film: only over the paper's own bottom padding */
.reel:has(+ .sheet)::after { display: none; } .reel + .sheet::before { display: block; background: linear-gradient(to bottom, #081d17, var(--paper)); height: 5rem; bottom: auto; top: 0; }
.find-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.find-head h2 { margin: 0; }
.find-head p { color: var(--ink-soft); margin: 0; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tabs); margin-bottom: 1.6rem; }
.tabs button { border: 0; background: none; font: 600 1rem/1 var(--text); color: var(--ink-soft); padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer; min-height: 46px; }
.tabs button[aria-selected="true"] { background: var(--tab-on); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(0,0,0,.25); }
.search { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: 1rem; margin-bottom: .8rem; }
.field { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field em { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--text); padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); color: var(--ink); min-height: 52px; width: 100%; }
.field input::placeholder { color: var(--ink-soft); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--s-accent); outline: none; box-shadow: 0 0 0 3px rgba(46,158,122,.3); }
.count { color: var(--ink-soft); font-size: .92rem; }
.results { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.results li { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.results h3 { font: 600 1.05rem/1.3 var(--text); margin: 0; letter-spacing: 0; }
.results .meta { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.results .meta b { color: var(--ink); font-weight: 600; }
.ask { grid-row: span 2; font-size: .9rem; font-weight: 600; text-decoration: none; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); min-height: 42px; display: inline-flex; align-items: center; white-space: nowrap; }
.ask:hover { border-color: var(--s-accent); background: var(--s-soft-bg); }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip { min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 500 .92rem/1.2 var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.ph-areas .chip small { opacity: .65; font-variant-numeric: tabular-nums; margin-left: .2rem; }
@media (max-width: 640px) { .ph-areas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; } .ph-areas .chip { flex: none; } }
.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.test { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; display: flex; flex-direction: column; }
.test h3 { font-size: 1.05rem; margin-bottom: .4rem; letter-spacing: 0; }
.test p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .8rem; }
.test dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; font-size: .88rem; margin: 0 0 1rem; }
.test dt { font-weight: 600; } .test dd { margin: 0; color: var(--ink-soft); }
.test a { margin-top: auto; font-weight: 600; font-size: .92rem; }

.franchise { padding-top: 5rem; border-top: 1px solid var(--line); }
.fr-lede { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 3rem; }
.stack { display: grid; gap: 2rem; margin-bottom: 2rem; }
.card { position: sticky; top: 12vh; display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 2.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.6rem, 3.5vw, 3rem); box-shadow: 0 30px 60px -40px rgba(0,0,0,.55); transform-origin: 50% 0; min-height: 60vh; align-items: start; }
.card:nth-child(2) { top: calc(12vh + 22px); }
.card:nth-child(3) { top: calc(12vh + 44px); background: var(--brand); color: #fff; border-color: var(--brand); }
.card:nth-child(3) h3 { color: #CFF5E4; }
.card:nth-child(3) p, .card:nth-child(3) dd { color: #D7EEE4; }

.card:nth-child(3) .btn-solid { background: #fff; color: #0E2B24; }
.card:nth-child(3) .btn-solid:hover { background: #DCEFE7; }

.card h3 { color: var(--s-accent); font-size: 1.7rem; }
.card p { color: var(--ink-soft); font-size: 1.05rem; }
.card dl { margin: 0 0 1.8rem; font-size: .95rem; }
.card dt { font-weight: 600; margin-top: .7rem; }
.card dd { margin: 0; color: var(--ink-soft); }
.apply { border: 0; border-radius: 20px; padding: 0; width: min(92vw, 520px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.apply::backdrop { background: rgba(6,32,25,.6); }
.apply form { padding: 1.8rem; display: grid; gap: .9rem; }
.apply h3 { margin: 0; }

.places { display: grid; align-items: center; min-height: 160vh; }
.places-copy { max-width: 500px; position: sticky; top: 20vh; align-self: start; margin-top: 30vh; }
.places p { color: var(--fg-soft); font-size: 1.1rem; }
.city-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.city-list a { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), .45); text-decoration: none; font-weight: 600; }
.city-list a:hover { background: rgba(var(--accent-rgb), .12); }

.leaders { min-height: 0; padding-block: 18vh 6vh; }
.leaders-inner { max-width: 1240px; margin: 0 auto; }
.leaders-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.leaders-head h2 { margin: 0; }

.close { min-height: 100vh; display: grid; grid-template-rows: 1fr auto; padding-top: 20vh; }
.close-inner { align-self: center; padding-bottom: 6vh; }
.close h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.close-inner > p { color: var(--fg-soft); font-size: 1.15rem; max-width: 46ch; }
.big-number { display: inline-block; margin: 1.8rem 0 1.2rem; text-decoration: none; font: 760 clamp(2.2rem, 7.5vw, 6rem)/1 var(--display); letter-spacing: -0.03em; color: var(--fg); transition: color .2s; }
.big-number span { display: block; font: 600 1rem/1.4 var(--text); letter-spacing: 0; color: var(--accent); margin-bottom: .5rem; }
.big-number:hover { color: var(--accent); }
.ways { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.ways a { color: var(--fg); font-weight: 600; text-decoration-color: rgba(var(--accent-rgb), .6); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.foot { border-top: 1px solid rgba(var(--hair), .25); padding: 1.6rem 0 7.5rem; font-size: .88rem; color: var(--fg-soft); }
.foot p { margin: .3rem 0; max-width: none; }
.foot strong { color: var(--fg); }

/* ---------- Dock ---------- */
.dock { position: fixed; z-index: 60; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: .2rem; padding: .35rem; border-radius: 999px; background: rgba(var(--glass), .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(var(--hair), .28); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); overflow: hidden; }
.dock-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.dock-progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.dock-links { display: flex; }
.dock-links a, .dock-menu, .dock-ask { min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; color: var(--fg); text-decoration: none; font: 500 .92rem/1 var(--text); border: 0; background: none; cursor: pointer; white-space: nowrap; }
.dock-links a:hover, .dock-links a[aria-current="true"], .dock-links a[aria-current="page"] { background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.dock-ask { background: var(--accent); color: var(--accent-ink); font-weight: 650; margin-left: .2rem; }
.dock-menu { display: none; }

/* ---------- Quick answers ---------- */
.qa { position: fixed; z-index: 61; left: 50%; bottom: 5.4rem; transform: translateX(-50%); width: min(94vw, 420px); max-height: min(70vh, 600px); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); display: flex; flex-direction: column; padding: 1.2rem; }
.qa[hidden] { display: none; }
.qa :focus-visible { outline-color: var(--s-accent); }

/* ---------- Reduced motion & no-pan fallback ---------- */
.no-pan .pan-track { flex-direction: column; width: 100%; height: auto; }
.no-pan .panel { width: 100%; height: auto; min-height: 90vh; }
@media (prefers-reduced-motion: reduce) {
  body, .sheet, .stage-bg { transition: none; }
  .beats li, .story-close { transition-duration: .15s; transform: none; }
  .stage-bg, .stage-fg { transform: none !important; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  .find-head { grid-template-columns: 1fr; gap: .8rem; }
  .card { grid-template-columns: 1fr; gap: 1rem; min-height: 0; }
  .dock-links { display: none; position: absolute; }
  .dock-menu { display: inline-flex; }
  .dock.open { border-radius: 22px; flex-wrap: wrap; width: min(92vw, 360px); justify-content: space-between; }
  .dock.open .dock-links { display: grid; position: static; grid-template-columns: 1fr 1fr; width: 100%; order: -1; padding: .3rem; }
  .dock.open .dock-links a { padding: .9rem 1rem; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .corner { padding-inline: .75rem; }
  .brand { padding: .5rem .8rem; }
  .brand img { height: 36px; }
  
  
  .controls { gap: .1rem; padding: .25rem; }
  .lang-switch button { min-width: 42px; padding: 0 .55rem; }
  .icon-btn { width: 42px; height: 42px; }
  .hero { min-height: 100svh; padding-bottom: 7.5rem; align-content: end; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.7rem); }
  .hero .lede { margin: 1rem 0 1.4rem; }
  .tag { margin-bottom: .8rem; }
  .hero-copy { padding-top: 0; }
  .story-inner, .panel { align-items: end; padding-bottom: 6.5rem; }
  .story-copy, .panel-copy, .places-copy { background: linear-gradient(to top, rgba(var(--glass), .94) 60%, rgba(var(--glass), 0)); margin-inline: calc(var(--pad) * -1); padding: 2.5rem var(--pad) 0; }
  .story-intro { font-size: 1rem; }
  .beats { margin: 1rem 0; gap: .45rem; }
  .story-close, .stir-hint { display: none; }
  .places { align-items: end; }
  .places-copy { top: auto; bottom: 5rem; margin-top: 70vh; }
  .search { grid-template-columns: 1fr; }
  .results li { grid-template-columns: 1fr; }
  .ask { grid-row: auto; justify-self: start; }
  
  
  
  .stage-fallback { width: 70vw; right: 15%; top: 28%; }
  .stage-fg i:nth-child(1) { width: 70px; height: 70px; top: 40%; }
  .sheet { padding-top: 5rem; }
  .close { padding-top: 34vh; }
}
@media (max-width: 370px) {
  .brand img { height: 30px; }
  .brand { padding: .5rem .6rem; }
}

/* ---------- Offers ---------- */
.offer { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem; align-items: center; background: var(--s-soft-bg); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.4rem; margin-bottom: 1.6rem; }
.offer-big { margin: 0; font: 780 clamp(1.6rem, 3.4vw, 2.4rem)/1 var(--display); color: var(--s-accent); letter-spacing: -0.02em; white-space: nowrap; }
.offer-head { margin: 0; font-weight: 600; color: var(--ink); }
.terms { margin-top: .4rem; font-size: .86rem; color: var(--ink-soft); }
.terms summary { cursor: pointer; font-weight: 600; color: var(--s-accent); min-height: 32px; display: inline-flex; align-items: center; }
.terms p { margin: .4rem 0 0; }

/* ---------- Test prices + cart ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin: 0 0 .9rem; }
.price b { font: 760 1.45rem/1 var(--display); color: var(--ink); }
.price s { color: var(--ink-soft); font-size: .92rem; }
.price span { font-size: .82rem; font-weight: 600; color: var(--s-accent); }
.test-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.add { min-height: 44px; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--s-accent); background: transparent; color: var(--s-accent); font: 650 .92rem/1 var(--text); cursor: pointer; }
.add[aria-pressed="true"] { background: var(--s-btn); color: var(--s-btn-ink); border-color: var(--s-btn); }
.test-actions a { font-size: .86rem; }
.cart-bar { position: sticky; bottom: 5.6rem; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: 18px; padding: .8rem .8rem .8rem 1.3rem; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); margin-top: 1rem; }
.cart-bar[hidden] { display: none; }
.cart-bar p { margin: 0; }
.cart-bar .btn-solid { background: var(--s-btn); color: var(--s-btn-ink); }
[data-theme="dark"] .cart-bar { background: #E8F3EE; color: #062019; }
[data-theme="dark"] .cart-bar .btn-solid { background: #1F6F5B; color: #fff; }

/* ---------- Booking dialog ---------- */
.book { width: min(94vw, 680px); max-height: 92vh; }
.book form { gap: 1rem; }
.bk-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.bk-items li { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.bk-items button { border: 0; background: none; color: var(--ink-soft); cursor: pointer; min-width: 36px; min-height: 36px; border-radius: 50%; font-size: 1.1rem; }
.bk-items button:hover { background: var(--s-soft-bg); color: var(--ink); }
.bk-total { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin: 0; font-size: .95rem; }
.bk-total dd { margin: 0; text-align: right; }
.bk-total .grand { font: 760 1.2rem/1.3 var(--display); color: var(--ink); }
.bk-total .save { color: var(--s-accent); font-weight: 600; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.bk-wide { grid-column: 1 / -1; }

 .check { display: inline-flex; gap: .55rem; align-items: center; font-weight: 500; min-height: 40px; }
 .check input { width: 20px; height: 20px; accent-color: var(--s-btn); }
.check { font-size: .95rem; }
.bk-error { color: #B3261E; font-weight: 600; margin: 0; }
[data-theme="dark"] .bk-error { color: #FFB4A9; }
[data-book-step][hidden] { display: none; }

/* ---------- Store ---------- */
.store { border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; padding: 1rem 1.1rem; }
  .bk-grid { grid-template-columns: 1fr; }
  
  .cart-bar { bottom: 5rem; }
}
[data-book-step]:not([hidden]) { display: grid; gap: 1rem; }
@media (min-width: 761px) and (max-height: 820px) {
  .hero { padding-top: 8vh; }
  
  
  .tag { margin-bottom: .8rem; }
}

/* ---------- Leadership page ---------- */

.team { position: relative; z-index: 2; padding: 9rem var(--pad) 0; max-width: 1240px; margin: 0 auto; }
.team-head { margin-bottom: 4rem; }
.team-head h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-bottom: .3em; }
.team-head p { color: var(--fg-soft); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 48ch; }
.team-group { margin-bottom: 5rem; }
.team-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--accent); padding-bottom: .8rem; border-bottom: 1px solid rgba(var(--hair), .3); margin-bottom: 2rem; max-width: none; }
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); }
.member { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.member.pre { opacity: 0; transform: translateY(26px); }

.member.in { opacity: 1; transform: none; }
.member-photo { display: block; aspect-ratio: 5 / 6; border-radius: 22px; overflow: hidden; background: var(--stage-b); outline: 1px solid rgba(var(--accent-rgb), .3); outline-offset: -1px; box-shadow: 0 30px 60px -32px rgba(0,0,0,.55); margin-bottom: 1.3rem; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .35rem; }
.member-role { color: var(--accent); font-weight: 650; margin: 0 0 .2rem; }
.member-cred { color: var(--fg-soft); font-weight: 600; margin: 0; }
.member-mail { margin: .35rem 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.member-mail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.team-cta { border-top: 1px solid rgba(var(--hair), .3); padding: 4rem 0 3rem; }
.team-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.team-cta p { color: var(--fg-soft); font-size: 1.1rem; }
.team .foot { padding-bottom: 7.5rem; }
:lang(hi) .member h3 { letter-spacing: 0; line-height: 1.3; }
@media (min-width: 1100px) { .leaders .members { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .members { grid-template-columns: 1fr; } .member-photo { max-width: 340px; } .team { padding-top: 7rem; } }

/* ---------- Franchise cards with images ---------- */

.card { min-height: 0; }

/* ---------- Flagship ---------- */
.flagship { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 4.5rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px; background: linear-gradient(135deg, #0B2E25, #134D3E); color: #E8F3EE; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.flag-img { margin: 0; }
.flag-img picture { display: block; border-radius: 18px; overflow: hidden; }
.flag-img img { width: 100%; height: auto; }
.flag-img figcaption { font-size: .82rem; color: #A6C1B7; margin-top: .6rem; }
.flag-kicker { color: #7FE0B8; font-weight: 650; margin: 0 0 .5rem; }
.flagship h3 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.flag-body p { color: #C9DDD5; }
.flag-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .5rem; }
.flag-list li { padding-left: 1.6rem; position: relative; font-weight: 600; color: #fff; }
.flag-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: #7FE0B8; }
.flagship .btn-solid { background: #7FE0B8; color: #062019; }
.flagship .btn-solid:hover { background: #A5ECCF; }
@media (max-width: 900px) {
  .card, .card:nth-child(2), .card:nth-child(3) { position: relative; top: 0; }
  .flagship { grid-template-columns: 1fr; }
}

/* ---------- Franchise models: one even grid, buttons on one line ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; margin-bottom: 1rem; }
.model { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -36px rgba(0,0,0,.5); }
.model-img { display: block; aspect-ratio: 16 / 10; background: var(--s-soft-bg); }
.model-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.2rem, 2vw, 1.7rem); }
.model-price { margin: 0 0 .9rem; }
.model-price span { display: block; font-size: .88rem; color: var(--ink-soft); margin-bottom: .2rem; }
.model-price b { font: 760 clamp(2rem, 3.2vw, 2.7rem)/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.model h3 { color: var(--s-accent); font-size: 1.45rem; margin-bottom: .3rem; }
.model-fit { font-weight: 650; color: var(--ink); margin: 0 0 .7rem; min-height: 2.6em; }
.model-desc { color: var(--ink-soft); font-size: .98rem; }
.model dl { margin: 0 0 1.4rem; font-size: .93rem; }
.model dt { font-weight: 650; margin-top: .6rem; }
.model dd { margin: 0; color: var(--ink-soft); }
.model-cta { margin-top: auto; width: 100%; }
.model-note { color: var(--ink-soft); font-size: .95rem; margin: 0 0 1rem; }
:lang(hi) .model-price b { letter-spacing: 0; }

/* Secondary actions share one small pill style */
.test-actions a { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--s-accent); }
.test-actions a:hover { border-color: var(--s-accent); background: var(--s-soft-bg); }
.add { min-height: 42px; }

@media (max-width: 1000px) { .models { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .models { grid-template-columns: 1fr; } .model-fit { min-height: 0; } .leaders-head { align-items: start; } }
/* Fixed image frames: every card image is exactly the same height, whatever the source ratio */
.model-img, .member-photo { position: relative; overflow: hidden; }
.model-img img, .member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-img img { object-position: 50% 35%; }
.member-photo img { object-position: 50% 20%; }

/* Portrait frames: 3:4 so full portraits show uncropped (Tarun Biswas's photo is shown complete) */
.member-photo { aspect-ratio: 3 / 4; }
.member-photo img[src*="tarun-biswas"] { object-position: 50% 50%; }

/* ---------- Franchise stack: cards pin and the next one slides over (desktop, tall enough screens) ---------- */
@media (min-width: 1001px) and (min-height: 740px) {
  .models.is-stack { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
  .is-stack .model { position: sticky; top: calc(11vh + var(--i, 0) * 22px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); height: min(600px, 76vh); transform-origin: 50% 0; will-change: transform; }
  .is-stack .model:nth-child(2) { --i: 1; }
  .is-stack .model:nth-child(3) { --i: 2; }
  .is-stack .model-img { aspect-ratio: auto; height: 100%; }
  .is-stack .model-body { padding: clamp(1.4rem, 2.4vw, 2.2rem); overflow: hidden; }
  .is-stack .model-price b { font-size: clamp(2.4rem, 3.6vw, 3.2rem); }
  .is-stack .model-fit { min-height: 0; }
  .is-stack .model-desc { margin-bottom: .6rem; }
  .is-stack .model dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin-bottom: 1rem; }
  .is-stack .model dt { margin-top: 0; }
  .is-stack .model-cta { width: auto; align-self: flex-start; min-width: 260px; }
  :lang(hi) .is-stack .model-desc { font-size: .95rem; }
}

/* ---------- Motion layer ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[data-lenis-prevent] { overscroll-behavior: contain; }
.tilt { position: relative; will-change: transform; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.14), transparent 42%); }
.tilt:hover::after { opacity: 1; }
[data-theme="light"] .tilt::after { background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(31,111,91,.10), transparent 42%); }
.member.tilt::after { border-radius: 22px; }
.test, .offer { position: relative; }

/* Page-to-page: a soft cross-fade with a small lift (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 280ms cubic-bezier(.4,0,1,1) both vt-out; }
::view-transition-new(root) { animation: 420ms cubic-bezier(0,0,.2,1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .01ms; }
}

/* ---------- Store: medicine + test cart, coupons ---------- */
.offer-big .code { display: inline-block; font: 760 clamp(1.25rem, 2.6vw, 1.9rem)/1 var(--display); letter-spacing: .04em; padding: .45rem .8rem; border: 2px dashed var(--s-accent); border-radius: 12px; }

.cart-bar.bump { animation: cartbump .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes cartbump { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }
.dock-cart { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; padding: 0 .95rem; border-radius: 999px; border: 1.5px solid var(--accent); background: none; color: var(--fg); font: 600 .92rem/1 var(--text); cursor: pointer; margin-left: .2rem; white-space: nowrap; }
.dock-cart[hidden] { display: none; }
.dock-cart b { min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: inline-grid; place-items: center; font-size: .78rem; padding: 0 .3rem; }
.bk-sec { margin: 0 0 1rem; }
.bk-sec[hidden] { display: none; }
.bk-sec h4 { margin: 0 0 .4rem; font: 700 .95rem/1.2 var(--text); color: var(--ink-soft); }
.bk-items .qty { display: inline-flex; align-items: center; gap: .15rem; border: 1px solid var(--line); border-radius: 999px; }
.bk-items .qty b { min-width: 1.6rem; text-align: center; font-weight: 650; }
.bk-items li:has(.qty) { grid-template-columns: 1fr auto auto; }
.coupon { margin: .2rem 0 1rem; padding: .9rem 1rem; border: 1.5px dashed var(--line); border-radius: 14px; }
.coupon .field { margin: 0; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.coupon-row .btn { min-height: 44px; }
.coupon-msg { margin: .5rem 0 0; font-size: .9rem; min-height: 0; }
.coupon-msg:empty { display: none; }
.coupon-msg.ok { color: var(--s-accent); font-weight: 600; }
.coupon-msg.err { color: #C0392B; }
[data-theme="dark"] .coupon-msg.err { color: #FF8A7A; }
.coupon-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.coupon-tags:empty { display: none; }
.coupon-tags .tag { display: inline-flex; align-items: center; gap: .2rem; padding: .2rem .25rem .2rem .7rem; border-radius: 999px; background: var(--s-soft-bg); color: var(--s-accent); font: 700 .85rem/1 var(--text); letter-spacing: .04em; }
.coupon-tags .tag button { border: 0; background: none; color: inherit; cursor: pointer; min-width: 32px; min-height: 32px; border-radius: 50%; font-size: 1rem; }
.bk-total { margin-bottom: 1.1rem; }
.bk-test-fields[hidden], [data-bk-rx][hidden] { display: none; }
.bk-test-fields { margin: 0; }

/* ---------- Medicine store cards: medicine -> form -> strength ---------- */
.meds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin: 0 0 1.4rem; }
.med { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.med-pack { position: relative; background: linear-gradient(160deg, #F3F9F6, #E2F0EA); padding: .6rem 1rem 0; }
[data-theme="dark"] .med-pack { background: linear-gradient(160deg, #E8F3EE, #CFE5DB); }
.med-pack svg { display: block; width: 100%; height: auto; max-height: 190px; }
.med-ill { position: absolute; top: .55rem; right: .7rem; font: 600 .7rem/1 var(--text); color: #46605A; background: rgba(255,255,255,.75); padding: .25rem .45rem; border-radius: 6px; }
.med-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.med-body h3 { font-size: 1.12rem; margin: 0; letter-spacing: -0.01em; line-height: 1.2; }

.med-opt { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.med-opt > span { flex: 0 0 100%; font-size: .78rem; font-weight: 650; color: var(--ink-soft); }
.opt { min-height: 36px; padding: .35rem .75rem; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: 550 .86rem/1.2 var(--text); cursor: pointer; text-align: left; }
.opt small { font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.opt:hover { border-color: var(--s-accent); }
.opt[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.opt[aria-pressed="true"] small { color: inherit; opacity: .8; }
.med-price { display: flex; flex-direction: column; gap: .15rem; margin: .2rem 0 0; }
.med-price b { font: 760 1.5rem/1 var(--display); color: var(--ink); }
.med-price span { font-size: .8rem; color: var(--ink-soft); line-height: 1.35; }
.med-price.none b { font-size: 1.05rem; }
.med-restrict { margin: 0; font-size: .85rem; color: var(--warn-text); font-weight: 600; }
.med-actions { margin-top: auto; padding-top: .3rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.btn-ask { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--s-accent); }
.bk-items li small { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 560px) { .meds { grid-template-columns: 1fr; } }
.med-tags { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; margin: -.2rem 0 0; font-size: .8rem; color: var(--ink-soft); }
.tag-nlem { font-weight: 700; color: var(--s-accent); background: var(--s-soft-bg); padding: .15rem .5rem; border-radius: 6px; }
.tag-stock { font-weight: 700; color: #fff; background: var(--s-accent); padding: .15rem .5rem; border-radius: 6px; }
.tag-out { font-weight: 700; color: #fff; background: #8a1c1c; padding: .15rem .5rem; border-radius: 6px; }
.tag-few { font-weight: 700; color: #7a4a00; background: #fff1d6; padding: .15rem .5rem; border-radius: 6px; }
.med-actions .add:disabled { opacity: .55; cursor: not-allowed; }
.tag-rx { font-weight: 700; color: #8a1c1c; background: #fde8e6; padding: .15rem .5rem; border-radius: 6px; }
.med-maker { margin: .1rem 0 .3rem; font-size: .85rem; color: var(--fg-soft); }
.med-brandhit { margin: 0; font-size: .85rem; font-weight: 600; color: var(--s-accent); }

.opt small { font-weight: 500; }
.med-sel select { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: 550 .9rem/1.2 var(--text); padding: .4rem .6rem; }
.med-sel span small { font-weight: 500; }
.ph-nlem { align-self: end; margin-bottom: .7rem; }
.dx-search { grid-template-columns: 1fr; margin-top: .4rem; }

/* ---------- Yellow offer strip under the logo ---------- */
.corner { flex-wrap: wrap; row-gap: .55rem; }
.offer-strip { flex: 0 0 100%; order: 3; overflow: hidden; background: #FFD43B; color: #1F1A00; border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); border: 1px solid rgba(0,0,0,.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.os-track { display: flex; width: max-content; animation: os-run 38s linear infinite; }
.os-group { display: flex; list-style: none; margin: 0; padding: 0; }
.os-group li { display: flex; align-items: center; }
.os-group li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1F1A00; opacity: .45; margin: 0 1.4rem; }
.os-group a { display: block; padding: .5rem 0; color: inherit; text-decoration: none; font: 600 .92rem/1.2 var(--text); white-space: nowrap; }
.os-group a:hover { text-decoration: underline; }
.os-group a:focus-visible { outline: 2px solid #1F1A00; outline-offset: 2px; border-radius: 4px; }
.os-group b { font-weight: 800; letter-spacing: .02em; background: rgba(255,255,255,.55); padding: .05rem .4rem; border-radius: 5px; }
.offer-strip:hover .os-track, .offer-strip:focus-within .os-track, .offer-strip:active .os-track { animation-play-state: paused; }
html[data-motion-state="off"] .os-track { animation-play-state: paused; }
@keyframes os-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .os-track { animation: none; width: auto; overflow-x: auto; }
  .os-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) { .os-group a { font-size: .84rem; padding: .42rem 0; } .os-track { animation-duration: 30s; } }

/* keep the hero clear of the logo bar + offer strip */
.hero { padding-top: max(10vh, 8.5rem); }
@media (max-height: 700px) { .hero { padding-top: 8.5rem; } }
section[id], [id="find"], [id="franchise"] { scroll-margin-top: 8rem; }
.med-pack { background: radial-gradient(80% 90% at 50% 30%, #FFFFFF 0%, #EEF5F1 60%, #DCEBE4 100%); padding: .9rem 1rem .4rem; }
[data-theme="dark"] .med-pack { background: radial-gradient(80% 90% at 50% 30%, #F4FAF7 0%, #E2EFE8 60%, #CFE3D9 100%); }
.med-pack svg { max-height: 236px; margin: 0 auto; }
.med-pack { background: radial-gradient(80% 90% at 50% 30%, #FFFFFF 0%, #F3EFE6 60%, #E6DFD0 100%); }
[data-theme="dark"] .med-pack { background: radial-gradient(80% 90% at 50% 30%, #FBF8F2 0%, #EFE9DC 60%, #E1D8C5 100%); }
.med-pack { background: radial-gradient(70% 80% at 50% 35%, #FFFFFF 0%, #EEF5F1 55%, #DCEBE4 100%); }
[data-theme="dark"] .med-pack { background: radial-gradient(70% 80% at 50% 35%, #FFFFFF 0%, #E8F3EE 55%, #D3E6DC 100%); }

/* Leadership photos: every photo shown whole (contain), framed on a soft blurred copy of itself. */
.member-photo { isolation: isolate; }
.member-photo::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(22px) saturate(1.1); opacity: .75; z-index: 0; }
.member-photo img, .member-photo img[src*="tarun-biswas"] { z-index: 1; object-fit: contain; object-position: 50% 50%; }

/* ---------- Account + DanLife Wallet ---------- */
.acct { max-width: 760px; }
.acct .team-head { margin-bottom: 2rem; }
.acct-mode { background: rgba(255, 196, 0, .14); border: 1px solid rgba(255, 196, 0, .5); color: var(--fg); border-radius: 14px; padding: .9rem 1.1rem; font-size: .92rem; margin: 0 0 1.6rem; }
.acct-card { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 4vw, 2rem); margin-bottom: 1.4rem; box-shadow: 0 24px 60px -36px rgba(0,0,0,.6); }
.acct-card h2 { font-size: 1.35rem; margin: 0 0 .9rem; max-width: none; }
.acct-tabs { display: flex; gap: .4rem; background: rgba(var(--accent-rgb), .1); border-radius: 999px; padding: .3rem; margin-bottom: 1.4rem; }
.acct-tabs button { flex: 1; min-height: 46px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: 650 1rem/1 var(--text); cursor: pointer; }
.acct-tabs button[aria-selected="true"] { background: var(--s-btn); color: var(--s-btn-ink); }
.acct-form { display: grid; gap: 1rem; }
.acct-form .btn-solid { background: var(--s-btn); color: var(--s-btn-ink); justify-self: start; min-width: 12rem; }
.acct-form .btn-solid:hover { background: var(--s-btn-hover); }
.acct-form .btn[disabled] { opacity: .6; cursor: progress; }
.acct-form .ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.acct-form input:disabled { opacity: .7; }

.wallet { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(1.5rem, 5vw, 2.4rem); margin-bottom: 1.4rem; color: #F2FBF7;
  background: radial-gradient(120% 140% at 100% 0%, #2E9E7A 0%, #145C49 45%, #0A3A2E 100%); box-shadow: 0 30px 70px -30px rgba(6,40,31,.9); }
.wallet::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.wallet-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.wallet h2 { font-size: 1.15rem; margin: 0; color: #CFF5E6; max-width: none; }
.wallet-holder { font-size: .9rem; color: #BFE6D8; }
.wallet-label { margin: 1.4rem 0 .2rem; font-size: .9rem; color: #BFE6D8; }
.wallet-bal { font: 750 clamp(2.6rem, 9vw, 4rem)/1 var(--display); margin: 0 0 1.2rem; letter-spacing: -.01em; }
.wallet-sub { display: flex; gap: 1rem 2.4rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.wallet-sub dt { font-size: .85rem; color: #BFE6D8; }
.wallet-sub dd { margin: .15rem 0 0; font: 700 1.3rem/1.2 var(--display); }
.wallet-note { font-size: .9rem; color: #D7F1E7; max-width: 46ch; margin: 0 0 1.3rem; }
.wallet .btn-solid { background: #F2FBF7; color: #0A3A2E; }
.wallet .btn-solid:hover { background: #fff; }

.tx-list { list-style: none; margin: 0; padding: 0; }
.tx { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.tx:first-child { border-top: 0; }
.tx b { display: block; font-weight: 650; }
.tx small { color: var(--ink-soft); font-size: .85rem; }
.tx-amt { font: 700 1.05rem/1 var(--display); white-space: nowrap; }
.tx-credited .tx-amt { color: var(--s-accent); }
.tx-pending .tx-amt, .tx-held .tx-amt { opacity: .75; }
.tx-reversed .tx-amt, .tx-released .tx-amt { text-decoration: line-through; opacity: .55; }
.tx-status { font-size: .85rem; font-weight: 650; color: var(--s-accent); white-space: nowrap; }

.bk-wallet { display: grid; gap: .2rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(var(--accent-rgb), .08); }
.bk-wallet .fine { margin: 0; }
.bk-wallet a { color: var(--s-accent); font-weight: 650; }
.acct [hidden], .bk-wallet [hidden], .bk-wallet[hidden] { display: none !important; }
.pay-online { display: grid; gap: .5rem; padding: 1rem; border-radius: 16px; border: 1.5px solid rgba(46,158,122,.45); background: rgba(46,158,122,.07); }
.pay-online[hidden] { display: none; }
.btn-danpe { justify-self: start; gap: .5rem; min-width: 14rem; }
.btn-danpe[disabled] { opacity: .6; cursor: progress; }
.danpe-mark { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(255,255,255,.22); font-weight: 750; }
.pay-online .fine { margin: 0; }
.pay-or { margin: .4rem 0 0; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.pay-rows { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; margin: 0 0 1rem; }
.pay-rows dt { color: var(--ink-soft); }
.pay-rows dd { margin: 0; text-align: right; font-weight: 650; word-break: break-all; }
/* Payment summary: the labels wrap, so order references, UPI references and amounts stay on one line */
.pay-sum { grid-template-columns: minmax(0, 1fr) auto; }
.pay-sum dd { word-break: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pay-result .ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.pay-result .btn-solid { background: var(--s-btn); color: var(--s-btn-ink); }
.tx-awaiting .tx-amt { opacity: .45; }
.cart-bar.empty { position: relative; bottom: auto; background: var(--paper); color: var(--fg); box-shadow: none; border: 1px dashed rgba(var(--accent-rgb), .5); }
.cart-bar button[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Order tracking ---------- */
.trk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.trk-head h2 { margin: 0; }
.trk-steps { list-style: none; margin: 1.4rem 0 .4rem; padding: 0; display: grid; gap: 0; }
.trk-steps li { position: relative; padding: 0 0 1.1rem 2.1rem; color: var(--ink-soft); font-weight: 550; }
.trk-steps li:last-child { padding-bottom: 0; }
.trk-steps li span { position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.trk-steps li:not(:last-child)::after { content: ""; position: absolute; left: .55rem; top: 1.4rem; bottom: .1rem; width: 2px; background: var(--line); }
.trk-steps li.done { color: var(--ink); }
.trk-steps li.done span { background: var(--s-accent); border-color: var(--s-accent); box-shadow: inset 0 0 0 3px var(--paper); }
.trk-steps li.done:not(:last-child)::after { background: var(--s-accent); }
.trk-steps li.next span { border-color: var(--s-accent); }
.trk-steps li.bad span { background: #B4443A; border-color: #B4443A; }
.trk-ship .ctas, .acct-card > .ctas { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.trk-ship .btn-solid { background: var(--s-btn); color: var(--s-btn-ink); }
.trk-items { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.tx-side { display: grid; justify-items: end; gap: .2rem; }
.tx-track { font-size: .85rem; font-weight: 650; color: var(--s-accent); }
.trk-ship .pay-rows dd { word-break: normal; overflow-wrap: anywhere; } .trk-ship .pay-rows dd b { letter-spacing: .03em; }
.bk-total .dl-hint { font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-top: -.2rem; }
.svc-note { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 12px; background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .25); font-size: .92rem; }

 [data-bk-pin][hidden], [data-bk-ocity][hidden], [data-bk-state][hidden] { display: none; }

/* password fields: show/hide + caps lock */
.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 5rem; }
.pw-toggle { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); border: 0; border-radius: 8px; padding: .35rem .6rem; background: rgba(var(--accent-rgb), .12); color: var(--ink); font: 650 .82rem/1 var(--text); cursor: pointer; }
.pw-toggle:hover { background: rgba(var(--accent-rgb), .22); }
.caps { margin: .3rem 0 0; font-size: .85rem; font-weight: 600; color: #9C5A26; }
.caps[hidden] { display: none; }
.acct-data { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.acct-delete { margin-top: 1.2rem; } .acct-delete summary { cursor: pointer; color: var(--ink-soft); font-weight: 600; min-height: 44px; display: flex; align-items: center; } .acct-delete form { margin-top: .6rem; }

/* ---------- Footer links, info pages (privacy, FAQ, careers) ---------- */
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: 1rem; }
.foot-links a { font-weight: 600; text-decoration: none; color: inherit; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
.info .acct-card { color: var(--ink); }
.prose { line-height: 1.65; max-width: 72ch; }
.prose h2 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.prose a, .toc a, .acct-card .fine a { color: var(--s-accent); font-weight: 600; }
.lead-in { font-size: 1.05rem; }
.ptable { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .5rem 0 1rem; display: block; overflow-x: auto; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); min-width: 10rem; }
.ptable th { font-weight: 700; }
.toc { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; font-size: .92rem; }
.faq { border-bottom: 1px solid var(--line); padding: .2rem 0; }
.faq summary { cursor: pointer; padding: .8rem 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--s-accent); }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0 0 1rem; }
.roles { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.roles li { padding: .45rem .8rem; border-radius: 999px; background: rgba(var(--accent-rgb), .1); font-weight: 600; font-size: .92rem; }
.roles span[hidden] { display: none; }
.done-box { padding: 1rem 1.2rem; border-radius: 14px; background: rgba(46,158,122,.1); border: 1px solid rgba(46,158,122,.4); }
.done-box h3 { margin: 0 0 .4rem; }
.acct-form input[type=file] { padding: .6rem; }

/* Glow cursor: sits under the glass header and dock so they frost it */
.glow-cursor { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 35; pointer-events: none; mix-blend-mode: screen; }
[data-theme="light"] .glow-cursor { mix-blend-mode: multiply; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce), print { .glow-cursor { display: none; } }

/* Glass: frost + saturation, lit rim, rounded depth */
.brand, .controls, .dock {
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.18);
}
.dock { backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); }
[data-theme="light"] .brand, [data-theme="light"] .controls, [data-theme="light"] .dock {
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 14px 30px -18px rgba(14,60,48,.4), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(14,60,48,.08);
}
@media (prefers-reduced-transparency: reduce) {
  .brand, .controls, .dock { background: rgb(var(--glass)); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .brand, .controls, .dock { background: rgba(var(--glass), .96); }
}

/* ---------- Store-first home hero ---------- */
html { -webkit-font-smoothing: antialiased; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.shop-hero { min-height: 100vh; min-height: 100svh; padding-top: clamp(9rem, 17vh, 12rem); padding-bottom: 6rem; align-content: start; }
.shop-hero h1 { max-width: 14ch; font-size: clamp(2.3rem, 5vw, 4.3rem); }
.shop-hero .lede { margin-bottom: 1.6rem; }
.hero-search { max-width: 640px; padding: .45rem; border-radius: 26px; background: rgba(var(--glass), .7);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(var(--hair), .22); }
[data-theme="light"] .hero-search { box-shadow: 0 24px 50px -30px rgba(14,60,48,.45), inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--hair), .16); }
.hs-modes { display: flex; gap: .25rem; padding: 0 0 .45rem; }
.hs-modes label { position: relative; }
.hs-modes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hs-modes span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--fg-soft); transition: background-color .2s, color .2s; }
.hs-modes input:checked + span { background: rgba(var(--accent-rgb), .16); color: var(--fg); }
.hs-modes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hs-row { position: relative; display: flex; gap: .45rem; }
.hs-icon { position: absolute; left: 1.05rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--fg-soft); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.hs-row input { flex: 1; min-width: 0; min-height: 56px; border-radius: 20px; border: 0; background: var(--field); color: var(--ink); padding: 0 1rem 0 2.9rem; font: 500 1.05rem var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--hair), .22); transition: box-shadow .2s; }
.hs-row input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.hs-row .btn { min-height: 56px; border-radius: 20px; padding-inline: 1.5rem; }
.btn:active, .hero-quick button:active, .dock a:active { transform: scale(.96); }
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 1.1rem 0 0; max-width: 640px; }
.hq-label { color: var(--fg-soft); font-size: .9rem; margin-right: .2rem; }
.hero-quick button { min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 0; cursor: pointer; font: 600 .9rem var(--text); color: var(--fg);
  background: rgba(var(--glass), .55); box-shadow: inset 0 0 0 1px rgba(var(--hair), .3); transition: background-color .2s, box-shadow .2s, transform .15s var(--ease); }
.hero-quick button:hover { box-shadow: inset 0 0 0 1px var(--accent); background: rgba(var(--accent-rgb), .12); }
.hero-trust { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .7rem 1.8rem; max-width: 680px; }
.hero-trust li { display: flex; align-items: center; gap: .6rem; color: var(--fg-soft); font-size: .95rem; font-weight: 500; }
.hero-trust svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 11px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; background: rgba(var(--accent-rgb), .12); }
@media (max-width: 760px) {
  .shop-hero { align-content: start; padding-top: 8.2rem; padding-bottom: 7rem; min-height: 0; }
  .shop-hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hs-row { flex-direction: column; }
  .hs-row .hs-icon { top: 28px; }
  .hs-row .btn { width: 100%; }
  .hero-trust { grid-template-columns: 1fr; gap: .55rem; margin-top: 1.5rem; }
  .hero-search { border-radius: 24px; }
}
@media (max-width: 370px) { .hs-modes span { padding: 0 .75rem; } }

/* Story teaser on the home page */
.story-teaser { padding: 0 var(--pad) 5rem; }
.st-card { display: grid; gap: .6rem; max-width: 1240px; margin: 0 auto; padding: clamp(1.6rem, 4vw, 3rem); border-radius: 28px; text-decoration: none; color: var(--ink);
  background: radial-gradient(120% 140% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 55%), var(--card);
  box-shadow: 0 30px 60px -40px var(--sheet-shadow), inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.st-card:hover { box-shadow: 0 36px 70px -38px var(--sheet-shadow), inset 0 0 0 1px var(--s-accent); transform: translateY(-3px); }
.st-kicker { color: var(--s-accent); font-weight: 650; }
.st-title { font: 750 clamp(1.7rem, 3.6vw, 2.8rem)/1.08 var(--display); letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.st-more { color: var(--ink-soft); font-weight: 600; }
.st-more::after { content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .45em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .25s var(--ease); }
.st-card:hover .st-more::after { transform: rotate(45deg) translate(3px, -4px); }

/* ---------- Story & vision page ---------- */
.story-hero { min-height: 110vh; }
.vision { display: grid; align-items: center; padding-block: 18vh; }
.vision-inner { max-width: 760px; }
.vision h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; }
.vision-lede { color: var(--fg); font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 52ch; }
.vision-sub { color: var(--fg-soft); margin: 2rem 0 1rem; font-weight: 600; }
.mission { list-style: none; counter-reset: m; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mission li { counter-increment: m; padding: 1.3rem 1.3rem 1.2rem; border-radius: 22px; background: rgba(var(--glass), .62);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 20px 44px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(var(--hair), .2); }
.mission li::before { content: counter(m); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; margin-bottom: .8rem; font: 700 .9rem var(--display); color: var(--accent-ink); background: var(--accent); font-variant-numeric: tabular-nums; }
.mission h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.mission p { margin: 0; color: var(--fg-soft); font-size: .97rem; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } .vision { padding-block: 12vh 8rem; } .story-hero { min-height: 100svh; } }
.story-page .dock-shop { text-decoration: none; display: inline-flex; align-items: center; }

/* ---------- Card effects (React Bits-style) ---------- */
.model { transition: box-shadow .35s var(--ease); }
.model.fx-on { box-shadow: 0 34px 70px -38px rgba(0,0,0,.6), 0 0 0 1px rgba(var(--accent-rgb), .25); }

/* Leadership: 3D tilt with glare and holographic sheen on the photo */
.fx-tilt .member-photo { will-change: transform; transform-origin: 50% 50%; }
.fx-glare, .fx-holo { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s var(--ease); }
.fx-glare { background: radial-gradient(circle at var(--px, 50%) var(--py, 20%), rgba(255,255,255,.42), rgba(255,255,255,.08) 28%, transparent 55%); mix-blend-mode: soft-light; }
.fx-holo { background: linear-gradient(var(--pa, 120deg), transparent 20%, rgba(127,224,184,.16) 38%, rgba(140,170,255,.14) 50%, rgba(255,214,150,.14) 62%, transparent 80%); mix-blend-mode: color-dodge; }
.fx-tilt.fx-on .fx-glare { opacity: 1; }
.fx-tilt.fx-on .fx-holo { opacity: .75; }
.fx-tilt .member-photo { transition: box-shadow .4s var(--ease); }
.fx-tilt.fx-on .member-photo { box-shadow: 0 40px 70px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(var(--accent-rgb), .45); }
.member-photo img { outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; }
[data-theme="light"] .member-photo img { outline-color: rgba(0,0,0,.1); }
@media (prefers-reduced-motion: reduce) { .fx-holo { display: none; } }

/* ---------- Responsive polish ---------- */
@media (max-width: 1000px) and (min-width: 681px) { .models { grid-template-columns: 1fr 1fr; } .models .model:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .members { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .member-photo { max-width: none; border-radius: 18px; margin-bottom: .8rem; }
  .member h3 { font-size: 1.1rem; }
  .member-role, .member-cred { font-size: .85rem; }
}
@media (max-width: 380px) { .members { grid-template-columns: 1fr; } }
.shop-hero { padding-top: clamp(7.5rem, 14vh, 10.5rem); }
@media (max-width: 760px) {
  body:has(.shop-hero) .stage-canvas, body:has(.shop-hero) .stage-fallback { opacity: .28; }
  .shop-hero { padding-top: 7.6rem; }
}
@media (min-width: 761px) and (max-width: 1100px) { .shop-hero { min-height: 0; padding-bottom: 9rem; } }

/* ---------- Roadmap to 2030 ---------- */
.roadmap { padding-bottom: 8rem; }
.roadmap .sheet-inner { max-width: 1240px; margin: 0 auto; }
.rm-kicker { color: var(--s-accent); font-weight: 650; margin-bottom: .8rem; }
.roadmap h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.rm-lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; margin-bottom: 2.4rem; }
.rm-goals { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1rem; margin-bottom: 3.4rem; }
.rm-goal { position: relative; padding: 1.5rem; border-radius: 24px; background: var(--card); box-shadow: 0 26px 50px -38px var(--sheet-shadow), inset 0 0 0 1px var(--line); }
.rm-goal h3 { font-size: 1.3rem; margin: 1rem 0 .4rem; color: var(--ink); }
.rm-goal p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.rm-icon { width: 56px; height: 56px; padding: 10px; border-radius: 16px; background: var(--s-soft-bg); fill: none; stroke: var(--s-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rm-dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; max-width: 360px; }
.rm-dots i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .45); transition: box-shadow .3s; }
.rm-dots i:first-child { background: var(--s-accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .22); animation: rm-pulse 2.4s var(--ease) infinite; }
@keyframes rm-pulse { 50% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .08); } }
.rm-num { margin: 1rem 0 0 !important; color: var(--ink) !important; }
.rm-num b { font: 780 clamp(2.4rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--s-accent); }
.rm-num span { font-weight: 650; }
.rm-line { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; position: relative; counter-reset: none; }
.rm-line::before, .rm-line::after { content: ""; position: absolute; left: 9px; right: 0; top: 9px; height: 2px; border-radius: 2px; background: var(--line); }
.rm-line::after { background: var(--s-accent); transform-origin: 0 50%; transform: scaleX(var(--rm-p, 1)); }
.rm-line li { position: relative; padding-top: 2.1rem; }
.rm-line li::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--s-accent); }
.rm-line li.done::before { background: var(--s-accent); }
.rm-line li.goal::before { width: 26px; height: 26px; top: -3px; left: -3px; background: var(--s-accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .2); }
.rm-when { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--s-accent); background: var(--s-soft-bg); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.rm-line h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: .35rem; }
.rm-line p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.rm-line li.goal h3 { color: var(--s-accent); }
.rm-fine { max-width: 80ch; }
@media (max-width: 1000px) {
  .rm-goals { grid-template-columns: 1fr 1fr; } .rm-stores { grid-column: 1 / -1; }
  .rm-line { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 2.4rem; }
  .rm-line::before, .rm-line::after { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .rm-line::after { transform-origin: 50% 0; transform: scaleY(var(--rm-p, 1)); }
  .rm-line li { padding-top: 0; }
  .rm-line li::before { left: -2.4rem; }
  .rm-line li.goal::before { left: calc(-2.4rem - 3px); }
}
@media (max-width: 600px) { .rm-goals { grid-template-columns: 1fr; } .rm-dots { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .rm-dots i:first-child { animation: none; } }

/* =====================================================================
   DanLife 3.0: three-colour system + fluid scale
   Pine (brand, pharmacy, trust) · Saffron (offers, money, cashback) · Iris (diagnostics, lab)
   Pine ~162°, Saffron ~38°, Iris ~250°: a triad nudged toward warm/cool balance.
   ===================================================================== */
:root, [data-theme="dark"] {
  --bg: #061A15; --fg: #EAF4EF; --fg-soft: #A3BEB4;
  --accent: #6FDDB3; --accent-ink: #04140F; --accent-hover: #95E8C8; --accent-rgb: 111, 221, 179;
  --glass: 6, 26, 21; --hair: 163, 190, 180;
  --paper: #0A221C; --ink: #EAF4EF; --ink-soft: #A3BEB4; --line: #1D4036;
  --card: #0F2B23; --field: #071E18; --tabs: #071E18; --tab-on: #17392F; --mark: #1E5747;
  --s-accent: #6FDDB3; --s-btn: #6FDDB3; --s-btn-ink: #04140F; --s-btn-hover: #95E8C8; --s-soft-bg: #123A2F;
  --chip-on: #6FDDB3; --chip-on-ink: #04140F;
  --saffron: #F6B648; --saffron-deep: #F09A1A; --saffron-ink: #2B1900; --saffron-text: #F6C46A; --saffron-soft: rgba(246,182,72,.14); --saffron-rgb: 246, 182, 72;
  --iris: #A79BFF; --iris-deep: #6E5CF5; --iris-ink: #120C33; --iris-text: #BDB4FF; --iris-soft: rgba(167,155,255,.14); --iris-rgb: 167, 155, 255;
  --sheet-shadow: rgba(0,0,0,.55);
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  --shadow-2: 0 2px 4px rgba(0,0,0,.25), 0 24px 48px -24px rgba(0,0,0,.65);
  --ring: inset 0 0 0 1px rgba(255,255,255,.07);
}
[data-theme="light"] {
  --bg: #F1F6F3; --fg: #0A2A21; --fg-soft: #41605A;
  --accent: #0F6B55; --accent-ink: #FFFFFF; --accent-hover: #0B5543; --accent-rgb: 15, 107, 85;
  --glass: 241, 246, 243; --hair: 65, 96, 90;
  --paper: #FFFFFF; --ink: #0A2A21; --ink-soft: #46625B; --line: #DCE7E2;
  --card: #FFFFFF; --field: #FFFFFF; --tabs: #E6EFEB; --tab-on: #FFFFFF; --mark: #CDEBDD;
  --s-accent: #0F6B55; --s-btn: #0F6B55; --s-btn-ink: #FFFFFF; --s-btn-hover: #0B5543; --s-soft-bg: #E0F1EA;
  --chip-on: #0A2A21; --chip-on-ink: #FFFFFF;
  --saffron: #F6B648; --saffron-deep: #E8900F; --saffron-ink: #2B1900; --saffron-text: #8A5200; --saffron-soft: #FFF1D6; --saffron-rgb: 232, 144, 15;
  --iris: #5B4BE0; --iris-deep: #4636C9; --iris-ink: #FFFFFF; --iris-text: #4E3FD1; --iris-soft: #EEEBFF; --iris-rgb: 91, 75, 224;
  --sheet-shadow: rgba(10,42,33,.16);
  --shadow-1: 0 1px 2px rgba(10,42,33,.06), 0 8px 24px -12px rgba(10,42,33,.18);
  --shadow-2: 0 2px 4px rgba(10,42,33,.05), 0 24px 48px -24px rgba(10,42,33,.28);
  --ring: inset 0 0 0 1px rgba(10,42,33,.07);
}
:root {
  /* Fluid type: 360px → 1440px */
  --step--1: clamp(.84rem, .8rem + .18vw, .95rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.13rem);
  --step-1: clamp(1.15rem, 1.06rem + .42vw, 1.45rem);
  --step-2: clamp(1.4rem, 1.2rem + .9vw, 2rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.8rem);
  --step-4: clamp(2.15rem, 1.6rem + 2.6vw, 3.9rem);
  --step-5: clamp(2.5rem, 1.7rem + 3.7vw, 5rem);
  --space-xs: clamp(.5rem, .45rem + .2vw, .65rem);
  --space-s: clamp(.75rem, .65rem + .4vw, 1rem);
  --space-m: clamp(1rem, .85rem + .7vw, 1.5rem);
  --space-l: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem);
  --space-xl: clamp(2.5rem, 1.6rem + 4vw, 5.5rem);
  --r-s: 12px; --r-m: 18px; --r-l: 26px; --r-xl: 34px;
  --e-out: cubic-bezier(.2, .8, .2, 1); --e-io: cubic-bezier(.65, 0, .35, 1); --e-icon: cubic-bezier(.2, 0, 0, 1);
}
body { font-size: var(--step-0); }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
.lede { font-size: var(--step-1); }
.sheet { padding-block: var(--space-xl); }
.sheet-inner { max-width: 1280px; }
.btn { transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .16s var(--e-out); }
.btn:active { transform: scale(.96); }

:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; }

/* Offer marquee in saffron */
.offer-strip { background: linear-gradient(90deg, var(--saffron), #FFD27F 50%, var(--saffron)) !important; color: var(--saffron-ink) !important; }
.offer-strip a, .offer-strip span { color: var(--saffron-ink) !important; }
.offer-strip b { background: var(--saffron-ink) !important; color: #FFE2A8 !important; }

/* ---------- Store hero: copy + banner carousel ---------- */
.shop-hero { padding-top: clamp(7.2rem, 13vh, 9.5rem); padding-bottom: var(--space-l); min-height: 0; }
.sh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: var(--space-l); align-items: center; max-width: 1320px; margin: 0 auto; }
.shop-hero h1 { font-size: var(--step-5); max-width: 12ch; }
.shop-hero .lede { font-size: var(--step-1); max-width: 40ch; }
.sh-trust { max-width: 1320px; margin: var(--space-l) auto 0 !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: var(--space-s) !important; }
.sh-trust li { padding: .8rem 1rem; border-radius: var(--r-m); background: rgba(var(--glass), .55); box-shadow: var(--ring), var(--shadow-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--fg); font-size: var(--step--1); }
.sh-trust li:nth-child(1) svg { stroke: var(--accent); background: rgba(var(--accent-rgb), .14); }
.sh-trust li:nth-child(2) svg { stroke: var(--saffron-text); background: var(--saffron-soft); }
.sh-trust li:nth-child(3) svg { stroke: var(--iris-text); background: var(--iris-soft); }
.sh-trust li:nth-child(4) svg { stroke: var(--accent); background: rgba(var(--accent-rgb), .14); }

.banners { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-2); min-height: clamp(360px, 34vw, 470px); touch-action: pan-y; }
.bn-track { display: grid; height: 100%; min-height: inherit; }
.bn { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: var(--space-m); padding: var(--space-l) var(--space-l) 5rem; position: relative; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateX(calc(var(--dir, 1) * -2%)); transition: opacity .35s var(--e-out), transform .4s var(--e-out), visibility 0s .4s; }
.bn.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--e-out), transform .6s var(--e-out), visibility 0s; z-index: 1; }
.bn.is-active .bn-copy > * { animation: bn-rise .6s var(--e-out) both; }
.bn.is-active .bn-copy > :nth-child(2) { animation-delay: .06s; } .bn.is-active .bn-copy > :nth-child(3) { animation-delay: .12s; } .bn.is-active .bn-copy > :nth-child(4) { animation-delay: .18s; }

@keyframes bn-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes bn-art { from { opacity: 0; transform: translateY(18px) scale(.94) rotate(-4deg); } }
.bn-kicker { margin: 0 0 .7rem; font-weight: 650; font-size: var(--step--1); opacity: .85; }
.bn-title { font: 760 var(--step-3)/1.06 var(--display); letter-spacing: -0.025em; margin: 0 0 .8rem; max-width: 15ch; text-wrap: balance; color: inherit; }
.bn-body { margin: 0 0 1.4rem; font-size: var(--step--1); max-width: 40ch; opacity: .88; }
.bn-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.bn-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.3rem; border-radius: 999px; font-weight: 650; text-decoration: none; transition: transform .16s var(--e-out), background-color .2s, box-shadow .2s; }
.bn-cta:active, .bn-code:active { transform: scale(.96); }
.bn-code { position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 .8rem 0 1.05rem; border-radius: 14px; border: 2px dashed currentColor; background: transparent; color: inherit; cursor: pointer; font: 760 1.05rem/1 var(--display); letter-spacing: .06em; transition: transform .16s var(--e-out), background-color .2s; }
.bn-code:hover { background: rgba(255,255,255,.12); }
.bn-ico { position: relative; width: 20px; height: 20px; }
.bn-ico svg { position: absolute; inset: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s var(--e-icon), transform .3s var(--e-icon), filter .3s var(--e-icon); }
.bn-ico .i-ok { opacity: 0; transform: scale(.25); filter: blur(4px); }
.bn-code.copied .i-copy { opacity: 0; transform: scale(.25); filter: blur(4px); }
.bn-code.copied .i-ok { opacity: 1; transform: scale(1); filter: blur(0); }

/* Tones */
.bn-pine { color: #F2FBF7; background: radial-gradient(120% 100% at 100% 0%, #1C8A6C 0%, transparent 60%), radial-gradient(90% 90% at 0% 100%, #0A4A3B, transparent 70%), #0B3A2E; }
.bn-pine .bn-code { color: var(--saffron); }
.bn-pine .bn-cta { background: #F2FBF7; color: #0B3A2E; }
 

.bn-saffron { color: #2B1900; background: radial-gradient(120% 100% at 100% 0%, #FFD98A 0%, transparent 55%), linear-gradient(135deg, #F6B648, #F09A1A); }
.bn-saffron .bn-cta { background: #0B3A2E; color: #FFF6E2; }
 
 .bn-saffron .tk { fill: #FFD98A; font: 800 26px var(--display); }

.bn-photo { color: #F2FBF7; background: #0B3A2E; }

.bn-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(6,32,25,.94) 0%, rgba(6,32,25,.78) 48%, rgba(6,32,25,.15) 100%); }
.bn-photo .bn-copy { position: relative; z-index: 1; }
.bn-photo .bn-cta { background: var(--saffron); color: var(--saffron-ink); }

/* Banner controls */
.bn-ui { position: absolute; left: var(--space-l); right: var(--space-m); bottom: 1.1rem; z-index: 3; display: flex; align-items: center; gap: .3rem; }
.bn-dots { display: flex; gap: 0; margin-right: auto; }
.bn-dots button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; color: inherit; }
.bn-dots i { display: block; width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35) linear-gradient(#fff, #fff) no-repeat 0 0 / 0% 100%; transition: width .35s var(--e-out); }
.bn-dots button[aria-current="true"] i { width: 34px; }
.bn-dots button.run i { animation: bn-fill 6.5s linear forwards; }
@keyframes bn-fill { to { background-size: 100% 100%; } }
.banners.bn-paused .bn-dots i, .banners.bn-focus .bn-dots i, .banners.bn-off .bn-dots i { animation-play-state: paused !important; }
.bn-pause, .bn-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(0,0,0,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s, transform .16s var(--e-out); }
.bn-pause:hover, .bn-arrow:hover { background: rgba(0,0,0,.36); }
.bn-pause:active, .bn-arrow:active { transform: scale(.96); }
.bn-pause svg, .bn-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bn-pause .i-play { display: none; } .bn-pause[aria-pressed="true"] .i-play { display: block; } .bn-pause[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Category rails ---------- */
.shop-rails { max-width: 1320px; margin: var(--space-xl) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); }
.rail h2 { font-size: var(--step-2); margin-bottom: var(--space-s); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .8rem; min-height: 116px; padding: 1rem; border: 0; border-radius: var(--r-m); cursor: pointer; text-align: left; font: 600 var(--step--1)/1.25 var(--text); color: var(--fg);
  background: rgba(var(--glass), .6); box-shadow: var(--ring), var(--shadow-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .2s var(--e-out), box-shadow .25s var(--e-out), background-color .25s; }
.tile svg { width: 44px; height: 44px; padding: 9px; border-radius: 14px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--e-out); }
.rail-med .tile svg { stroke: var(--accent); background: rgba(var(--accent-rgb), .14); }
.rail-lab .tile svg { stroke: var(--iris-text); background: var(--iris-soft); }
@media (hover: hover) {
  .tile:hover { transform: translateY(-3px); box-shadow: var(--ring), var(--shadow-2); }
  .rail-med .tile:hover { box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .6), var(--shadow-2); }
  .rail-lab .tile:hover { box-shadow: inset 0 0 0 1.5px rgba(var(--iris-rgb), .6), var(--shadow-2); }
  .tile:hover svg { transform: rotate(-8deg) scale(1.06); }
}
.tile:active { transform: scale(.96); }

/* ---------- Shop: colour-coded panes, shadows over borders ---------- */
.find { background: var(--paper); }
.tabs button[data-tab="tests"][aria-selected="true"] { background: var(--iris); color: var(--iris-ink); box-shadow: 0 6px 16px -8px rgba(var(--iris-rgb), .7); }
.tabs button[data-tab="med"][aria-selected="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -8px rgba(var(--accent-rgb), .7); }
#pane-med .offer { background: var(--saffron-soft); border: 0; box-shadow: inset 0 0 0 1px rgba(var(--saffron-rgb), .35); }
#pane-med .offer-big .code { border-color: var(--saffron-text); color: var(--saffron-text); }
#pane-tests .offer { background: var(--iris-soft); border: 0; box-shadow: inset 0 0 0 1px rgba(var(--iris-rgb), .35); }
#pane-tests .offer-big .code { border-color: var(--iris-text); color: var(--iris-text); }
#pane-tests .chip[aria-pressed="true"] { background: var(--iris); color: var(--iris-ink); border-color: var(--iris); }
.chip { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .2s, box-shadow .2s, transform .16s var(--e-out); }
.chip:active { transform: scale(.96); }
.med, .test { border: 0; box-shadow: var(--ring), var(--shadow-1); border-radius: var(--r-m); transition: box-shadow .25s var(--e-out), transform .25s var(--e-out); }
@media (hover: hover) { .med:hover, .test:hover { box-shadow: var(--ring), var(--shadow-2); transform: translateY(-2px); } }
.test { box-shadow: inset 0 3px 0 var(--iris), var(--ring), var(--shadow-1); }
@media (hover: hover) { .test:hover { box-shadow: inset 0 3px 0 var(--iris), var(--ring), var(--shadow-2); } }
.test-actions a { color: var(--iris-text); }
.svc-note { border-radius: var(--r-s); }
.model-price b, .rm-num b { color: var(--saffron-text) !important; }
.model { border: 0; box-shadow: var(--ring), var(--shadow-2); border-radius: var(--r-l); }
.cart-bar { border-radius: var(--r-l); }
.mission li::before { background: var(--saffron); color: var(--saffron-ink); }
.rm-goal:nth-child(2) .rm-icon { stroke: var(--saffron-text); background: var(--saffron-soft); }
.rm-goal:nth-child(3) .rm-icon { stroke: var(--iris-text); background: var(--iris-soft); }
.rm-line li.goal h3 { color: var(--iris-text); }
.rm-line li.goal::before { background: var(--iris); box-shadow: 0 0 0 6px rgba(var(--iris-rgb), .2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sh-grid { grid-template-columns: 1fr; }
  .shop-hero h1 { max-width: 16ch; }
  .sh-trust { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .shop-rails { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shop-hero { padding-top: 7.4rem; padding-bottom: var(--space-l); }
  .banners { min-height: 0; border-radius: var(--r-l); margin-inline: calc(var(--pad) * -.4); }
  .bn { grid-template-columns: minmax(0, 1fr) 92px; padding: 1.4rem 1.2rem 4.4rem; align-items: start; }
  
  .bn-photo { grid-template-columns: 1fr; }
  .bn-photo::before { background: linear-gradient(0deg, rgba(6,32,25,.95) 0%, rgba(6,32,25,.8) 60%, rgba(6,32,25,.35) 100%); }
  .bn-ui { left: .7rem; right: .7rem; bottom: .5rem; }
  .bn-arrow { display: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { min-height: 104px; padding: .8rem; }
  .sh-trust { grid-template-columns: 1fr !important; }
}
@media (max-width: 420px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bn { grid-template-columns: 1fr; }  }

@media (prefers-reduced-motion: reduce) {
  .bn, .bn.is-active { transform: none !important; transition: opacity .2s, visibility 0s; }
  .bn.is-active .bn-copy > * { animation: none; }
  .bn-dots button.run i { animation: none; background-size: 100% 100%; }
  .tile:hover, .med:hover, .test:hover { transform: none; }
}
.shop-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem); }
@media (min-width: 1081px) and (max-height: 920px) { .shop-hero { padding-top: 6.8rem; } .shop-hero .lede { margin: .9rem 0 1.2rem; } }

/* ---------- Checkout: PIN place, delivery or centre collection, prescription upload, new account ---------- */
.bk-hint { display: block; font-weight: 400; font-size: .84rem; color: var(--ink-soft); line-height: 1.45; }
.bk-place { grid-column: 1 / -1; margin: -.3rem 0 0; display: flex; gap: .5rem; align-items: flex-start; min-height: 1.2em; font-size: .95rem; color: var(--ink); }
.bk-place:empty { display: none; }
.bk-place svg { flex: none; width: 20px; height: 20px; margin-top: .1rem; fill: none; stroke: var(--s-accent); stroke-width: 2; stroke-linejoin: round; }
.bk-place small { display: block; color: var(--ink-soft); font-size: .84rem; }
.bk-place-x { color: var(--saffron-text); font-weight: 600; }
.bk-fulfil { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.bk-fulfil[hidden] { display: none; }
.bk-fulfil legend { padding: 0; margin-bottom: .45rem; font-weight: 600; }
.bk-fulfil .opt { position: relative; display: flex; gap: .7rem; align-items: flex-start; padding: .85rem .95rem; border-radius: 14px; cursor: pointer; font-weight: 400;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background-color .2s; }
.bk-fulfil .opt input { margin-top: .2rem; width: 20px; height: 20px; accent-color: var(--s-btn); flex: none; }
.bk-fulfil .opt b { display: block; font-weight: 650; }
.bk-fulfil .opt small { display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.4; margin-top: .15rem; }
.bk-fulfil .opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--s-accent); background: var(--s-soft-bg); }
.bk-rxup { display: grid; gap: .45rem; padding: 1rem; border-radius: 16px; background: var(--saffron-soft); box-shadow: inset 0 0 0 1px rgba(var(--saffron-rgb), .35); }
.bk-rxup[hidden] { display: none; }
.bk-rx-h { margin: 0; font-weight: 650; }
.bk-rx-h em { font-weight: 400; color: var(--ink-soft); font-style: normal; }
.bk-rx-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.bk-rx-btn { cursor: pointer; min-height: 44px; }
.bk-rx-btn:focus-within { outline: 2px solid var(--iris); outline-offset: 2px; }
.bk-rx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.bk-rx-list li { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem .45rem; border-radius: 12px; background: var(--paper); box-shadow: var(--ring), var(--shadow-1); font-size: .85rem; }
.bk-rx-list .rx-ic { font: 700 .62rem/1 var(--display); letter-spacing: .04em; padding: .35rem .3rem; border-radius: 6px; background: var(--iris-soft); color: var(--iris-text); }
.bk-rx-list .rx-name { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-rx-list .rx-name small { display: block; color: var(--ink-soft); }
.bk-rx-list button { border: 0; background: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-soft); font-size: 1.05rem; position: relative; }
.bk-rx-list button::after { content: ""; position: absolute; inset: -4px; }
.bk-rx-list button:hover { background: var(--s-soft-bg); color: var(--ink); }
.bk-note { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: var(--s-soft-bg); font-weight: 600; }
.bk-note.err { background: var(--saffron-soft); color: var(--saffron-text); }
.bk-note[hidden], .bk-acct[hidden], .bk-note-review[hidden] { display: none; }
.bk-note-review { margin: 0; padding: .75rem .95rem; border-radius: 12px; background: var(--iris-soft); color: var(--ink); }
.bk-acct { padding: .9rem 1rem; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.bk-acct.ok { box-shadow: inset 0 0 0 1.5px var(--s-accent); background: var(--s-soft-bg); }
.bk-acct p { margin: 0 0 .4rem; } .bk-acct p:last-child { margin: 0; }
.na-box { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: .6rem 0; padding: .8rem 1rem; border-radius: 12px; background: var(--paper); box-shadow: var(--ring); }
.na-box dt { color: var(--ink-soft); } .na-box dd { margin: 0; font-variant-numeric: tabular-nums; }
.na-box b { font: 700 1.05rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
@media (max-width: 560px) { .bk-fulfil { grid-template-columns: 1fr; } }

/* ---------- Lab tests: coming soon ---------- */
.soon-badge { display: inline-flex; align-items: center; vertical-align: middle; padding: .2rem .55rem; border-radius: 999px; font: 700 .7rem/1.2 var(--text); letter-spacing: .02em; background: var(--iris-soft); color: var(--iris-text); white-space: nowrap; }
.tabs .soon-badge { margin-left: .35rem; font-size: .66rem; }
.tabs button[aria-selected="true"] .soon-badge { background: rgba(255,255,255,.22); color: inherit; }
.rail h2 .soon-badge { font-size: .72rem; margin-left: .3rem; }
.soon-pill { display: inline-block; margin-left: .5rem; padding: .15rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--iris-soft); color: var(--iris-text); vertical-align: middle; }
.test.soon .price b { color: var(--ink-soft); }
.lab-soon { align-items: start; }
.lab-soon .offer-big svg { width: 54px; height: 54px; padding: 10px; border-radius: 16px; fill: none; stroke: var(--iris-text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; background: var(--paper); }
.lab-soon-b { margin: .35rem 0 .8rem; color: var(--ink-soft); }
.btn-iris { background: var(--iris); color: var(--iris-ink); }
.btn-iris:hover { background: var(--iris-deep); color: #fff; }
.bn-notify { text-decoration: none; letter-spacing: .02em; font-family: var(--text); font-size: .95rem; }

/* ---------- Tracking: prescription upload ---------- */
.trk-rx.need { box-shadow: inset 0 0 0 2px var(--saffron), var(--shadow-1); }
.trk-rx-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .6rem 0; }

/* ---------- Account: forgot password ---------- */
.link-btn { border: 0; background: none; padding: .3rem 0; min-height: 40px; color: var(--s-accent); font: 600 .95rem var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
[data-form="forgot"] h3 { margin: 0 0 .4rem; }
/* hidden must win over the grid/flex display of form parts */
.field[hidden], .bk-grid > [hidden], .acct-form [hidden], .acct-form[hidden], .trk-rx[hidden], .bk-rx-btn + .bk-rx-list:empty { display: none !important; }
.book [hidden], .trk-rx [hidden] { display: none !important; }

/* =====================================================================
   Store imagery (v4): photo banners, product and test photos, coupon
   tickets, how-it-works, free-delivery goal, droplet mascot.
   Saffron = money/offers, Pine = trust/pharmacy, Iris = lab (soon).
   ===================================================================== */

/* ---------- Banners: photo slides (split: copy on a tone, photo fades in from the right) ---------- */
.bn-photo { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.bn-photo::before { content: none; }
.bn-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 12%, rgba(0,0,0,.62) 26%, #000 44%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 12%, rgba(0,0,0,.62) 26%, #000 44%); }
.bn-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--bn-pos, 62% 35%); transform: scale(1.04); transition: transform 7s linear; }
.bn.is-active .bn-bg img { transform: scale(1); }
.bn-photo .bn-copy { position: relative; z-index: 1; grid-column: 1; }
.bn-photo .bn-title { font-size: clamp(1.6rem, 1.15rem + 1.25vw, 2.35rem); max-width: 16ch; }
.bn-photo .bn-body { max-width: 34ch; }
.bn-photo.bn-pine { --bn-pos: 58% 30%; background: radial-gradient(90% 120% at 0% 100%, #0F5A47 0%, transparent 60%), #0B3A2E; }
.bn-photo.bn-saffron { --bn-pos: 52% 30%; color: #2B1900; background: radial-gradient(100% 120% at 0% 0%, #FFD98A 0%, transparent 60%), linear-gradient(135deg, #F6B648, #F09A1A); }
.bn-photo.bn-saffron .bn-cta { background: #0B3A2E; color: #FFF6E2; }
.bn-photo.bn-clean { --bn-pos: 78% 30%; color: #06372B; background: radial-gradient(90% 120% at 0% 100%, #DDF3E9 0%, transparent 65%), #F6FBF9; }
.bn-photo.bn-clean .bn-cta { background: #0F6B55; color: #fff; }
.bn-photo.bn-store { --bn-pos: 50% 50%; color: #F2FBF7; background: radial-gradient(90% 120% at 0% 100%, #173F35 0%, transparent 60%), #0A2621; }
.bn-photo.bn-store .bn-bg { width: 60%; }

/* ---------- Banners: light slides with floating product shots ---------- */
.bn-lav { color: #1E1650; background: radial-gradient(90% 110% at 100% 0%, #CFC8FF 0%, transparent 60%), linear-gradient(160deg, #F4F2FF, #E2DDFF); }
.bn-lav .bn-cta { background: #4636C9; color: #fff; }
.bn-lav .bn-code { color: #3A2CB0; }
.bn-lav .bn-code:hover { background: rgba(70,54,201,.08); }
.bn-mint { color: #06372B; background: radial-gradient(90% 110% at 100% 0%, #BFEBD8 0%, transparent 60%), linear-gradient(160deg, #F1FBF6, #D7F1E5); }
.bn-mint .bn-code { color: #0B5543; }
.bn-mint .bn-cta { background: #0F6B55; color: #fff; }
.bn-mint .bn-code:hover { background: rgba(15,107,85,.08); }
.bn-floats { position: relative; align-self: stretch; min-height: 240px; z-index: 1; }
.bn-floats .fl { position: absolute; display: block; height: auto; border-radius: 26px; object-fit: cover; aspect-ratio: 1; box-shadow: 0 22px 40px -22px rgba(20,16,60,.45), 0 2px 6px rgba(20,16,60,.08), inset 0 0 0 1px rgba(255,255,255,.6);
  outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px; animation: fl-bob 6s ease-in-out infinite alternate; }
.bn-floats .fl0 { width: 74%; left: -4%; top: 30%; rotate: -5deg; z-index: 2; }
.bn-floats .fl1 { width: 48%; right: -2%; top: 8%; rotate: 7deg; animation-delay: -2s; }
.bn-floats .fl2 { width: 46%; right: 0; bottom: 6%; rotate: -8deg; animation-delay: -4s; z-index: 3; }
.bn-mint .bn-floats .fl { box-shadow: 0 22px 40px -22px rgba(6,55,43,.45), 0 2px 6px rgba(6,55,43,.08), inset 0 0 0 1px rgba(255,255,255,.6); }
@keyframes fl-bob { from { translate: 0 0; } to { translate: 0 -10px; } }
.bn.is-active .bn-floats .fl { animation-name: fl-bob, fl-in; animation-duration: 6s, .7s; animation-timing-function: ease-in-out, var(--e-out); animation-iteration-count: infinite, 1; animation-direction: alternate, normal; }
@keyframes fl-in { from { opacity: 0; scale: .86; } }
/* dots and arrows on light slides */
.banners:has(.bn-lav.is-active, .bn-mint.is-active, .bn-clean.is-active) .bn-dots i { background-color: rgba(10,42,33,.18); background-image: linear-gradient(#0A2A21, #0A2A21); }
.banners:has(.bn-lav.is-active) .bn-dots i { background-color: rgba(30,22,80,.18); background-image: linear-gradient(#3A2CB0, #3A2CB0); }
.banners:has(.bn-lav.is-active, .bn-mint.is-active, .bn-clean.is-active) .bn-pause,
.banners:has(.bn-lav.is-active, .bn-mint.is-active, .bn-clean.is-active) .bn-arrow { color: #0A2A21; background: rgba(255,255,255,.7); box-shadow: 0 1px 2px rgba(10,42,33,.12); }
/* pause only the idle bob (first animation); the entrance always finishes */
.banners.bn-paused .fl, .banners.bn-off .fl, html[data-motion-state="off"] .bn-floats .fl { animation-play-state: paused, running; }

@media (max-width: 760px) {
  .bn-photo, .bn-lav, .bn-mint { grid-template-columns: minmax(0, 1fr); padding-top: calc(clamp(170px, 46vw, 230px) + .6rem); }
  .bn-bg, .bn-photo.bn-store .bn-bg { left: 0; right: 0; bottom: auto; width: 100%; height: clamp(190px, 52vw, 250px);
    -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0,0,0,.5) 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 48%, rgba(0,0,0,.5) 74%, transparent 100%); }
  .bn-photo.bn-clean { --bn-pos: 72% 25%; }
  .bn-floats { position: absolute; top: .9rem; left: 0; right: 0; height: clamp(160px, 44vw, 210px); min-height: 0; }
  .bn-floats .fl0 { width: auto; height: 100%; left: 50%; top: 0; translate: -50% 0; }
  .bn-floats .fl1 { width: auto; height: 62%; right: auto; left: 7%; top: 8%; }
  .bn-floats .fl2 { width: auto; height: 62%; right: 7%; bottom: 0; }
  @keyframes fl-bob { from { transform: translateY(0); } to { transform: translateY(-6px); } }
  .bn-floats .fl0 { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-floats .fl { animation: none !important; }
  .bn-bg img { transform: none !important; transition: none; }
}

/* ---------- Product photos ---------- */
.med-pack.med-photo { padding: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #E3F2EB; isolation: isolate; }
.med-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transition: transform .5s var(--e-out); }
.med-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -1px 0 rgba(0,0,0,.08); }
.med-form-chip, .med-str-chip { position: absolute; left: .7rem; bottom: .7rem; z-index: 1; font: 650 .74rem/1 var(--text); letter-spacing: .01em; padding: .38rem .6rem; border-radius: 999px; color: #06372B; background: rgba(255,255,255,.88); box-shadow: 0 1px 2px rgba(6,55,43,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.med-str-chip { left: auto; right: .7rem; color: #2B1900; background: rgba(255,233,190,.92); }
.med-photo .med-ill { z-index: 1; font-size: .66rem; color: #41605A; background: rgba(255,255,255,.8); }
@media (hover: hover) and (pointer: fine) { .med:hover .med-photo img { transform: scale(1.045); } }

.test-media { margin: -1.3rem -1.3rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-m) var(--r-m) 0 0; background: #EEEBFF; position: relative; }
.test-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .5s var(--e-out); }
.test-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 rgba(30,22,80,.08); pointer-events: none; }
.test.soon .test-media img { filter: saturate(.85); }
@media (hover: hover) and (pointer: fine) { .test:hover .test-media img { transform: scale(1.045); } }

.tile-img { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; box-shadow: 0 10px 18px -12px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.4); outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px; transition: transform .3s var(--e-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-img { transform: rotate(-6deg) scale(1.06); } }
@media (max-width: 760px) { .tile-img { width: 48px; height: 48px; border-radius: 14px; } }

/* ---------- Offers for you: coupon tickets ---------- */
.coupons { margin: 0 0 var(--space-l); }
.cp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: var(--space-s); }
.cp-head h2 { font-size: var(--step-2); margin: 0; letter-spacing: -0.02em; }
.cp-head p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); max-width: 56ch; }
.cp-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-s); filter: drop-shadow(0 14px 18px rgba(10,42,33,.12)); }
[data-theme="dark"] .cp-row { filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }
.coupon { --cut: calc(100% - 6.6rem); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 6.6rem; min-height: 132px; border-radius: 20px; overflow: hidden;
  -webkit-mask: radial-gradient(circle at var(--cut) 0, transparent 10px, #000 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--cut) 100%, transparent 10px, #000 10.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at var(--cut) 0, transparent 10px, #000 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--cut) 100%, transparent 10px, #000 10.5px) bottom / 100% 51% no-repeat; }
.cp-main { padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
.cp-big { margin: 0; font: 800 clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cp-what { margin: 0; font-size: .9rem; line-height: 1.35; font-weight: 550; }
.cp-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: .8rem .6rem; text-align: center; }
.cp-stub::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; border-left: 2px dashed currentColor; opacity: .35; }
.cp-code { position: relative; min-height: 40px; min-width: 5.2rem; padding: 0 .7rem; border-radius: 12px; border: 2px dashed currentColor; background: transparent; color: inherit; cursor: pointer;
  font: 800 .9rem/1 var(--display); letter-spacing: .06em; transition: background-color .2s, transform .16s var(--e-out), color .2s; }
.cp-code:active { transform: scale(.96); }
.cp-tap, .cp-auto { font-size: .72rem; font-weight: 600; opacity: .8; line-height: 1.25; }
.cp-saffron { color: #2B1900; background: radial-gradient(120% 140% at 0% 0%, #FFE2A3 0%, transparent 55%), linear-gradient(135deg, #F8C25E, #F09A1A); }
.cp-saffron .cp-code:hover, .cp-saffron.copied .cp-code { background: rgba(43,25,0,.1); }
.cp-pine { color: #EAF7F1; background: radial-gradient(120% 140% at 0% 0%, #1C8A6C 0%, transparent 55%), #0B3A2E; }
.cp-pine .cp-code { color: #F6C46A; } .cp-pine .cp-code:hover, .cp-pine.copied .cp-code { background: rgba(246,196,106,.14); }
.cp-mint { color: #06372B; background: radial-gradient(120% 140% at 0% 0%, #FFFFFF 0%, transparent 55%), linear-gradient(135deg, #DDF4EA, #BFEAD7); }
.cp-line { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1.5px rgba(var(--saffron-rgb), .55); }
.cp-line .cp-big { color: var(--saffron-text); }
.coupon.copied .cp-tap { opacity: 1; }
.cp-fine { margin: var(--space-xs) 0 0; font-size: .78rem; color: var(--ink-soft); max-width: 90ch; }
@media (max-width: 1100px) { .cp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cp-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: .2rem var(--pad) 1.1rem; margin-inline: calc(var(--pad) * -1); scrollbar-width: none; filter: none; }
  .cp-row::-webkit-scrollbar { display: none; }
  .coupon { scroll-snap-align: center; box-shadow: none; }
  .cp-row > .coupon { filter: drop-shadow(0 10px 14px rgba(10,42,33,.14)); }
}

/* ---------- How your order works ---------- */
.sheet.how { padding-top: var(--space-l); padding-bottom: var(--space-xl); }
.how-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--space-l); align-items: center; }

.how-copy h2 { font-size: var(--step-4); margin: 0 0 var(--space-m); text-wrap: balance; }
.how-steps { list-style: none; margin: 0 0 var(--space-m); padding: 0; counter-reset: how; display: grid; gap: .2rem; }
.how-steps li { counter-increment: how; position: relative; display: grid; gap: .15rem; padding: .55rem 0 .85rem 3.2rem; }
.how-steps li::before { content: counter(how); position: absolute; left: 0; top: .45rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  font: 750 .95rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--s-btn-ink); background: var(--s-btn); }
.how-steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.1rem; top: 2.85rem; bottom: -.3rem; width: 2px; translate: -50% 0; background: linear-gradient(var(--line), transparent); }
.how-steps li:nth-child(4)::before { background: var(--saffron); color: var(--saffron-ink); }
.how-steps b { font-size: var(--step-0); color: var(--ink); }
.how-steps span { color: var(--ink-soft); font-size: var(--step--1); max-width: 52ch; text-wrap: pretty; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; }  }

/* ---------- Cart bar: free-delivery goal ---------- */
.cart-goal { flex: 1 1 230px; display: flex; align-items: center; gap: .65rem; min-width: 0; }
.cart-goal[hidden] { display: none; }
.cg-bar { flex: 0 0 clamp(80px, 14vw, 140px); height: 6px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, currentColor 20%, transparent); }
.cg-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #F6B648, #F09A1A); transform-origin: left center; transform: scaleX(0); transition: transform .6s var(--e-out), background-color .3s; }
.cart-goal.done .cg-bar i { background: #6FDDB3; }
[data-theme="dark"] .cart-goal.done .cg-bar i { background: #0F6B55; }
.cg-text { font-size: .84rem; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .cg-bar i { transition: none; } }

/* ---------- Droplet mascot (original, decorative) ---------- */
.hs-wrap { position: relative; max-width: 640px; margin-top: 2.6rem; }
.hs-wrap .hero-search { position: relative; z-index: 1; }
.mascot { position: absolute; right: 1rem; top: -40px; width: 68px; z-index: 2; pointer-events: none; }
.mascot svg { display: block; width: 100%; height: auto; overflow: visible; }
.mascot .m-shadow { fill: rgba(0,0,0,.18); }
.mascot .m-body { transform-box: view-box; transform-origin: 70px 150px; animation: m-bob 3.4s ease-in-out infinite alternate; }
.mascot .m-arm-l > path, .mascot .m-arm-r > path { fill: none; stroke: #17805F; stroke-width: 7; stroke-linecap: round; }
.mascot .m-arm-r circle { fill: #2FA57D; }
.mascot .m-arm-r { transform-box: view-box; transform-origin: 112px 104px; animation: m-wave .7s ease-in-out .9s 4 alternate; }
.mascot .m-shine { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 6; stroke-linecap: round; }
.mascot .m-eyes ellipse { fill: #082A21; }
.mascot .m-eyes { transform-box: view-box; transform-origin: 70px 96px; animation: m-blink 5.2s infinite; }
.mascot .m-glint { fill: #fff; }
.mascot .m-cheek { fill: #FF8FA0; opacity: .5; }
.mascot .m-smile { fill: none; stroke: #082A21; stroke-width: 4; stroke-linecap: round; }
.mascot-say { position: absolute; right: calc(100% + .35rem); top: 6px; margin: 0; width: max-content; max-width: min(17rem, 56vw); padding: .5rem .8rem; border-radius: 16px 16px 4px 16px;
  font: 600 .86rem/1.3 var(--text); color: var(--ink); background: var(--paper); box-shadow: var(--ring), var(--shadow-1); animation: m-say .5s var(--e-out) 1.1s both; }
@keyframes m-bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }
@keyframes m-wave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes m-blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes m-say { from { opacity: 0; transform: translateY(6px) scale(.9); } }
html[data-motion-state="off"] .mascot * { animation-play-state: paused; }
html[data-motion-state="off"] .mascot-say { animation: none; }
@media (prefers-reduced-motion: reduce) { .mascot .m-body, .mascot .m-arm-r, .mascot .m-eyes, .mascot-say { animation: none !important; } }
@media (max-width: 560px) { .hs-wrap { margin-top: 2.2rem; } .mascot { width: 58px; top: -34px; right: .7rem; } .mascot-say { display: none; } }
@media (min-width: 1081px) and (max-height: 920px) { .shop-hero h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); } }
.sheet a.btn-iris { color: var(--iris-ink); } .sheet a.btn-iris:hover { color: #fff; }
/* Stocked products: the card takes the picture's shape so the whole picture shows */
.med-real .med-pack.med-photo { background: #DCE6EE; }
.med-real .med-photo img { object-fit: contain; object-position: 50% 50%; }
@media (hover: hover) and (pointer: fine) { .med-real:hover .med-photo img { transform: none; } }
.med-ill-real { margin: 0; padding: .35rem .9rem 0; font: 600 .72rem/1.3 var(--text); color: var(--fg-soft); text-align: right; }

/* =====================================================================
   Cinematic layer (src/cinema.mjs). Motif: the first store goes from out of
   focus behind the hero to sharp and full screen at the peak.
   ===================================================================== */

/* 1. Hero plate: the store as a deep, soft background plane */
.shop-hero { isolation: isolate; }
.shop-hero > :not(.hero-plate) { position: relative; z-index: 1; }
.hero-plate { position: absolute; inset: 0 0 auto; height: min(100svh, 980px); z-index: 0; overflow: hidden; pointer-events: none; contain: strict;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.hero-plate picture { position: absolute; inset: -34% -3% -4%; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform: scale(1.04); opacity: .62; }
[data-theme="dark"] .hero-plate img { opacity: .4; }
/* Scrim only where the copy sits: solid behind the left column, opening toward the offers card */
.hero-plate::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--glass), .97) 0%, rgba(var(--glass), .9) 34%, rgba(var(--glass), .5) 62%, rgba(var(--glass), .3) 100%),
              linear-gradient(180deg, rgba(var(--glass), .55), transparent 26%); }
@media (max-width: 1000px) {
  .hero-plate { height: 78svh; }
  .hero-plate::after { background: linear-gradient(180deg, rgba(var(--glass), .7), rgba(var(--glass), .9) 45%, rgba(var(--glass), .96)); }
}

/* 2. How it works: a sticky film frame that cuts between three shots */
.how-film { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-2); background: #0b231c; }
.hf-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hf-shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); transform: scale(1.12); transition: transform 7s cubic-bezier(.25,.4,.3,1); }
.hf-shot.is-on { opacity: 1; z-index: 1; }
.hf-shot.is-on img { transform: scale(1.01); }
.hf-bar { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.hf-bar b { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.how-live .how-grid { align-items: start; }
.how-live .how-film { position: sticky; top: clamp(6rem, 14vh, 9rem); }
.how-live .how-steps li { transition: opacity .5s var(--ease); }
.how-live .how-steps li:not(.is-on) { opacity: .4; }
.how-live .how-steps li.is-on::before { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .16); }
@media (min-width: 901px) {
  .how-live .how-steps li { min-height: 24vh; align-content: center; }
  .how-live .how-copy { padding-bottom: 8vh; }
}
@media (max-width: 900px) {
  .how-film { aspect-ratio: 16 / 10; }
  .how-live .how-film { top: 5.6rem; z-index: 4; }
  .how-live .how-steps li { min-height: 30vh; align-content: center; }
}

/* 3. The peak: the store window grows to fill the screen (transform only) */
.reel { position: relative; z-index: 3; background: #081d17; }
.reel-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.reel-window { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 22px; background: #0b231c; transform: scale(.4); will-change: transform; }
.reel-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Scrim only under the copy, on its own layer so fading it costs nothing */
.reel-scrim { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; will-change: opacity;
  background: linear-gradient(90deg, rgba(4,24,18,.9) 0%, rgba(4,24,18,.72) 34%, rgba(4,24,18,.18) 62%, rgba(4,24,18,0) 78%), linear-gradient(0deg, rgba(4,24,18,.55), transparent 45%); }
.reel-copy { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(2.5rem, 9vh, 6rem); max-width: 620px; color: #F2FAF6; }
.reel-copy > * { opacity: 0; }
.reel-kicker { margin: 0 0 .7rem; font: 600 .95rem/1.3 var(--text); letter-spacing: .02em; color: #9BEACB; }
.reel-copy h2 { color: #fff; font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 12ch; margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.reel-copy p { color: rgba(242,250,246,.9); font-size: 1.12rem; max-width: 46ch; }
.reel .btn-solid { background: #fff; color: #0E2B24; }
.reel .btn-solid:hover { background: #DDF5EA; }
.reel :focus-visible { outline: 3px solid #9BEACB; outline-offset: 3px; }
/* Opened (scrolled past, reduced motion, or no script): full screen, copy readable */
.reel.is-open .reel-window, html:not(.cine) .reel-window, .cine-still .reel-window { transform: none; border-radius: 0; }
.reel.is-open .reel-scrim, html:not(.cine) .reel-scrim, .cine-still .reel-scrim { opacity: 1; }
.reel.is-open .reel-copy > *, html:not(.cine) .reel-copy > *, .cine-still .reel-copy > * { opacity: 1; transform: none; }
@media (max-width: 800px) {
  .reel-window { transform: scale(.66); }
  .reel-scrim { background: linear-gradient(0deg, rgba(4,24,18,.94) 0%, rgba(4,24,18,.75) 42%, rgba(4,24,18,0) 75%); }
  .reel-copy { bottom: 6.5rem; }
}

/* 4. Close: a heartbeat under the last chapter */
.close-inner { position: relative; }
.pulse-line { display: block; width: min(100%, 1100px); height: clamp(70px, 10vw, 130px); margin: 0 0 1.2rem -1%; overflow: visible; }
.pulse-line path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pulse-line circle { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
html:not(.cine) .pulse-line path, .pulse-line.is-drawn path { stroke-dashoffset: 0; }
.pulse-line.is-drawn circle { opacity: 1; animation: pulse-beat 1.6s ease-in-out infinite; }
[data-motion-state="off"] .pulse-line circle { animation: none; }
@keyframes pulse-beat { 0%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.9); opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  .hf-shot { transition-duration: .2s; }
  .hf-shot img, .hf-shot.is-on img { transform: none; transition: none; }
  .pulse-line circle { animation: none !important; }
}

/* =====================================================================
   Voice receptionist (src/voice-launch.mjs + src/voice.mjs)
   ===================================================================== */
.dock-talk { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; padding: 0 .95rem 0 .75rem; margin-left: .2rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1.5px solid rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .1); color: var(--fg); font: 600 .92rem/1 var(--text); transition: background-color .2s ease, transform .15s ease; }
.dock-talk:hover { background: rgba(var(--accent-rgb), .2); }
.dock-talk:active { transform: scale(.96); }
@media (max-width: 520px) { .dock-talk span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .dock-talk { padding: 0 .8rem; } }

.vr { position: fixed; z-index: 62; left: 50%; bottom: 5.4rem; width: min(94vw, 440px); max-height: min(78vh, 680px); display: flex; flex-direction: column; gap: .35rem;
  padding: 1rem 1.1rem .9rem; border-radius: 24px; color: var(--ink); background: rgba(var(--glass), .9); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(var(--hair), .3); box-shadow: 0 34px 80px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translate(-50%, 14px) scale(.98); opacity: 0; transition: opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.vr.in { transform: translate(-50%, 0) scale(1); opacity: 1; }
.vr[hidden] { display: none; }
.vr-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.vr-id { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.vr-id h2 { font: 650 1.05rem/1.2 var(--display); margin: 0; color: var(--ink); }
.vr-sub { margin: .1rem 0 0; font-size: .78rem; color: var(--ink-soft); }
.vr-live { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); flex: none; }
.vr-tools { display: flex; gap: .3rem; }
.vr-tool { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font: 650 .85rem/1 var(--text); }
.vr-tool svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vr-tool svg .w { fill: none; }
.vr-mute.off svg .w { display: none; }
.vr-mute.off { color: var(--ink-soft); }
.vr-x span { font-size: 1.5rem; line-height: 1; }

/* The orb: idle breathes, listening ripples, thinking turns, speaking pulses with each word */
.vr-stage { position: relative; height: 112px; display: grid; place-items: center; margin: .2rem 0 0; }
.vr-orb { position: relative; width: 74px; height: 74px; }
.vr-orb b { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, rgba(255,255,255,.0) 34%), radial-gradient(circle at 50% 55%, var(--accent) 0%, rgba(var(--accent-rgb), .75) 48%, #0b3b30 100%);
  box-shadow: 0 10px 30px -6px rgba(var(--accent-rgb), .6), inset 0 -6px 14px rgba(0,0,0,.25); animation: vr-breathe 3.6s ease-in-out infinite; }
.vr-orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .5); opacity: 0; }

.vr[data-state="listening"] .vr-orb i { animation: vr-ring 1.8s cubic-bezier(.2,.6,.3,1) infinite; }
.vr[data-state="listening"] .vr-orb i:nth-child(2) { animation-delay: .6s; }
.vr[data-state="listening"] .vr-orb i:nth-child(3) { animation-delay: 1.2s; }
.vr[data-state="listening"] .vr-orb b { animation-duration: 1.4s; }
.vr[data-state="thinking"] .vr-orb b { animation: vr-spin 1.2s linear infinite; background: conic-gradient(from 0deg, var(--accent), #0b3b30, var(--accent)); }

 
 
.vr.beat .vr-orb b { animation: vr-beat .28s ease-out; }
@keyframes vr-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes vr-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes vr-spin { to { transform: rotate(1turn); } }
@keyframes vr-bar { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(2.6); } }
@keyframes vr-beat { 0% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes vr-blink { 50% { opacity: .35; } }

.vr-status { margin: 0; text-align: center; font: 600 .9rem/1.3 var(--text); color: var(--ink); min-height: 1.3em; }
.vr-caption { margin: 0; text-align: center; font-size: .92rem; color: var(--ink-soft); min-height: 1.25em; font-style: italic; }
.vr-log { flex: 1; min-height: 90px; overflow-y: auto; display: grid; gap: .55rem; align-content: start; padding: .3rem .1rem; overscroll-behavior: contain; }
.vr-msg { max-width: 88%; padding: .6rem .85rem; border-radius: 16px; font-size: .95rem; line-height: 1.45; }
.vr-msg p { margin: 0; }
.vr-msg.bot { justify-self: start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.vr-msg.you { justify-self: end; background: rgba(var(--accent-rgb), .16); border-bottom-right-radius: 5px; }
.vr-msg.alert { background: #FDECEA; color: #7A1D12; border-color: #F3B8AF; }
.vr-ai { display: block; margin-top: .35rem; font-size: .74rem; color: var(--ink-soft); }
.vr-acts { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.vr-act { min-height: 36px; display: inline-flex; align-items: center; padding: 0 .8rem; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .1);
  color: var(--ink); font: 600 .84rem/1 var(--text); text-decoration: none; cursor: pointer; }
.vr-act:hover { background: rgba(var(--accent-rgb), .22); }
.vr-msg.alert .vr-act { border-color: #C0392B; background: #fff; color: #7A1D12; }
.vr-chips { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: none; }
.vr-chips::-webkit-scrollbar { display: none; }
.vr-chips button { flex: none; min-height: 36px; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 .82rem/1 var(--text); cursor: pointer; }
.vr-form { display: flex; gap: .4rem; align-items: center; }
.vr-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 .9rem; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 400 1rem/1 var(--text); }
.vr-mic { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent);
  box-shadow: 0 8px 20px -8px rgba(var(--accent-rgb), .8); transition: transform .15s ease, background-color .2s ease; }
.vr-mic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vr-mic svg rect { fill: currentColor; stroke: none; }
.vr-mic:active { transform: scale(.94); }
.vr-mic[aria-pressed="true"] { background: #D64545; color: #fff; box-shadow: 0 0 0 6px rgba(214,69,69,.18); }
.vr-mic[hidden] { display: none; }
.vr-send { min-height: 46px; padding: 0 .9rem; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 .9rem/1 var(--text); cursor: pointer; }
.vr-fine { margin: .15rem 0 0; font-size: .72rem; line-height: 1.35; color: var(--ink-soft); }
.vr :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 520px) {
  .vr { bottom: 5rem; width: 96vw; max-height: 80vh; padding: .85rem .85rem .75rem; }
  .vr-stage { height: 92px; }
  .vr-send { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vr { transition: none; }
  .vr-orb b, .vr-orb i, .dock-talk.is-loading .dock-talk-doc { animation: none !important; }
  .vr[data-state="listening"] .vr-orb b { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .35); }
  
}
@media (prefers-reduced-transparency: reduce) { .vr { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
/* Once the conversation starts, the orb steps back to give the answers room */
.vr.compact .vr-stage { height: 62px; }
.vr.compact .vr-orb { width: 44px; height: 44px; }
.vr-stage, .vr-orb { transition: height .3s ease, width .3s ease; }

/* ---- The little doctor (src/doc-avatar.mjs) ---- */
.doc { display: block; width: 100%; height: 100%; }
.doc-talk { display: none; }
.doc-eyes, .doc-talk, .doc-head { transform-box: fill-box; transform-origin: center; }
.doc-head { transform-origin: 50% 90%; transition: transform .45s cubic-bezier(.3,.7,.3,1); }
.doc-eyes { animation: doc-blink 5.2s infinite; }
@keyframes doc-blink { 0%, 45%, 49%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }

/* Talk button: her face instead of a mic, with a small "online" dot */
.dock-talk { padding-left: .35rem; }
.dock-talk-doc { position: relative; display: block; width: 32px; height: 32px; flex: none; }
.dock-talk-doc .doc { border-radius: 50%; box-shadow: 0 0 0 2px var(--paper), 0 4px 10px -4px rgba(0,0,0,.35); }
.dock-talk-live { position: absolute; right: -1px; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: #2BC48A; box-shadow: 0 0 0 2px var(--paper); }
.dock-talk:hover .doc-head { transform: rotate(-6deg); }
.dock-talk.is-loading .dock-talk-doc { animation: vr-blink .8s ease-in-out infinite; }
@media (max-width: 520px) { .dock-talk { padding: 0 .35rem; } }

/* Panel header: small portrait */
.vr-face { position: relative; width: 40px; height: 40px; flex: none; }
.vr-face .doc { border-radius: 50%; box-shadow: 0 0 0 2px var(--paper); }
.vr-face .vr-live { position: absolute; right: -2px; bottom: -1px; width: 11px; height: 11px; background: #2BC48A; box-shadow: 0 0 0 2px var(--paper); }

/* Stage: the doctor replaces the orb; the rings stay for "listening" */
.vr-stage { height: 126px; }
.vr-orb.vr-doc { width: 104px; height: 104px; }
.vr-doc > .doc { position: relative; z-index: 1; filter: drop-shadow(0 12px 18px rgba(15,107,85,.28)); animation: vr-breathe 4s ease-in-out infinite; }
.vr[data-state="listening"] .vr-doc .doc-head { transform: rotate(-7deg) translateY(1px); }
.vr[data-state="listening"] .vr-doc > .doc { animation-duration: 1.6s; }
.vr[data-state="speaking"] .doc-smile { display: none; }
.vr[data-state="speaking"] .doc-talk { display: block; animation: doc-mouth .26s ease-in-out infinite alternate; }
.vr[data-state="speaking"] .vr-doc .doc-head { animation: doc-nod 1.6s ease-in-out infinite; }
.vr.beat .doc-talk { animation: doc-mouth .14s ease-out 2 alternate; }
.vr[data-state="thinking"] .doc-eyes { transform: translate(1.5px, -2px); animation: none; }
.vr[data-state="thinking"] .vr-doc > .doc { animation: none; }
@keyframes doc-mouth { from { transform: scaleY(.3) scaleX(.9); } to { transform: scaleY(1.1) scaleX(1); } }
@keyframes doc-nod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(2.5deg); } 70% { transform: rotate(-2deg); } }
.vr-think { position: absolute; z-index: 2; right: -18px; top: 2px; display: flex; gap: 3px; padding: 6px 8px; border-radius: 12px 12px 12px 3px; background: var(--paper); border: 1px solid var(--line); opacity: 0; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; }
.vr-think u { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.vr[data-state="thinking"] .vr-think { opacity: 1; transform: scale(1); }
.vr[data-state="thinking"] .vr-think u { animation: vr-blink .9s ease-in-out infinite; }
.vr[data-state="thinking"] .vr-think u:nth-child(2) { animation-delay: .15s; } .vr[data-state="thinking"] .vr-think u:nth-child(3) { animation-delay: .3s; }
.vr.compact .vr-stage { height: 70px; }
.vr.compact .vr-orb.vr-doc { width: 58px; height: 58px; }
.vr.compact .vr-think { right: -26px; }
@media (max-width: 520px) { .vr-stage { height: 104px; } .vr-orb.vr-doc { width: 86px; height: 86px; } }
@media (prefers-reduced-motion: reduce) {
  .doc-eyes, .vr-doc > .doc, .vr[data-state="speaking"] .vr-doc .doc-head, .vr-think u { animation: none !important; }
  .vr[data-state="speaking"] .doc-talk { animation: none; transform: scaleY(.8); }
  .doc-head { transition: none; }
}
/* The assistant's button replaces the old Ask button: same strong accent style, now with her face */
.dock-talk { background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 650; }
.dock-talk:hover { background: var(--accent-hover, var(--accent)); }
.dock-talk-doc .doc { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 4px 10px -4px rgba(0,0,0,.35); }
.dock-talk-live { box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 520px) { .dock-talk span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } .dock-talk { padding: 0 .8rem 0 .35rem; } }
/* Social links in the footer (filled in by tools/social.mjs; hidden until set) */
.foot-social { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
.foot-social a { font-weight: 600; color: inherit; text-underline-offset: .2em; padding: .35rem 0; }
.foot-social a::after { content: " \2197"; font-size: .85em; opacity: .7; }
/* "Do it for me": the panel shrinks to a strip so the visitor can watch the page being operated */
.vr.vr-working .vr-stage, .vr.vr-working .vr-chips, .vr.vr-working .vr-form, .vr.vr-working .vr-fine, .vr.vr-working .vr-caption { display: none; }
.vr.vr-working .vr-log { max-height: 7.5rem; }
.vr.vr-working { opacity: .96; }

/* ---------- Colour and polish pass (Nov 2026, measured with charles-color-analysis) ----------
   1. The offer strip was the loudest thing on every screen (68% of the hero's colour weight) and sat over headings
      once you scrolled. It now uses the header's own glass, keeps saffron only on the codes, and steps aside past
      the opening screen (html.past-hero, set in src/voice-launch.mjs). Saffron is left for the offer itself. */
.offer-strip { background: rgba(var(--glass), .78) !important; color: var(--fg) !important; border: 1px solid rgba(var(--hair), .28) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 26px -14px rgba(0,0,0,.45) !important;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.offer-strip a, .offer-strip span { color: var(--fg) !important; }
.offer-strip b { background: var(--saffron) !important; color: var(--saffron-ink) !important; font-weight: 700; }
.os-group li::after { background: currentColor; opacity: .35; }
.os-group a:focus-visible { outline-color: var(--fg); }
html.past-hero .offer-strip { opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; }
html:not(.past-hero) .offer-strip { transition-delay: 0s; }
[data-theme="light"] .offer-strip { border-color: rgba(255,255,255,.7) !important; box-shadow: 0 14px 30px -18px rgba(14,60,48,.4), inset 0 1px 0 rgba(255,255,255,.9) !important; }
@media (prefers-reduced-transparency: reduce) { .offer-strip { background: rgb(var(--glass)) !important; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .offer-strip { transition: none; } }

/* 2. Two heavy display lines competed in the first screen (the headline at 750 and the offer card at 760).
      The page headline leads; the offer card's title steps down a weight. */
.bn-title { font-weight: 650; }

/* 3. Focus ring: violet (lab tests' colour) appeared on every focused control. A neutral ring passes 3:1 on both
      themes and doesn't borrow a meaning. */
:focus-visible { outline-color: var(--fg); }

/* 4. "How it works": step 4 alone was saffron, so it read as an offer. All steps share one colour now.
      Steps you haven't reached were at 40% opacity (unreadable, Lc ~20); 62% keeps the focus and stays readable. */
.how-steps li:nth-child(4)::before { background: var(--s-btn); color: var(--s-btn-ink); }
.how-live .how-steps li:not(.is-on) { opacity: .88; }

/* 5. The mascot's "Namaste" bubble touched the search box's top edge. */
.mascot-say { top: -8px; }

.cf-box{margin:12px 0;min-height:65px}
.cf-box:empty{min-height:0;margin:0}

.nf-page{max-width:40rem;margin:0 auto;padding:3rem 1.25rem}
.nf-page .brand img{width:160px;height:auto}
.nf-links{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.5rem 0}
.nf-page .brand{display:inline-flex;width:auto;margin-bottom:1.5rem}
.nf-page h1{font-size:clamp(2rem,6vw,3.2rem);line-height:1.1}

/* customer reviews */
.stars { color: #E0A21B; letter-spacing: 1px; }
.med-rv { margin: .25rem 0 .4rem; }
.med-rv-btn { background: none; border: 0; padding: .35rem 0; min-height: 40px; font: 600 .9rem/1.2 var(--text); color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.med-rv-list { font-size: .9rem; border-top: 1px solid var(--line); margin-bottom: .6rem; }
.med-rv-list ul { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .6rem; }
.med-rv-list li p { margin: .2rem 0 0; }
.rv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.rv-item { border-top: 1px solid var(--line); padding-top: .8rem; }
.rv-item small { display: block; opacity: .85; }
.rv-done { margin: .3rem 0 0; }
.rv-stars { border: 0; padding: 0; margin: .5rem 0; display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rv-stars legend { width: 100%; font-weight: 600; margin-bottom: .2rem; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { font-size: 1.9rem; line-height: 1; cursor: pointer; color: #b9c4c0; min-width: 40px; min-height: 40px; display: grid; place-items: center; }
.rv-stars input:checked ~ label, .rv-stars label:hover, .rv-stars label:hover ~ label { color: #E0A21B; }
.rv-stars input:focus-visible + label { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 6px; }
.rv-stars .sr, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rv-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
/* Medicines under ₹70 MRP: sale price, struck MRP, "% off · No cashback" */
.med-price s { font-size: .8rem; color: var(--ink-soft); }
.med-price .tag-off { font-style: normal; font-size: .75rem; font-weight: 650; color: #8a4b0f; background: #fdf0df; border-radius: 6px; padding: .1rem .4rem; align-self: flex-start; }
.bk-total dt.note { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-soft); }
