/* ==========================================================================
   AHJINI — site stylesheet
   Concept: the technical dossier. Navy ink on warm paper, mono spec labels,
   a licence rail on every page. AlgaClinic runs as a darker "publication".
   ========================================================================== */

:root {
  --ink: #0c1a44;
  --ink-2: #1b2f6b;
  --ink-3: #33467f;
  --paper: #f3f0e8;
  --paper-2: #e9e4d7;
  --chalk: #fbfaf6;
  --white: #ffffff;
  --muted: #5a627d;
  --line: rgba(12, 26, 68, .14);
  --line-strong: rgba(12, 26, 68, .32);
  --signal: #b9c62a;          /* the lime rule from the print brochures */
  --signal-ink: #5d6612;
  --alu-1: #e8eaee;
  --alu-2: #c3c8d1;
  --alu-3: #8e95a3;
  --alga-bg: #06130e;
  --alga-bg-2: #0d2219;
  --alga: #a7d34b;
  --alga-soft: #d9ecb0;
  --warn: #9a4a12;

  --f-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --f-body: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; }
.on-dark :focus-visible, .alga :focus-visible { outline-color: var(--alga); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; 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; background: var(--ink); color: var(--chalk); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.display, h1 { font-family: var(--f-display); font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.015em; }
h2, .h2 { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
h3, .h3 { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
h4 { font-family: var(--f-body); font-weight: 600; font-size: 17px; line-height: 1.35; }
em, .it { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--ink-3); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.small { font-size: 14.5px; line-height: 1.55; }
.muted { color: var(--muted); }
.mono, .label, .kicker { font-family: var(--f-mono); }
.label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--signal-ink); font-weight: 500; margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--signal); }
.on-dark .kicker, .alga .kicker { color: var(--alga); }
.on-dark .kicker::before { background: var(--signal); }
.alga .kicker::before { background: var(--alga); }
.source { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.6; color: var(--muted); letter-spacing: .02em; }
.on-dark .source, .alga .source { color: rgba(251, 250, 246, .55); }
sup { font-size: .6em; }

/* ---------- Licence rail ---------- */
.rail { background: var(--ink); color: rgba(251, 250, 246, .78); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; }
.rail .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.rail-items { display: flex; gap: 22px; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.rail-items span b { color: var(--chalk); font-weight: 500; }
.rail-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 8px; box-shadow: 0 0 0 3px rgba(185, 198, 42, .18); vertical-align: 1px; }
.rail a { color: var(--chalk); text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(251, 250, 246, .35); }
.rail a:hover { border-color: var(--signal); }
@media (max-width: 720px) { .rail-items span:nth-child(n+3) { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 240, 232, .9); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--f-display); font-size: 31px; line-height: 1; letter-spacing: -.005em; }
.brand-sub { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 99px; color: var(--ink-2); transition: background .2s; }
.nav a:hover { background: rgba(12, 26, 68, .06); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 106px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; gap: 0; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--signal-ink); }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 13px 22px; border-radius: 99px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; line-height: 1.2; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--chalk); }
.btn-primary:hover { background: var(--ink-2); }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: #cad83a; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost, .alga .btn-ghost { border-color: rgba(251, 250, 246, .35); color: var(--chalk); }
.on-dark .btn-ghost:hover, .alga .btn-ghost:hover { border-color: var(--chalk); }
.nav .btn-primary { padding: 10px 18px; font-size: 14.5px; color: var(--chalk); }
.nav .btn-primary:hover { background: var(--ink-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--signal); padding-bottom: 2px; }
.textlink:hover { border-color: var(--ink); }
.on-dark .textlink:hover, .alga .textlink:hover { border-color: var(--chalk); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 88px) 0; }
.sec + .sec.bordered, .bordered { border-top: 1px solid var(--line); }
.on-dark { background: var(--ink); color: var(--chalk); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: #b6c1e6; }
.on-dark .lede { color: rgba(251, 250, 246, .82); }
.on-dark .muted { color: rgba(251, 250, 246, .62); }
.chalk { background: var(--chalk); }
.paper-2 { background: var(--paper-2); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head > :last-child { padding-bottom: 6px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

.sectno { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); display: block; margin-bottom: 18px; }
.on-dark .sectno, .alga .sectno { color: rgba(251, 250, 246, .5); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.rev { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 120px; }
@media (max-width: 900px) { .sticky-col { position: static; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 12.5em; }
.page-hero .lede { margin-top: 28px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; opacity: .5; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.hero-meta > div { padding: 16px 32px 0 0; margin-right: 32px; }
.hero-meta .label { color: var(--muted); display: block; margin-bottom: 4px; }
.hero-meta b { font-weight: 500; }

/* ---------- Home hero ---------- */
.home-hero { padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; }
.home-hero h1 { font-size: clamp(48px, 8.4vw, 128px); max-width: 11em; }
.home-hero h1 .ln { display: block; }
.home-hero h1 .ln-3 { color: var(--ink-3); font-style: italic; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 40px; }
.hero-row .lede { margin: 0; }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; } }
.plate { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.plate-img { position: relative; overflow: hidden; background: #111; aspect-ratio: 21 / 9; }
.plate-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.plate.in .plate-img img { transform: scale(1); }
.plate-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 26, 68, 0) 55%, rgba(12, 26, 68, .55)); }
@media (max-width: 680px) { .plate-img { aspect-ratio: 4 / 3; } }
.plate-cap { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--chalk); text-transform: uppercase; }
.tag i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--signal); background: rgba(12, 26, 68, .6); box-shadow: 0 0 0 6px rgba(185, 198, 42, .2); animation: pulse 2.6s infinite; }
.tag span { background: rgba(12, 26, 68, .78); padding: 6px 10px; backdrop-filter: blur(6px); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(185, 198, 42, .25); } 50% { box-shadow: 0 0 0 10px rgba(185, 198, 42, 0); } }
@media (max-width: 680px) { .tag.t2, .tag.t3 { display: none; } }

