/* =========================================================================
   FORGE — Landing Page Stylesheet
   A product studio based in China, building for clients worldwide.

   Architecture
   ------------
   1. Design tokens (CSS custom properties)
   2. Reset & base
   3. Typography
   4. Layout primitives (container, section, bento grid)
   5. Components (buttons, nav, cards, marquee, etc.)
   6. Sections (hero → footer)
   7. Motion / reveal
   8. Responsive
   9. Reduced motion & print

   Swap the brand accent in one place: --accent (and --accent-strong).
   ========================================================================= */

/* 1. ─────────────────────────────────────────  DESIGN TOKENS  ─────────── */
:root {
  /* Brand */
  --accent:        #d7ff3e;          /* acid lime — used sparingly */
  --accent-strong: #c2ee1f;
  --accent-ink:    #0b0b0e;          /* text that sits on the accent */

  /* Surfaces */
  --ink:    #0b0b0e;                 /* near-black canvas */
  --ink-2:  #131318;                 /* raised dark surface */
  --ink-3:  #1c1c23;                 /* hairline-lit dark surface */
  --paper:  #f4f4ee;                 /* warm off-white card */
  --paper-2:#ffffff;
  --paper-ink: #0b0b0e;              /* text on paper */

  /* Text on dark */
  --text:       #f4f4ee;
  --text-muted: #a3a3ad;
  --text-faint: #8d8d96;   /* ≥4.5:1 on --ink for WCAG AA small text */

  /* Lines */
  --line:       rgba(244, 244, 238, 0.10);
  --line-strong:rgba(244, 244, 238, 0.18);
  --line-paper: rgba(11, 11, 14, 0.10);

  /* Radii */
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Fluid type scale (Major Third-ish, clamped) */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem,    0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.50rem);
  --step-2:  clamp(1.50rem, 1.36rem + 0.70vw, 2.10rem);
  --step-3:  clamp(1.95rem, 1.70rem + 1.25vw, 3.10rem);
  --step-4:  clamp(2.45rem, 2.05rem + 2.00vw, 4.40rem);
  --display: clamp(3.2rem,  2.2rem + 5.20vw, 8.2rem);

  /* Fonts */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Grotesk", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;

  color-scheme: dark;
}

/* 2. ─────────────────────────────────────────  RESET & BASE  ──────────── */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* faint grain so the dark canvas never looks dead-flat */
  background-image:
    radial-gradient(900px 600px at 80% -5%, rgba(215, 255, 62, 0.07), transparent 60%),
    radial-gradient(700px 500px at -5% 10%, rgba(215, 255, 62, 0.04), transparent 55%);
  background-repeat: no-repeat;
}
/* fixed attachment only where it won't cause mobile-Safari compositing jank */
@media (hover: hover) and (pointer: fine) {
  body { background-attachment: fixed; }
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. ─────────────────────────────────────────  TYPOGRAPHY  ────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.section-title {
  font-size: var(--step-4);
  max-width: 16ch;
}

.lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 52ch;
}

.accent-text { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* 4. ─────────────────────────────────────────  LAYOUT  ────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.section--paper .lead,
.section--paper .eyebrow { color: rgba(11,11,14,0.62); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.6rem);
}
.section-head .lead { margin-top: 1rem; }

/* Bento grid: 12-col fluid grid, cards declare spans */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.8rem, 0.5rem + 1vw, 1.25rem);
  grid-auto-rows: minmax(160px, auto);
}
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.row-2  { grid-row: span 2; }

/* 5. ─────────────────────────────────────────  COMPONENTS  ────────────── */

/* Buttons */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  transition: transform var(--dur) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { background: var(--accent-strong); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.section--paper .btn--ghost { border-color: var(--line-paper); color: var(--paper-ink); }
.section--paper .btn--ghost:hover { border-color: var(--accent-ink); }

.btn--lg { --btn-pad-y: 1.05rem; --btn-pad-x: 1.8rem; font-size: var(--step-1); }

/* Generic card (light Bento tile on dark canvas) */
.card {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 1.3vw, 2.1rem);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.card--dark {
  background: var(--ink-2);
  color: var(--text);
  border: 1px solid var(--line);
}

/* Icon chip */
.icon-chip {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-ink);
  color: var(--accent);
  flex: none;
}
.icon-chip svg { width: 1.5rem; height: 1.5rem; }

/* Tag / pill */
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  color: rgba(11,11,14,0.55);
}

