/* ════════════════════════════════════
   CSS VARIABLES
════════════════════════════════════ */
:root {
  --night:   #0c1409;
  --forest:  #3d6b4a;
  --sage:    #7aaa7c;
  --cream:   #f5f2ea;
  --sand:    #e8e0d0;
  --gold:    #c49a3c;
  --text:    #1a1e14;
  --muted:   #8a907a;
  --border:  rgba(255,255,255,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* No `scroll-behavior: smooth` here on purpose — it would intercept every
   per-frame scrollTo the spring engine issues and fight it (see main.js,
   pageScrollSpring). Anchor-link scrolling is spring-driven in JS instead. */
body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── Grain ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .025; pointer-events: none; z-index: 9999;
}

/* ─── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--forest); }

/* ─── NAVIGATION ─────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: padding .5s, background .5s, border-color .5s;
}
#nav.solid {
  padding: 18px 64px;
  background: rgba(12,20,9,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,.06);
}
@media (max-width: 1024px) { #nav { padding: 20px 24px; } #nav.solid { padding: 14px 24px; } }

.nav-logo svg { fill: #fff; transition: fill .3s; }
.nav-logo { display: flex; align-items: center; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  color: rgba(255,255,255,.7); font-size: 13px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--forest); color: #fff !important;
  padding: 10px 24px; font-size: 12px !important;
  letter-spacing: .12em !important;
  transition: background .3s, transform .2s !important;
  border: none;
}
.nav-cta:hover { background: #4f8a5e !important; transform: translateY(-1px) !important; }
.nav-cta:active { transform: scale(.96) !important; transition: transform .1s ease-out !important; }
.nav-cta::after { display: none !important; }

/* ─── LANGUAGE SWITCH ─────────────────────────── */
.lang-switch { display: flex; align-items: center; gap: 7px; }
.lang-globe { width: 15px; height: 15px; color: rgba(255,255,255,.35); flex-shrink: 0; margin-right: 1px; }
.lang-switch-mobile .lang-globe { width: 18px; height: 18px; }
.lang-btn {
  background: none; border: none; cursor: pointer; padding: 4px 2px;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: .08em; color: rgba(255,255,255,.4);
  transition: color .3s, transform .1s ease-out;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { color: #fff; font-weight: 700; }
.lang-btn:active { transform: scale(.9); }
.lang-sep { color: rgba(255,255,255,.2); font-size: 11px; }
.lang-switch-mobile { margin-top: 28px; }
.lang-switch-mobile .lang-btn { font-size: 15px; }

/* ─── VIDEO HERO (Apple scroll-scrub) ──────────── */
#vh-outer { position: relative; height: 500vh; }
@media (max-width: 768px) { #vh-outer { height: 320vh; } }

#vh-sticky {
  position: sticky; top: 0;
  height: 100dvh; overflow: hidden;
  background: #000;
}

#vh-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Loading overlay */
#vh-loader {
  position: absolute; inset: 0;
  background: var(--night);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  z-index: 5; transition: opacity .6s ease;
}
#vh-loader.hidden { opacity: 0; pointer-events: none; }
#vh-loader-bar-wrap {
  width: 160px; height: 1px;
  background: rgba(255,255,255,.1);
}
#vh-loader-bar {
  height: 100%; background: var(--forest);
  width: 0%; transition: width .15s linear;
}
#vh-loader-pct {
  font-size: 11px; font-weight: 400; letter-spacing: .2em;
  color: rgba(255,255,255,.3);
}

#vh-grad {
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    rgba(12,20,9,.78) 0%,
    rgba(12,20,9,.32) 52%,
    rgba(12,20,9,.08) 100%);
  pointer-events: none;
}

/* ── Phase containers ─────────────────────────── */
.vh-phase {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 64px 108px;
  pointer-events: none;
}
@media (max-width: 768px) { .vh-phase { padding: 0 24px 88px; } }