/* ---------- Proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.proof > div { padding: 36px 24px 32px 0; border-right: 1px solid var(--line); }
.proof > div + div { padding-left: 24px; }
.proof > div:last-child { border-right: 0; }
.fig { font-family: var(--f-display); font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; display: block; }
.fig small { font-size: .42em; letter-spacing: 0; margin-left: 4px; color: var(--ink-3); }
.proof .label { display: block; margin-top: 12px; color: var(--ink-2); }
.proof p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(2) { border-right: 0; } .proof > div:nth-child(3) { padding-left: 0; } .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.proof-note { padding: 14px 0 0; }

/* ---------- Wedge columns ---------- */
.wedge { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.wedge > article { padding: 32px 32px 8px 0; }
.wedge > article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.wedge .n { font-family: var(--f-mono); font-size: 12px; color: var(--signal-ink); letter-spacing: .12em; }
.wedge h3 { margin: 18px 0 14px; }
.wedge p { color: var(--ink-2); font-size: 16px; }
.wedge .icon { width: 56px; height: 56px; margin-top: 22px; }
@media (max-width: 900px) { .wedge { grid-template-columns: 1fr; } .wedge > article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- BOV diagram ---------- */
.bov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .bov { grid-template-columns: 1fr; } }
.bov-stage { position: relative; background: var(--chalk); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.on-dark .bov-stage { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
.bov-stage svg { width: 100%; max-height: 620px; margin: 0 auto; }
.bov-modes { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 99px; margin-bottom: 18px; }
.on-dark .bov-modes { border-color: rgba(255, 255, 255, .25); }
.bov-modes button { background: none; border: 0; padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; cursor: pointer; color: inherit; opacity: .7; }
.bov-modes button[aria-pressed="true"] { background: var(--ink); color: var(--chalk); opacity: 1; }
.on-dark .bov-modes button[aria-pressed="true"] { background: var(--signal); color: var(--ink); }
.bov-control { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bov-control output { min-width: 4ch; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-strong); outline-offset: 8px; }
.on-dark input[type=range] { background: rgba(255, 255, 255, .3); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); border: 3px solid var(--ink); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--signal); border: 3px solid var(--ink); cursor: grab; }
.bov-facts { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.bov-facts li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.on-dark .bov-facts li { border-color: rgba(255, 255, 255, .14); }
.bov-facts li::before { counter-increment: f; content: "0" counter(f); font-family: var(--f-mono); font-size: 12px; color: var(--signal); padding-top: 4px; }
.bov-facts h4 { margin-bottom: 4px; }
.bov-facts p { margin: 0; font-size: 15.5px; opacity: .82; }
.bov-flag { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; margin-left: 8px; vertical-align: 2px; }
.flag-ok { background: rgba(185, 198, 42, .18); color: var(--signal-ink); }
.on-dark .flag-ok { color: var(--signal); }
.flag-warn { background: rgba(154, 74, 18, .12); color: var(--warn); }
.on-dark .flag-warn { color: #f0a46c; background: rgba(240, 164, 108, .12); }
#bov-svg .gas-dot { transition: opacity .3s; }
#bov-svg .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.spray-p { animation: spray 1.2s linear infinite; opacity: 0; }
@keyframes spray { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }

/* ---------- Cards & tiles ---------- */
.card { background: var(--chalk); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); position: relative; }
.card h3 { margin-bottom: 12px; }
.card .label { color: var(--signal-ink); display: block; margin-bottom: 14px; }
a.card { text-decoration: none; display: block; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 40px -24px rgba(12, 26, 68, .35); }
.card .more { margin-top: 18px; display: inline-flex; gap: 8px; font-weight: 600; font-size: 15px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: block; text-decoration: none; background: var(--chalk); border: 1px solid var(--line); cursor: pointer; text-align: left; padding: 0; width: 100%; transition: border-color .25s, transform .35s var(--ease); }
.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--alu-1); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.035); }
.tile-body { padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.tile-body .label { color: var(--muted); grid-column: 1 / -1; font-size: 10.5px; }
.tile-body b { font-weight: 600; font-size: 16px; }
.tile-body .vol { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); }
.tile-body .kind { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.tile.hide { display: none; }
.tiles.band .tile-img { aspect-ratio: 1 / 1; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { background: transparent; border: 1px solid var(--line-strong); padding: 9px 16px; border-radius: 99px; cursor: pointer; font-size: 14.5px; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.filters button .ct { font-family: var(--f-mono); font-size: 11px; opacity: .6; margin-left: 6px; }
.caption-rule { font-family: var(--f-mono); font-size: 12.5px; padding: 14px 18px; border-left: 2px solid var(--signal); background: var(--chalk); margin-bottom: 32px; color: var(--ink-2); line-height: 1.6; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 32, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.open { display: flex; }
.lb-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); max-width: 1100px; width: 100%; background: var(--chalk); max-height: calc(100vh - 48px); overflow: auto; }
.lb-inner img { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; background: var(--alu-1); }
.lb-text { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.lb-text .label { color: var(--signal-ink); }
.lb-close { position: absolute; top: 18px; right: 18px; background: var(--chalk); border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.lb-nav { display: flex; gap: 8px; margin-top: auto; }
.lb-nav button { background: none; border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
@media (max-width: 760px) { .lb-inner { grid-template-columns: 1fr; } .lb-inner img { max-height: 50vh; } }

/* ---------- Licence card ---------- */
.licence { container-type: inline-size; position: relative; background: var(--chalk); border: 1px solid var(--ink); padding: clamp(24px, 3.4vw, 48px); overflow: hidden; }
.licence::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.licence-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.licence-no { font-family: var(--f-display); font-size: clamp(56px, 8vw, 112px); line-height: .9; letter-spacing: -.02em; }
.licence-no .cn { display: block; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--muted); margin-top: 10px; }
.seal { width: 112px; height: 112px; flex: none; }
.licence dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.licence dl > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.licence dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.licence dd { margin: 0; font-weight: 500; font-size: 15.5px; line-height: 1.4; word-break: break-word; }
.licence dl .wide { grid-column: span 2; }
.licence dl .full { grid-column: 1 / -1; }
@media (max-width: 860px) { .licence dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .licence dl { grid-template-columns: 1fr; } .licence dl .wide { grid-column: auto; } .seal { width: 80px; height: 80px; } }
.units { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; }
.units > div { padding: 18px 18px 18px 0; border-top: 2px solid var(--ink); }
.units > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.units h4 { font-size: 15px; }
.units p { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.hash { font-family: var(--f-mono); color: var(--signal-ink); font-weight: 600; }
@media (max-width: 760px) { .units { grid-template-columns: 1fr; } .units > div + div { padding-left: 0; border-left: 0; } }

.copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border: 1px dashed var(--line-strong); background: var(--chalk); font-family: var(--f-mono); font-size: 14px; margin: 10px 0 0; }
.copyrow code { font-family: inherit; font-weight: 500; flex: 1 1 auto; word-break: break-all; }
.copy { background: var(--ink); color: var(--chalk); border: 0; padding: 7px 12px; border-radius: 99px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.copy.ok { background: var(--signal); color: var(--ink); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th, .table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--ink); }
.table td:first-child { font-weight: 600; width: 22%; }
.on-dark .table th, .on-dark .table td { border-color: rgba(255, 255, 255, .14); }
.on-dark .table th { color: rgba(251, 250, 246, .55); border-bottom-color: rgba(255, 255, 255, .5); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .table-stack thead { display: none; } .table-stack tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; } .table-stack td { display: block; border: 0; padding: 4px 0; width: auto !important; } .table-stack td[data-h]::before { content: attr(data-h); display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } }

/* Broker vs plant */
.vs { border: 1px solid var(--line); background: var(--chalk); }
.vs-toggle { display: flex; border-bottom: 1px solid var(--line); }
.vs-toggle button { flex: 1; background: none; border: 0; padding: 16px; font-weight: 600; cursor: pointer; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; }
.vs-toggle button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--signal); background: var(--white); }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); align-items: baseline; }
.vs-row:last-child { border-bottom: 0; }
.vs-row .q { font-weight: 600; }
.vs-row .a { font-family: var(--f-display); font-size: 22px; line-height: 1.2; transition: opacity .25s; }
.vs[data-side="broker"] .a { color: var(--muted); font-style: italic; }
@media (max-width: 560px) { .vs-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-strong); }
.on-dark .process::before { background: rgba(255, 255, 255, .25); }
.process > div { position: relative; padding-right: 28px; }
.process .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--ink); font-family: var(--f-mono); font-size: 13px; position: relative; z-index: 1; margin-bottom: 22px; }
.on-dark .process .dot { background: var(--ink); border-color: var(--signal); color: var(--signal); }
.process h4 { margin-bottom: 8px; font-size: 18px; }
.process p { font-size: 15px; opacity: .85; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; gap: 36px 0; } .process::before { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Spec list ---------- */
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 500; }
.on-dark .spec, .alga .spec { border-top-color: rgba(255, 255, 255, .5); }
.on-dark .spec > div, .alga .spec > div { border-color: rgba(255, 255, 255, .14); }
.on-dark .spec dt, .alga .spec dt { color: rgba(251, 250, 246, .55); }
@media (max-width: 520px) { .spec > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Figures / images ---------- */
figure { margin: 0; }
figcaption { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); padding-top: 10px; letter-spacing: .03em; line-height: 1.5; }
.on-dark figcaption, .alga figcaption { color: rgba(251, 250, 246, .55); }
.ph { background: var(--alu-1); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ar-1 { aspect-ratio: 1; } .ar-43 { aspect-ratio: 4/3; } .ar-34 { aspect-ratio: 3/4; } .ar-169 { aspect-ratio: 16/9; } .ar-21 { aspect-ratio: 2/1; }

/* Caps strip */
.caps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.caps > figure { padding: 18px 16px 8px 0; }
.caps > figure + figure { padding-left: 16px; border-left: 1px solid var(--line); }
.caps .ph { background: var(--white); aspect-ratio: 5/3; }
.caps .ph img { object-fit: contain; }
.caps .label { color: var(--signal-ink); display: block; margin: 14px 0 4px; }
.caps h4 { font-size: 15.5px; }
.caps p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(3, 1fr); } .caps > figure:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr 1fr; } .caps > figure:nth-child(3), .caps > figure:nth-child(5) { padding-left: 0; border-left: 0; } .caps > figure:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--line); } }

