/* ============================================================
   LUX VENTURES GROUP — Marketing Site
   Design system: dark cinematic + serif display + restraint
   ============================================================ */

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--mist);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

/* -------- Tokens -------- */
:root {
  /* Palette */
  --void:        #050b16;
  --ink:         #0a1423;
  --deep-ocean:  #0d2438;
  --ocean:       #14384d;

  --surface:     #faf7ef;
  --mist:        #f2ebdd;
  --dust:        #c9c0a9;
  --stone:       #8a8270;

  --gold:        #c9a659;
  --gold-soft:   #e2c27f;
  --horizon:     #e8b572;
  --coral:       #d97a55;

  --border-light:  rgba(242, 235, 221, 0.10);
  --border-med:    rgba(242, 235, 221, 0.22);
  --border-strong: rgba(242, 235, 221, 0.38);

  --shadow-lux: 0 30px 80px -20px rgba(0, 0, 0, 0.75);

  /* Type */
  --f-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease-lux:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur-slow:   1200ms;
  --dur-med:    640ms;
  --dur-quick:  320ms;

  /* Layout */
  --container:  1280px;
  --reading:    720px;

  /* Nav offset for anchors */
  scroll-padding-top: 100px;
}

/* -------- Type Scale -------- */
h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 25, 'WONK' 0;
  letter-spacing: -0.022em;
  line-height: 0.98;
  color: var(--mist);
}
h1 { font-size: clamp(2.6rem, 7vw, 7.4rem); }
h2 { font-size: clamp(1.9rem, 4.8vw, 4.2rem); line-height: 1.04; }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; }
h4 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

.display-xl {
  font-size: clamp(3rem, 8.8vw, 9.2rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.028em;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 1em;
}
.eyebrow::before {
  content: '';
  width: 2.6em;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

p { font-size: clamp(1rem, 1.08vw, 1.1rem); line-height: 1.62; color: var(--dust); }
.lead {
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  line-height: 1.48;
  color: var(--mist);
  font-weight: 300;
  letter-spacing: -0.005em;
}

em { font-style: italic; font-family: var(--f-display); font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 1; }

/* -------- Navigation -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.8rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background var(--dur-med) var(--ease-lux),
    padding var(--dur-med) var(--ease-lux),
    border-color var(--dur-med) var(--ease-lux);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 11, 22, 0.82);
  backdrop-filter: saturate(140%) blur(24px);
  -webkit-backdrop-filter: saturate(140%) blur(24px);
  padding: 1rem 3rem;
  border-bottom-color: var(--border-light);
}
.nav-brand {
  font-family: var(--f-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  line-height: 1;
}
.nav-brand strong {
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--mist);
  letter-spacing: 0.14em;
}
.nav-brand span {
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  color: var(--dust);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2.6rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mist);
  position: relative;
  padding: 0.4em 0;
  transition: color var(--dur-quick) var(--ease-lux);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-med) var(--ease-lux);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--mist);
  transition: transform var(--dur-quick) var(--ease-lux);
}
.nav-toggle::before { top: 11px; }
.nav-toggle::after { bottom: 11px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after  { transform: translateY(-4px) rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem 3rem 6rem;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--deep-ocean);
}
.hero-video video,
.hero-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}
.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 11, 22, 0.30) 0%,
      rgba(5, 11, 22, 0.55) 42%,
      rgba(5, 11, 22, 0.92) 100%),
    radial-gradient(ellipse at 50% 40%,
      rgba(5, 11, 22, 0.0) 0%,
      rgba(5, 11, 22, 0.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-content .eyebrow { margin-bottom: 1.8rem; opacity: 0; animation: fade-up 900ms var(--ease-lux) 350ms forwards; }
.hero-content h1        { margin-bottom: 1.6rem; max-width: 14ch; opacity: 0; animation: fade-up 1100ms var(--ease-lux) 500ms forwards; }
.hero-content .lead     { max-width: 54ch; margin-bottom: 2.8rem; opacity: 0; animation: fade-up 1100ms var(--ease-lux) 750ms forwards; }
.hero-content .hero-tagline {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fade-up 1100ms var(--ease-lux) 700ms forwards;
}
.hero-cta               { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; opacity: 0; animation: fade-up 1100ms var(--ease-lux) 950ms forwards; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--f-body);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dust);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fade-up 1200ms var(--ease-lux) 1200ms forwards;
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2.2s var(--ease-lux) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -------- CTAs -------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  padding: 1.2rem 2.2rem;
  background: var(--gold);
  color: var(--void);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--f-body);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-lux);
  white-space: nowrap;
}
.cta:hover {
  background: var(--horizon);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -12px rgba(201, 166, 89, 0.45);
}
.cta .arrow { transition: transform var(--dur-med) var(--ease-lux); }
.cta:hover .arrow { transform: translateX(4px); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  padding: 1.15rem 2rem;
  color: var(--mist);
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--f-body);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-lux);
}
.cta-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* -------- Sections -------- */
.section {
  position: relative;
  padding: 10rem 3rem;
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  margin-bottom: 5rem;
  max-width: 820px;
}
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 { margin-bottom: 1.8rem; }

/* Ambient video section (same approach as hero, used on all pages) */
.section.ambient {
  overflow: hidden;
  isolation: isolate;
}
.section.ambient .ambient-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.section.ambient .ambient-video video,
.section.ambient .ambient-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section.ambient .ambient-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5, 11, 22, 0.92) 0%,
    rgba(5, 11, 22, 0.75) 30%,
    rgba(5, 11, 22, 0.75) 70%,
    rgba(5, 11, 22, 0.96) 100%);
}

