/* =========================================================================
   Osman's Optical, "The Iris"
   Palette: the logo only. Indigo #343B97, lime #99C33C, pupil ink #07090A.
   Lime is a FILL with ink text (the "in focus" signal), never text on white.
   Type: Urbanist (the logo's geometric caps), heavy word + light word like
   OSMAN'S over OPTICAL; Optician Sans (eye-chart letters) for figures.
   Built from _src/css/*.css by _tools/css.py. Do not edit main.css directly.
   ========================================================================= */

@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Optician Sans"; src: url("../fonts/optician-sans.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	/* Logo colours */
	--indigo: #343B97;          /* logo; 9.0:1 on white, used for text, buttons, fields */
	--lime: #99C33C;            /* logo; fills only, with ink text (10.2:1) */
	--pupil: #07090A;           /* logo ink */
	/* Derived from the logo */
	--indigo-800: #262C78;      /* hover on indigo */
	--indigo-900: #161A4A;      /* deep field */
	--indigo-200: #C9CDEB;
	--indigo-100: #E3E5F4;
	--indigo-50: #F0F1F9;
	--lime-600: #8AB52F;        /* hover on lime */
	--lime-100: #EDF5DB;
	--lime-on-ink: #B4D86A;     /* lime text on indigo-900 (8.1:1) */
	--paper: #F5F6FA;           /* cool white page */
	--white: #FFFFFF;
	--ink: #12142C;             /* body text, indigo-tinted near black (16.6:1 on paper) */
	--mute: #555A7C;            /* secondary text (6.2:1 on paper) */
	--line: #DCDFEE;
	--line-2: #C5C9E0;
	--ok: #2F7D32;
	--err: #B3261E;

	--f: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-chart: "Optician Sans", "Urbanist", system-ui, sans-serif;

	--w: 1320px;
	--gut: clamp(16px, 4vw, 48px);
	--hdr: 76px;
	--top: 0px;

	--r-s: 8px;
	--r-m: 16px;
	--r-l: 28px;
	--r-pill: 999px;

	/* One timing system: ease-out family, three durations. */
	--ease: cubic-bezier(.22, .8, .24, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--d1: .18s;
	--d2: .42s;
	--d3: .9s;

	--sh-1: 0 1px 2px rgba(18, 20, 44, .06), 0 4px 14px rgba(18, 20, 44, .06);
	--sh-2: 0 2px 6px rgba(18, 20, 44, .08), 0 18px 48px rgba(18, 20, 44, .14);
}
@media (max-width: 760px) { :root { --hdr: 64px; } }
.has-adminbar { --top: 32px; }
@media (max-width: 782px) { .has-adminbar { --top: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + var(--hdr) + 16px); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 760px) { body { font-size: 16px; } }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--indigo-800); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.04; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.01em; line-height: 1.15; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
/* The logo's device: a heavy word, then a light one. */
.hw { font-weight: 800; }
.hl { font-weight: 250; letter-spacing: -.01em; }
.hl--lime { color: var(--indigo); }
.sec--indigo .hl, .sec--deep .hl { color: var(--white); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--mute); max-width: 46ch; }
.spaced { font-size: .78rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--mute); }
.chart { font-family: var(--f-chart); font-weight: 400; letter-spacing: .02em; }
.small { font-size: .9rem; color: var(--mute); }
.tnum { font-variant-numeric: tabular-nums; }
::selection { background: var(--lime); color: var(--pupil); }