/* ── Phase elements ─────────────────────────── */
.vh-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 11px; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase; margin-bottom: 22px;
  opacity: 0; will-change: opacity, transform;
}
.vh-title {
  font-size: clamp(3rem, 7.5vw, 7rem); font-weight: 800;
  letter-spacing: -.04em; line-height: .9;
  color: #fff; margin-bottom: 22px;
  opacity: 0; will-change: opacity, transform;
}
.vh-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.55); line-height: 1.7;
  max-width: 46ch; margin-bottom: 36px;
  opacity: 0; will-change: opacity, transform;
}
.vh-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--forest); color: #fff;
  padding: 15px 36px; font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; width: fit-content;
  transition: background .3s;
  opacity: 0; pointer-events: none; will-change: opacity, transform;
}
.vh-cta.live { pointer-events: auto; }
.vh-cta:hover { background: #4f8a5e; }
.vh-cta:active { transform: scale(.96); transition: transform .1s ease-out; }

/* ── Stats row (phase 2) ────────────────────── */
.vh-stats {
  display: flex; gap: 48px; margin-bottom: 0;
  opacity: 0; will-change: opacity, transform;
}
@media (max-width: 640px) { .vh-stats { gap: 28px; } }
.vh-stat-num {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
  letter-spacing: -.04em; line-height: 1; color: #fff;
}
.vh-stat-lbl {
  font-size: 10px; font-weight: 500; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(255,255,255,.38); margin-top: 6px;
}

/* ── Logo (phase 0) ─────────────────────────── */
#vhp-0-logo { opacity: 0; will-change: opacity, transform; }

/* ── Progress line ─────────────────────────── */
#vh-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--forest);
  width: 0%; z-index: 20; pointer-events: none;
}

/* ── Phase counter (bottom-right) ───────────── */
#vh-phase-num {
  position: absolute; bottom: 48px; right: 64px;
  font-size: 13px; font-weight: 300; letter-spacing: .1em;
  color: rgba(255,255,255,.3); z-index: 20; pointer-events: none;
}
#vh-phase-num strong { color: rgba(255,255,255,.8); font-weight: 600; }
@media (max-width: 768px) { #vh-phase-num { right: 24px; bottom: 28px; } }

/* ── Scroll cue ─────────────────────────────── */
.scroll-cue {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.3); font-size: 10px; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  z-index: 20; pointer-events: none;
  transition: opacity .6s ease;
}
.scroll-cue-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.25} 50%{opacity:.9} }

/* ─── CREDENTIALS BAR (static, replaces the old marquee) ─── */
#credentials {
  background: var(--night);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 56px 0;
}
.cred-grid {
  max-width: 1400px; margin: 0 auto; padding: 0 64px;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.cred-item {
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,.07);
}
.cred-item:first-child { border-left: none; padding-left: 0; }
.cred-icon {
  width: 26px; height: 26px; display: block; margin-bottom: 16px;
  color: rgba(255,255,255,.55);
  transition: color .3s, transform .3s;
}
.cred-item:hover .cred-icon { color: var(--gold); transform: translateY(-3px); }
.cred-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #fff; margin-bottom: 5px; }
.cred-desc { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.5; font-weight: 300; }

/* ─── REVEAL ANIMATIONS ──────────────────────── */
/* Driven entirely by spring.js (opacity + translate), not CSS transitions —
   so a reveal in flight can be interrupted/retargeted without a visible jump.
   These rules only set the resting (pre-reveal) state; .d1–.d5 are read by
   JS as stagger delay markers. */
.rv        { opacity: 0; transform: translateY(32px); }
.rv-left   { opacity: 0; transform: translateX(-32px); }
.rv-right  { opacity: 0; transform: translateX(32px); }

/* ─── SECTION LABEL ──────────────────────────── */
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 500; letter-spacing: .35em;
  text-transform: uppercase; color: var(--forest); margin-bottom: 20px;
}
.sec-label::before { content:''; width:28px; height:1px; background:var(--forest); }
.sec-label-light { color: var(--sage); }
.sec-label-light::before { background: var(--sage); }
.sec-label-gold { color: var(--gold); }
.sec-label-gold::before { background: var(--gold); }

