/* ==========================================================================
   PERXAL — Design System
   Engineering the future of sound.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Bilingual (ES / EN) visibility
   6.  Header & navigation
   7.  Buttons & links
   8.  Hero
   9.  Sections & modules
   10. Cards (products, research, specs)
   11. Footer
   12. Motion & reveal
   13. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */

:root {
  /* Neutrals */
  --black: #0a0a0b;
  --ink: #101113;
  --ink-700: #3d4045;
  --gray-600: #6b6e74;
  --gray-500: #8b8f96;
  --gray-400: #adb1b7;
  --gray-300: #d2d5d9;
  --gray-200: #e5e7ea;
  --gray-100: #f0f1f3;
  --gray-050: #f7f8f9;
  --white: #ffffff;

  /* Accent — used sparingly */
  --accent: #0a58ff;
  --accent-600: #0846cc;
  --accent-soft: #6fa8ff;
  --accent-tint: rgba(10, 88, 255, 0.08);

  /* Lines */
  --hair: rgba(16, 17, 19, 0.10);
  --hair-strong: rgba(16, 17, 19, 0.18);
  --hair-invert: rgba(255, 255, 255, 0.14);

  /* Metrics */
  --maxw: 1280px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section-y: clamp(84px, 11vw, 168px);
  --radius: 3px;
  --header-h: 68px;

  /* Type */
  --font-sans: "Inter", "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, "Roboto Mono", Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset & base -------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1, "cv05" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 0.8125rem;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* 3. Layout primitives --------------------------------------------------- */

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

.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--muted { background: var(--gray-050); }
.section--line { border-top: 1px solid var(--hair); }

.section--dark {
  background: var(--black);
  color: var(--white);
  --hair: var(--hair-invert);
  --gray-600: #9aa0a8;
  --ink: #ffffff;
}

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
}

.stack > * + * { margin-top: 1.25rem; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section-head--center {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  text-align: center;
  align-items: start;
}

/* 4. Typography ---------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: clamp(18px, 2vw, 28px);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.section-head--center .eyebrow { justify-content: center; }

.display {
  font-size: clamp(2.75rem, 7.4vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

h1, .h1 {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}

h2, .h2 {
  font-size: clamp(1.875rem, 3.9vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

h3, .h3 {
  font-size: clamp(1.1875rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 600;
}

h4, .h4 {
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.3125rem);
  line-height: 1.55;
  letter-spacing: -0.014em;
  color: var(--gray-600);
  max-width: 62ch;
}

.body { color: var(--gray-600); max-width: 68ch; }
.body--tight { max-width: 56ch; }

.statement {
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.042em;
  font-weight: 600;
  text-wrap: balance;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.accent { color: var(--accent); }
.muted { color: var(--gray-500); }

/* 5. Bilingual visibility ------------------------------------------------ */
/* Both languages ship in the markup; the root [data-lang] decides which one
   is painted. No flash, no request, instant switch. */

html[data-lang="es"] [lang="en"],
html[data-lang="en"] [lang="es"] { display: none !important; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.lang-switch button {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--gray-500);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.site-footer .lang-switch {
  background: transparent;
  border-color: var(--hair-invert);
}
.site-footer .lang-switch button { color: var(--gray-400); }
.site-footer .lang-switch button:hover { color: #fff; }
.site-footer .lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--black);
}

/* 6. Header & navigation ------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--hair);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand .mark { width: 20px; height: 20px; color: var(--ink); }
.brand .wordmark {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-inline: auto;
}

.nav a {
  position: relative;
  font-size: 0.875rem;
  letter-spacing: -0.005em;
  color: var(--gray-600);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  margin-right: -8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* 7. Buttons & links ----------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding-inline: 26px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

.btn--ghost { border-color: var(--hair-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.section--dark .btn--primary { background: var(--white); color: var(--black); }
.section--dark .btn--primary:hover { background: var(--accent); color: #fff; }
.section--dark .btn--ghost { border-color: var(--hair-invert); color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--black); border-color: #fff; }

.btn--sm { height: 40px; padding-inline: 18px; font-size: 0.8125rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.link-arrow svg { width: 14px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 8. Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 900px);
  padding-top: calc(var(--header-h) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(64px, 10vh, 128px);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  -webkit-mask-image: radial-gradient(120% 95% at 62% 42%, #000 18%, rgba(0,0,0,0.55) 55%, transparent 82%);
  mask-image: radial-gradient(120% 95% at 62% 42%, #000 18%, rgba(0,0,0,0.55) 55%, transparent 82%);
}
.hero__canvas.is-ready { opacity: 1; }

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__copy { max-width: 22ch; }
.hero .lead { margin-top: clamp(20px, 2.4vw, 30px); max-width: 52ch; }
.hero .actions { margin-top: clamp(30px, 3.4vw, 46px); }

.hero__meta {
  margin-top: clamp(56px, 8vw, 104px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Page hero (interior pages) */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 128px));
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.page-hero .lead { max-width: 46ch; }