/* Note / callout */
.note { border-left: 2px solid var(--signal); padding: 18px 22px; background: var(--chalk); font-size: 15.5px; }
.note .label { display: block; color: var(--signal-ink); margin-bottom: 6px; }
.on-dark .note { background: rgba(255, 255, 255, .05); }
.alga .note { background: rgba(167, 211, 75, .06); border-color: var(--alga); }
.alga .note .label { color: var(--alga); }
.note.warn { border-color: var(--warn); }
.note.warn .label { color: var(--warn); }

/* Check lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--signal-ink); border-bottom: 2px solid var(--signal-ink); transform: rotate(-45deg); }
.ticks.no li::before { border: 0; width: 12px; height: 2px; background: var(--warn); transform: none; top: 23px; }
.on-dark .ticks li { border-color: rgba(255, 255, 255, .14); }
.on-dark .ticks li::before { border-color: var(--signal); }

/* ---------- AlgaClinic publication ---------- */
.alga { background: var(--alga-bg); color: #eef3e6; }
.alga h1 em, .alga h2 em, .alga h3 em { color: var(--alga); }
.alga .lede { color: rgba(238, 243, 230, .82); }
.alga .muted { color: rgba(238, 243, 230, .6); }
.alga-mast { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(167, 211, 75, .25); color: rgba(238, 243, 230, .7); flex-wrap: wrap; }
.bars { display: grid; gap: 18px; }
.bar { display: grid; grid-template-columns: minmax(130px, 190px) 1fr 92px; gap: 16px; align-items: center; }
.bar .t { font-size: 14.5px; line-height: 1.3; }
.bar .t small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-top: 2px; }
.bar .track { height: 30px; background: rgba(255, 255, 255, .06); position: relative; }
.bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--alga); transition: width 1.4s var(--ease); }
.bar .fill.neg { background: linear-gradient(90deg, var(--alga), #6f9c2a); }
.bar .v { font-family: var(--f-display); font-size: 30px; text-align: right; line-height: 1; }
.bars.in .fill { width: var(--w); }
.light .bar .track { background: var(--paper-2); }
.light .bar .fill { background: var(--ink-2); }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr 56px; } .bar .track { grid-column: 1 / -1; grid-row: 2; } }
.big-stat { font-family: var(--f-display); font-size: clamp(72px, 11vw, 168px); line-height: .85; letter-spacing: -.03em; color: var(--alga); }
.grade { border: 1px solid rgba(167, 211, 75, .3); padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, .02); }
.grade .label { color: var(--alga); display: block; margin-bottom: 12px; }
.grade h3 { margin-bottom: 14px; }
.alga .table th, .alga .table td { border-color: rgba(255, 255, 255, .12); }
.alga .table th { color: rgba(238, 243, 230, .55); border-bottom-color: rgba(167, 211, 75, .5); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid rgba(167, 211, 75, .4); }
.timeline li { padding: 0 0 26px 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--alga); }
.timeline .label { color: var(--alga); display: block; margin-bottom: 4px; }

