/* ============================================================
   Revolt Financial — Shared stylesheet
   Source of truth: DESIGN_TOKENS.md
   Notes:
   - Degular Display Bold is shipped as OTF (web build pipeline
     should convert to WOFF2 — saves ~110KB vs base64). Until
     then, the OTF is loaded via @font-face with font-display:
     swap. Browsers parse OTF natively.
   - Trade Gothic Next LT Pro is NOT licensed for web at this
     stage. Body type falls back to Inter via Google Fonts (see
     pages) per tokens Section 2. The metric stack keeps the
     visual rhythm intact.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --black:   #0B0E13;
  --slate:   #3C4555;
  --mustard: #E5A100;
  --tan:     #B0A68E;
  --olive:   #9E9474;
  --cream:   #DDDAD2;
  --teal:    #5B8A8A;

  /* Neutrals */
  --ink:       #1A1F28;
  --white:     #FFFFFF;
  --slate-60:  rgba(60, 69, 85, 0.6);
  --slate-30:  rgba(60, 69, 85, 0.3);
  --cream-80:  rgba(221, 218, 210, 0.8);
  --cream-60:  rgba(221, 218, 210, 0.6);
  --cream-20:  rgba(221, 218, 210, 0.2);
  --white-30:  rgba(255, 255, 255, 0.3);

  /* Type families */
  --display: 'Degular Display', 'Inter Tight', 'Helvetica Neue', sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  /* Type scale */
  --h1: clamp(56px, 8vw, 120px);
  --h2: clamp(40px, 5vw, 72px);
  --h3: clamp(20px, 2vw, 26px);
  --lead: clamp(18px, 1.4vw, 22px);
  --body-size: 16px;
  --small: 14px;
  --eyebrow-size: 12px;
  --label-size: 11px;

  /* Spacing & layout */
  --max-page:    1440px;
  --max-content: 1200px;
  --max-prose:   760px;
  --pad-side:    clamp(24px, 5vw, 72px);
  --pad-section: clamp(96px, 12vw, 180px);
  --pad-tight:   clamp(64px, 8vw, 120px);
  --gap-xs:  8px;
  --gap-sm:  16px;
  --gap-md:  24px;
  --gap-lg:  40px;
  --gap-xl:  64px;
  --gap-2xl: 96px;

  /* Motion */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-swift: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Default text colors (can be overridden per .bg-*) */
  --bg: var(--cream);
  --fg: var(--ink);
  --fg-muted: var(--ink);
  --fg-eyebrow: var(--slate-60);
}

/* ---------- 2. Fonts ---------- */
@font-face {
  font-family: 'Degular Display';
  src: url('../fonts/DegularDisplay-Bold.woff2') format('woff2'),
       url('../fonts/DegularDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 3. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--body);
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Native <details> kept intact — only style the marker. */
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

/* ---------- 4. Layout helpers ---------- */
.page { width: 100%; margin: 0 auto; }
.container { max-width: var(--max-content); margin: 0 auto; padding-left: var(--pad-side); padding-right: var(--pad-side); }
.prose { max-width: var(--max-prose); }
.section { padding-top: var(--pad-section); padding-bottom: var(--pad-section); position: relative; overflow: hidden; }
.section--tight { padding-top: var(--pad-tight); padding-bottom: var(--pad-tight); }

.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap-md); }
.grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }

