/* ==========================================================================
   Zenmaro Edge — design system
   Ink-teal dark · ivory type · brass accents · one cold secondary (glacier).
   Pairing: Sora (display/UI) + Source Serif 4 (editorial). Local woff2 only.
   ========================================================================== */

/* ---- fonts --------------------------------------------------------------- */
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4-italic-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4-italic-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- tokens -------------------------------------------------------------- */
:root {
  --bg0: #0C1512;
  --bg1: #101B17;
  --bg2: #14211C;
  --bg3: #182822;
  --line: rgba(233, 226, 209, 0.09);
  --line2: rgba(233, 226, 209, 0.17);
  --ivory: #EAE4D6;
  --muted: #A9A693;
  --faint: #8E8D7E;
  --brass: #C9A96A;
  --brass-hi: #E3C894;
  --brass-dim: rgba(201, 169, 106, 0.14);
  --glacier: #8FB3BF;
  --glacier-dim: rgba(143, 179, 191, 0.14);
  --danger: #C96A5A;
  --sans: 'Sora', system-ui, -apple-system, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg0);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(201, 169, 106, 0.055), transparent 62%),
    radial-gradient(900px 480px at -10% 12%, rgba(143, 179, 191, 0.04), transparent 58%),
    var(--bg0);
  animation: pagein 0.55s ease both;
}