/* Ingredient (ANBITUO) */
.roots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
@media (max-width: 860px) { .roots { grid-template-columns: 1fr 1fr; } }
.root { background: var(--chalk); border: 1px solid var(--line); }
.root .ph { aspect-ratio: 1; }
.root div.b { padding: 16px 18px 20px; }
.root .pct { font-family: var(--f-display); font-size: 40px; line-height: 1; color: #8a5a17; }
.root h4 { margin: 8px 0 2px; }
.root .inci { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.root p { font-size: 14px; margin: 10px 0 0; color: var(--ink-2); }
.stack { display: flex; height: 40px; margin-top: 18px; font-family: var(--f-mono); font-size: 11px; }
.stack span { display: grid; place-items: center; color: #fff; overflow: hidden; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }

/* Collections */
.coll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
.coll .ph { min-height: 380px; }
.coll .txt { padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.coll.jina { background: #12261d; color: #f2ede2; }
.coll.zhao { background: #efe9dd; color: #1d2a22; }
.coll .label { opacity: .7; display: block; margin-bottom: 18px; }
.coll h3 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 18px; }
.scent-row { display: flex; gap: 8px; margin: 22px 0; flex-wrap: wrap; }
.scent-row span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; padding: 6px 10px; border: 1px solid rgba(29, 42, 34, .25); }
@media (max-width: 860px) { .coll { grid-template-columns: 1fr; } .coll.zhao .ph { order: -1; } }
.coll .btn-ghost { align-self: flex-start; }
.coll.jina .btn-ghost { color: #f2ede2; border-color: rgba(242, 237, 226, .4); }

/* ---------- Form ---------- */
.brief { background: var(--chalk); border: 1px solid var(--ink); }
.brief-steps { display: flex; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; overflow-x: auto; }
.brief-steps span { flex: 1; padding: 14px 18px; color: var(--muted); border-right: 1px solid var(--line); white-space: nowrap; }
.brief-steps span:last-child { border-right: 0; }
.brief-steps span.on { color: var(--ink); background: var(--white); box-shadow: inset 0 -2px 0 var(--signal); }
.brief-steps span.done { color: var(--signal-ink); }
.brief form { padding: clamp(22px, 3.4vw, 44px); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step { display: none; }
.step.on { display: block; animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 8px; padding: 0; }
.step .hint { color: var(--muted); margin-bottom: 26px; font-size: 15.5px; }
.field { margin-bottom: 22px; }
.field > label, .field > .flabel { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.field > label .opt, .flabel .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }
input[type=text], input[type=email], input[type=tel], input[type=month], input[type=number], select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); border-radius: var(--radius); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink-2); outline-offset: 0; border-color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 99px; cursor: pointer; font-size: 14.5px; background: var(--white); transition: .15s; user-select: none; }
.chips input:checked + span { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.err { color: var(--warn); font-size: 14px; margin-top: 8px; display: none; }
.err.show { display: block; }
.file-drop { display: block; border: 1px dashed var(--line-strong); padding: 22px; text-align: center; cursor: pointer; background: var(--white); font-size: 14.5px; color: var(--muted); }
.file-drop input { display: block; margin: 10px auto 0; font-size: 13px; }
.summary { background: var(--paper); padding: 18px 20px; font-family: var(--f-mono); font-size: 13px; white-space: pre-wrap; line-height: 1.7; border: 1px solid var(--line); }
.done-panel { text-align: left; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }

.promise { border-top: 2px solid var(--ink); }
.promise li { padding: 14px 0; border-bottom: 1px solid var(--line); list-style: none; display: grid; grid-template-columns: 34px 1fr; }
.promise ol { padding: 0; margin: 0; counter-reset: p; }
.promise li::before { counter-increment: p; content: counter(p, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--signal-ink); padding-top: 3px; }

/* Contact card */
.person { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person .av { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--chalk); display: grid; place-items: center; font-family: var(--f-display); font-size: 28px; }
.person b { display: block; font-size: 17px; }
.person .label { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--chalk); padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(44px, 7vw, 104px); max-width: 10em; }
.cta-band .lede { color: rgba(251, 250, 246, .8); margin: 26px 0 36px; }
.cta-band .ring { position: absolute; right: -140px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); opacity: .14; pointer-events: none; }
@media (max-width: 760px) { .cta-band .ring { width: 360px; height: 360px; right: -160px; } }

/* ---------- Footer ---------- */
.site-footer { background: #08132f; color: rgba(251, 250, 246, .72); padding: 72px 0 28px; font-size: 14.5px; }
.site-footer a { text-decoration: none; color: rgba(251, 250, 246, .85); }
.site-footer a:hover { color: var(--signal); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 32px; }
.foot-grid h5 { margin: 0 0 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 250, 246, .45); font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-id { border: 1px solid rgba(255, 255, 255, .14); padding: 22px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; }
.foot-id b { color: var(--chalk); font-weight: 500; }
.foot-id .brand-word { color: var(--chalk); font-size: 28px; display: block; margin-bottom: 10px; font-family: var(--f-display); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--f-mono); font-size: 11.5px; color: rgba(251, 250, 246, .45); }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-id { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

/* misc */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: 88px; }
.mb-0 { margin-bottom: 0; } .mb-m { margin-bottom: 32px; }
.center { text-align: center; }
.maxw { max-width: 40em; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 99px; }
.legal h2 { font-size: 32px; margin: 48px 0 14px; }
.legal p, .legal li { max-width: 44em; color: var(--ink-2); }

/* ---------- BOV SVG paint ---------- */
#bov-svg .alu { fill: url(#bov-alu); stroke: var(--ink); stroke-width: 1.2; }
#bov-svg .cavity { fill: #eef1f6; stroke: rgba(12, 26, 68, .25); }
#bov-svg .gas-dot { fill: #6f86c9; }
#bov-svg .gas-dot.lpg { fill: #d9822b; }
#bov-svg #bov-liquid { fill: rgba(217, 160, 60, .32); }
#bov-svg #bov-bubbles circle { fill: #d9822b; opacity: .8; }
#bov-svg #bov-dip { stroke: #7d8594; stroke-width: 3; stroke-linecap: round; }
#bov-svg .bag { fill: none; stroke: #6e7686; stroke-width: 2.2; stroke-linejoin: round; transition: d .2s; }
#bov-svg .formula { fill: rgba(185, 198, 42, .5); }
#bov-svg #bov-arrows path { fill: none; stroke: #3b57a8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#bov-svg .cup { fill: #c9ced6; stroke: var(--ink); stroke-width: 1; }
#bov-svg .stem { fill: #8e95a3; }
#bov-svg .leader { fill: none; stroke: var(--ink); stroke-width: .7; }
#bov-svg .leader-dot { fill: var(--ink); }
#bov-svg .lbl { fill: var(--ink); }
#bov-svg #bov-spray { transition: opacity .4s; }
#bov-svg .spray-p { fill: #6f86c9; }
.bov-stage .spec dd { font-size: 15px; }

@container (max-width: 680px) {
  .seal { display: none; }
  .licence-no { font-size: clamp(48px, 16cqi, 96px); }
  .licence dl { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 420px) { .licence dl { grid-template-columns: 1fr; } .licence dl .wide { grid-column: auto; } }

/* grid children may shrink below their content width (prevents mobile overflow) */
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .bov > *, .sec-head > * { min-width: 0; }
@media (max-width: 600px) {
  #bov-svg .lbl { font-size: 14px; letter-spacing: .04em; }
  .brief-steps span { padding: 12px 12px; }
}

/* Upright accents: headings keep their colour accent but are never italic */
h1 em, h2 em, h3 em, .home-hero h1 .ln-3, .it, .vs[data-side="broker"] .a { font-style: normal; }

/* Licence certificates */
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 760px) { .certs { grid-template-columns: 1fr; } }
.cert { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); padding: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.cert:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(12, 26, 68, .45); }
.cert img { width: 100%; aspect-ratio: 1415 / 1000; object-fit: cover; }
.cert .cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 4px 4px; }
.cert .cap b { font-weight: 600; }
.cert .cap .label { color: var(--signal-ink); }
.cert-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.cert-thumbs a { display: block; border: 1px solid var(--line-strong); background: var(--white); padding: 6px; }
.cert-thumbs img { aspect-ratio: 1415 / 1000; object-fit: cover; width: 100%; }
.cert-thumbs span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 2px 2px; }

