/* ═══════════════════════════════════════════════════════════════════════════
   REVANTA CAR DETAILING — design system
   Near-black luxury base · chrome-silver structure and accents for
   stars, prices and key CTAs. Bebas Neue (display) + Barlow (body).
   Motion lives in js/motion.js (html.rv-anim gates the hidden start states).
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* palette */
  --abyss: #08090B;
  --bg: #0E0F12;
  --bg-2: #14161A;
  --bg-3: #1A1C21;
  --ink: #EDEEF0;
  --ink-soft: rgba(237, 238, 240, 0.72);
  --ink-faint: rgba(237, 238, 240, 0.46);
  --silver: #C7CBD1;
  --silver-2: #E4E6EA;
  --gold: #C4CBD4;
  --gold-2: #E9EDF2;
  --gold-deep: #8C96A3;
  --star: #E9EDF2;
  --line: rgba(237, 238, 240, 0.10);
  --line-soft: rgba(237, 238, 240, 0.06);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  /* type */
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --spring: cubic-bezier(0.22, 1.24, 0.36, 1);
  /* layout */
  --gutter: clamp(22px, 5.4vw, 84px);
  --max: 1320px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 34px 90px rgba(0, 0, 0, 0.6);
  --glow-gold: 0 12px 36px rgba(196, 203, 212, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* clip the x-axis so the page can't be panned sideways on mobile; dark bg
     matches hero + footer so overscroll never flashes a light band. */
  overflow-x: clip;
  width: 100%;
  background: var(--abyss);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }
::selection { background: var(--gold); color: #0B0C0E; }
:focus-visible { outline: 2px solid rgba(224, 188, 114, 0.85); outline-offset: 2px; border-radius: 6px; }

/* film-grain overlay — the "expensive print" feel over deep black */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.04;
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(237, 238, 240, 0.16) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(237, 238, 240, 0.14); border-radius: 99px; border: 2.5px solid transparent; background-clip: content-box; }

/* ── type scale ─────────────────────────────────────────────────────────── */
.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}
.display em { font-style: normal; color: var(--silver); -webkit-text-stroke: 0; }
.display .shine {
  background: linear-gradient(105deg, #9BA1A9 0%, #F4F5F7 28%, #8E949C 52%, #E9EBEE 78%, #A6ABB3 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
h2.title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: 0.014em;
  text-transform: uppercase;
}
h2.title em { font-style: normal; color: var(--gold-2); }
h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; letter-spacing: 0.03em; line-height: 1.05; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--silver);
}
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: linear-gradient(90deg, var(--silver), transparent); border-radius: 2px; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; }

/* silver is for stars + prices + key CTAs only */
.stars { color: var(--star); letter-spacing: 0.14em; font-size: 0.95em; white-space: nowrap; }
.price { font-family: var(--display); color: var(--gold-2); letter-spacing: 0.03em; }