/* ─── ABOUT SECTION ──────────────────────────── */
#about { background: var(--cream); }
.about-img-wrap {
  position: relative; overflow: hidden;
  border-radius: 2px;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parallax-img { transition: transform .1s linear; will-change: transform; }

/* CSS-only hover zoom — replaces inline onmouseover/onmouseout handlers so
   no markup depends on inline script (keeps a future CSP simple). */
.hover-zoom { display: block; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.hover-zoom:hover { transform: scale(1.04); }

/* ─── COLLECTIONS STICKY SLIDER ─────────────────*/
#collections-outer {
  position: relative;
  height: 600vh;
}
#collections-sticky {
  position: sticky; top: 0;
  height: 100dvh; overflow: hidden;
  background: var(--night);
  touch-action: pan-y; /* let vertical page-scroll pass; JS claims horizontal drags */
  cursor: grab;
}
#collections-sticky.dragging { cursor: grabbing; }
.col-panel {
  position: absolute; inset: 0;
  will-change: transform;
  /* transform (translateX) is set every frame directly by JS — both while
     scroll-driven (1:1, continuous) and while dragged (1:1, respects grab
     offset) — never via CSS transition, so it stays interruptible. */
}
.col-panel-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.col-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(12,20,9,.9) 0%, rgba(12,20,9,.6) 45%, rgba(12,20,9,.2) 100%);
}
.col-panel-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 64px;
}
@media (max-width: 768px) { .col-panel-content { padding: 0 24px; } }
.col-panel-inner { max-width: 500px; }
.col-num { font-size: 120px; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.06); margin-bottom: -40px; }
.col-cat { font-size: 10px; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.col-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -.03em; line-height: .95; color: #fff; margin-bottom: 20px; }
.col-desc { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 45ch; margin-bottom: 32px; }
.col-tag { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 11px; font-weight: 400; letter-spacing: .1em; padding: 6px 14px; margin-right: 8px; margin-bottom: 8px; }

/* Collections progress bar */
.col-progress-bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--forest);
  z-index: 10; /* width set every frame by JS, no CSS transition needed */
}
.col-nav {
  position: absolute; bottom: 40px; right: 64px;
  display: flex; align-items: center; gap: 24px; z-index: 10;
}
@media (max-width: 768px) { .col-nav { right: 24px; bottom: 24px; } }
.col-nav-num { font-size: 32px; font-weight: 800; letter-spacing: -.04em; color: rgba(255,255,255,.15); }
.col-nav-num span { color: #fff; }
.col-nav-dots { display: flex; gap: 8px; align-items: center; }
.col-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .3s, transform .3s; cursor: pointer; }
.col-dot.active { background: var(--gold); transform: scale(1.4); }
.col-dot:active { transform: scale(1.15); }

/* ─── SUSTAINABILITY ─────────────────────────── */
#sustain { background: var(--cream); }
.sustain-big { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -.03em; line-height: .95; }
/* Fixed-height box so a giant animated number and a 40px icon both bottom-align
   to the same baseline — the row below (title/description) always lands flush
   across all three cards regardless of what's above it. */
.sustain-stat-top { height: 64px; display: flex; align-items: flex-end; margin-bottom: 14px; }
.counter-val { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--forest); }
.sustain-qual-icon { width: 40px; height: 40px; display: block; }

.sustain-pillar {
  border-top: 1px solid rgba(26,30,20,.12);
  padding-top: 32px; transition: border-color .3s;
}
.sustain-pillar:hover { border-color: var(--forest); }

.cert-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-pill {
  background: var(--night); color: rgba(255,255,255,.7);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid rgba(255,255,255,.06);
  transition: background .3s, color .3s, border-color .3s, transform .2s;
}
.cert-pill:hover { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-2px); }
.cert-pill:active { transform: scale(.95); transition: transform .1s ease-out; }

/* ─── PRODUCTION ─────────────────────────────── */
#production { background: var(--night); }
.prod-step {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 40px 0;
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 24px; align-items: start;
  transition: border-color .3s;
}
.prod-step:hover { border-color: var(--forest); }
.prod-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--forest); padding-top: 4px; }
.prod-name { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; color: #fff; margin-bottom: 8px; }
.prod-desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.45); line-height: 1.75; max-width: 55ch; }
.prod-icon { opacity: .2; padding-top: 4px; }

/* ─── GLOBAL ──────────────────────────────────── */
#global { background: var(--cream); }
.global-stat {
  border-top: 1px solid rgba(26,30,20,.12);
  padding-top: 32px;
  transition: border-color .3s;
}
.global-stat:hover { border-color: var(--forest); }
.global-num { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--text); margin-bottom: 8px; }
.global-num span { color: var(--forest); }

/* Trade shows */
.show-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid rgba(26,30,20,.08);
  transition: border-color .3s;
}
.show-row:hover { border-color: var(--forest); }
.show-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }

/* ─── CONTACT ─────────────────────────────────── */
#contact { background: var(--night); }
.form-field { position: relative; }
.form-label {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 10px;
}
.form-input {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,.12);
  outline: none; color: #fff;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 300;
  padding: 14px 0; transition: border-color .3s;
}
.form-input:focus { border-bottom-color: var(--forest); }
.form-input::placeholder { color: rgba(255,255,255,.25); }