.wrap { width: 100%; max-width: calc(var(--w) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(820px + var(--gut) * 2); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: calc(var(--top) + 12px); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.sec--indigo :focus-visible, .sec--deep :focus-visible, .ftr :focus-visible { outline-color: var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons: pills like the pupil, no icon clutter ---------- */
.btn { --bg: var(--indigo); --fg: #fff; --bd: var(--indigo); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .8em 1.6em; border: 1.5px solid var(--bd); border-radius: var(--r-pill); background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--f); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background var(--d1) var(--ease), border-color var(--d1) var(--ease), color var(--d1) var(--ease), transform var(--d1) var(--ease); white-space: nowrap; }
.btn:hover { --bg: var(--indigo-800); --bd: var(--indigo-800); color: var(--fg); }
.btn:active { transform: scale(.97); }
.btn--lime { --bg: var(--lime); --fg: var(--pupil); --bd: var(--lime); }
.btn--lime:hover { --bg: var(--lime-600); --bd: var(--lime-600); }
.btn--ghost { --bg: transparent; --fg: var(--indigo); --bd: var(--line-2); }
.btn--ghost:hover { --bg: var(--indigo-50); --bd: var(--indigo); --fg: var(--indigo); }
.btn--white { --bg: #fff; --fg: var(--indigo); --bd: #fff; }
.btn--white:hover { --bg: var(--indigo-50); --bd: var(--indigo-50); --fg: var(--indigo); }
.btn--line-w { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.btn--line-w:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; --fg: #fff; }
.btn--sm { min-height: 42px; padding: .6em 1.15em; font-size: .92rem; }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--indigo); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--d2) var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1.5px; }
.sec--indigo .link, .sec--deep .link, .ftr .link { color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (pointer: coarse) { .btn--sm { min-height: 44px; } }

/* ---------- Status dot (live open / closed), a tiny pupil ---------- */
.st { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 600; color: var(--mute); }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.st.is-open { color: var(--ok); }
.st.is-open::before { background: var(--lime); box-shadow: 0 0 0 3px var(--lime-100); }
.st.is-closed::before { background: #C9CDDF; }
.sec--indigo .st, .sec--deep .st { color: rgba(255, 255, 255, .8); }
.sec--indigo .st.is-open, .sec--deep .st.is-open { color: var(--lime-on-ink); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .field .lbl { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f); transition: border-color var(--d1) var(--ease), box-shadow var(--d1) var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343B97' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-100); }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-color: var(--err); }
.field .hint { font-size: .85rem; color: var(--mute); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--mute); margin: 8px 0 18px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--indigo); flex: none; }
.form__msg { margin: 12px 0 0; font-weight: 600; min-height: 1px; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-err { color: var(--err); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box { display: grid; gap: 2px; height: 100%; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: var(--r-m); background: #fff; transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease); }
.choice__box strong { font-size: 1.02rem; }
.choice__box span { color: var(--mute); font-size: .9rem; }
.choice:hover .choice__box { border-color: var(--indigo); }
.choice input:checked + .choice__box { border-color: var(--indigo); background: var(--indigo-50); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--indigo); outline-offset: 3px; }

/* ---------- Iris mark (inline SVG) ---------- */
.iris { width: 100%; height: auto; overflow: visible; }
.iris__seg--l { fill: var(--lime); }
.iris__seg--i { fill: var(--indigo); }
.iris__pupil { fill: var(--pupil); }

/* =========================================================================
   Chrome: notice, header, nav, phone menu, branch picker, loader, transition,
   footer, dock, toasts
   ========================================================================= */

.notice { margin: 0; padding: 9px var(--gut); background: var(--indigo); color: #fff; text-align: center; font-size: .92rem; font-weight: 600; }

/* Header: fixed height (no jitter), hides on scroll down with a transform. */
.hdr { position: sticky; top: var(--top); z-index: 90; height: var(--hdr); background: color-mix(in srgb, var(--paper) 94%, transparent); transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease), background var(--d2) var(--ease); }
@supports not (background: color-mix(in srgb, red, blue)) { .hdr { background: var(--paper); } }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line); background: var(--paper); }
.hdr.is-hidden { transform: translateY(calc(-100% - var(--top))); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.brand { display: block; flex: none; line-height: 0; }
.brand__img { height: 40px; width: auto; }
@media (max-width: 760px) { .brand__img { height: 32px; } }
.nav { margin-inline: auto; }
.nav__list { display: flex; gap: clamp(14px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__list a { position: relative; display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav__list a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); transform: translateX(-50%) scale(0); transition: transform var(--d2) var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: translateX(-50%) scale(1); }
.nav__list a[aria-current] { color: var(--indigo); }
.hdr__act { display: flex; align-items: center; gap: 12px; flex: none; }
.mybr { display: grid; justify-items: start; gap: 0; max-width: 210px; padding: 6px 12px; border: 0; border-radius: var(--r-s); background: none; color: var(--ink); font: 600 .9rem/1.2 var(--f); text-align: left; cursor: pointer; transition: background var(--d1) var(--ease); }
.mybr:hover { background: var(--indigo-50); }
.mybr__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mybr .st { font-size: .8rem; }
.burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--indigo); cursor: pointer; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--d2) var(--ease); }
.burger i:first-of-type { top: 19px; }
.burger i:last-of-type { top: 27px; right: 20px; }
.burger:hover i:last-of-type { right: 14px; }
@media (max-width: 1180px) { .nav { display: none; } .burger { display: block; } .hdr__act { margin-left: auto; } }
@media (max-width: 760px) { .mybr, .hdr__book { display: none; } }

/* Phone / tablet menu: full screen deep indigo, items rise in. */
.mmenu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--indigo-900); color: #fff; overflow: auto; }
.mmenu::backdrop { background: transparent; }
.mmenu[open] { display: flex; flex-direction: column; animation: mm-in var(--d2) var(--ease) both; }
@keyframes mm-in { from { clip-path: circle(0 at calc(100% - 44px) 38px); } to { clip-path: circle(150% at calc(100% - 44px) 38px); } }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); flex: none; }
.mmenu__x { width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mmenu__nav { flex: 1; display: flex; align-items: center; }
.mmenu__nav ol { list-style: none; margin: 0; padding: 24px 0; }
.mmenu__nav li { overflow: hidden; }
.mmenu__nav a { display: block; padding: 4px 0; color: #fff; text-decoration: none; font-size: clamp(2rem, 8vw, 3.6rem); font-weight: 250; letter-spacing: -.02em; line-height: 1.12; }
.mmenu__nav a:hover, .mmenu__nav a[aria-current] { font-weight: 800; color: var(--lime-on-ink); }
.mmenu[open] .mmenu__nav a { animation: mm-rise .6s var(--ease) both; animation-delay: calc(.08s + var(--i) * .045s); }
.mmenu__nav li { --i: 0; }
@keyframes mm-rise { from { transform: translateY(105%); } to { transform: none; } }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* Branch picker */
.bpick { width: min(560px, calc(100% - 32px)); max-height: min(780px, calc(100% - 48px)); padding: 0; border: 0; border-radius: var(--r-l); background: #fff; color: var(--ink); box-shadow: var(--sh-2); overflow: hidden; }
.bpick[open] { display: flex; flex-direction: column; animation: dlg-in var(--d2) var(--ease) both; }
.bpick::backdrop { background: rgba(22, 26, 74, .55); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bpick__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 8px; }
.bpick__head h2 { margin: 0; font-size: 1.8rem; }
.bpick__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; cursor: pointer; flex: none; }
.bpick__tools { display: flex; gap: 10px; padding: 8px 24px; }
.bpick__search { flex: 1; position: relative; min-width: 0; }
.bpick__search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--mute); pointer-events: none; }
.bpick__search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 42px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); font: 400 1rem var(--f); color: var(--ink); background: #fff; }
.bpick__search input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-100); }
.bpick__hint { margin: 0; padding: 0 24px; min-height: 1.4em; }
.bpick__list { list-style: none; margin: 8px 0 0; padding: 0 12px; overflow: auto; flex: 1; overscroll-behavior: contain; }
.bpick__list button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n s" "m s"; gap: 0 12px; align-items: center; padding: 12px; border: 0; border-radius: var(--r-m); background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.bpick__list button:hover { background: var(--indigo-50); }
.bpick__list button[aria-pressed="true"] { background: var(--indigo-50); box-shadow: inset 3px 0 0 var(--indigo); }
.bpick__list button:disabled { opacity: .55; cursor: default; }
.bpick__name { grid-area: n; font-weight: 700; }
.bpick__meta { grid-area: m; font-size: .88rem; color: var(--mute); }
.bpick__list .st { grid-area: s; font-size: .82rem; }
.bpick__all { margin: 0; padding: 12px 24px 20px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .bpick { width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; } }

/* ---------- Load screen: the iris fills segment by segment with real progress ---------- */
.pgl { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; background: var(--paper); }
.pgl-on .pgl { display: grid; }
.pgl-lock, .pgl-lock body { overflow: hidden; }
.pgl__in { display: grid; justify-items: center; gap: 18px; }
.pgl__iris { width: 116px; }
.pgl__iris .iris__seg { opacity: .14; transition: opacity .3s var(--ease); }
.pgl__iris .iris__seg.is-on { opacity: 1; }
.pgl__iris .iris__pupil { transform-origin: 50px 50px; animation: pupil 1.6s var(--ease-io) infinite alternate; }
@keyframes pupil { from { transform: scale(.82); } to { transform: scale(1.12); } }
.pgl__word { margin: 0; color: var(--indigo); font-size: 1.05rem; letter-spacing: .3em; }
.pgl__word .hl { color: var(--lime-600); }
.pgl__pct { margin: 0; color: var(--mute); font-size: .9rem; min-width: 3ch; text-align: center; }
/* Leaving the loader: the page is revealed through an opening iris. */
.pgl-out .pgl { animation: iris-open .8s var(--ease-io) forwards; }
@keyframes iris-open { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0 at 50% 50%); } }
/* Failsafe: never trap anyone if scripts die. */
.pgl-on .pgl { animation: pgl-fail 0s 6s forwards; }
.pgl-on.pgl-out .pgl { animation: iris-open .8s var(--ease-io) forwards; }
@keyframes pgl-fail { to { visibility: hidden; } }