@keyframes pagein { from { opacity: 0.35; } to { opacity: 1; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 { margin: 0 0 0.55em; font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; overflow-wrap: break-word; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
dl, figure, blockquote { margin: 0; }
::selection { background: var(--brass); color: #171307; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--brass); color: #171307; padding: 10px 18px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 12px; }

/* ---- layout helpers ------------------------------------------------------ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 44px); }
.container--narrow { max-width: 820px; }

.kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--brass); opacity: 0.8; }

.h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); max-width: 18em; }
.lead { font-family: var(--serif); font-size: 1.13rem; line-height: 1.7; color: var(--muted); max-width: 620px; }
.section-cta { margin: 40px 0 0; }

/* Engraved ruler strip — the precision motif. */
.ruler {
  height: 12px; margin-top: 22px;
  background:
    repeating-linear-gradient(90deg, var(--line2) 0 1px, transparent 1px 9px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--line2) 0 1px, transparent 1px 45px) left bottom / 100% 12px no-repeat;
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ruler--dim { opacity: 0.4; }

/* ---- reveal -------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease var(--d, 0s), transform 0.75s var(--ease) var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; min-height: 44px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: translateY(0) scale(0.995); }
.btn--primary { background: var(--brass); color: #171307; font-weight: 600; }
.btn--primary:hover { background: var(--brass-hi); transform: translateY(-1px); box-shadow: 0 10px 28px -14px rgba(201, 169, 106, 0.55); }
.btn--ghost { border-color: var(--line2); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-hi); background: var(--brass-dim); transform: translateY(-1px); }
.btn--lg { padding: 15px 30px; font-size: 0.98rem; }
.btn--nav { padding: 13px 26px; font-size: 0.95rem; border-radius: 9px; }
.btn--wide { width: 100%; }
/* ---- language banner ------------------------------------------------------ */
.langbanner { background: var(--bg2); border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.langbanner__inner { display: flex; align-items: center; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.langbanner__inner p { margin: 0; color: var(--muted); }
.langbanner__inner a { color: var(--glacier); font-weight: 500; white-space: nowrap; padding: 8px 0; }
.langbanner__inner a:hover { color: var(--ivory); }
.langbanner__close { margin-left: auto; color: var(--faint); font-size: 0.85rem; padding: 10px 12px; min-width: 40px; min-height: 40px; }
.langbanner__close:hover { color: var(--ivory); }

/* ---- form status banner (post-redirect feedback) --------------------------- */
.formbanner { border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.formbanner--ok { background: var(--glacier-dim); }
.formbanner--err { background: rgba(201, 106, 90, 0.12); }
.formbanner__inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.formbanner__inner p { margin: 0; color: var(--ivory); }
.formbanner--ok .formbanner__inner p { color: var(--glacier); }
.formbanner--err .formbanner__inner p { color: var(--danger); }
.formbanner__close { margin-left: auto; color: var(--faint); font-size: 0.85rem; padding: 10px 12px; min-width: 40px; min-height: 40px; flex-shrink: 0; }
.formbanner__close:hover { color: var(--ivory); }

/* ---- header --------------------------------------------------------------- */
.sitehead {
  position: sticky; top: 0; z-index: 100;
  min-height: 76px;
  border-bottom: 1px solid color-mix(in srgb, var(--ivory) 9%, transparent);
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.sitehead.is-scrolled {
  background: color-mix(in srgb, var(--bg0) 84%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.sitehead__inner { display: flex; align-items: center; gap: 28px; padding-block: 10px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 33px; height: 33px; color: var(--brass); }
.logo__word { font-size: 1.18rem; font-weight: 650; letter-spacing: 0.02em; color: var(--ivory); }

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav > a:not(.btn) {
  position: relative; font-size: 1.03rem; letter-spacing: 0.01em; color: color-mix(in srgb, var(--ivory) 72%, transparent); padding: 6px 0;
  transition: color 0.25s ease;
}
.nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a:not(.btn).is-active { color: var(--ivory); }
.nav > a:not(.btn):hover::after, .nav > a:not(.btn).is-active::after { transform: scaleX(1); }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--ivory) 72%, transparent); border: 0; border-radius: 8px; padding: 10px 8px;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.lang__btn:hover { color: var(--ivory); background: var(--bg3); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
  background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--radius-sm);
  padding: 6px; display: none; flex-direction: column; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65);
}
.lang__menu.is-open { display: flex; }
.lang__menu a { padding: 12px 14px; border-radius: 7px; font-size: 0.88rem; color: var(--muted); }
.lang__menu a:hover { background: var(--bg3); color: var(--ivory); }
.lang__menu a[aria-current="true"] { color: var(--brass); }

.burger { display: none; flex-direction: column; gap: 6px; padding: 12px; margin-left: auto; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 1.6px; background: var(--ivory); transition: transform 0.3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* ---- hero ------------------------------------------------------------------ */
.hero { padding: clamp(56px, 9vh, 104px) 0 clamp(48px, 7vh, 84px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 7px 14px;
  border: 1px solid var(--line2); border-radius: 999px;
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--glacier); box-shadow: 0 0 0 3px var(--glacier-dim); }

.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.15rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 0.45em; }
.hero__brand {
  display: block; margin-bottom: 0.32em;
  font-size: 0.34em; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); line-height: 1.2;
}
.hero__accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--brass-hi); letter-spacing: -0.01em; }
.hero__sub { font-family: var(--serif); font-size: 1.16rem; line-height: 1.7; color: var(--muted); max-width: 33em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__stats { display: flex; gap: clamp(24px, 4vw, 52px); border-top: 1px solid var(--line); padding-top: 24px; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat dt { order: 2; font-size: 0.78rem; color: var(--faint); letter-spacing: 0.04em; margin-top: 4px; }
.hero__stat dd { order: 1; margin: 0; font-size: 1.45rem; font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }

/* ---- instrument panel ------------------------------------------------------- */
.ipanel {
  position: relative;
  background: linear-gradient(168deg, var(--bg2), var(--bg1) 62%);
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 20px 22px 26px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(233, 226, 209, 0.05);
}
.ipanel::before, .ipanel::after {
  content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--line2); top: 14px;
}
.ipanel::before { left: 14px; }
.ipanel::after { right: 14px; }

.ipanel__head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 6px;
}
.ipanel__serial { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.ipanel__status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--glacier); letter-spacing: 0.04em; }

.ipanel__lamp { width: 7px; height: 7px; border-radius: 50%; background: var(--glacier); animation: lamp 3.2s ease-in-out infinite; }
@keyframes lamp {
  0%, 100% { box-shadow: 0 0 0 0 var(--glacier-dim); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

.ipanel__body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px 26px; align-items: center; }

.ipanel__gauge { position: relative; }
.gauge { width: 100%; height: auto; }
.gz-track { fill: none; stroke: rgba(233, 226, 209, 0.1); stroke-width: 2; stroke-linecap: round; }
.gz-progress {
  fill: none; stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 502.65; stroke-dashoffset: 502.65;
  transition: stroke-dashoffset 2s var(--ease) 0.35s;
}
.ipanel.is-live .gz-progress { stroke-dashoffset: 40.21; }
.gz-tick { stroke: rgba(233, 226, 209, 0.26); stroke-width: 1; }
.gz-tick--major { stroke: rgba(233, 226, 209, 0.5); stroke-width: 1.4; }
.gz-num { fill: var(--faint); font-family: var(--sans); font-size: 10px; letter-spacing: 0.06em; }
.gz-needle line { stroke: var(--brass-hi); stroke-width: 2.4; stroke-linecap: round; }
.gz-needle .gz-needle--tail { stroke: var(--brass); stroke-width: 2; }
.gz-needle {
  transform: rotate(-78deg); transform-origin: 160px 190px;
  transition: transform 2.1s cubic-bezier(0.16, 0.8, 0.24, 1) 0.4s;
}
.ipanel.is-live .gz-needle { transform: rotate(100.8deg); }
.gz-hub { fill: var(--bg0); stroke: var(--brass); stroke-width: 1.6; }
.gz-hub-core { fill: var(--brass); }

.ipanel__readout {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.ipanel__label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.ipanel__readout .ipanel__value { font-size: 1.7rem; font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }

.ipanel__side { display: flex; flex-direction: column; gap: 16px; }
.ipanel__cell { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 14px; }
.ipanel__cell:first-child { border-top: 0; padding-top: 4px; }
.ipanel__cell--row { flex-direction: row; align-items: center; justify-content: space-between; }
.ipanel__value { font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }
.ipanel__value--lg { font-size: 1.62rem; letter-spacing: -0.01em; }
.ipanel__value--sm { font-size: 1.2rem; color: var(--glacier); }
.ipanel__note { font-size: 0.76rem; color: var(--faint); }

.ipanel__flow { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 6px; }
.ip-bar {
  flex: 1; height: var(--h); border-radius: 2px 2px 0 0;
  background: rgba(233, 226, 209, 0.22);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.7s var(--ease) calc(0.65s + var(--i) * 0.06s);
}
.ip-bar.is-hot { background: var(--brass); }
.ipanel.is-live .ip-bar { transform: scaleY(1); }

.ipanel__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px;
  font-size: 0.74rem; color: var(--faint); letter-spacing: 0.05em;
}
.ipanel__foot-note { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.62rem; }

/* ---- facts ------------------------------------------------------------------- */
.facts { padding: clamp(30px, 5vh, 54px) 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact { padding: 30px clamp(14px, 2.6vw, 34px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact__value { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--brass-hi); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fact__label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* ---- manifesto ----------------------------------------------------------------- */
.manifesto { padding: clamp(64px, 10vh, 120px) 0; }
.manifesto__inner { max-width: 880px; }
.manifesto__text {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.1vw, 2.3rem);
  line-height: 1.42; letter-spacing: -0.005em; color: var(--ivory); margin-bottom: 0.6em;
}
.manifesto__sub { color: var(--muted); max-width: 560px; margin: 0; }

/* ---- stories --------------------------------------------------------------------- */
.stories { padding: clamp(48px, 8vh, 96px) 0; }
.stories__head { max-width: 720px; margin-bottom: clamp(40px, 7vh, 80px); }

.story {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(36px, 6vh, 64px) 0;
  border-top: 1px solid var(--line);
}
.story--b .story__figure { order: 2; }
.story__figure { position: relative; }
.story__plate {
  position: relative;
  background: linear-gradient(165deg, var(--bg2), var(--bg1) 70%);
  border: 1px solid var(--line2); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 46px);
  transition: border-color 0.35s ease, transform 0.45s var(--ease);
}
.story:hover .story__plate { border-color: rgba(201, 169, 106, 0.42); transform: translateY(-4px); }
.story__plate::before, .story__plate::after {
  content: ''; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.story__plate::before { top: 10px; left: 10px; border-top: 1px solid var(--brass); border-left: 1px solid var(--brass); opacity: 0.55; }
.story__plate::after { bottom: 10px; right: 10px; border-bottom: 1px solid var(--brass); border-right: 1px solid var(--brass); opacity: 0.55; }

.fig { width: clamp(170px, 18vw, 230px); height: auto; margin-inline: auto; }
.fig-ring { stroke: rgba(233, 226, 209, 0.24); stroke-width: 1.4; fill: none; }
.fig-ring--dash { stroke: rgba(201, 169, 106, 0.5); stroke-width: 1; }
.fig-ring--thin { stroke: rgba(233, 226, 209, 0.14); stroke-width: 1; }
.fig-ticks line { stroke: rgba(233, 226, 209, 0.3); stroke-width: 1; stroke-linecap: round; }
.fig-tick.major { stroke: rgba(233, 226, 209, 0.55); stroke-width: 1.4; }
.fig-arc { stroke: var(--brass); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1.6s var(--ease) 0.25s; }
.rv.in .fig-arc, .in .fig-arc { stroke-dashoffset: 0; }
.fig-lines line { stroke: rgba(233, 226, 209, 0.55); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 78; stroke-dashoffset: 78; transition: stroke-dashoffset 0.9s var(--ease); }
.fig-lines line:nth-child(2) { transition-delay: 0.15s; }
.fig-lines line:nth-child(3) { transition-delay: 0.3s; }
.rv.in .fig-lines line, .in .fig-lines line { stroke-dashoffset: 0; }
.fig-dot { fill: var(--glacier); animation: lamp 4s ease-in-out infinite; }

.fig-spin { animation: spin 80s linear infinite; transform-origin: 100px 100px; }
@keyframes spin { to { transform: rotate(360deg); } }
.fig-needle line { stroke: var(--brass-hi); stroke-width: 2.2; stroke-linecap: round; }
.fig-needle .tail { stroke: var(--glacier); }
.fig-needle { transform: rotate(-42deg); transform-origin: 100px 100px; transition: transform 1.7s var(--ease) 0.35s; }
.rv.in .fig-needle, .in .fig-needle { transform: rotate(0deg); }
.fig-hub { fill: var(--bg0); stroke: var(--brass); stroke-width: 1.6; }

.fig-grid line { stroke: rgba(233, 226, 209, 0.07); stroke-width: 1; }
.fig-wave { stroke: var(--brass); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 460; stroke-dashoffset: 460; transition: stroke-dashoffset 1.9s var(--ease) 0.2s; }
.rv.in .fig-wave, .in .fig-wave { stroke-dashoffset: 0; }
.fig-flag { fill: var(--glacier); opacity: 0; transition: opacity 0.4s ease 1.9s; }
.rv.in .fig-flag, .in .fig-flag { opacity: 1; }
.fig-drop { stroke: var(--glacier); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0; transition: opacity 0.4s ease 2s; }
.rv.in .fig-drop, .in .fig-drop { opacity: 0.7; }

.story__copy .story__index {
  font-size: 0.74rem; letter-spacing: 0.28em; color: var(--faint);
  font-variant-numeric: tabular-nums; margin-bottom: 20px;
}
.story__name { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 10px; }
.story__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--ivory); margin-bottom: 0.6em; font-weight: 500; }
.story__body { color: var(--muted); max-width: 34em; }
.story__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.story__list li {
  position: relative; padding-left: 24px; color: var(--muted); font-size: 0.94rem;
}
.story__list li::before {
  content: ''; position: absolute; left: 0; top: 0.72em; width: 12px; height: 1px;
  background: var(--brass);
}

/* ---- principles --------------------------------------------------------------------- */
.principles { padding: clamp(48px, 8vh, 96px) 0; }
.principles__head { margin-bottom: clamp(30px, 5vh, 54px); }
.principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--bg0); padding: clamp(22px, 2.6vw, 34px); transition: background-color 0.35s ease; }
.principle:hover { background: var(--bg1); }
.principle__num { display: block; font-size: 0.72rem; letter-spacing: 0.24em; color: var(--brass); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.principle h3 { font-size: 1.02rem; margin-bottom: 8px; }
.principle p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---- quotes / voices ------------------------------------------------------------------- */
.voices-teaser { padding: clamp(48px, 8vh, 96px) 0; }
.voices-teaser__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: clamp(30px, 5vh, 54px); }

.agg { display: flex; align-items: center; gap: 18px; padding: 20px 26px; background: var(--bg1); border: 1px solid var(--line2); border-radius: var(--radius); flex-shrink: 0; }
.agg__score { font-size: 2.5rem; font-weight: 600; color: var(--brass-hi); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.agg__stars { color: var(--brass); letter-spacing: 3px; font-size: 0.9rem; }
.agg__note { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.agg--page { margin-top: 34px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  border-top: 1px solid var(--line2); padding-top: 22px; position: relative;
  transition: border-color 0.35s ease;
}
.quote::before { content: ''; position: absolute; top: -1px; left: 0; width: 34px; height: 1px; background: var(--brass); transition: width 0.45s var(--ease); }
.quote:hover::before { width: 100%; }
.quote__stars { color: var(--brass); font-size: 0.82rem; letter-spacing: 3px; margin-bottom: 14px; }
.quote blockquote { font-family: var(--serif); font-size: 1.04rem; line-height: 1.66; color: var(--ivory); margin-bottom: 20px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__ava {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg2); border: 1px solid var(--line2);
  font-size: 0.72rem; font-weight: 600; color: var(--brass); letter-spacing: 0.05em;
}
.quote__name { display: block; font-size: 0.88rem; font-weight: 600; }
.quote__place { display: block; font-size: 0.76rem; color: var(--faint); }
.quote__metric {
  margin-left: auto; font-size: 0.72rem; color: var(--glacier);
  border: 1px solid var(--glacier-dim); background: var(--glacier-dim);
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}

/* voices page */
.voices-grid-wrap { padding: clamp(30px, 5vh, 60px) 0; }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice {
  background: var(--bg1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.35s ease, transform 0.4s var(--ease);
}
.voice:hover { border-color: var(--line2); transform: translateY(-3px); }
.voice__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vdial { width: 34px; height: 34px; }
.vdial__track { fill: none; stroke: rgba(233, 226, 209, 0.12); stroke-width: 2.6; }
.vdial__fill { fill: none; stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round; }
.voice__score { font-weight: 600; font-size: 0.95rem; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.voice__metric { margin-left: auto; font-size: 0.72rem; color: var(--glacier); border: 1px solid var(--glacier-dim); background: var(--glacier-dim); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.voice blockquote { font-family: var(--serif); font-size: 0.99rem; line-height: 1.64; color: var(--ivory); flex: 1; }
.voice figcaption { display: flex; align-items: center; gap: 12px; }
.voices-note { margin-top: 36px; font-size: 0.8rem; color: var(--faint); max-width: 640px; }

/* ---- insights ------------------------------------------------------------------------------ */
.insights-teaser { padding: clamp(48px, 8vh, 96px) 0; }
.insights-teaser__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: clamp(28px, 5vh, 48px); }
.insights-teaser__head .lead { margin: 0; max-width: 460px; }

.teasers { display: flex; flex-direction: column; border-top: 1px solid var(--line2); }
.teaser {
  position: relative; display: grid; grid-template-columns: 200px 1fr 40px; gap: 24px;
  align-items: baseline; padding: 26px 8px 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.teaser:hover { background: rgba(233, 226, 209, 0.025); }
.teaser__meta { display: flex; flex-direction: column; gap: 5px; font-size: 0.78rem; color: var(--faint); }
.teaser__tag { color: var(--brass); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600; }
.teaser__title { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; transition: color 0.3s ease; }
.teaser:hover .teaser__title { color: var(--brass-hi); }
.teaser__excerpt { grid-column: 2; color: var(--muted); font-size: 0.92rem; max-width: 620px; }
.teaser__go { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--brass); opacity: 0; transform: translateX(-8px); transition: opacity 0.3s ease, transform 0.35s var(--ease); font-size: 1.2rem; }
.teaser:hover .teaser__go { opacity: 1; transform: none; }

/* insights index */
.insights-list { padding: clamp(24px, 4vh, 48px) 0 clamp(48px, 8vh, 80px); }
.features { display: flex; flex-direction: column; gap: 18px; }
.feature {
  display: grid; grid-template-columns: 90px 1fr; gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 4vh, 40px) clamp(18px, 3vw, 36px);
  background: var(--bg1); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.35s ease, transform 0.4s var(--ease), background-color 0.35s ease;
}
.feature:hover { border-color: rgba(201, 169, 106, 0.4); background: var(--bg2); transform: translateY(-3px); }
.feature__index {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 300; color: var(--faint);
  font-variant-numeric: tabular-nums; line-height: 1; padding-top: 4px;
  transition: color 0.35s ease;
}
.feature:hover .feature__index { color: var(--brass); }
.feature__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.78rem; color: var(--faint); margin-bottom: 12px; }
.feature__tag { color: var(--brass); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600; }
.feature__title { display: block; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.28; }
.feature:hover .feature__title { color: var(--brass-hi); }
.feature__excerpt { display: block; color: var(--muted); font-size: 0.95rem; max-width: 640px; }
.feature__go { display: inline-block; margin-top: 16px; font-size: 0.86rem; color: var(--glacier); }

/* ---- article ---------------------------------------------------------------------------- */
.article__head { padding: clamp(40px, 7vh, 72px) 0 clamp(20px, 3vh, 36px); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 0.8rem; color: var(--faint); margin: 34px 0 18px; }
.article__tag { color: var(--brass); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600; }
.article h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 17em; }
.article__lede { font-family: var(--serif); font-size: 1.18rem; line-height: 1.7; color: var(--muted); max-width: 620px; }
.article__body { padding-bottom: clamp(56px, 9vh, 96px); }

.article__body { font-family: var(--serif); font-size: 1.09rem; line-height: 1.82; color: color-mix(in srgb, var(--ivory) 88%, transparent); }
.article__body p { margin-bottom: 1.25em; }
.article__body h2 {
  font-family: var(--sans); font-size: 1.32rem; letter-spacing: -0.01em;
  margin: 2.1em 0 0.7em; padding-top: 1.4em; border-top: 1px solid var(--line);
}
.article__body h2::before { content: '§ '; color: var(--brass); font-weight: 400; }
.article__body h3 { font-family: var(--sans); font-size: 1.08rem; margin: 1.8em 0 0.6em; }
.article__body ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.article__body li { position: relative; padding-left: 26px; margin-bottom: 0.7em; }
.article__body li::before { content: '—'; position: absolute; left: 0; color: var(--brass); }
.article__pull {
  margin: 2em 0; padding: 4px 0 4px 26px;
  border-left: 2px solid var(--brass);
  font-style: italic; font-size: 1.22rem; line-height: 1.6; color: var(--ivory);
}
.article__next { margin-top: 3.5em; padding: 28px; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--sans); }
.article__next-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.article__next-list a { color: var(--ivory); font-size: 0.95rem; font-weight: 500; }
.article__next-list a:hover { color: var(--brass-hi); }

/* ---- faq --------------------------------------------------------------------------------- */
.faq-sec { padding: clamp(24px, 4vh, 48px) 0 clamp(48px, 8vh, 80px); }
.acc-list { border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; text-align: left;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -0.005em;
  transition: color 0.25s ease;
}
.acc__btn:hover { color: var(--brass-hi); }
.acc__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after {
  content: ''; position: absolute; background: var(--brass); transition: transform 0.35s var(--ease);
}
.acc__icon::before { left: 0; top: 6.5px; width: 14px; height: 1.4px; }
.acc__icon::after { left: 6.3px; top: 0; width: 1.4px; height: 14px; }
.acc.is-open .acc__icon::after { transform: rotate(90deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p { margin: 0; padding: 0 40px 24px 4px; color: var(--muted); font-size: 0.97rem; max-width: 700px; }

/* ---- contact --------------------------------------------------------------------------------- */
.contact-sec { padding: clamp(24px, 4vh, 48px) 0 clamp(64px, 10vh, 110px); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__aside h2 { font-size: 1.4rem; }
.contact__aside p { color: var(--muted); }
.contact__lines { display: flex; flex-direction: column; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.contact__line { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__line-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.contact__line-value { font-size: 0.95rem; color: var(--ivory); }

.formpanel {
  background: var(--bg1); border: 1px solid var(--line2); border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 44px);
}
.formpanel h2 { font-size: 1.3rem; }
.formpanel__sub { color: var(--muted); font-size: 0.94rem; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ivory);
  background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-dim);
}
.hp { position: absolute; left: -6000px; top: -6000px; opacity: 0; height: 0; overflow: hidden; }
.formpanel__note { margin: 16px 0 0; font-size: 0.78rem; color: var(--faint); }

.contact__mail { border-bottom: 1px solid var(--line2); transition: color 0.25s ease, border-color 0.25s ease; }
.contact__mail:hover { color: var(--brass-hi); border-color: var(--brass); }

/* ---- legal pages (privacy / terms) --------------------------------- */
.legal-updated { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 22px 0 0; }
.legal-sec { padding: clamp(24px, 4vh, 48px) 0 clamp(56px, 9vh, 96px); }
.legal-block { border-top: 1px solid var(--line); padding: clamp(26px, 4vh, 40px) 0 6px; }
.legal-block h2 { font-size: 1.25rem; margin-bottom: 0.7em; }
.legal-block p { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
.legal-note {
  margin-top: clamp(30px, 5vh, 48px); padding: 24px 26px;
  background: var(--bg1); border: 1px solid var(--line2); border-radius: var(--radius);
}
.legal-note p { margin: 0 0 6px; font-size: 0.88rem; color: var(--muted); }
.legal-note a { color: var(--glacier); font-weight: 500; }
.legal-note a:hover { color: var(--ivory); }

.alert { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.92rem; margin-bottom: 22px; }
.alert--ok { background: var(--glacier-dim); border: 1px solid rgba(143, 179, 191, 0.4); color: var(--glacier); }
.alert--err { background: rgba(201, 106, 90, 0.12); border: 1px solid rgba(201, 106, 90, 0.4); color: var(--danger); }

/* ---- page head (inner pages) -------------------------------------------------------------------- */
.pagehead { padding: clamp(44px, 7vh, 80px) 0 clamp(20px, 3vh, 36px); }
.pagehead h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 15em; }
.pagehead .lead { margin-bottom: 0; }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--faint); margin-bottom: 30px; }
.crumbs a { color: var(--muted); transition: color 0.25s ease; }
.crumbs a:hover { color: var(--brass-hi); }

/* ---- CTA band ------------------------------------------------------------------------------------- */
.cta-band { padding: clamp(30px, 5vh, 60px) 0 clamp(64px, 10vh, 110px); }
.cta-panel {
  position: relative; text-align: center;
  background: linear-gradient(170deg, var(--bg2), var(--bg1) 70%);
  border: 1px solid rgba(201, 169, 106, 0.28); border-radius: var(--radius);
  padding: clamp(44px, 7vh, 80px) clamp(24px, 5vw, 80px) clamp(34px, 5vh, 52px);
  overflow: hidden;
}
.cta-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 240px at 50% -40%, rgba(201, 169, 106, 0.12), transparent 70%);
}
.cta-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 17em; margin-inline: auto; }
.cta-panel p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }
.cta-panel .btn { position: relative; }
.cta-panel__note { margin: 20px auto 0 !important; font-size: 0.8rem; color: var(--faint) !important; }
.cta-panel--quiet { text-align: left; }
.cta-panel--quiet h2, .cta-panel--quiet p { margin-left: 0; margin-right: 0; }