/* ---------- 5. Section background utilities ---------- */
/* Each sets bg + default text colors per tokens Section 1. */
.bg-black  { background: var(--black);  color: var(--cream-80); --bg: var(--black);  --fg: var(--white); --fg-muted: var(--cream-80); --fg-eyebrow: var(--mustard); --hairline: var(--white-30); }
.bg-slate  { background: var(--slate);  color: var(--cream-80); --bg: var(--slate);  --fg: var(--white); --fg-muted: var(--cream-80); --fg-eyebrow: var(--mustard); --hairline: var(--white-30); }
.bg-cream  { background: var(--cream);  color: var(--ink);      --bg: var(--cream);  --fg: var(--ink);   --fg-muted: var(--ink);      --fg-eyebrow: var(--slate-60); --hairline: var(--slate-30); }
.bg-tan    { background: var(--tan);    color: var(--ink);      --bg: var(--tan);    --fg: var(--ink);   --fg-muted: var(--ink);      --fg-eyebrow: var(--slate);    --hairline: var(--slate-30); }
.bg-olive  { background: var(--olive);  color: var(--cream);    --bg: var(--olive);  --fg: var(--white); --fg-muted: var(--cream);    --fg-eyebrow: var(--mustard); --hairline: var(--white-30); }
.bg-teal   { background: var(--teal);   color: var(--cream-80); --bg: var(--teal);   --fg: var(--white); --fg-muted: var(--cream-80); --fg-eyebrow: var(--mustard); --hairline: var(--white-30); }
.bg-white  { background: var(--white);  color: var(--ink);      --bg: var(--white);  --fg: var(--ink);   --fg-muted: var(--ink);      --fg-eyebrow: var(--slate-60); --hairline: var(--slate-30); }

/* ---------- 6. Type scale classes ---------- */
.h1 {
  font-family: var(--display);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--mustard);
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-size: var(--h2);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
}
.h3 {
  font-family: var(--body);
  font-size: var(--h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.lead {
  font-family: var(--body);
  font-size: var(--lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg-muted);
}
.body {
  font-family: var(--body);
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg-muted);
}
.small {
  font-size: var(--small);
  font-weight: 400;
  line-height: 1.5;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  font-family: var(--body);
  font-size: var(--eyebrow-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-eyebrow);
}
.eyebrow .rule {
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--mustard);
}
.label {
  font-family: var(--body);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Strikethrough headline pattern */
.strike {
  text-decoration: line-through;
  text-decoration-color: var(--mustard);
  text-decoration-thickness: 0.08em;
  text-decoration-skip-ink: none;
}

/* Backdrop numerals */
.backdrop-num {
  position: absolute;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(200px, 25vw, 480px);
  line-height: 0.8;
  color: currentColor;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- 7. Buttons ---------- */
.btn-primary,
.btn-ghost,
.btn-sms {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1.5px solid;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              opacity 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--mustard);
  color: var(--slate);
  border-color: var(--mustard);
  padding: 18px 32px;
}
.btn-primary::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 161, 0, 0.25);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
  padding: 17px 28px;
  opacity: 0.75;
}
.btn-ghost:hover {
  opacity: 1;
  border-color: var(--mustard);
  color: var(--mustard);
}

.btn-sms {
  background: var(--mustard);
  color: var(--slate);
  border-color: var(--mustard);
  padding: 14px 22px;
}
.btn-sms::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'/></svg>") no-repeat center / contain;
}
.btn-sms:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 161, 0, 0.25);
}

/* ---------- 8. Components ---------- */

/* Service tile */
.tile {
  background: transparent;
  border: 1px solid var(--hairline, var(--slate-30));
  padding: var(--gap-lg);
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tile:hover {
  border-color: var(--mustard);
  transform: translateY(-4px);
}
.tile__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: var(--mustard);
  letter-spacing: 0.04em;
}
.tile__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: inherit;
}
.tile__desc {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* Comparison row */
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hairline, var(--slate-30));
  padding: var(--gap-md) 0;
  gap: var(--gap-lg);
}
.compare__row .industry { color: var(--slate-60); padding-right: var(--gap-lg); }
.compare__row .revolt   { color: var(--fg); border-left: 2px solid var(--mustard); padding-left: var(--gap-md); }
.bg-black .compare__row .industry,
.bg-slate .compare__row .industry,
.bg-olive .compare__row .industry,
.bg-teal  .compare__row .industry { color: var(--cream-60); }

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}
.field label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-eyebrow);
}
.field input,
.field textarea,
.field select {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--hairline, var(--slate-30));
  border-radius: 0;
  padding: 12px 0;
  color: inherit;
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--mustard);
}
.field textarea { resize: vertical; min-height: 96px; }