/* ---------- Page transition: an indigo iris closes on the click, reopens on the next page ---------- */
.pgt { position: fixed; inset: 0; z-index: 390; display: grid; place-items: center; background: var(--indigo-900); pointer-events: none; clip-path: circle(0 at var(--tx, 50%) var(--ty, 50%)); visibility: hidden; }
.pgt__iris { width: 72px; opacity: 0; transition: opacity .2s var(--ease); }
.pgl-in .pgt { visibility: visible; pointer-events: auto; animation: pgt-close .46s var(--ease-io) forwards; }
.pgl-in .pgt__iris { opacity: 1; transition-delay: .25s; }
@keyframes pgt-close { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 50%)); } to { clip-path: circle(150% at var(--tx, 50%) var(--ty, 50%)); } }
.pgl-cover .pgt { visibility: visible; clip-path: circle(150% at 50% 50%); }
.pgl-cover .pgt__iris { opacity: 1; }
.pgl-cover.pgl-out .pgt { animation: pgt-open .7s var(--ease-io) forwards; }
.pgl-cover.pgl-out .pgt__iris { opacity: 0; }
@keyframes pgt-open { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0 at 50% 50%); } }
.pgl-cover .pgt { animation: pgl-fail 0s 4s forwards; }
.pgl-cover.pgl-out .pgt { animation: pgt-open .7s var(--ease-io) forwards; }
@media (prefers-reduced-motion: reduce) {
	@keyframes iris-open { from { opacity: 1; } to { opacity: 0; } }
	@keyframes pgt-close { from { clip-path: none; opacity: 0; } to { clip-path: none; opacity: 1; } }
	@keyframes pgt-open { from { clip-path: none; opacity: 1; } to { clip-path: none; opacity: 0; } }
	.pgl-out .pgl, .pgl-cover.pgl-out .pgt { animation-duration: .2s; }
	.pgl-in .pgt { animation-duration: .12s; }
	.pgl__iris .iris__pupil { animation: none; }
}