/* ---------- Display type: Playfair Display (matches the print brochures) ---------- */
h1, h2, h3, .display, .h2, .h3, .fig, .licence-no, .big-stat, .brand-word, .step legend, .vs-row .a, .bar .v, .root .pct, .person .av {
  font-variant-numeric: lining-nums proportional-nums;
  font-style: normal;
}
.display, h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.06; letter-spacing: -.02em; font-weight: 500; }
.home-hero h1 { font-size: clamp(42px, 6.8vw, 100px); line-height: 1.04; }
h2, .h2 { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -.015em; font-weight: 500; }
h3, .h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.22; letter-spacing: -.005em; font-weight: 500; }
.cta-band h2 { font-size: clamp(38px, 5.6vw, 80px); }
.fig { font-size: clamp(38px, 4.2vw, 60px); letter-spacing: -.02em; font-weight: 500; }
.licence-no { font-size: clamp(48px, 6.4vw, 92px); font-weight: 500; letter-spacing: -.02em; }
.big-stat { font-size: clamp(64px, 9vw, 136px); font-weight: 500; }
.brand-word { font-size: 27px; font-weight: 500; letter-spacing: -.01em; }
.coll h3 { font-size: clamp(32px, 3.4vw, 48px); }
.vs-row .a { font-size: 19px; }
.bar .v { font-size: 25px; }
.root .pct { font-size: 34px; }
.step legend { font-size: clamp(24px, 2.6vw, 34px); }
.legal h2 { font-size: 28px; }
h1 em, h2 em, h3 em { font-weight: 400; }