/* Safari renders <select> with native OS chrome that ignores a transparent
   background — reset it explicitly and draw our own chevron so it matches
   the underline style of every other field. */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  cursor: pointer;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
  color: rgba(255,255,255,.25);
}
select.form-input.chosen { color: #fff; }
select.form-input option { background: var(--night); color: #fff; }
.form-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--forest); color: #fff;
  padding: 16px 40px; font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: background .3s, transform .2s;
}
.form-btn:hover { background: #4f8a5e; transform: translateY(-1px); }
.form-btn:active { transform: scale(.96); transition: transform .1s ease-out; }

.office-item {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px; margin-top: 28px;
}

/* ─── FOOTER ──────────────────────────────────── */
#footer { background: #060b05; border-top: 1px solid rgba(255,255,255,.05); }
.social-link { display: inline-flex; color: rgba(255,255,255,.35); transition: color .3s, transform .2s; }
.social-link:hover { color: #fff; transform: translateY(-2px); }

/* ─── MOBILE MENU (spring-driven sheet) ────────── */
/* Always in the layout; position is a translateY driven every frame by
   spring.js (open/close spring, and 1:1 during drag-to-dismiss) — never a
   CSS transition, so a mid-flight sheet can be grabbed and reversed. */
#mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 80px 32px 48px;
  background: rgba(12,20,9,.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transform: translateY(100%); /* closed by default until JS takes over */
  pointer-events: none;
  touch-action: none;
}
#mobile-menu a { display: block; font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; color: rgba(255,255,255,.8); text-decoration: none; margin-bottom: 8px; transition: color .2s; }
#mobile-menu a:hover { color: #fff; }
#mobile-menu .mob-sub { font-size: 13px; font-weight: 300; letter-spacing: .1em; color: rgba(255,255,255,.3); margin-top: 32px; }

/* Burger */
#burger { cursor: pointer; background: none; border: none; padding: 4px; display: none; flex-direction: column; gap: 5px; }
#burger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: all .35s cubic-bezier(.16,1,.3,1); transform-origin: center; }
#burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1024px) { #burger { display: flex; } .nav-links { display: none; } }

/* ─── FULL-WIDTH IMAGE SECTION ────────────────── */
.img-break { position: relative; overflow: hidden; }
.img-break img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-break-overlay { position: absolute; inset: 0; }

/* ─── Alink ───────────────────────────────────── */
.aln { text-decoration: none; position: relative; }
.aln::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:1px; background:currentColor; transition:width .3s cubic-bezier(.16,1,.3,1); }
.aln:hover::after { width:100%; }

/* ─── RESPONSIVE GRID FIXES ──────────────────── */
@media (max-width: 1024px) {
  .about-grid, .sustain-cols, .contact-grid, .global-bottom { grid-template-columns: 1fr !important; gap: 48px !important; }
  .counter-grid, .global-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px !important; }
  .about-pillars { grid-template-columns: 1fr !important; gap: 32px !important; margin-top: 56px !important; }
  section, #production { padding: 80px 0 !important; }
  section > div, #production > div, #contact > div, #global > div, #sustain > div, #about > div { padding: 0 24px !important; }
  .rv { margin-bottom: 48px !important; }
  #nav { padding: 20px 24px !important; } #nav.solid { padding: 14px 24px !important; }
  .cred-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px 24px !important; padding: 0 24px !important; }
  .cred-item { border-left: none !important; padding: 0 !important; }
}
@media (max-width: 640px) {
  .counter-grid, .global-stats-grid { grid-template-columns: 1fr !important; }
  .cred-grid { grid-template-columns: 1fr !important; }
}

/* ─── MOTION / TRANSPARENCY / CONTRAST PREFERENCES ─── */
/* apple-design skill §14 — a gentler, non-vestibular equivalent, not silence.
   Springs already fall back to a quick critically-damped settle (see
   spring.js); this covers the plain-CSS animations that engine can't reach. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue-line { animation: none; opacity: .5; }
}

@media (prefers-reduced-transparency: reduce) {
  #nav.solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
  #mobile-menu { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
  .cert-pill { background: var(--night); }
}

@media (prefers-contrast: more) {
  #nav.solid { border-bottom: 2px solid rgba(255,255,255,.4); }
  .form-input { border-bottom-width: 2px; }
  .col-tag, .cert-pill { border-width: 2px; }
}