/* ── layout primitives ──────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { position: relative; padding: clamp(84px, 11vw, 156px) 0; }
.band-raised { background: linear-gradient(178deg, var(--bg-2) 0%, var(--bg) 100%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-deep { background: linear-gradient(178deg, var(--abyss) 0%, var(--bg) 100%); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--r); border: none;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
}
.btn .arr { transition: transform 0.45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-deep));
  color: #121316;
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover { box-shadow: 0 18px 48px rgba(196, 203, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-silver {
  background: linear-gradient(135deg, #E9EBEE, #B9BEC5 70%, #999FA8);
  color: #121316;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-silver:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(199, 203, 209, 0.45);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--silver-2); background: rgba(237, 238, 240, 0.05); }

/* ── navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  color: var(--ink);
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line-soft), 0 14px 40px rgba(0, 0, 0, 0.4);
}
.nav.scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-logo { height: 44px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55)); transition: height 0.4s var(--ease); }
.nav.scrolled .brand-logo { height: 38px; }
.brand-name { line-height: 1.1; }
.brand-name b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.22rem; letter-spacing: 0.09em; }
.brand-name span { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.05em; position: relative; opacity: 0.82; transition: opacity 0.25s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 100%;
  background: var(--silver-2); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { opacity: 1; }
.nav-cta { padding: 12px 22px; font-size: 0.82rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r); border: 1.5px solid rgba(237,238,240,0.3); background: none; color: inherit; position: relative; z-index: 1001; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.45s var(--ease), opacity 0.3s, top 0.45s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: linear-gradient(165deg, #101114 0%, var(--abyss) 90%);
  color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(28px, 9vw, 80px);
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path 0.75s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.mobile-menu a.mm-link {
  font-family: var(--display); font-size: clamp(2.1rem, 8.5vw, 3.4rem); font-weight: 400; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 8px 0; display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(26px); transition: opacity 0.5s, transform 0.6s var(--ease), color 0.3s;
}
.menu-open .mobile-menu a.mm-link { opacity: 1; transform: none; }
.mobile-menu a.mm-link:hover { color: var(--silver-2); }
.mobile-menu a.mm-link i { font-style: normal; font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold-2); }
.mm-foot { position: absolute; bottom: 34px; left: clamp(28px, 9vw, 80px); right: clamp(28px, 9vw, 80px);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--ink-faint); }
.mm-foot a { color: var(--silver-2); font-weight: 600; }

/* ── page-load curtain ──────────────────────────────────────────────────── */
.curtain {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--abyss);
  display: grid; place-items: center;
  transition: transform 1s var(--ease) 0.15s;
}
.curtain .cur-mark {
  font-family: var(--display); font-size: 2.4rem; letter-spacing: 0.32em; text-indent: 0.32em; color: var(--silver-2);
  padding: 22px 34px; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 0 90px rgba(196, 203, 212, 0.16), inset 0 0 0 1px rgba(237, 238, 240, 0.04);
  animation: curPulse 1.1s var(--ease) both;
}
@keyframes curPulse { 0% { opacity: 0; transform: scale(0.8); } 60% { opacity: 1; transform: scale(1.03); } 100% { transform: scale(1); } }
body.loaded .curtain { transform: translateY(-101%); }
body.loaded .curtain .cur-mark { opacity: 0; transition: opacity 0.25s; }

/* ── hero (signature moment: masked headline over slow Ken Burns) ───────── */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--ink);
  overflow: hidden;
  padding: 150px 0 clamp(96px, 14vh, 150px);
  background: var(--abyss);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  transform: scale(1.06);
  filter: saturate(0.9) contrast(1.06);
}
body.loaded .hero-bg img { animation: kenburns 26s var(--ease-soft) both; }
@keyframes kenburns { 0% { transform: scale(1.14) translateX(1.5%); } 100% { transform: scale(1.02) translateX(0); } }
@media (prefers-reduced-motion: reduce) { body.loaded .hero-bg img { animation: none; transform: scale(1.02); } }
/* scrim + vignette: copy contrast over the paint */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 108%, rgba(8, 9, 11, 0.88), transparent 55%),
    linear-gradient(97deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.72) 36%, rgba(8, 9, 11, 0.24) 62%, rgba(8, 9, 11, 0.12) 100%);
}
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(8,9,11,0.68) 0%, rgba(8,9,11,0.42) 45%, rgba(8,9,11,0.92) 100%); }
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy .display { margin: 22px 0 24px; max-width: 13ch; }
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 44ch; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint);
  z-index: 2;
}
.scroll-cue::after { content: ''; width: 1.5px; height: 44px; background: linear-gradient(var(--silver), transparent); animation: cue 2.1s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-height: 720px), (max-width: 780px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

/* trust strip (under hero) */
.trust-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); padding: 22px 0; position: relative; z-index: 3; }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.trust-item .stars { font-size: 0.9rem; }
.trust-item svg { width: 18px; height: 18px; color: var(--silver); flex: none; }

/* ── glass panels + cards ───────────────────────────────────────────────── */
.panel {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02) 55%, rgba(8, 9, 11, 0.3));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.panel > h3 { margin-bottom: 6px; }
.panel .sub { font-size: 0.92rem; color: var(--ink-soft); }
.fine { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.55; margin-top: 14px; }