/* FAQ — native <details> */
.faq {
  border-bottom: 1px solid var(--hairline, var(--slate-30));
  padding: var(--gap-md) 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-md);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}
.faq summary::after {
  content: '+';
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--mustard);
  transition: transform 0.3s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
  padding-top: var(--gap-md);
  max-width: var(--max-prose);
}

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--pad-section) + 40px);
  padding-bottom: var(--pad-section);
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: ambientDrift 25s ease-in-out infinite alternate;
  filter: grayscale(1) contrast(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,14,19,0.55) 0%, rgba(11,14,19,0.85) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero h1   { animation: fadeUp 0.9s var(--ease-out) 0.2s both; }
.hero .lead, .hero p { animation: fadeUp 0.9s var(--ease-out) 0.4s both; }
.hero .cta { animation: fadeUp 0.9s var(--ease-out) 0.6s both; }

@keyframes ambientDrift {
  0%   { transform: scale(1.0)  translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 10. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-stagger="1"].is-visible { transition-delay: 0.1s; }
[data-reveal][data-stagger="2"].is-visible { transition-delay: 0.2s; }
[data-reveal][data-stagger="3"].is-visible { transition-delay: 0.3s; }
[data-reveal][data-stagger="4"].is-visible { transition-delay: 0.4s; }
[data-reveal][data-stagger="5"].is-visible { transition-delay: 0.5s; }

/* Footer V2 typography */
.footer__lede { margin-top: 24px; max-width: 48ch; color: var(--cream-80); line-height: 1.5; }
.footer__principle { margin-top: 16px; max-width: 42ch; color: var(--cream-60); font-style: italic; }

/* ---------- 11. Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-lg);
  padding: 18px var(--pad-side);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--white);
}
.nav[data-scroll-state="scrolled"] {
  background: var(--cream);
  border-bottom-color: var(--slate-30);
  color: var(--ink);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.nav__logo img {
  height: 36px !important;
  width: auto;
  max-width: none;
  max-height: 36px;
  display: block;
  flex: 0 0 auto;
  /* Logo is black-on-transparent. Invert + tint via filter on dark nav. */
  filter: invert(1);
  transition: filter 0.3s var(--ease);
}
.nav[data-scroll-state="scrolled"] .nav__logo img { filter: none; }
/* Compact CTA in the top nav — overrides default .btn-primary scale */
.nav > .btn-primary {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 22px;
}
.nav > .btn-primary::after { font-size: 14px; }
/* Secondary platform link in mobile nav drawer */
.nav__mobile .nav__mobile-secondary {
  font-family: var(--body) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--cream-60);
  margin-top: var(--gap-sm);
}
.nav__logo .tagline {
  font-family: var(--body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  border-left: 1px solid currentColor;
  padding-left: 14px;
  line-height: 1.2;
  max-width: 14ch;
}
@media (max-width: 600px) {
  .nav__logo img { height: 28px !important; max-height: 28px; }
  .nav__logo .tagline { display: none; }
}
.nav__links {
  display: flex;
  gap: var(--gap-lg);
  align-items: center;
}
.nav__links a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: inherit;
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--mustard);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--mustard); }

.nav__toggle {
  display: none;
  width: 28px; height: 22px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 18px; }
.nav[data-mobile-open="true"] .nav__toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav[data-mobile-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav[data-mobile-open="true"] .nav__toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.nav__mobile {
  display: none;
}

/* ---------- 12. Footer ---------- */
.footer {
  background: var(--slate);
  color: var(--cream-80);
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-tight);
}
.footer .container { display: flex; flex-direction: column; gap: var(--gap-2xl); }
.footer__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--gap-2xl);
}
.footer__mark {
  display: inline-block;
}
.footer__mark img {
  height: 96px !important;
  width: auto;
  max-width: none;
  max-height: 96px;
  display: block;
  filter: invert(1);
}
.footer__col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: var(--gap-md);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--gap-sm); }
.footer__col a {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 300;
  color: var(--cream-80);
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--mustard); }
.footer__rule { width: 100%; height: 1px; background: var(--mustard); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--gap-lg);
  font-size: 12px;
  color: var(--cream-60);
}
.footer__bottom p { max-width: 64ch; }