/* ---------- AlgaClinic photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: clamp(220px, 24vw, 340px) clamp(220px, 24vw, 340px) clamp(150px, 15vw, 220px); gap: 10px; }
.mosaic figure { position: relative; overflow: hidden; margin: 0; background: #0b1a12; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px; background: linear-gradient(180deg, transparent, rgba(4, 14, 9, .86)); color: #eef3e6; font-family: var(--f-body); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.mosaic figcaption .n { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--alga); margin-bottom: 4px; font-weight: 500; }
.mosaic .m-a { grid-column: 1; grid-row: 1 / 3; }
.mosaic .m-b { grid-column: 2; grid-row: 1; }
.mosaic .m-c { grid-column: 2; grid-row: 2; }
.mosaic .m-d { grid-column: 1 / -1; grid-row: 3; }
.mosaic .m-d img { object-position: 50% 40%; }
.mosaic .m-a figcaption { font-size: 19px; padding: 64px 28px 24px; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic .m-a, .mosaic .m-b, .mosaic .m-c, .mosaic .m-d { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic .m-d { aspect-ratio: 16 / 7; }
}

/* ---------- Header: logo left · links centred · CTA right ---------- */
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-header .brand { justify-self: start; }
.site-header .nav { justify-self: center; }
.header-cta { justify-self: end; padding: 10px 18px; font-size: 14.5px; }
.nav-mobile-cta { display: none !important; }
@media (max-width: 1020px) {
  .site-header .wrap { display: flex; justify-content: space-between; }
  .header-cta { display: none; }
  .nav-mobile-cta { display: inline-flex !important; }
}

/* keyword label inside the H1 (SEO) — looks identical to the old kicker */
h1 > .kicker { display: flex; width: fit-content; font-family: var(--f-mono); font-size: 12px; line-height: 1.4; letter-spacing: .16em; font-weight: 500; text-transform: uppercase; margin-bottom: 22px; color: var(--signal-ink); }
.alga h1 > .kicker { color: var(--alga); }

/* FAQ */
.faqs { border-top: 1px solid var(--ink); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 17.5px; line-height: 1.4; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--f-mono); font-size: 24px; font-weight: 400; color: var(--signal-ink); transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-a { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 52em; }
details.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Video ---------- */
.vid-frame { position: relative; overflow: hidden; background: #0b1530; }
.vid-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-916 { aspect-ratio: 9 / 16; }
.vid-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(12, 26, 68, .78); color: var(--chalk); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; backdrop-filter: blur(6px); }
.vid-tag i { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .25); animation: pulse 2s infinite; }
.vid-btn { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(12, 26, 68, .78); color: var(--chalk); cursor: pointer; display: grid; place-items: center; font-size: 13px; backdrop-filter: blur(6px); }
.vid-btn:hover { background: var(--ink); }
.vid-split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.vid-split > * { min-width: 0; }
@media (max-width: 760px) { .vid-split { grid-template-columns: 1fr; } .vid-split .vid { max-width: 340px; margin: 0 auto; width: 100%; } }

/* ---------- Brand: real logo + bold "Hong Kong" ---------- */
.site-header .wrap { height: 80px; }
.brand { gap: 14px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-hk { font-family: var(--f-body); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--ink); line-height: 1.1; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1021px) { .brand-logo { height: 34px; } .brand-hk { font-size: 13px; padding-left: 10px; } .nav a { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 1020px) { .nav { inset: 114px 0 auto 0; } }
@media (max-width: 420px) { .brand-logo { height: 30px; } .brand-hk { font-size: 12px; padding-left: 10px; letter-spacing: .1em; } }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; }
.foot-logo img { height: 34px; width: auto; }
.foot-logo b { color: var(--ink) !important; font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-left: 2px solid var(--ink); padding-left: 12px; }