/* ---------- Footer: deep indigo, white text ---------- */
.ftr { background: var(--indigo-900); color: rgba(255, 255, 255, .82); padding: clamp(56px, 8vw, 110px) 0 calc(24px + env(safe-area-inset-bottom)); }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: var(--lime-on-ink); }
.ftr__cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-bottom: clamp(40px, 6vw, 80px); background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) 50% 100% / calc(100% - var(--gut) * 2) 1px no-repeat; }
.ftr__big { margin: 0; max-width: 16ch; color: #fff; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; }
.ftr__big .hl { color: var(--lime-on-ink); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.ftr__brand .brand__img { height: 46px; margin-bottom: 18px; }
.ftr__col h2 { margin: 0 0 14px; color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr__col .chart { color: var(--lime-on-ink); margin-left: .3em; }
.ftr__social { display: flex; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.ftr__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.ftr__social a:hover { border-color: var(--lime-on-ink); }
.ftr__member, .ftr__base { background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) 50% 0 / calc(100% - var(--gut) * 2) 1px no-repeat; }
.ftr__member { padding-block: 22px; font-size: .92rem; }
.ftr__member p { margin: 0; max-width: 88ch; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; font-size: .88rem; }
.ftr__base p { margin: 0; }
.ftr__base a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Phone dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
	.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; display: flex; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--indigo-900); box-shadow: var(--sh-2); transition: transform var(--d2) var(--ease); }
	.dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-pill); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; }
	.dock a .ico { width: 20px; height: 20px; }
	.dock .dock__book { background: var(--lime); color: var(--pupil); }
	.dock.is-away { transform: translateY(calc(100% + 24px)); }
	.page-template-template-book .dock { display: none; }
}

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 300; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); transform: translateX(-50%); pointer-events: none; }
@media (max-width: 760px) { .toasts { bottom: calc(92px + env(safe-area-inset-bottom)); } }
.toast { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-m); background: var(--indigo-900); color: #fff; box-shadow: var(--sh-2); pointer-events: auto; animation: toast-in var(--d2) var(--ease) both; }
.toast strong { font-size: 1rem; }
.toast span { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.toast.is-out { animation: toast-out var(--d2) var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
/* Buttons in the footer keep their own colours (the footer link colour must not win) */
.ftr a.btn, .ftr a.btn:hover { color: var(--fg); }

/* =========================================================================
   Home and shared sections
   ========================================================================= */

.sec { padding-block: clamp(64px, 9vw, 140px); }
.sec--tight { padding-block: clamp(32px, 5vw, 64px); }
.sec--paper2 { background: var(--white); }
.sec--indigo { background: var(--indigo); color: #fff; }
.sec--deep { background: var(--indigo-900); color: rgba(255, 255, 255, .86); }
.sec--indigo h2, .sec--deep h2, .sec--indigo h3, .sec--deep h3 { color: #fff; }
.sec--deep .lead, .sec--indigo .lead { color: rgba(255, 255, 255, .78); }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec__head h2 { margin: 0; max-width: 15ch; }
.sec__head .lead { margin: 0; }

/* ---------- Hero: the iris dilates into the test room ---------- */
.hero { position: relative; height: 270vh; margin-top: calc(-1 * var(--hdr)); background: var(--paper); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.hero__photo { position: absolute; inset: 0; z-index: 1; clip-path: circle(var(--r, 0px) at var(--cx, 70%) var(--cy, 50%)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(var(--blur, 14px)) saturate(.9); transform: scale(calc(1.04 + var(--blurk, 1) * .04)); }
.hero__gl { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.hero.is-gl .hero__gl { opacity: 1; }
.hero.is-gl .hero__photo, .hero.is-gl .hero__eye { visibility: hidden; }
.hero__eye { position: absolute; z-index: 2; left: var(--cx, 70%); top: var(--cy, 50%); width: var(--iw, min(42vw, 520px)); transform: translate(-50%, -50%) scale(var(--is, 1)); }
.hero__eye .iris__pupil { fill: var(--pupil); opacity: calc(1 - var(--rev, 0)); }
.hero__copy { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) * .25); pointer-events: none; }
.hero__copy > * { max-width: 600px; pointer-events: auto; }
.hero__copy h1 { margin-bottom: .3em; font-size: clamp(3rem, 7.6vw, 7.4rem); line-height: .96; }
.hero__copy h1 .hw { display: block; color: var(--indigo); }
.hero__copy h1 .hl { display: block; }
.hero__copy .lead { margin-bottom: 28px; }
.hero__read { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(20px, 4vh, 40px); display: flex; gap: 28px; margin: 0; color: var(--mute); }
.hero__read div { display: grid; gap: 2px; }
.hero__read dt { font-family: var(--f); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; }
.hero__read dd { margin: 0; font-size: 1.6rem; color: var(--ink); }
.hero__inside { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px); opacity: 0; visibility: hidden; color: #fff; }
.hero__q { margin: 0 0 8px; font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(7, 9, 10, .35); }
.hero__q .hw { color: #fff; }
.hero__cap { margin: 0; max-width: 46ch; font-weight: 500; text-shadow: 0 1px 12px rgba(7, 9, 10, .5); }
.hero__inside::before { content: ""; position: absolute; inset: -40vh 0 -80px; z-index: -1; background: linear-gradient(to top, rgba(7, 9, 10, .6), rgba(7, 9, 10, 0)); }
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; display: grid; justify-items: center; gap: 6px; margin: 0; transform: translateX(-50%); color: var(--mute); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; }
.hero__cue span { width: 1.5px; height: 34px; background: linear-gradient(var(--indigo), transparent); animation: cue 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
	.hero { height: 240vh; }
	.hero__copy { justify-content: flex-end; padding-bottom: clamp(96px, 16vh, 140px); }
	.hero__copy h1 { font-size: clamp(2.8rem, 12vw, 4.6rem); }
	.hero__read { display: none; }
	.hero__inside { bottom: calc(96px + env(safe-area-inset-bottom)); }
	.hero__read dd { font-size: 1.25rem; }
	.hero__cue { display: none; }
}
@media (max-width: 900px) and (max-height: 700px) { .hero__copy .lead { display: none; } }
/* No scroll scrub: a plain one-screen hero. */
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; min-height: 100svh; }

/* ---------- Exam + "one or two" chart ---------- */
.exam__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.exam__chart { position: sticky; top: calc(var(--top) + var(--hdr) + 24px); }
.exam__grid--page { align-items: center; }
.exam__grid--page .exam__chart { position: static; }
@media (max-width: 900px) { .exam__grid { grid-template-columns: minmax(0, 1fr); } .exam__chart { position: static; } }
.steps { list-style: none; margin: 32px 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--mute); }
.steps__n { position: absolute; left: 0; top: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 1.15rem; }
.steps--tight li { padding-block: 16px; }

.ct { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); }
.ct__title { margin: 0 0 18px; font-size: 1.6rem; line-height: 1.1; }
.ct__eyes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); padding: clamp(14px, 2vw, 22px); border-radius: 999px; background: linear-gradient(#E7E9F1, #D9DCE8); }
.ct__eye { position: relative; aspect-ratio: 1; padding: 0; border: clamp(8px, 1.4vw, 14px) solid var(--pupil); border-radius: 50%; background: #fff; cursor: pointer; overflow: hidden; transition: transform var(--d1) var(--ease), border-color var(--d1) var(--ease); box-shadow: inset 0 0 0 2px #fff, inset 0 0 28px rgba(7, 9, 10, .25); }
.ct__eye:hover { transform: scale(1.03); border-color: var(--indigo); }
.ct__eye:active { transform: scale(.98); }
.ct__glass { position: absolute; inset: 0; display: grid; place-items: center; }
.ct__num { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); color: var(--indigo); font-size: 1.1rem; }
.snellen { display: grid; justify-items: center; gap: .1em; color: var(--pupil); filter: blur(var(--b, 0px)); transition: filter .5s var(--ease); line-height: 1; }
.snellen__l { margin: 0; display: flex; align-items: baseline; gap: .5em; font-size: calc(clamp(30px, 4.2vw, 46px) * pow(.72, var(--s))); }
@supports not (font-size: calc(1px * pow(2, 1))) {
	.snellen__l:nth-child(1) { font-size: 42px; } .snellen__l:nth-child(2) { font-size: 30px; } .snellen__l:nth-child(3) { font-size: 22px; } .snellen__l:nth-child(4) { font-size: 16px; } .snellen__l:nth-child(5) { font-size: 12px; } .snellen__l:nth-child(6) { font-size: 9px; } .snellen__l:nth-child(7) { font-size: 7px; }
}
.snellen__l span { letter-spacing: .28em; margin-right: -.28em; }
.snellen__l small { display: none; }
.ct__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 18px; }
.ct__q { margin: 0; font-weight: 600; }
.ct__read { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.ct__read strong { font-size: 1.8rem; color: var(--indigo); font-weight: 400; }
.ct__dial { display: flex; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.ct__dial li { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background var(--d2) var(--ease); }
.ct__dial li.is-on { background: var(--lime); }
.ct__done { margin-top: 16px; padding: 16px; border-radius: var(--r-m); background: var(--lime-100); }
.ct__done p { margin: 0 0 12px; }
.ct__done .link { border: 0; background-color: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.ct__note { margin: 14px 0 0; }
.ct.is-shake .ct__eyes { animation: shake .4s var(--ease); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Services: ruled rows, a photo follows the pointer ---------- */
.svl { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svl li { border-top: 1px solid var(--line); }
.svl__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center; padding: clamp(18px, 2.4vw, 28px) 0; color: var(--ink); text-decoration: none; }
.svl__t { font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 250; letter-spacing: -.02em; line-height: 1.1; transition: font-weight var(--d2) var(--ease), color var(--d2) var(--ease), transform var(--d2) var(--ease); }
.svl__d { color: var(--mute); }
.svl__go { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--indigo); transition: background var(--d2) var(--ease), border-color var(--d2) var(--ease), color var(--d2) var(--ease); }
.svl__row:hover .svl__t, .svl__row:focus-visible .svl__t { font-weight: 800; color: var(--indigo); transform: translateX(8px); }
.svl__row:hover .svl__go { background: var(--lime); border-color: var(--lime); color: var(--pupil); }
@media (max-width: 760px) { .svl__row { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 14px; } .svl__d { grid-row: 2; font-size: .92rem; } .svl__go { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; } }
.svl__peek { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4 / 3; border-radius: 50%; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) translate(-50%, -50%) scale(.6); transition: opacity var(--d2) var(--ease), transform .45s var(--ease); box-shadow: var(--sh-2); }
.svl__peek.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) translate(-50%, -50%) scale(1); border-radius: 160px; }
.svl__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .svl__peek { display: none; } }