/* ── quotes rotator ─────────────────────────────────────────────────────── */
.quote-stage { position: relative; min-height: 250px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.quote.show { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { font-size: clamp(1.25rem, 2.6vw, 1.8rem); font-weight: 400; line-height: 1.4; letter-spacing: 0.002em; color: var(--silver-2); font-style: italic; }
.quote blockquote::before { content: '“'; color: var(--gold-2); font-family: Georgia, serif; font-size: 1.6em; line-height: 0; vertical-align: -0.32em; margin-right: 6px; font-style: normal; }
.quote cite { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-style: normal; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.quote cite .stars { font-size: 0.8rem; }
.quote-dots { display: flex; gap: 10px; margin-top: 34px; }
.qdot { width: 34px; height: 3px; border-radius: 3px; background: var(--line); border: none; padding: 0; transition: background 0.3s; position: relative; }
.qdot::after { content: ''; position: absolute; inset: -21px -8px; }
.qdot.on { background: var(--silver-2); }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 130% at 12% -10%, rgba(196, 203, 212, 0.2), transparent 55%),
    linear-gradient(150deg, var(--bg-3) 0%, var(--abyss) 90%);
  border: 1px solid var(--line);
  color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(46px, 7vw, 88px) clamp(28px, 6vw, 84px);
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
  box-shadow: var(--shadow-lift);
}
.cta-band::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(237, 238, 240, 0.05) 46%, transparent 60%); }
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.015em; }
.cta-band p { color: var(--ink-soft); margin-top: 10px; max-width: 48ch; }

/* ── forms ──────────────────────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 17px; border-radius: var(--r);
  border: 1.5px solid var(--line); background: rgba(8, 9, 11, 0.55); color: var(--ink);
  font-family: var(--sans); font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(199, 203, 209, 0.65);
  box-shadow: 0 0 0 4px rgba(199, 203, 209, 0.12);
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--r); font-size: 0.92rem; line-height: 1.5; }
.form-msg.ok { display: block; background: rgba(112, 194, 143, 0.1); border: 1px solid rgba(112, 194, 143, 0.32); color: #9BDDB8; }
.form-msg.err { display: block; background: rgba(226, 118, 111, 0.1); border: 1px solid rgba(226, 118, 111, 0.35); color: #EFA9A3; }
.hp-field { position: absolute; left: -6000px; opacity: 0; height: 0; overflow: hidden; }

/* branded placeholder art (broken images) */
.media .ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(150deg, var(--bg-3), var(--abyss)); }
.media .ph svg { width: 42%; }
.ph-car { fill: none; stroke: var(--silver); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer { background: var(--abyss); color: var(--ink); padding: clamp(60px, 8vw, 100px) 0 40px; border-top: 1px solid var(--line-soft); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); }
.foot-logo { height: 64px; width: auto; margin-bottom: 20px; }
.foot-head { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; margin-bottom: 18px; }
.foot-head em { font-style: normal; color: var(--gold-2); }
.foot-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.foot-col a, .foot-col p { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 0.94rem; transition: color 0.25s; }
.foot-col a:hover { color: var(--silver-2); }
.foot-legal {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--ink-faint);
}
.foot-legal a { color: var(--ink-faint); }
.foot-legal a:hover { color: var(--silver-2); }
.mjr-credit a { color: var(--ink-faint); }
.mjr-credit a:hover { color: var(--gold-2); }

/* ── reveal system (js/motion.js toggles .in) ───────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"].in, [data-reveal="right"].in { transform: none; }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].in { transform: scale(1); }
/* headline line-mask reveal — hidden start-state only applies once JS confirms
   it can animate (html.rv-anim). No JS ⇒ headline is visible by default. */
.mask-lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
html.rv-anim .mask-lines .line > span { display: block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.12s); }
html.rv-anim .mask-lines.in .line > span { transform: none; }
/* draw-on rule */
.rule-draw { height: 1.5px; background: linear-gradient(90deg, var(--silver), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
[data-reveal].in .rule-draw, .rule-draw.in { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .mask-lines .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .hero { padding-top: 130px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .brand-name { display: none; }
}
/* iOS Safari zooms when a focused control's text is < 16px — pin on touch. */
@media (pointer: coarse) {
  .field input, .field select, .field textarea { font-size: 16px; }
}