/* ---------- Home hero: OEM / ODM / OBM panel ---------- */
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-top h1 { font-size: clamp(42px, 6vw, 92px); }
.models { border-top: 2px solid var(--ink); background: var(--chalk); box-shadow: 0 24px 48px -32px rgba(12, 26, 68, .35); }
.models-h { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 14px 20px 10px; }
.model { display: grid; grid-template-columns: 64px 1fr 18px; gap: 12px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .2s; }
.model:hover { background: var(--white); }
.model b { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: .01em; color: var(--ink); }
.model span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.model strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.model i { font-style: normal; color: var(--signal-ink); transition: transform .2s var(--ease); }
.model:hover i { transform: translateX(4px); }
@media (max-width: 980px) { .hero-top { grid-template-columns: 1fr; } .models { max-width: 560px; } }

/* five-figure proof strip */
.proof.five { grid-template-columns: repeat(5, 1fr); }
.proof.five > div { padding-right: 18px; }
.proof.five > div + div { padding-left: 18px; }
.proof.five .fig { font-size: clamp(34px, 3.4vw, 52px); }
@media (max-width: 980px) {
  .proof.five { grid-template-columns: 1fr 1fr; }
  .proof.five > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .proof.five > div:nth-child(odd):not(:first-child) { border-right: 1px solid var(--line); }
  .proof.five > div:first-child { grid-column: 1 / -1; }
  .proof.five > div:nth-child(even) { padding-left: 18px !important; border-left: 0; }
  .proof.five > div:nth-child(even) { border-right: 1px solid var(--line); }
  .proof.five > div:nth-child(odd):not(:first-child) { padding-left: 18px !important; border-right: 0; }
}

/* ---------- 11 product categories ---------- */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.cats > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--chalk); }
.cats > li > *:not(a), .cats > li > a { display: block; }
.cats > li { padding: 22px 22px 20px; position: relative; display: flex; flex-direction: column; }
.cats > li > a { margin: -22px -22px -20px; padding: 22px 22px 20px; text-decoration: none; color: inherit; height: calc(100% + 42px); display: flex; flex-direction: column; transition: background .2s; }
.cats > li > a:hover { background: var(--white); }
.cats .n { font-family: var(--f-mono); font-size: 12px; color: var(--signal-ink); letter-spacing: .1em; }
.cats h3 { font-size: 21px; margin: 10px 0 6px; }
.cats p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.45; }
.cats .u { margin-top: auto; align-self: flex-start; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-strong); color: var(--ink-3); }
.cats .u-hash { border-color: var(--signal); color: var(--signal-ink); background: rgba(185, 198, 42, .1); }
.cats-cta, .cats-cta > a { background: var(--ink) !important; color: var(--chalk); }
.cats-cta h3, .cats-cta p { color: var(--chalk); }
.cats-cta .n { color: var(--signal); }
.cats-cta .u { border-color: var(--signal); color: var(--signal); }
.cats-cta > a:hover { background: var(--ink-2) !important; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .cats { grid-template-columns: 1fr; } }

/* ---------- History ---------- */
.licence-hist { margin: 14px 0 0; font-size: 14.5px; max-width: 34em; color: var(--ink-2); }
.licence-hist a { color: var(--ink); font-weight: 600; }
.timeline-h { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.timeline-h li { position: relative; padding: 26px 20px 0 0; }
.timeline-h li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--ink); }
.timeline-h li.now::before { background: var(--signal); }
.timeline-h .yr { font-family: var(--f-display); font-size: 30px; font-weight: 500; display: block; }
.timeline-h h4 { margin: 6px 0 6px; }
.timeline-h p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .timeline-h { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); } .timeline-h li { padding: 0 0 26px 24px; } .timeline-h li::before { top: 8px; left: -7px; } }

/* ---------- Technical desk ---------- */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.desk > * { min-width: 0; }
.desk-card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: clamp(20px, 3vw, 32px); }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.langs .label { color: var(--muted); margin-right: 6px; }
.lang { font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line-strong); }
@media (max-width: 860px) { .desk { grid-template-columns: 1fr; } }
/* header: logo takes its natural width, links centre in the remaining space */
.site-header .wrap { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; }
.nav a { padding: 8px 10px; }
@media (max-width: 1260px) and (min-width: 1021px) { .brand-logo { height: 32px; } .brand-hk { font-size: 12px; padding-left: 10px; letter-spacing: .1em; } .nav a { padding: 8px 7px; font-size: 14px; } .header-cta { padding: 9px 14px; font-size: 14px; } }

/* ---------- Language switcher + header end ---------- */
.header-end { display: flex; align-items: center; gap: 14px; justify-self: end; }
.header-end .header-cta { justify-self: auto; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px; background: var(--chalk); }
.lang-switch a { text-decoration: none; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 99px; color: var(--ink-2); line-height: 1.2; }
.lang-switch a:hover { color: var(--ink); background: rgba(12, 26, 68, .06); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--chalk); }
@media (max-width: 1020px) { .header-end { gap: 10px; } .header-end .header-cta { display: none; } }
@media (max-width: 420px) { .lang-switch a { padding: 5px 8px; font-size: 12px; } }

/* language suggestion bar */
.lang-hint { background: var(--signal); color: var(--ink); font-size: 14px; }
.lang-hint .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.lang-hint a { font-weight: 700; color: var(--ink); }
.lang-hint button { background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--ink); line-height: 1; }