/* ───── NAV ───── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 14, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: 4.75rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand__mark { width: 1.85rem; height: 1.85rem; }
.brand__dot { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: var(--step-0); color: var(--text-muted); transition: color var(--dur) var(--ease); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--accent); transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__toggle { display: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; border: 1px solid var(--line-strong); place-items: center; }
.nav__toggle svg { width: 1.4rem; height: 1.4rem; }

/* mobile menu panel */
.nav__mobile {
  position: fixed; inset: 4.75rem 0 auto 0; z-index: 49;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem var(--gutter) 2rem;
  display: none;
  flex-direction: column; gap: 0.25rem;
  transform: translateY(-12px); opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__mobile.is-open { display: flex; transform: none; opacity: 1; }
.nav__mobile a { padding: 0.9rem 0; font-size: var(--step-1); border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 1.25rem; justify-content: center; }

/* ───── BACK TO TOP ───── */
.to-top {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  z-index: 40;
  width: 3.25rem; height: 3.25rem;          /* 52px — comfortable touch target */
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;                      /* not focusable/clickable until shown */
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-strong); transform: translateY(-3px); }
.to-top:active { transform: translateY(0); }
.to-top svg { width: 1.4rem; height: 1.4rem; }

/* ───── HERO ───── */
.hero { padding-top: clamp(7rem, 5rem + 8vw, 11rem); padding-bottom: var(--section-y); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.45rem 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: var(--step--1); color: var(--text-muted);
  margin-bottom: 1.8rem;
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__badge .pin {
  display: inline-grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-family: var(--font-mono);
  padding: 0.15rem 0.6rem; border-radius: var(--r-pill); font-size: 0.78em;
}

.hero__title {
  font-size: var(--display);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 16ch;
}
/* the distinctive type moment: an outlined accent word inside the headline */
.hero__title .stroke {
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
  font-style: italic;
}
.hero__title .fill { color: var(--accent); }

.hero__sub { margin-top: 1.8rem; max-width: 46ch; }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__trust {
  margin-top: 3.2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem;
  color: var(--text-faint); font-size: var(--step--1);
}
.hero__stars { color: var(--accent); letter-spacing: 0.15em; }

/* ───── LOGO ROW ───── */
.logos {
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-block: 1px solid var(--line);
}
.logos__label { text-align: center; color: var(--text-faint); font-size: var(--step--1); font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.8rem; }
.logos__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.6rem, 1rem + 3vw, 3.8rem);
}
.logos__row svg { height: 1.6rem; width: auto; opacity: 0.55; transition: opacity var(--dur) var(--ease); color: var(--text); }
.logos__row a:hover svg { opacity: 1; }

/* ───── METRICS ───── */
.metric { justify-content: space-between; gap: 1rem; }
.metric--accent { background: var(--accent); color: var(--accent-ink); }
.metric--ink { background: var(--ink-2); color: var(--text); border: 1px solid var(--line); }
.metric__num { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1; letter-spacing: -0.04em; }
.metric__num .suffix { font-size: 0.5em; vertical-align: super; }
.metric__label { font-size: var(--step-0); opacity: 0.8; line-height: 1.3; }
.metric--ink .metric__label { color: var(--text-muted); opacity: 1; }

