/* =========================================================================
   NUVVO — core stylesheet
   Aesthetic: "Hypersnel & vers" — ink-black canvas, electric lime accent,
   oversized Bricolage display type, mono labels, speed-line motion.
   Plain CSS, no build step. Edit tokens in :root to retheme.
   ========================================================================= */

/* ---------- Fonts (self-hosted, latin + latin-ext) ----------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: optional;
  src: url('/fonts/bricolage-latin.woff2') format('woff2');
  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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: optional;
  src: url('/fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/fonts/hanken-latin.woff2') format('woff2');
  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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/fonts/hanken-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ------------------------------------------------ */
:root {
  --ink:        #0B0B0D;
  --ink-2:      #141417;
  --ink-3:      #1B1B20;
  --paper:      #F4F1E8;
  --paper-dim:  #B9B6AD;
  --muted:      rgba(244, 241, 232, 0.60);
  --lime:       #CDFF3C;
  --lime-deep:  #A4D400;
  --line:       rgba(244, 241, 232, 0.12);
  --line-2:     rgba(244, 241, 232, 0.22);

  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- Skip link + focus ------------------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--lime); color: var(--ink); padding: 0.7rem 1.2rem;
  border-radius: var(--radius); font-family: var(--font-mono);
  font-size: 0.85rem; font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display {
  font-size: clamp(2.9rem, 1.6rem + 6.4vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); }
.h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.lead {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.45; color: var(--paper);
  max-width: 38ch;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px; background: var(--lime);
  display: inline-block;
}
.eyebrow.center::before { display: none; }
.muted { color: var(--muted); }
.accent { color: var(--lime); }
em.mark { font-style: normal; color: var(--lime); }

/* ---------- Layout ------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 3rem + 8vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.stack > * + * { margin-top: 1.2rem; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 1rem 1.6rem; border-radius: var(--radius);
  border: 1px solid transparent; position: relative;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(205,255,60,0.5); }
.btn--ghost { border-color: var(--line-2); color: var(--paper); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / nav ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 2rem; }
.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; }
.brand .mark { width: 30px; height: 30px; }
.brand:hover .mark .spark { animation: spin 1.2s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.86rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: var(--radius); color: var(--paper-dim);
  position: relative; transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.25rem;
  height: 2px; background: var(--lime);
}
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; gap: 0.15rem; font-family: var(--font-mono); font-size: 0.78rem; }
.lang a { padding: 0.3rem 0.45rem; color: var(--muted); border-radius: 3px; }
.lang a[aria-current="true"] { color: var(--ink); background: var(--lime); font-weight: 700; }
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--paper); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 76px 0 auto 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem; display: none;
  }
  .nav-menu.is-open { display: flex; animation: slidedown 0.35s var(--ease); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-menu .btn { margin-top: 1.2rem; }
}

/* ---------- Marquee ------------------------------------------------------ */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden;
  background: var(--ink); padding-block: 1.1rem;
  --speed: 28s;
}
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee var(--speed) linear infinite; animation-play-state: paused; }
.marquee.is-on .marquee__track { animation-play-state: running; }
.marquee.is-on:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem);
  letter-spacing: -0.02em; color: var(--paper); display: inline-flex; align-items: center; gap: 2.5rem;
  white-space: nowrap;
}
.marquee__item::after { content: "✳"; color: var(--lime); font-size: 0.7em; }
.marquee--reverse .marquee__track { animation-direction: reverse; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2rem, 4vw, 4rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.5; mask-image: linear-gradient(to bottom, #000 35%, transparent 92%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 10%, transparent 30%, var(--ink) 78%); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 7rem) clamp(4rem, 6vw, 8rem); }
.hero .display { max-width: 16ch; }
.hero__sub { margin-top: 1.8rem; }
.hero__cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__meta { margin-top: 3.2rem; display: flex; flex-wrap: wrap; gap: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero__meta .stat strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; display: block; line-height: 1; }
.hero__meta .stat span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Rotating "fresh" badge -------------------------------------- */
.fresh-badge { position: relative; width: 132px; height: 132px; flex: none; }
.fresh-badge svg { width: 100%; height: 100%; }
.fresh-badge .ring { animation: spin 18s linear infinite; transform-origin: center; }
.fresh-badge .core { position: absolute; inset: 0; display: grid; place-items: center; }
.fresh-badge .core svg { width: 38px; height: 38px; }

/* ---------- Cards / features -------------------------------------------- */
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 120% at 0% 0%, rgba(205,255,60,0.10), transparent 55%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--lime); letter-spacing: 0.1em; }
.card__icon { width: 46px; height: 46px; margin-bottom: 1.3rem; color: var(--lime); }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--muted); }
.card__tag { margin-top: 1.2rem; display: inline-block; font-family: var(--font-mono); font-size: 0.74rem; color: var(--paper-dim); }

/* numbered service rows */
.svc { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 4rem 1fr auto; gap: 1.5rem; align-items: baseline;
  padding-block: clamp(1.6rem, 1rem + 2vw, 2.6rem); border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}
.svc-row:hover { padding-left: 1rem; background: linear-gradient(90deg, rgba(205,255,60,0.05), transparent); }
.svc-row .n { font-family: var(--font-mono); color: var(--lime); font-size: 0.9rem; }
.svc-row h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); }
.svc-row p { color: var(--muted); margin-top: 0.6rem; max-width: 52ch; }
.svc-row .for { font-family: var(--font-mono); font-size: 0.74rem; color: var(--paper-dim); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 680px) { .svc-row { grid-template-columns: 2.5rem 1fr; } .svc-row .for { grid-column: 2; margin-top: 0.6rem; } }