/* 9. Sections & modules -------------------------------------------------- */

.divider { height: 1px; background: var(--hair); border: 0; margin: 0; }

.statement-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.statement-block .statement span { display: block; }
.statement-block .statement .is-dim { color: var(--gray-500); }
.section--dark .statement-block .statement .is-dim { color: #6f757d; }

/* Numbered feature rows */
.rows { border-top: 1px solid var(--hair); }
.row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
.row__n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-400);
  padding-top: 5px;
}
.row__t { letter-spacing: -0.02em; }
.row__d { color: var(--gray-600); font-size: 0.9375rem; }

/* 10. Cards -------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--hair-strong);
  box-shadow: 0 18px 44px -28px rgba(16, 17, 19, 0.35);
}
.card:hover::after { transform: scaleX(1); }

.card__figure {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, var(--gray-050), #fff 78%);
  border-bottom: 1px solid var(--hair);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card__figure svg {
  width: 74%;
  max-width: 260px;
  color: var(--ink);
  transition: transform 0.7s var(--ease-out);
}
.card:hover .card__figure svg { transform: scale(1.035); }

.card__body {
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.card__title { display: flex; align-items: baseline; gap: 10px; }
.card__desc { font-size: 0.9375rem; color: var(--gray-600); flex: 1; }
.card__foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  white-space: nowrap;
}
.tag--accent { border-color: rgba(10, 88, 255, 0.28); color: var(--accent); background: var(--accent-tint); }

/* Product hero figure */
.product-figure {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gray-050), #fff 72%);
  display: grid;
  place-items: center;
  padding: clamp(30px, 6vw, 76px);
  color: var(--ink);
}
.product-figure svg { width: min(100%, 460px); }

/* Research modules */
.module {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px) 0;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 16px;
  align-content: start;
}
.module__glyph {
  width: 48px; height: 48px;
  color: var(--ink);
  opacity: 0.9;
}
.module h3 { letter-spacing: -0.022em; }
.module p { font-size: 0.9375rem; color: var(--gray-600); }

/* Spec table */
.specs { border-top: 1px solid var(--hair); }
.specs__row {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(12px, 3vw, 40px);
  padding-block: 18px;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.specs__k {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.specs__v { font-size: 0.9375rem; color: var(--ink); }
.specs__v .muted { color: var(--gray-500); }

/* Pricing / plan cards */
.plan {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
}
.plan--featured { border-color: var(--ink); }
.plan__price {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1;
}
.plan__list { display: grid; gap: 10px; font-size: 0.9375rem; color: var(--gray-600); }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list li::before {
  content: "";
  margin-top: 9px;
  width: 6px; height: 1px;
  background: var(--accent);
  flex: none;
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

/* Forms */
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.form-note { font-size: 0.8125rem; color: var(--gray-500); }

/* Prose (legal pages) */
.prose { max-width: 72ch; color: var(--ink-700); }
.prose h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  letter-spacing: -0.025em;
  margin-top: clamp(40px, 4vw, 56px);
  margin-bottom: 14px;
  color: var(--ink);
}
.prose h3 {
  font-size: 1rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}
.prose p { margin-bottom: 16px; font-size: 0.9375rem; line-height: 1.72; }
.prose ul { margin-bottom: 16px; display: grid; gap: 8px; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 1px;
  background: var(--gray-400);
}
.prose a { color: var(--accent); border-bottom: 1px solid rgba(10,88,255,.3); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Breadcrumb */
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.crumbs a:hover { color: var(--ink); }

/* 11. Footer ------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-brand .wordmark {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--gray-400);
  font-size: 0.9375rem;
  max-width: 34ch;
}
.footer-tagline {
  margin-top: 22px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6c727a;
}

.footer-col h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6c727a;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a {
  font-size: 0.9375rem;
  color: var(--gray-300);
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--hair-invert);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #6c727a;
}
.footer-bottom a { color: #6c727a; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }

.social { display: flex; gap: 8px; align-items: center; }
.social a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--hair-invert);
  border-radius: 999px;
  color: var(--gray-400);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.social a:hover { color: var(--black); background: #fff; border-color: #fff; }
.social svg { width: 15px; height: 15px; }

/* 12. Motion & reveal ---------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 13. Responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .statement-block { grid-template-columns: minmax(0, 1fr); }
  .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 40px minmax(0, 1fr); }
  .row__d { grid-column: 2; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 24px var(--gutter) 48px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a {
    width: 100%;
    font-size: 1.375rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    padding-block: 18px;
    border-bottom: 1px solid var(--hair);
  }
  .nav a::after { display: none; }
  body.nav-open .site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--hair);
  }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 88vh; }
  .hero__copy { max-width: 100%; }
  .specs__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
}

@media print {
  .site-header, .site-footer, .hero__canvas { display: none; }
  body { color: #000; }
}
