/* =========================================================
   CREscore — landing page
   Aesthetic: institutional intelligence / editorial.
   Deep navy canvas, warm ivory, amber accent.
   Fraunces (display) · Hanken Grotesk (UI) · JetBrains Mono (data)
   ========================================================= */

:root {
  /* palette */
  --navy-900: #0a1c2e;
  --navy-850: #0d2336;
  --navy-800: #102a43;
  --navy-700: #16344f;
  --navy-line: rgba(255, 255, 255, 0.10);

  --ivory: #f6f1e7;
  --ivory-2: #efe8da;
  --paper: #fbf8f2;

  --amber: #f0a92c;
  --amber-deep: #e0900f;
  --amber-soft: rgba(240, 169, 44, 0.14);

  --blue: #3a64e8;

  --ink: #15202b;
  --ink-soft: #41505d;
  --on-navy: #e9eef4;
  --on-navy-dim: #9fb2c4;

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* rhythm */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --section-pad: clamp(72px, 11vw, 144px);

  --shadow-doc: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 12px 28px -12px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--on-navy);
  background: var(--navy-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- atmospheric background ---------- */
.bg-grid, .bg-glow, .bg-grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-grid {
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
}
.bg-glow {
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(240, 169, 44, 0.16), transparent 60%),
    radial-gradient(70% 60% at 12% 30%, rgba(58, 100, 232, 0.16), transparent 60%);
}
.bg-grain {
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--amber-deep); }

.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--sans); font-weight: 600; font-size: 0.96rem;
  padding: 0.85em 1.5em; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy-900); box-shadow: 0 10px 26px -10px rgba(240, 169, 44, 0.7); }
.btn--amber:hover { background: #ffba3d; box-shadow: 0 16px 34px -10px rgba(240, 169, 44, 0.85); }
.btn--ghost { color: var(--on-navy); border-color: var(--navy-line); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: #20303f; }
.btn--lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn--xl { padding: 1.15em 2.6em; font-size: 1.3rem; font-family: var(--mono); letter-spacing: -0.01em; }

.section { padding-block: var(--section-pad); position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section__title--light { color: var(--on-navy); }
.section__lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); margin-top: 1.1rem; max-width: 56ch; }
.section__lede--light { color: var(--on-navy-dim); }
.section__lede strong, .hero__lede strong { color: inherit; font-weight: 700; }
.section__lede--light strong { color: var(--on-navy); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 28, 46, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--navy-line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.brand__mark { display: inline-flex; width: 30px; height: 30px; object-fit: contain; }
.brand__word { font-family: var(--sans); font-size: 1.28rem; letter-spacing: -0.02em; }
.brand__accent { color: var(--amber); }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links { display: flex; gap: 1.9rem; font-size: 0.96rem; }
.nav__links a { color: var(--on-navy-dim); position: relative; padding: 4px 0; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--amber); transition: width 0.25s var(--ease); }
.nav__links a:hover { color: var(--on-navy); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(76px, 9vw, 124px); }
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(20px, 3vw, 34px); transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-navy-dim); text-decoration: none; transition: color 0.25s var(--ease);
}
.hero__scroll:hover { color: var(--amber); }
.hero__scroll svg { animation: nudge 1.9s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: 0.65; } 50% { transform: translateY(5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; color: var(--amber); }
.hero__lede { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--on-navy-dim); max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__stats {
  display: flex; gap: clamp(1.6rem, 4vw, 3rem); margin-top: 3rem;
  padding-top: 1.8rem; border-top: 1px solid var(--navy-line);
}
.hero__stats dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-navy-dim); }
.hero__stats dd { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; margin-top: 0.25rem; white-space: nowrap; }