/* ───── SERVICES (the showcase) ───── */
.service {
  cursor: pointer;
  justify-content: space-between;
  gap: 1.4rem;
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
/* unexpected interaction: a lime sweep wipes up from the bottom, NOT a scale */
.service::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.service:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.service:hover::before { transform: translateY(0); }
.service:hover .icon-chip { background: var(--accent-ink); color: var(--accent); }
.service:hover .service__index { opacity: 1; transform: none; }

.service__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service__index {
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.1em;
  opacity: 0.4; transform: translateX(-6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.service p { color: rgba(11,11,14,0.62); font-size: var(--step-0); }
.service:hover p { color: rgba(11,11,14,0.78); }
.service__foot { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.05em; text-transform: uppercase; }
.service__foot svg { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.service:hover .service__foot svg { transform: translate(3px, -3px); }
.service--feature { background: var(--ink-2); color: var(--text); border-color: var(--line); }
.service--feature p { color: var(--text-muted); }
.service--feature .icon-chip { background: var(--accent); color: var(--accent-ink); }

/* ───── WHY (paper) ───── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.2rem, 0.8rem + 1.5vw, 2.2rem); }
.why-item { display: flex; flex-direction: column; gap: 0.8rem; padding-top: 1.4rem; border-top: 2px solid var(--accent-ink); }
.why-item .icon-chip { background: var(--accent-ink); color: var(--accent); }
.why-item h3 { font-size: var(--step-1); }
.why-item p { color: rgba(11,11,14,0.62); font-size: var(--step-0); }

/* ───── PROCESS ───── */
.process { display: grid; gap: 0; }
.process__step {
  display: grid;
  grid-template-columns: minmax(0, 4.5rem) minmax(0, 1.6fr) minmax(0, 2fr);
  gap: clamp(1rem, 0.5rem + 2vw, 3rem);
  align-items: start;
  padding-block: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem);
  border-top: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.process__step:last-child { border-bottom: 1px solid var(--line); }
.process__step:hover { background: rgba(244,244,238,0.02); }
.process__num { font-family: var(--font-mono); color: var(--accent); font-size: var(--step-1); letter-spacing: 0.05em; }
.process__step h3 { font-size: var(--step-2); }
.process__step p { color: var(--text-muted); max-width: 48ch; }
.process__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.process__tags .tag { color: var(--text-faint); }

/* ───── WORK ───── */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.9rem, 0.6rem + 1vw, 1.5rem); }
.work {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-2);
  min-height: 22rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color var(--dur) var(--ease);
}
.work:hover { border-color: var(--line-strong); }
.work__canvas { position: absolute; inset: 0; z-index: 0; }
.work__canvas svg { width: 100%; height: 100%; }
.work__body {
  position: relative; z-index: 1;
  padding: clamp(1.4rem, 1rem + 1.3vw, 2.1rem);
  background: linear-gradient(to top, var(--ink-2) 18%, rgba(19,19,24,0.86) 55%, transparent);
}
.work__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.work__meta .tag { color: var(--text-muted); border-color: var(--line-strong); }
.work h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.work p { color: var(--text-muted); font-size: var(--step-0); }
.work__result {
  margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.work__result b { font-family: var(--font-display); color: var(--accent); font-size: var(--step-2); letter-spacing: -0.03em; }
.work__result span { color: var(--text-faint); font-size: var(--step--1); }
.work__link {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 2;
  width: 2.9rem; height: 2.9rem; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  transform: translate(6px, -6px) scale(0.85); opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.work:hover .work__link { transform: none; opacity: 1; }
.work__link svg { width: 1.3rem; height: 1.3rem; }

/* ───── TECH MARQUEE ───── */
.tech { border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.2rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--ink-2);
  font-family: var(--font-mono); font-size: var(--step-0); letter-spacing: -0.01em;
  white-space: nowrap;
}
.chip i { width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── TESTIMONIALS (paper) ───── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.1rem, 0.7rem + 1.5vw, 1.8rem); }
.quote {
  background: var(--paper-2); border: 1px solid var(--line-paper);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.quote__mark { font-family: var(--font-display); font-size: 3.2rem; line-height: 0.5; color: var(--accent-ink); }
.quote p { font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em; }
.quote__person { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.avatar { width: 3rem; height: 3rem; border-radius: var(--r-pill); flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--accent-ink); color: var(--accent); }
.quote__person b { display: block; font-weight: 600; }
.quote__person span { color: rgba(11,11,14,0.55); font-size: var(--step--1); }

/* ───── FINAL CTA ───── */
.cta {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: clamp(24px, 1rem + 2vw, 40px);
  padding: clamp(2.8rem, 2rem + 4vw, 5.5rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::after {
  content: "FORGE"; position: absolute; bottom: -0.35em; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 30vw; line-height: 1;
  color: rgba(11,11,14,0.06); pointer-events: none; letter-spacing: -0.05em; white-space: nowrap;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: var(--step-4); margin-inline: auto; max-width: 18ch; }
.cta .lead { color: rgba(11,11,14,0.72); margin: 1.2rem auto 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta .btn--primary { background: var(--accent-ink); color: var(--accent); }
.cta .btn--primary:hover { background: #000; }
.cta .btn--ghost { border-color: rgba(11,11,14,0.3); color: var(--accent-ink); }
.cta .btn--ghost:hover { border-color: var(--accent-ink); background: rgba(11,11,14,0.06); }
.cta__note { margin-top: 1.6rem; font-size: var(--step--1); color: rgba(11,11,14,0.6); }

/* ───── FOOTER ───── */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.footer__intro p { color: var(--text-muted); max-width: 34ch; margin-top: 1rem; }
.footer__intro .brand { margin-bottom: 0.4rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: 0.4rem 0; color: var(--text-muted); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  color: var(--text-faint); font-size: var(--step--1);
}
.footer__bottom .loc { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer__bottom .loc::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(215,255,62,0.18); }

/* 7. ─────────────────────────────────────────  REVEAL  ────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* 8. ─────────────────────────────────────────  RESPONSIVE  ────────────── */
@media (max-width: 1024px) {
  .col-3 { grid-column: span 6; }
  .col-4 { grid-column: span 6; }
  .col-5 { grid-column: span 6; }
  .col-7 { grid-column: span 12; }
  .col-8 { grid-column: span 12; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; }

  .bento { grid-auto-rows: auto; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .row-2 { grid-row: span 1; }

  .process__step { grid-template-columns: 1fr; gap: 0.7rem; }
  .process__num { font-size: var(--step-2); }

  .work-grid .col-6, .work-grid .col-12 { grid-column: span 12; }
  .work { min-height: 18rem; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: span 2; }

  .hero__title .stroke { -webkit-text-stroke-width: 1.5px; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__intro { grid-column: span 1; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* 9. ─────────────────────────────────────────  REDUCED MOTION  ────────── */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