/* ---------- Compare table (self-beheer vs Nuvvo) ------------------------ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.compare__col--win { border-color: var(--lime); background: linear-gradient(180deg, rgba(205,255,60,0.07), transparent); }
.compare__col h3 { font-size: 1.4rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.compare__col ul { list-style: none; display: grid; gap: 0.9rem; }
.compare__col li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.compare__col li .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.compare__col--lose li .ic { color: #ff6b5e; }
.compare__col--win li { color: var(--paper); }
.compare__col--win li .ic { color: var(--lime); }
@media (max-width: 680px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Lighthouse score meters ------------------------------------- */
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.score { text-align: center; }
.score__ring { position: relative; width: clamp(96px, 18vw, 140px); aspect-ratio: 1; margin-inline: auto; }
.score__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score__ring circle { fill: none; stroke-width: 7; }
.score__ring .bg { stroke: var(--ink-3); }
.score__ring .fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: var(--circ); stroke-dashoffset: var(--circ); transition: stroke-dashoffset 1.4s var(--ease); }
.score.is-in .fg { stroke-dashoffset: var(--target); }
.score__val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.score__label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.9rem; }
@media (max-width: 620px) { .scores { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps (workflow) -------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.step { background: var(--ink); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; }
.step__n { counter-increment: step; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--lime); line-height: 1; }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); }

/* ---------- Portfolio / cases ------------------------------------------- */
.cases { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.case {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-2); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-6px); border-color: var(--line-2); }
.case__shot { aspect-ratio: 16/10; overflow: hidden; background: var(--ink-3); position: relative; }
.case__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.case:hover .case__shot img { transform: scale(1.04); }
.case__soon { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); background: repeating-linear-gradient(45deg, var(--ink-2), var(--ink-2) 12px, var(--ink-3) 12px, var(--ink-3) 24px); }
.case__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.case__body h3 { font-size: 1.25rem; }
.case__meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--lime); letter-spacing: 0.06em; text-transform: uppercase; }
.case__body p { color: var(--muted); font-size: 0.95rem; }
.case__link { margin-top: auto; font-family: var(--font-mono); font-size: 0.82rem; color: var(--paper); display: inline-flex; align-items: center; gap: 0.4rem; padding-top: 0.8rem; }
.case__link .arr { transition: transform 0.25s var(--ease); }
.case:hover .case__link .arr { transform: translateX(4px); }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band { background: var(--lime); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(2.5rem, 2rem + 4vw, 5rem); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--ink); max-width: 18ch; }
.cta-band .btn--primary { background: var(--ink); color: var(--lime); }
.cta-band .btn--primary:hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5); }
.cta-band__deco { position: absolute; right: -4%; top: -30%; font-family: var(--font-display); font-weight: 800; font-size: 22rem; color: rgba(0,0,0,0.07); pointer-events: none; line-height: 1; }

/* ---------- Contact form ------------------------------------------------- */
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-dim); }
.field input, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 0.95rem 1.1rem; width: 100%; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--lime); background: var(--ink-3); outline: none; }
.field textarea { resize: vertical; min-height: 150px; }
.field--hp, .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form__note { font-size: 0.85rem; color: var(--muted); }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.is-ok { display: block; background: rgba(205,255,60,0.12); border: 1px solid var(--lime); color: var(--paper); }
.form-status.is-err { display: block; background: rgba(255,107,94,0.12); border: 1px solid #ff6b5e; color: var(--paper); }

/* contact info list */
.info-list { list-style: none; display: grid; gap: 1.4rem; }
.info-list li { display: grid; gap: 0.2rem; }
.info-list .k { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.info-list .v { font-size: 1.05rem; }
.info-list a.v:hover { color: var(--lime); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h3 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-grid a { color: var(--paper-dim); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; font-size: 0.95rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Section heading helper -------------------------------------- */
.sec-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); }
.sec-head .h2 { margin-top: 1rem; }
.sec-head p { margin-top: 1.2rem; color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Trust strip -------------------------------------------------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.4rem; }
.trust .lbl { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.trust a { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--paper-dim); letter-spacing: -0.02em; }
.trust a:hover { color: var(--lime); }

/* ---------- Testimonials ------------------------------------------------- */
.quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem; }
.quote__stars { color: var(--lime); letter-spacing: 3px; font-size: 0.95rem; }
.quote p { font-size: 1.08rem; color: var(--paper); }
.quote__who { margin-top: auto; display: flex; flex-direction: column; gap: 0.1rem; padding-top: 0.4rem; }
.quote__who .n { font-weight: 700; }
.quote__who .r { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1.2rem; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 1.7rem; line-height: 1; transition: transform 0.25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; color: var(--muted); max-width: 72ch; }

/* score caption */
.scores-cap { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 1.6rem; }

/* ---------- Scroll reveal ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
/* No-JS / crawler fallback: never hide content when JS can't reveal it. */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .hero .anim { opacity: 1; animation: none; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- Grain overlay ------------------------------------------------ */
/* Note: a live SVG feTurbulence overlay rasterises late under CPU throttling and
   tanks Speed Index for a near-invisible (0.04) effect — not worth it. Left off. */

/* ---------- Keyframes ---------------------------------------------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slidedown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* hero load animation — transform-only so content is painted from frame 1
   (keeps Speed Index low for a perfect Lighthouse; no opacity hide). */
.hero .anim { animation: hero-rise 0.5s var(--ease) both; }
.hero .anim[data-d="0"] { animation-delay: 0.02s; }
.hero .anim[data-d="1"] { animation-delay: 0.07s; }
.hero .anim[data-d="2"] { animation-delay: 0.12s; }
.hero .anim[data-d="3"] { animation-delay: 0.17s; }
.hero .anim[data-d="4"] { animation-delay: 0.22s; }
@keyframes hero-rise { from { transform: translateY(14px); } to { transform: none; } }