/* hero visual */
.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.doc {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-doc);
  transform: perspective(1600px) rotateY(-9deg) rotateX(2.5deg);
  transition: transform 0.6s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__visual:hover .doc { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.doc img { width: 100%; height: auto; }

.chip {
  position: absolute; margin: 0;
  background: rgba(13, 35, 54, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  animation: float 7s ease-in-out infinite;
}
.chip--score {
  top: 8%; right: -7%; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: linear-gradient(150deg, var(--amber), var(--amber-deep));
  border-color: rgba(255, 255, 255, 0.3);
}
.chip--score .chip__big { font-family: var(--serif); font-weight: 700; font-size: 2.7rem; color: var(--navy-900); line-height: 0.9; }
.chip--score .chip__sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10, 28, 46, 0.7); }
.chip--noi { bottom: 16%; left: -10%; padding: 0.7rem 1rem; animation-delay: -2.5s; }
.chip--noi .chip__label { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-dim); }
.chip--noi .chip__val { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.chip--zone {
  bottom: -4%; right: 4%; padding: 0.6rem 0.95rem; font-size: 0.84rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem; animation-delay: -4.5s;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #5ad17e; box-shadow: 0 0 0 4px rgba(90, 209, 126, 0.18); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

/* ---------- data + AI strip ---------- */
.sources { padding-block: clamp(34px, 5vw, 56px); border-block: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.015); }
.sources__label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; text-align: center; }
.sources__statement {
  max-width: 70ch; margin: 0 auto; text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--on-navy);
}