/* Bright section */
.section.bright {
  background: var(--surface);
  color: var(--ink);
}
.section.bright h1,
.section.bright h2,
.section.bright h3 { color: var(--ink); }
.section.bright p  { color: #3c4656; }
.section.bright .eyebrow { color: var(--deep-ocean); }
.section.bright .eyebrow::before { background: var(--deep-ocean); }
.section.bright .feature { border-color: rgba(13, 36, 56, 0.15); background: rgba(13, 36, 56, 0.02); }
.section.bright .feature:hover { border-color: var(--deep-ocean); background: rgba(13, 36, 56, 0.04); }
.section.bright .feature h3 { color: var(--ink); }
.section.bright .feature p  { color: #50596b; }
.section.bright .feature-num { color: var(--deep-ocean); }

/* -------- Grids -------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 680px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* -------- Feature cards -------- */
.feature {
  padding: 2.4rem 2rem;
  border: 1px solid var(--border-light);
  background: rgba(242, 235, 221, 0.018);
  transition: all var(--dur-med) var(--ease-lux);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 166, 89, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-lux);
  pointer-events: none;
}
.feature:hover {
  border-color: rgba(201, 166, 89, 0.35);
  transform: translateY(-4px);
}
.feature:hover::before { opacity: 1; }
.feature .feature-num {
  font-family: var(--f-display);
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: 1.8rem;
  display: block;
  font-weight: 300;
}
.feature h3 {
  font-family: var(--f-display);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 0.98rem;
  color: var(--dust);
}

.feature-compact {
  padding: 2rem 1.6rem;
  border: 1px solid var(--border-light);
  background: rgba(242, 235, 221, 0.018);
  transition: all var(--dur-med) var(--ease-lux);
  min-width: 0;
}
.feature-compact:hover {
  border-color: rgba(201, 166, 89, 0.4);
  background: rgba(201, 166, 89, 0.04);
}
.feature-compact h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--mist);
}
.feature-compact p {
  font-size: 0.9rem;
  color: var(--dust);
  line-height: 1.5;
}

/* -------- Steps (How It Works) -------- */
.steps {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  border-left: 1px solid var(--border-light);
  padding: 3.5rem 0 3.5rem 3.5rem;
  margin-left: 1rem;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4rem;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--void), 0 0 0 6px rgba(201, 166, 89, 0.5);
}
.step-num {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}
.step h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.step p {
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  color: var(--dust);
}

/* -------- Markets grid -------- */
.market-card {
  padding: 2.6rem 2.2rem;
  border: 1px solid var(--border-light);
  background: rgba(242, 235, 221, 0.018);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease-lux);
  min-height: 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.market-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(201, 166, 89, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-lux);
  pointer-events: none;
}
.market-card:hover {
  border-color: rgba(201, 166, 89, 0.4);
  transform: translateY(-4px);
}
.market-card:hover::after { opacity: 1; }
.market-card .market-label {
  font-family: var(--f-body);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.market-card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  margin: 0.8rem 0 1.2rem;
}
.market-card p {
  font-size: 0.95rem;
  color: var(--dust);
  line-height: 1.5;
}

/* -------- Split section (alternating copy/media) -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-copy h2 { margin-bottom: 1.6rem; }
.split-copy p  { margin-bottom: 1.2rem; max-width: 50ch; }
.split-media {
  aspect-ratio: 4 / 5;
  background: var(--deep-ocean);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
}
.split-media video,
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* -------- Form -------- */
.offer-form {
  display: grid;
  gap: 2rem;
  max-width: 680px;
}
.form-row { display: grid; gap: 0.6rem; position: relative; }
.form-row label {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-med);
  padding: 0.9rem 0;
  color: var(--mist);
  font-family: var(--f-body);
  font-size: 1.05rem;
  outline: none;
  transition: border-color var(--dur-med) var(--ease-lux);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--stone); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-bottom-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select option { background: var(--void); color: var(--mist); }

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .form-row-split { grid-template-columns: 1fr; }
}
.form-submit {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.form-foot {
  margin-top: 2.8rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--stone);
}
.form-foot strong { color: var(--mist); font-weight: 500; }