/* ---------- Vision simulator ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sim__view { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: var(--indigo-900); touch-action: none; user-select: none; -webkit-user-select: none; }
.sim__img, .sim__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim__img { filter: blur(var(--sb, 0px)) sepia(var(--ss, 0)) contrast(var(--sc, 1)) brightness(var(--sl, 1)); }
.sim.is-gl .sim__img { visibility: hidden; }
.sim__lens { position: absolute; left: 0; top: 0; width: var(--lr, 220px); height: var(--lr, 220px); border-radius: 50%; transform: translate3d(var(--lx, 50%), var(--ly, 50%), 0) translate(-50%, -50%); cursor: grab; pointer-events: auto; box-shadow: 0 0 0 4px #fff, 0 0 0 9px rgba(7, 9, 10, .55), 0 18px 40px rgba(7, 9, 10, .4); }
.sim__lens span { position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 88%, var(--lime) 88% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px)); }
.sim__lens:active { cursor: grabbing; }
.sim.is-nolens .sim__lens { opacity: 0; pointer-events: none; }
.sim__hint { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(7, 9, 10, .6); color: #fff; font-size: .85rem; font-weight: 600; transition: opacity var(--d2) var(--ease); }
.sim__hint .ico { width: 18px; height: 18px; }
.sim.is-dragged .sim__hint { opacity: 0; }
.sim__scenes { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.sim__scenes button, .sim__conds button, .seg button, .bmap__regions button, .lm__idx button { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: #fff; color: var(--ink); font: 600 .92rem/1.1 var(--f); cursor: pointer; transition: background var(--d1) var(--ease), border-color var(--d1) var(--ease), color var(--d1) var(--ease); }
.sim__scenes button { border-color: transparent; background: rgba(255, 255, 255, .88); }
.sim__scenes button:hover, .sim__conds button:hover, .seg button:hover, .lm__idx button:hover { border-color: var(--indigo); }
.sim__scenes button[aria-pressed="true"], .sim__conds button[aria-pressed="true"], .seg button[aria-pressed="true"], .lm__idx button[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.sim__conds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sim__info .sim__name { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.01em; }
.sim__info p { margin: 0 0 10px; color: var(--mute); }
.sim__help { color: var(--ink) !important; }
.sim__sev { margin-top: 18px; }
.sim__note { margin: 14px 0 0; }
input[type="range"] { width: 100%; height: 44px; margin: 0; background: none; accent-color: var(--indigo); cursor: pointer; }
@media (max-width: 1000px) { .sim { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .sim__view { aspect-ratio: 4 / 4.2; border-radius: var(--r-m); } .sim__lens { --lr: 150px; } }

/* ---------- Frames: moving brand names ---------- */
.frames { overflow: clip; }
.frames__marquee { display: grid; gap: 6px; margin-bottom: clamp(48px, 7vw, 96px); }
.marq { overflow: hidden; }
.marq__track { display: flex; width: max-content; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font-size: clamp(2.4rem, 7vw, 6.4rem); font-weight: 250; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); white-space: nowrap; will-change: transform; }
.marq--rev .marq__track { font-weight: 800; color: var(--indigo); }
.marq__track i { width: .22em; height: .22em; border-radius: 50%; background: var(--lime); flex: none; }
.frames__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.frames__photo { margin: 0; border-radius: var(--r-l); overflow: hidden; }
.frames__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .frames__grid { grid-template-columns: minmax(0, 1fr); } }
.pre { display: grid; grid-template-columns: auto minmax(0, 1fr) 24px; gap: 18px; align-items: center; margin-top: 32px; padding: 18px 22px; border: 1.5px solid var(--line); border-radius: var(--r-l); background: #fff; color: var(--ink); text-decoration: none; transition: border-color var(--d2) var(--ease), transform var(--d2) var(--ease); }
.pre:hover { border-color: var(--indigo); color: var(--ink); transform: translateY(-2px); }
.pre .ico { color: var(--indigo); }
.pre__logos { display: flex; gap: 6px; }
.pre__logos img { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; background: #fff; }
.pre__logos--big { margin-bottom: 24px; }
.pre__logos--big img { width: 84px; height: 84px; }
.pre__t { display: grid; gap: 2px; }
.pre__t strong { font-size: 1.1rem; }
.pre__t span { color: var(--mute); font-size: .92rem; }
.pre--wide { margin-top: 0; }
@media (max-width: 520px) { .pre { grid-template-columns: minmax(0, 1fr) 24px; } .pre__logos { grid-column: 1 / -1; } }

/* ---------- Lens thickness teaser ---------- */
.lensmini__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .lensmini__grid { grid-template-columns: minmax(0, 1fr); } }
.lm { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); }
.lm__fig { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 10px; }
.lm__svg { width: 100%; height: auto; overflow: visible; }
.lm__axis { stroke: var(--line-2); stroke-dasharray: 3 5; }
.lm__lens { fill: rgba(52, 59, 151, .12); stroke: var(--indigo); stroke-width: 1.5; transition: d .4s var(--ease); }
.lm__dim line { stroke: var(--lime-600); stroke-width: 2; }
.lm__dim text { fill: var(--ink); font: 400 11px var(--f-chart); }
.lm__read { display: grid; gap: 4px; }
.lm__read p { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.lm__read strong { min-width: 3.2ch; text-align: right; font-size: 1.5rem; font-weight: 400; color: var(--indigo); }
.lm__read .small { min-width: 5.2em; }
.lm__rx { color: var(--indigo); font-size: 1.1rem; margin-left: 6px; }
.lm__idx { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.lm__idx button { display: grid; gap: 2px; justify-items: center; padding: 8px 4px; border-radius: var(--r-m); }
.lm__idx button small { font-size: .72rem; font-weight: 500; opacity: .85; }
@media (max-width: 520px) { .lm__fig { grid-template-columns: minmax(0, 1fr); } .lm__read { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lm__read p { display: grid; } .lm__read strong { text-align: left; } .lm__idx { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Branch map ---------- */
.bmap__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bmap__regions { display: flex; flex-wrap: wrap; gap: 6px; }
.bsec .bmap__regions button { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.bsec .bmap__regions button:hover { border-color: #fff; }
.bsec .bmap__regions button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--indigo); }
.bmap__regions .chart { margin-left: 4px; color: var(--lime-on-ink); }
.bmap__regions button[aria-pressed="true"] .chart { color: var(--indigo); }
.bmap__find { display: flex; gap: 8px; flex: 1 1 360px; max-width: 520px; }
.bsec .bpick__search input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.bsec .bpick__search input::placeholder { color: rgba(255, 255, 255, .6); }
.bsec .bpick__search .ico { color: rgba(255, 255, 255, .7); }
.bmap__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 1000px) { .bmap__body { grid-template-columns: minmax(0, 1fr); } }
.bmap__view { position: relative; border-radius: var(--r-l); background: #1E2360; overflow: hidden; aspect-ratio: 4 / 3; }
.bmap__svg { width: 100%; height: 100%; touch-action: manipulation; }
.bmap__svg .grat { stroke: rgba(255, 255, 255, .06); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.bmap__svg .land { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bmap__svg .town { fill: rgba(255, 255, 255, .55); font: 600 12px var(--f); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.bmap__svg .ring { fill: none; stroke: var(--lime); stroke-width: 1; stroke-opacity: .5; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.bmap__svg .ringt { fill: var(--lime-on-ink); font: 400 11px var(--f-chart); }
.bmap__svg .me { fill: var(--lime); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.bmap__svg .dot { cursor: pointer; }
.bmap__svg .dot circle { fill: var(--indigo-200); stroke: var(--indigo-900); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: r .3s var(--ease), fill .3s var(--ease); }
.bmap__svg .dot.is-open circle { fill: var(--lime); }
.bmap__svg .dot.is-dim { opacity: .2; }
.bmap__svg .dot.is-sel circle { fill: #fff; stroke: var(--lime); stroke-width: 3; }
.bmap__svg .dot:focus-visible { outline: none; }
.bmap__svg .dot:focus-visible circle { stroke: #fff; stroke-width: 3; }
.bmap__status { position: absolute; left: 14px; bottom: 10px; margin: 0; color: rgba(255, 255, 255, .7); }
.bmap__side { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; min-height: 0; max-height: min(78vh, 640px); }
@media (max-width: 1000px) { .bmap__side { max-height: none; } }
.bmap__card { padding: 20px; border-radius: var(--r-l); background: #fff; color: var(--ink); }
.bmap__card h3 { margin: 0 0 4px; font-size: 1.4rem; }
.bmap__card p { margin: 0 0 8px; color: var(--mute); font-size: .95rem; }
.bmap__card .st { margin-bottom: 12px; }
.bmap__card .btns { gap: 8px; }
.bmap__list { list-style: none; margin: 0; padding: 4px; overflow: auto; border-radius: var(--r-l); background: rgba(255, 255, 255, .05); overscroll-behavior: contain; max-height: 460px; }
@media (max-width: 1000px) { .bmap__list { max-height: 360px; } }
.bmap__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 10px; border-radius: var(--r-m); }
.bmap__list li:hover, .bmap__list li.is-sel { background: rgba(255, 255, 255, .08); }
.bmap__list a { display: grid; padding: 10px 0; color: #fff; text-decoration: none; min-width: 0; }
.bmap__n { font-weight: 700; }
.bmap__m { font-size: .85rem; color: rgba(255, 255, 255, .65); }
.bmap__list .st { font-size: .8rem; white-space: nowrap; }
.bmap__list li[hidden] { display: none; }

/* ---------- Medical aid + offer ---------- */
.duo__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 900px) { .duo__grid { grid-template-columns: minmax(0, 1fr); } }
.duo__card { position: relative; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-l); overflow: hidden; }
.duo__card h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.duo__card--med { background: #fff; box-shadow: var(--sh-1); }
.duo__schemes { font-weight: 700; color: var(--indigo); line-height: 1.8; }
.duo__card--offer { background: var(--indigo); color: rgba(255, 255, 255, .86); }
.duo__card--offer h2 { color: #fff; max-width: 12ch; }
.duo__iris { position: absolute; right: -14%; bottom: -22%; width: 62%; opacity: .2; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .duo__iris { animation: none; } }

/* ---------- Technology ---------- */
.tech__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.tech__photo { margin: 0; border-radius: 50% 50% var(--r-l) var(--r-l) / 38% 38% var(--r-l) var(--r-l); overflow: hidden; }
.tech__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .tech__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Articles ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.pc__a { display: grid; gap: 10px; color: var(--ink); text-decoration: none; }
.pc__img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: var(--indigo-50); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d3) var(--ease); }
.pc__iris { width: 34%; transition: transform var(--d3) var(--ease); }
.pc__a:hover .pc__img img, .pc__a:hover .pc__iris { transform: scale(1.05); }
.pc__t { font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.pc__a:hover .pc__t { color: var(--indigo); }
.pc__x { color: var(--mute); font-size: .95rem; }
/* Map card sits on white inside the deep section */
.bsec .bmap__card h3 { color: var(--ink); }
.bsec .bmap__card .st { color: var(--mute); }
.bsec .bmap__card .st.is-open { color: var(--ok); }
.hero.is-static .hero__cue, .hero.is-static .hero__read, .hero.is-static .hero__inside { display: none; }

/* =========================================================================
   Pages
   ========================================================================= */

/* ---------- Page header ---------- */
.ph { padding: clamp(40px, 7vw, 104px) 0 clamp(36px, 5vw, 72px); }
.ph__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ph--photo .ph__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ph__h { margin-bottom: .35em; max-width: 14ch; }
.ph__h .hw { color: var(--indigo); }
.ph__h .hl { display: block; }
.ph .lead { margin-bottom: 24px; }
.ph__photo { margin: 0; border-radius: 50% 50% var(--r-l) var(--r-l) / 34% 34% var(--r-l) var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; }
.ph__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .ph--photo .ph__in { grid-template-columns: minmax(0, 1fr); } .ph__photo { aspect-ratio: 16 / 10; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.crumbs a { color: var(--mute); }

/* ---------- Booking ---------- */
.book { padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 8vw, 120px); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .book__grid { grid-template-columns: minmax(0, 1fr); } .book__sum { order: -1; } }
.book__h { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .2em; }
.book__h .hw { color: var(--indigo); }
.book__prog { display: flex; gap: 6px; list-style: none; margin: 28px 0; padding: 0; }
.book__prog li { flex: 1; display: grid; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--mute); }
.book__prog li::before { content: ""; height: 8px; border-radius: 4px; background: var(--line); transition: background var(--d2) var(--ease); }
.book__prog li.is-done::before, .book__prog li[aria-current]::before { background: var(--lime); }
.book__prog li[aria-current] { color: var(--ink); }
.book__prog .chart { display: none; }
.book__legend { padding: 0; margin: 0 0 18px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.book__step + .book__step { margin-top: 40px; }
.js .book.is-steps .book__step { display: none; }
.js .book.is-steps .book__step.is-on { display: block; animation: step-in var(--d2) var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.book__visits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 560px) { .book__visits { grid-template-columns: minmax(0, 1fr); } }
.book__where { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.book__where .field { margin-bottom: 0; }
.book__where .btn { min-height: 52px; }
@media (max-width: 560px) { .book__where { grid-template-columns: minmax(0, 1fr); } }
.book__branch { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-m); background: #fff; border: 1.5px solid var(--line); }
.book__branch h3 { margin: 0 0 2px; }
.book__branch p { margin: 0 0 6px; color: var(--mute); font-size: .95rem; }
.book__days { display: grid; grid-auto-flow: column; grid-auto-columns: 78px; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.book__day { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border: 1.5px solid var(--line-2); border-radius: var(--r-m); background: #fff; color: var(--ink); font: 600 .82rem/1.1 var(--f); cursor: pointer; scroll-snap-align: start; transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease); }
.book__day strong { font: 400 1.6rem/1 var(--f-chart); color: var(--indigo); }
.book__day:hover { border-color: var(--indigo); }
.book__day[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.book__day[aria-pressed="true"] strong { color: #fff; }
.book__day:disabled { opacity: .35; cursor: not-allowed; }
.book__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 16px; }
.book__times h4 { grid-column: 1 / -1; margin: 10px 0 0; color: var(--mute); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }
.book__time { min-height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: #fff; color: var(--ink); font: 400 1rem var(--f-chart); cursor: pointer; }
.book__time:hover { border-color: var(--indigo); }
.book__time[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--pupil); }
.book__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.book__nav [data-book-next], .book__nav [data-book-send] { margin-left: auto; }
.book__sum { position: sticky; top: calc(var(--top) + var(--hdr) + 24px); padding: 24px; border-radius: var(--r-l); background: var(--indigo-900); color: rgba(255, 255, 255, .8); }
.book__sum h2 { color: rgba(255, 255, 255, .7); margin: 0 0 14px; }
.book__sum dl { margin: 0 0 16px; display: grid; gap: 12px; }
.book__sum dt { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.book__sum dd { margin: 0; color: #fff; font-weight: 700; font-size: 1.08rem; }
.book__sum .small { color: rgba(255, 255, 255, .7); }
@media (max-width: 1000px) { .book__sum { position: static; padding: 16px 20px; } .book__sum dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } .book__sum .small { display: none; } .book__sum dd { font-size: .95rem; } }
@media (max-width: 520px) { .book__sum dl { grid-template-columns: minmax(0, 1fr); gap: 6px; } .book__sum dl div { display: flex; gap: 10px; align-items: baseline; } }
.book__done { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); }
.book__done:focus { outline: none; }
.book__iris { width: 84px; margin-bottom: 18px; }
.book__done h2 .hw { color: var(--indigo); }
.book__done .lead { max-width: 52ch; color: var(--ink); }

/* ---------- Branch page ---------- */
.br__head { padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.br__h { font-size: clamp(2.4rem, 6vw, 5.4rem); margin-bottom: .2em; max-width: 16ch; }
.br__h .hl { display: block; color: var(--indigo); font-size: .52em; letter-spacing: .02em; margin-bottom: .2em; }
.br__h .hw { display: block; }
.br__addr { max-width: 46ch; margin: 10px 0 22px; color: var(--mute); font-size: 1.08rem; }
.br__mine { margin-top: 18px; border: 0; background-color: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.br__photos { padding-bottom: 8px; }
.br__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 34%); gap: 14px; padding: 0 var(--gut) 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (max-width: 760px) { .br__strip { grid-auto-columns: 82%; } }
.br__ph { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; scroll-snap-align: start; background: var(--indigo-50); }
.br__ph img { width: 100%; height: 100%; object-fit: cover; }
.br__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.br__map { grid-column: 1 / -1; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 21 / 8; background: var(--indigo-50); }
.br__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .br__grid { grid-template-columns: minmax(0, 1fr); } .br__map { aspect-ratio: 4 / 3; } }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--indigo); }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--lime); vertical-align: middle; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343B97' stroke-width='3'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.br__contact { display: grid; gap: 10px; margin: 0; }
.br__contact dt { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--mute); }
.br__contact dd { margin: 0; font-weight: 600; }

.bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.bcard { position: relative; }
.bcard > a:first-child { height: 100%; display: grid; align-content: start; gap: 4px; padding: 18px 20px; padding-right: 64px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: #fff; color: var(--ink); text-decoration: none; transition: border-color var(--d1) var(--ease), transform var(--d1) var(--ease); }
.bcard > a:first-child:hover { border-color: var(--indigo); transform: translateY(-2px); }
.bcard__n { font-weight: 800; font-size: 1.15rem; }
.bcard__m { color: var(--mute); font-size: .9rem; }
.bcard .st { margin-top: 6px; font-size: .85rem; }
.bcard__tel { position: absolute; right: 12px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); }
.bcard__tel:hover { background: var(--lime); color: var(--pupil); }
.bcards--big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 32px; }
.bcards--big .bcard > a:first-child { padding-right: 20px; }
.bcard__img { display: block; margin: -6px -8px 12px; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.breg { padding-block: clamp(40px, 6vw, 80px) 0; }
.breg:last-of-type { padding-bottom: clamp(64px, 8vw, 120px); }
.breg h2 .hl { color: var(--indigo); }
.bsec--page { padding-block: clamp(32px, 5vw, 64px); }

/* ---------- Service ---------- */
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .svc__grid { grid-template-columns: minmax(0, 1fr); } }
.svc__big { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5; color: var(--ink); font-weight: 500; }
.svc__fig { margin: 0; border-radius: var(--r-l); overflow: hidden; max-height: 640px; }
.svc__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; max-height: 640px; }
.cta-band { padding-block: clamp(48px, 6vw, 88px); background: var(--indigo); }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__t { margin: 0; color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; }
.cta-band__t .hl { color: var(--lime-on-ink); }

/* ---------- Brands ---------- */
.blist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 80px); }
@media (max-width: 760px) { .blist { grid-template-columns: minmax(0, 1fr); } }
.blist li { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.blist__n { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 250; letter-spacing: -.02em; line-height: 1.1; }
.blist li:hover .blist__n { font-weight: 800; color: var(--indigo); }
.blist__n { transition: font-weight var(--d2) var(--ease), color var(--d2) var(--ease); }
.blist__d { color: var(--mute); }

/* ---------- Lens guide ---------- */
.lg { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 7vw, 100px); }
.lg__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .lg__grid { grid-template-columns: minmax(0, 1fr); } .lg__stage { order: -1; } }
.lg__h { font-size: clamp(2.6rem, 6vw, 5rem); }
.lg__h .hw { color: var(--indigo); }
.lg__group { margin: 22px 0; }
.lg__group .lbl { margin: 0 0 8px; font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.lg__coats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .lg__coats { grid-template-columns: minmax(0, 1fr); } }
.lg__coats .check { margin: 6px 0; color: var(--ink); }
.lg__coats .check span { color: var(--mute); font-size: .88rem; }
.lg__coats .check strong { color: var(--ink); font-size: .98rem; }
.lg__stage { position: sticky; top: calc(var(--top) + var(--hdr) + 16px); }
@media (max-width: 1000px) { .lg__stage { position: static; } }
.lg__view { position: relative; aspect-ratio: 1; border-radius: var(--r-l); background: radial-gradient(circle at 50% 42%, #fff, var(--indigo-50) 70%); overflow: hidden; }
.lg__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg__view .lm { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; background: rgba(255, 255, 255, .9); box-shadow: none; }
.lg__view .lm .field, .lg__view .lm .lm__idx, .lg__view .lm .lm__read { display: none; }
.lg__view .lm .lm__fig { margin: 0; grid-template-columns: minmax(0, 1fr); }
.lg.is-gl .lg__view .lm { opacity: .96; }
.lg__read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 8px; }
.lg__read div { padding: 14px 16px; border-radius: var(--r-m); background: #fff; }
.lg__read dt { font-size: .78rem; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; }
.lg__read dd { margin: 0; }
.lg__read strong { font-size: 1.7rem; font-weight: 400; color: var(--indigo); }
.lg__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .lg__cols { grid-template-columns: minmax(0, 1fr); } }
.lg__cols h2 { font-size: 2rem; }
.defs { margin: 0; display: grid; gap: 0; }
.defs > div { padding: 16px 0; border-top: 1px solid var(--line); }
.defs dt { font-weight: 800; margin-bottom: 4px; }
.defs dt .chart { color: var(--indigo); font-weight: 400; margin-right: 4px; }
.defs dd { margin: 0; color: var(--mute); }
.defs--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .defs--grid { grid-template-columns: minmax(0, 1fr); } }
.defs--grid dd strong { color: var(--ink); display: block; margin-top: 6px; }

/* ---------- Medical aid ---------- */
.med { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .med { grid-template-columns: minmax(0, 1fr); } }
.med__steps { margin-top: 0; }
.schemes { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.schemes li { padding: 14px 16px; border-radius: var(--r-m); background: #fff; border: 1.5px solid var(--line); font-weight: 700; color: var(--indigo); }
@media (max-width: 480px) { .schemes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Offer ---------- */
.offer { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 140px) 0; background: var(--indigo); color: rgba(255, 255, 255, .86); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .offer__grid { grid-template-columns: minmax(0, 1fr); } }
.offer h1 { color: #fff; max-width: 12ch; }
.offer .lead { color: rgba(255, 255, 255, .8); }
.offer__iris { width: 96px; margin-bottom: 24px; }
.offer__art { margin: 0; border-radius: var(--r-l); overflow: hidden; }

/* ---------- Pre-order ---------- */
.preo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .preo__grid { grid-template-columns: minmax(0, 1fr); } }
.preo h1 .hw { color: var(--indigo); }
.preo__models { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.preo__models li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.4rem; font-weight: 250; }
.card { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); }

/* ---------- Story ---------- */
.story__wide { margin: 0 0 clamp(40px, 6vw, 88px); height: clamp(260px, 50vw, 620px); overflow: hidden; }
.story__wide img { width: 100%; height: 100%; object-fit: cover; }
.story__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); padding-bottom: clamp(48px, 7vw, 100px); }
@media (max-width: 900px) { .story__cols { grid-template-columns: minmax(0, 1fr); } }
.member { max-width: 860px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.mybox { padding: 24px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); margin-bottom: 24px; }
.mybox__n { margin: 4px 0; font-size: 1.5rem; font-weight: 800; }

/* ---------- Prose, article, 404 ---------- */
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--r-m); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { position: relative; margin: 1.6em 0; padding-left: 1.4em; font-size: 1.3rem; font-weight: 300; line-height: 1.45; }
.prose blockquote::before { content: "\201C"; position: absolute; left: 0; top: -.15em; color: var(--lime-600); font-size: 2.6em; font-weight: 800; line-height: 1; }
.art__head { padding: clamp(36px, 6vw, 88px) var(--gut) 24px; }
.art__head h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.art__img { margin: 0 auto 40px; border-radius: var(--r-l); overflow: hidden; padding: 0; max-width: calc(var(--w)); }
.art__img img { width: 100%; max-height: 560px; object-fit: cover; }
.art__body { padding-bottom: 40px; }
.art__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(48px, 7vw, 100px); padding-top: 28px; border-top: 1px solid var(--line); }
.art__cta p { margin: 0; font-size: 1.6rem; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); text-decoration: none; }
.pager .current { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.nf { padding: clamp(64px, 12vw, 180px) 0; text-align: center; }
.nf__in { display: grid; justify-items: center; }
.nf__chart { margin: 0 0 12px; font-size: clamp(5rem, 18vw, 12rem); line-height: 1; color: var(--indigo); filter: blur(6px); letter-spacing: .1em; }
.nf .btns { justify-content: center; }

/* =========================================================================
   Motion: initial states live in CSS (keyed off .js), revealed by motion.js.
   ========================================================================= */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
/* Aperture reveal: photos open like an iris. */
.js .ap { clip-path: circle(0% at 50% 50%); transition: clip-path 1.2s var(--ease-io); }
.js .ap.is-in { clip-path: circle(75% at 50% 50%); }
.js .ap img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
.js .ap.is-in img { transform: scale(1); }
.js .no-motion .rv, .js .no-motion .ap { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
	.js .rv { transform: none; transition: opacity .5s ease; }
	.js .ap { clip-path: none; opacity: 0; transition: opacity .6s ease; }
	.js .ap.is-in { opacity: 1; }
	.js .ap img, .js .ap.is-in img { transform: none; }
	.marq__track { animation: none; }
}
/* Failsafe if the script never runs. */
.js.motion-failed .rv, .js.motion-failed .ap { opacity: 1; transform: none; clip-path: none; }

/* Lens guide overlay + small fixes (round 1 review) */
.lg__view .lm { left: 50%; right: auto; width: min(440px, calc(100% - 32px)); transform: translateX(-50%); padding: 8px 14px; }
.lg__view .lm__svg { max-height: 92px; }
.lg__group .hint { margin: 8px 0 0; }
.br__mine { padding: 0; }