/* ---------- 12.5 Process card (numbered, mustard top border) ---------- */
.process-card {
  border-top: 3px solid var(--mustard);
  border-right: 1px solid var(--hairline, var(--slate-30));
  border-bottom: 1px solid var(--hairline, var(--slate-30));
  border-left: 1px solid var(--hairline, var(--slate-30));
  padding: var(--gap-lg);
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  background: transparent;
}
.process-card__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--mustard);
  letter-spacing: 0.04em;
}
.process-card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--fg);
}
.process-card__body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* ---------- 12.6 Differentiator row (numeral + claim/proof) ---------- */
.diff-row {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: var(--gap-lg);
  align-items: baseline;
  padding: var(--gap-lg) 0;
  border-bottom: 1px solid var(--hairline, var(--slate-30));
}
.diff-row__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.9;
  color: var(--mustard);
  letter-spacing: -0.02em;
}
.diff-row__claim {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--fg);
}
.diff-row__proof {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
}
@media (max-width: 900px) {
  .diff-row { grid-template-columns: 1fr; gap: var(--gap-sm); padding: var(--gap-md) 0; }
}

/* ---------- 12.7 Photo placeholder (no real photos yet) ---------- */
.photo-placeholder {
  background:
    linear-gradient(180deg, rgba(11,14,19,0.55) 0%, rgba(11,14,19,0.85) 100%),
    repeating-linear-gradient(135deg, #2a3140 0px, #2a3140 2px, #1f2530 2px, #1f2530 12px);
  position: relative;
}
.photo-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mustard);
  opacity: 0.7;
}
.hero-placeholder {
  background:
    linear-gradient(180deg, rgba(11,14,19,0.55) 0%, rgba(11,14,19,0.85) 100%),
    repeating-linear-gradient(135deg, #2a3140 0px, #2a3140 2px, #1f2530 2px, #1f2530 14px);
  animation: ambientDrift 25s ease-in-out infinite alternate;
}

/* ---------- 12.8 Pull quote ---------- */
.pull-quote {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--cream);
  text-wrap: balance;
}
.pull-quote-attr {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mustard);
}

/* ---------- 13. Stat figures ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.stat__figure {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  color: var(--mustard);
  letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

/* ---------- 14. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__photo { animation: none; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-12 { grid-template-columns: repeat(6, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--gap-xl); }
  .nav__links { display: none; }
  .nav .btn-sms,
  .nav > .btn-primary { display: none; }
  .nav__toggle { display: inline-block; }
  .nav__mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--slate);
    color: var(--white);
    padding: 96px var(--pad-side) var(--pad-side);
    flex-direction: column;
    gap: var(--gap-lg);
    z-index: 90;
  }
  .nav[data-mobile-open="true"] .nav__mobile { display: flex; }
  .nav__mobile a {
    font-family: var(--display);
    font-weight: 700;
    font-size: 32px;
    color: var(--mustard);
    line-height: 1.2;
  }
  .nav__mobile .btn-sms,
  .nav__mobile .btn-primary {
    align-self: flex-start;
    margin-top: var(--gap-md);
  }
  .compare__row { grid-template-columns: 1fr; gap: var(--gap-md); }
  .compare__row .revolt { border-left: 0; border-top: 2px solid var(--mustard); padding-left: 0; padding-top: var(--gap-sm); }
}

@media (max-width: 600px) {
  :root {
    --h1: 44px;
    --h2: 32px;
    --h3: 18px;
    --lead: 17px;
    --body-size: 15px;
    --small: 13px;
    --eyebrow-size: 11px;
    --label-size: 10px;
  }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero { min-height: 86vh; }
}