/* ---- footer --------------------------------------------------------------------------------------- */
.sitefoot { border-top: 1px solid var(--line); background: var(--bg1); margin-top: 20px; }
.sitefoot__rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.5), transparent); }
.sitefoot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; gap: clamp(28px, 4vw, 60px);
  padding: clamp(40px, 6vh, 64px) 0;
}
.sitefoot__tag { font-family: var(--serif); color: var(--muted); font-size: 0.96rem; margin: 18px 0 24px; max-width: 300px; }
.sitefoot__meter { display: flex; flex-direction: column; gap: 6px; max-width: 260px; }
.sitefoot__meter-label { font-size: 1.15rem; font-weight: 600; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.sitefoot__meter-scale { height: 3px; background: var(--line2); border-radius: 2px; overflow: hidden; }
.sitefoot__meter-fill { display: block; height: 100%; width: var(--w, 90%); background: linear-gradient(90deg, var(--brass), var(--brass-hi)); }
.sitefoot__meter-sub { font-size: 0.72rem; color: var(--faint); }
.sitefoot h4 {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px; font-weight: 600;
}
.sitefoot nav a, .sitefoot__grid div > a:not(.logo) {
  display: block; padding: 5px 0; font-size: 0.9rem; color: var(--muted);
  transition: color 0.25s ease;
}
.sitefoot nav a:hover, .sitefoot__grid div > a:not(.logo):hover { color: var(--brass-hi); }
.sitefoot__fine p { font-size: 0.78rem; color: var(--faint); line-height: 1.65; margin: 0; }
.sitefoot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid var(--line); padding: 22px 0 28px;
  font-size: 0.78rem; color: var(--faint);
}
.sitefoot__legal-links { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.sitefoot__legal-links a { color: var(--muted); border-bottom: 1px solid var(--line2); transition: color 0.25s ease, border-color 0.25s ease; padding: 4px 0; }
.sitefoot__legal-links a:hover { color: var(--brass-hi); border-color: var(--brass); }

/* ---- 404 ------------------------------------------------------------------------------------------- */
.notfound { padding: clamp(60px, 12vh, 130px) 0; }
.notfound__inner { text-align: center; max-width: 560px; }
.notfound__dial { width: 96px; height: 96px; margin: 0 auto 30px; }
.nf-ring { stroke: var(--line2); stroke-width: 1.4; }
.nf-ticks line { stroke: rgba(233, 226, 209, 0.3); stroke-width: 1.2; }
.nf-needle { stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; }
.nf-hub { fill: var(--brass); }
.notfound__code { font-size: 0.8rem; letter-spacing: 0.4em; color: var(--faint); margin-bottom: 14px; }
.notfound h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.notfound__actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---- responsive -------------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ipanel { max-width: 640px; }
  .stories .story { grid-template-columns: 1fr; gap: 28px; }
  .story--b .story__figure { order: 0; }
  .story__figure { max-width: 480px; }
  .quotes, .voices-grid { grid-template-columns: 1fr 1fr; }
  .principles__grid { grid-template-columns: 1fr 1fr; }
  .sitefoot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0; z-index: 90;
    flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    padding: 90px 24px 40px;
    background: color-mix(in srgb, var(--bg0) 96%, transparent);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    display: none;
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { font-size: 1.25rem; padding: 8px 0; }
  .lang__btn { font-size: 1rem; padding: 12px 18px; min-height: 48px; }
  .burger { display: flex; position: relative; z-index: 95; }
  /* Lang dropdown inside the burger overlay: opens upward, centered on the button. */
  .lang { position: relative; }
  .lang__menu { position: absolute; left: 50%; right: auto; top: auto; bottom: calc(100% + 10px); transform: translateX(-50%); min-width: 190px; z-index: 5; }
  .lang__menu a { padding: 13px 16px; font-size: 0.95rem; text-align: center; }
  .contact__grid { grid-template-columns: 1fr; }
  .voices-teaser__head, .insights-teaser__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .teaser { grid-template-columns: 1fr; gap: 10px; }
  .teaser__meta { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .teaser__excerpt { grid-column: 1; }
  .teaser__go { display: none; }
  .feature { grid-template-columns: 1fr; gap: 8px; }
  .sitefoot nav a, .sitefoot__grid div > a:not(.logo) { padding: 9px 0; }
}

@media (max-width: 640px) {
  html { font-size: 15.5px; }
  .container { padding-inline: 20px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding: 20px 6px; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .quotes, .voices-grid { grid-template-columns: 1fr; }
  .principles__grid { grid-template-columns: 1fr; }
  .sitefoot__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; }
  .hero__title { font-size: clamp(2.15rem, 9.5vw, 2.6rem); }
  .hero__sub { margin-bottom: 28px; }
  .hero__actions { gap: 12px; margin-bottom: 34px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { flex-wrap: wrap; gap: 18px 28px; }
  .ipanel { padding: 16px 16px 20px; }
  .ipanel__body { grid-template-columns: 1fr; }
  .ipanel__gauge { max-width: 340px; margin-inline: auto; }
  .ipanel__serial { letter-spacing: 0.14em; }
  .ipanel__foot { align-items: flex-start; }
  .cta-panel--quiet { text-align: left; }
  .notfound__actions { flex-direction: column; align-items: stretch; }
  .article__body h2 { padding-top: 1.1em; }
  /* iOS: keep inputs ≥16px so focus doesn't zoom the viewport. */
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }
  .formpanel { padding: 22px 18px; }
  .acc__btn { font-size: 1rem; padding: 19px 2px; }
  .acc__inner p { padding: 0 34px 22px 2px; }
  .crumbs { margin-bottom: 22px; }
  .voice__metric { margin-left: 0; }
  .sitefoot { margin-top: 8px; }
  .sitefoot__legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Very narrow phones: keep headline words from clipping. */
@media (max-width: 380px) {
  .hero__title { font-size: 2.05rem; }
  .pagehead h1 { font-size: 1.9rem; }
  .logo__word { font-size: 1.05rem; }
  .hero__actions .btn { padding-inline: 14px; }
}

/* ---- reduced motion ------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .rv { opacity: 1; transform: none; }
  .gz-progress { stroke-dashoffset: 40.21; }
  .gz-needle { transform: rotate(100.8deg); }
  .fig-arc, .fig-wave { stroke-dashoffset: 0; }
  .fig-needle { transform: none; }
  .ip-bar { transform: scaleY(1); }
}