/* ---------- product (light) ---------- */
.product { background: var(--paper); color: var(--ink); border-radius: 36px 36px 0 0; margin-top: 2px; }
.product .section__title { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.card {
  background: #fff; border: 1px solid var(--ivory-2); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(16, 42, 67, 0.32); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__num { font-family: var(--mono); font-size: 0.78rem; color: var(--amber-deep); letter-spacing: 0.1em; }
.card__title { font-size: 1.5rem; margin: 0.6rem 0 0.7rem; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- report (dark) ---------- */
.report { background: var(--navy-850); border-radius: 0 0 0 0; }
.toc {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(40px, 6vw, 64px);
}
.toc li {
  background: var(--navy-850); padding: 0.95rem 1.2rem; font-size: 0.95rem;
  display: flex; align-items: baseline; gap: 0.7rem; transition: background 0.2s;
}
.toc li:hover { background: var(--navy-800); }
.toc li span { font-family: var(--mono); font-size: 0.72rem; color: var(--amber); }
.toc li em { font-style: normal; color: var(--on-navy-dim); font-size: 0.82rem; margin-left: 0.2rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.shot {
  margin: 0; position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 5; background: #fff; border: 1px solid var(--navy-line);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.7rem 1rem 0.85rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em;
  background: linear-gradient(transparent, rgba(8, 22, 36, 0.94));
  color: #fff; pointer-events: none;
}
.shot::after {
  content: "⤢"; position: absolute; top: 0.7rem; right: 0.8rem;
  width: 2rem; height: 2rem; display: grid; place-content: center; border-radius: 8px;
  background: rgba(8, 22, 36, 0.55); color: #fff; font-size: 0.95rem;
  opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.3s var(--ease); backdrop-filter: blur(4px);
}
.shot:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -28px rgba(0, 0, 0, 0.8); }
.shot:hover img { transform: scale(1.05); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; transform: scale(1); }
.gallery__note { text-align: center; margin-top: 1.6rem; color: var(--on-navy-dim); font-size: 0.88rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(6, 16, 26, 0.92); backdrop-filter: blur(6px); padding: 4vh 4vw;
  animation: fade 0.25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(640px, 92vw); max-height: 90vh; width: auto; border-radius: 8px; box-shadow: var(--shadow-doc); }
.lightbox__close { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; line-height: 1; color: #fff; background: none; border: none; cursor: pointer; opacity: 0.7; }
.lightbox__close:hover { opacity: 1; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- numbers band ---------- */
.numbers { background: var(--amber); color: var(--navy-900); padding-block: clamp(40px, 6vw, 70px); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.num { text-align: center; position: relative; }
.num + .num::before { content: ""; position: absolute; left: calc(-1 * clamp(10px, 1.5vw, 20px)); top: 12%; bottom: 12%; width: 1px; background: rgba(10, 28, 46, 0.2); }
.num__val { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.num__label { display: block; margin-top: 0.6rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: rgba(10, 28, 46, 0.72); }

/* ---------- methodology (light) ---------- */
.method { background: var(--paper); color: var(--ink); }
.method .section__title { color: var(--ink); }
.method__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.formula {
  margin: 1.8rem 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.5rem 0.55rem;
}
.formula__term {
  display: inline-flex; flex-direction: column; gap: 0.15rem;
  padding: 0.5rem 0.8rem; border-radius: 11px;
  background: var(--ivory); border: 1px solid var(--ivory-2);
  box-shadow: 0 1px 0 rgba(10, 28, 46, 0.03);
}
.formula__dim {
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); opacity: 0.7;
}
.formula__calc { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline; gap: 0.18rem; }
.formula__calc b { font-weight: 700; }
.formula__calc i { font-style: normal; color: var(--amber-deep); font-size: 0.78em; }
.formula__wt { font-size: 0.78em; color: var(--ink-soft); font-weight: 500; }
.formula__op {
  align-self: center; font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  color: var(--ink-soft); opacity: 0.55; padding: 0 0.1rem;
}
.formula__op--eq { color: var(--amber-deep); opacity: 1; font-size: 1.5rem; }
.formula__result {
  align-self: center; display: inline-grid; place-content: center;
  min-width: 58px; padding: 0.45rem 0.7rem; border-radius: 12px;
  background: linear-gradient(150deg, var(--amber), var(--amber-deep));
  color: var(--navy-900); font-family: var(--serif); font-weight: 700; font-size: 1.9rem; line-height: 1;
  box-shadow: 0 8px 22px -10px rgba(224, 144, 15, 0.6);
}

.method__score { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3.5vw, 40px); align-items: center; }
.ring { position: relative; width: 168px; height: 168px; flex: none; }
.ring svg { transform: rotate(-90deg); width: 168px; height: 168px; }
.ring__track { fill: none; stroke: var(--ivory-2); stroke-width: 16; }
.ring__fill { fill: none; stroke: var(--amber); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 540; stroke-dashoffset: 540; transition: stroke-dashoffset 1.4s var(--ease); }
.ring__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__num { font-family: var(--serif); font-weight: 700; font-size: 2.9rem; color: var(--ink); line-height: 1; }
.ring__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

.dims { display: grid; gap: 0.9rem; min-width: 0; width: 100%; }
.dim { display: grid; grid-template-columns: 4.4rem 2.2rem 1fr 1.9rem; align-items: center; gap: 0.7rem; font-size: 0.9rem; }
.dim__name { font-weight: 600; color: var(--ink); }
.dim__wt { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-soft); }
.dim__bar { height: 8px; border-radius: 999px; background: var(--ivory-2); overflow: hidden; }
.dim__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--amber-deep), var(--amber)); transition: width 1.1s var(--ease); }
.dim.is-on .dim__bar i { width: var(--w); }
.dim__score { font-family: var(--mono); font-weight: 600; text-align: right; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { text-align: center; background: radial-gradient(120% 100% at 50% 0%, var(--navy-800), var(--navy-900)); }
.cta__inner { max-width: 720px; margin-inline: auto; }
.cta__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.4rem 0 1.2rem; }
.cta__lede { color: var(--on-navy-dim); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 52ch; margin-inline: auto; }
.cta .btn--xl { margin-top: 2.4rem; }
.cta__fine { margin-top: 1.1rem; font-size: 0.86rem; color: var(--on-navy-dim); }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); border-top: 1px solid var(--navy-line); padding-top: clamp(48px, 6vw, 72px); }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.4rem; border-bottom: 1px solid var(--navy-line); }
.footer__brand p { color: var(--on-navy-dim); margin-top: 0.6rem; max-width: 30ch; font-size: 0.95rem; }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer__nav a { color: var(--on-navy-dim); font-size: 0.95rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--amber); }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: 0.8rem; color: var(--on-navy-dim); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring__fill { transition: none; }
  .dim__bar i { transition: none; }
}

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 360px; margin-bottom: 1rem; }
  .doc { transform: none; }
  .hero__visual:hover .doc { transform: none; }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .cards { grid-template-columns: 1fr; }
  .toc { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot--tall { grid-row: span 1; }
  .method__grid { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .num:nth-child(3)::before { display: none; }
}
@media (max-width: 620px) {
  .nav__menu { display: none; }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0; margin-left: 0;
    background: var(--navy-850); border-bottom: 1px solid var(--navy-line);
    padding: 1.4rem var(--gutter); gap: 1.3rem;
  }
  .nav.is-open .nav__links { flex-direction: column; gap: 1.2rem; }
  .nav.is-open .nav__cta { align-self: flex-start; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--on-navy); transition: transform 0.25s, opacity 0.25s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .toc { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .method__score { grid-template-columns: 1fr; justify-items: center; gap: 2rem; }
  .dims { width: 100%; max-width: 360px; }
  .hero__stats { flex-wrap: wrap; gap: 1.4rem 2rem; }
  .chip--noi { left: 2%; bottom: 10%; }
  .chip--score { right: 0; }
  .chip--zone { right: 2%; }
  .footer__inner { flex-direction: column; }
}