.form-success {
  display: none;
  padding: 3rem 2rem;
  border: 1px solid var(--gold);
  background: rgba(201, 166, 89, 0.04);
  text-align: center;
}
.form-success h3 { color: var(--gold); margin-bottom: 0.8rem; }
.form-sent .offer-form { display: none; }
.form-sent .form-success { display: block; }

/* -------- Pull quotes / callouts -------- */
.callout {
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-light);
  background: rgba(242, 235, 221, 0.018);
  max-width: 820px;
}
.callout h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 1.2rem;
  color: var(--mist);
  line-height: 1.2;
}
.callout p { color: var(--dust); max-width: 58ch; }

/* -------- Reveal animation -------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s var(--ease-lux),
    transform 1.2s var(--ease-lux);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 120ms; }
[data-reveal-delay="2"] { transition-delay: 240ms; }
[data-reveal-delay="3"] { transition-delay: 360ms; }
[data-reveal-delay="4"] { transition-delay: 480ms; }
[data-reveal-delay="5"] { transition-delay: 600ms; }

/* -------- Footer -------- */
.footer {
  padding: 6rem 3rem 3rem;
  background: var(--ink);
  border-top: 1px solid var(--border-light);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-light);
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.4rem; }
}
.footer-brand {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.footer-brand strong { font-weight: 600; color: var(--gold); }
.footer-tag {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dust);
}
.footer-col h5 {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.92rem;
  color: var(--dust);
  margin-bottom: 0.6rem;
  transition: color var(--dur-quick) var(--ease-lux);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--container);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-transform: uppercase;
}

/* -------- Number ribbon -------- */
.stat-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  max-width: var(--container);
  margin: 0 auto;
}
.stat {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dust);
  font-weight: 500;
}
@media (max-width: 720px) {
  .stat-ribbon { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-light); }
}

/* -------- Mobile -------- */
@media (max-width: 820px) {
  .nav {
    padding: 1.2rem 1.5rem;
  }
  .nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-brand { font-size: 1.3rem; }
  .nav-brand span { display: none; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(80vw, 340px);
    background: rgba(5, 11, 22, 0.96);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 4rem 3rem;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-lux);
    border-left: 1px solid var(--border-light);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; letter-spacing: 0.18em; }
  .nav-toggle { display: block; z-index: 101; }

  .hero, .section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .section-head { margin-bottom: 3rem; }
  .step { padding: 2.5rem 0 2.5rem 2.2rem; }
  .step::before { top: 3rem; }

  .footer { padding: 4rem 1.5rem 2rem; }
  .callout { padding: 2.2rem 1.8rem; }
}

/* -------- Form consent (SMS opt-in) -------- */
.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.6rem 1.6rem;
  margin-top: 0.6rem;
  border: 1px solid var(--border-med);
  background: rgba(201, 166, 89, 0.025);
  border-radius: 2px;
  transition: border-color var(--dur-med) var(--ease-lux);
}
.form-consent:hover { border-color: rgba(201, 166, 89, 0.35); }
.form-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.form-consent label {
  font-family: var(--f-body);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--dust);
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.form-consent label strong { color: var(--mist); font-weight: 500; }
.form-consent label a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 166, 89, 0.4);
  transition: border-color var(--dur-quick) var(--ease-lux);
}
.form-consent label a:hover { border-bottom-color: var(--gold); }
.form-fineprint {
  font-size: 0.78rem;
  color: var(--stone);
  line-height: 1.55;
  margin-top: 1rem;
}
.form-fineprint a { color: var(--dust); border-bottom: 1px solid var(--border-med); }
.form-fineprint a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* -------- Legal pages (privacy, terms) -------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 2rem;
}
.legal h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 3.6rem 0 1.4rem;
  line-height: 1.1;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 2.4rem 0 0.9rem;
}
.legal p {
  margin-bottom: 1.1rem;
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.7;
}
.legal ul {
  margin: 0 0 1.4rem 0;
  padding-left: 1.4rem;
}
.legal ul li {
  font-size: 1rem;
  color: var(--dust);
  line-height: 1.65;
  margin-bottom: 0.6rem;
  list-style: disc;
  list-style-position: outside;
}
.legal ul li::marker { color: var(--gold); }
.legal strong { color: var(--mist); font-weight: 500; }
.legal a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 166, 89, 0.4);
  transition: border-color var(--dur-quick) var(--ease-lux);
}
.legal a:hover { border-bottom-color: var(--gold); }
.legal-meta {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2.6rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border-light);
}
.legal-meta strong { color: var(--gold); font-weight: 600; }

/* Tighter footer grid when a fourth column is present */
.footer-inner.cols-4 {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
@media (max-width: 820px) {
  .footer-inner.cols-4 { grid-template-columns: 1fr; }
}

/* -------- Utility -------- */
.center { text-align: center; }
.muted  { color: var(--stone); }
.gold   { color: var(--gold); }
.max-reading { max-width: var(--reading); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

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