/* ---------- Chinese typography ---------- */
html[lang|="zh"] { --f-display: "Playfair Display", "Noto Serif SC", "Songti SC", "STSong", serif; --f-body: "Inter Tight", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html[lang|="zh"] body { line-height: 1.75; }
html[lang|="zh"] h1, html[lang|="zh"] h2, html[lang|="zh"] h3 { letter-spacing: .01em; line-height: 1.22; font-weight: 600; }
html[lang|="zh"] h1 em, html[lang|="zh"] h2 em, html[lang|="zh"] h3 em { font-weight: 500; }
html[lang|="zh"] .display, html[lang|="zh"] h1 { font-size: clamp(36px, 5vw, 72px); }
html[lang|="zh"] .home-hero h1, html[lang|="zh"] .hero-top h1 { font-size: clamp(38px, 5.2vw, 80px); }
html[lang|="zh"] h2, html[lang|="zh"] .h2 { font-size: clamp(28px, 3.2vw, 46px); }
html[lang|="zh"] .lede { line-height: 1.75; }
html[lang|="zh"] .kicker, html[lang|="zh"] .label, html[lang|="zh"] .sectno, html[lang|="zh"] h1 > .kicker { letter-spacing: .08em; }
html[lang|="zh"] .brand-hk { font-family: "Inter Tight", system-ui, sans-serif; }
html[lang|="zh"] .model b { font-family: "Playfair Display", serif; }
/* Chinese headings: break only at punctuation / spaces, never mid-word */
html[lang|="zh"] h1, html[lang|="zh"] h2, html[lang|="zh"] h3 { word-break: keep-all; overflow-wrap: anywhere; }

/* phone header: keep logo + HONG KONG, switcher and menu on one clean row */
.lang-switch a, .nav-toggle { white-space: nowrap; }
@media (max-width: 560px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .brand-logo { height: 26px; }
  .brand-hk { border-left: 0; padding-left: 0; font-size: 10px; letter-spacing: .22em; }
  .header-end { gap: 8px; }
  .nav-toggle { padding: 7px 11px; font-size: 11px; }
  .lang-switch a { padding: 5px 9px; }
}

/* ---------- Brand: "HONG KONG" as a subtitle under the wordmark ---------- */
.brand { flex-direction: column; align-items: flex-end; gap: 1px; }
.brand-logo { height: 40px; }
.brand-hk { border-left: 0 !important; padding-left: 0 !important; font-size: 10.5px; font-weight: 700; letter-spacing: .34em; margin-right: -.34em; line-height: 1; }
@media (max-width: 1260px) and (min-width: 1021px) { .brand-logo { height: 32px; } .brand-hk { font-size: 9.5px; letter-spacing: .3em; margin-right: -.3em; } }
@media (max-width: 560px) { .brand { align-items: flex-end; } .brand-logo { height: 26px; } .brand-hk { font-size: 8.5px; letter-spacing: .3em; margin-right: -.3em; } }
.foot-logo { flex-direction: column; align-items: flex-end; gap: 4px; }
.foot-logo b { border-left: 0 !important; padding-left: 0 !important; font-size: 10px !important; letter-spacing: .34em !important; margin-right: -.34em; }

/* brief form: honeypot + fallback link button */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button[type="submit"][disabled] { opacity: .7; cursor: progress; }

/* ---------- Home hero: action straight after the proposition ---------- */
.hero-main .lede { margin: 28px 0 0; max-width: 36em; }
.hero-main .hero-btns { margin-top: 28px; }
.hero-top { align-items: end; }

/* ---------- Mobile: concise licence strip ---------- */
.rail-m { display: none; white-space: nowrap; }
.rail-m b { color: var(--chalk); font-weight: 500; }
@media (max-width: 720px) { .rail-items { display: none; } .rail-m { display: inline; } }

/* ---------- Mobile: sticky enquiry bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 240, 232, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar .btn { flex: 1; justify-content: center; padding: 12px 14px; }
  .mbar .btn-ghost { flex: 0 0 auto; background: var(--chalk); }
  .mbar.show { transform: none; }
  body.has-mbar { padding-bottom: 74px; }
}

/* ---------- Mobile: denser grids, larger small text ---------- */
@media (max-width: 600px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .cats > li, .cats > li > a { padding: 14px 12px 14px; }
  .cats > li > a { margin: -14px -12px -14px; height: calc(100% + 28px); }
  .cats h3 { font-size: 16.5px; margin: 6px 0 4px; }
  .cats p { font-size: 13px; margin-bottom: 10px; }
  .cats .u { font-size: 9.5px; padding: 3px 6px; letter-spacing: .06em; }
  .tiles.band { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiles.band .tile-body { padding: 10px 10px 12px; grid-template-columns: 1fr; }
  .tiles.band .tile-body b { font-size: 14px; }
  .tiles.band .tile-body .vol { font-size: 11.5px; }
  .source, figcaption, .plate-cap { font-size: 12.5px; }
  .site-footer { font-size: 15px; }
  .foot-id { font-size: 13px; }
  .foot-base { font-size: 12.5px; }
  .proof p { font-size: 14px; }
}
/* desktop hero: keep headline + action inside the first screen */
@media (min-width: 981px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
  .hero-top h1 { font-size: clamp(44px, 5.2vw, 78px); }
  html[lang|="zh"] .hero-top h1 { font-size: clamp(38px, 4.6vw, 70px); }
  .home-hero { padding-top: clamp(36px, 4.5vw, 64px); }
}
