/* ===================================================================
   mobile.css — Comprehensive mobile/tablet pass for the Markoni site.
   Loaded LAST so its rules win the cascade. Targets <= 900px width.
   Strategy:
     • Keep desktop look intact above 900px
     • Below 900px: hamburger nav, single-column sections, no horizontal
       scroll (except intentional ticker marquee)
     • Hero must fit eyebrow → CTAs → ticker on iPhone-class viewports
     • Tablets (768–900) get desktop-leaning content with mobile nav
   =================================================================== */

/* ─── Global mobile guards ─────────────────────────────────────────── */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: hidden; }

  /* Kill any residual desktop nav padding that may shove the hero down */
  body { -webkit-text-size-adjust: 100%; }

  /* Containers — all section containers shouldn't overflow */
  .container, .trust-container, .meet-container,
  .lks-stage, .wf-container, .lp-container, .calc-container,
  .stk-container, .faq-container, .finalcta-container, .ftr4-card {
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }
}

/* ─── NAV (mobile) ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-chrome {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    top: 12px !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    padding: 9px 14px 9px 16px !important;
    border-radius: 999px !important;
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
                background 240ms ease, border-color 240ms ease !important;
  }
  .nav-chrome.nav-hidden { transform: translateX(-50%) translateY(-130%) !important; }

  /* Hide desktop menu + theme toggle + CTA on mobile */
  .nav-chrome .menu { display: none !important; }
  .nav-chrome .nav-right { display: flex !important; gap: 8px !important; }
  .nav-chrome .nav-right .nav-theme,
  .nav-chrome .nav-right .nav-cta { display: none !important; }
  .nav-chrome .nav-right .nav-burger { display: inline-flex !important; }

  .nav-chrome .brand img { height: 20px !important; }

  /* Hamburger button */
  .nav-burger {
    width: 40px; height: 40px;
    display: none;
    align-items: center; justify-content: center;
    background: transparent; border: 1px solid rgba(26,26,24,0.18);
    border-radius: 999px; padding: 0; cursor: pointer;
    color: #1a1a18;
    transition: background 200ms ease, border-color 200ms ease;
  }
  .nav-burger:hover { background: rgba(255,255,255,0.5); }
  .nav-burger svg { width: 16px; height: 16px; display: block; }
  body.theme-dark .nav-burger {
    color: rgba(244,239,230,0.9);
    border-color: rgba(244,239,230,0.22);
  }
  body.theme-dark .nav-burger:hover { background: rgba(244,239,230,0.06); }
}

/* Desktop: hide the burger entirely */
@media (min-width: 901px) {
  .nav-burger { display: none !important; }
}

/* ─── Mobile menu overlay (any viewport, controlled by .open) ──────── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: #f4efe6;
  display: flex; flex-direction: column;
  padding: 28px 28px 36px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
body.theme-dark .nav-overlay { background: #0e0d0b; }

.nav-overlay-top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-overlay-brand img { height: 22px; width: auto; display: block; }
body.theme-dark .nav-overlay-brand img.nav-overlay-wm-light { display: none; }
.nav-overlay-brand img.nav-overlay-wm-dark { display: none; }
body.theme-dark .nav-overlay-brand img.nav-overlay-wm-dark { display: block; }

.nav-overlay-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(26,26,24,0.18);
  border-radius: 999px; padding: 0; cursor: pointer;
  color: #1a1a18;
}
.nav-overlay-close svg { width: 16px; height: 16px; display: block; }
body.theme-dark .nav-overlay-close {
  color: rgba(244,239,230,0.9);
  border-color: rgba(244,239,230,0.22);
}

.nav-overlay-links {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  gap: 22px;
  padding: 32px 4px;
}
.nav-overlay-links a {
  font-family: var(--hero-serif, 'Fraunces', Georgia, serif);
  font-size: clamp(38px, 11vw, 56px);
  font-style: italic; font-weight: 300;
  line-height: 1.0; letter-spacing: -0.02em;
  color: #1a1a18; text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
  display: inline-flex; align-items: baseline; gap: 14px;
}
.nav-overlay-links a .num {
  font-family: var(--hero-mono, 'JetBrains Mono', monospace);
  font-style: normal; font-size: 11px; letter-spacing: 0.18em;
  color: rgba(26,26,24,0.4); font-weight: 400;
}
.nav-overlay-links a:hover, .nav-overlay-links a:active {
  color: var(--gold-700, #C2691A);
}
body.theme-dark .nav-overlay-links a { color: rgba(244,239,230,0.95); }
body.theme-dark .nav-overlay-links a .num { color: rgba(244,239,230,0.4); }
body.theme-dark .nav-overlay-links a:hover,
body.theme-dark .nav-overlay-links a:active { color: var(--gold-light, #FFC940); }

.nav-overlay-foot {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(26,26,24,0.1);
}
body.theme-dark .nav-overlay-foot { border-top-color: rgba(244,239,230,0.1); }

.nav-overlay-cta {
  /* Brand gold-gradient pill — works on cream AND ink backgrounds.
     Same treatment as the desktop primary CTA so the brand stays
     consistent whichever theme the visitor is on. */
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 24px; min-height: 56px;
  background: var(--gold-gradient, linear-gradient(135deg, #FFE08A, #FFA533));
  color: #1a1a18;
  border: 1px solid var(--gold-molten, #FFA533); border-radius: 999px;
  font-family: var(--hero-sans, 'Inter Tight', system-ui, sans-serif);
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 165, 51, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.nav-overlay-cta:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 165, 51, 0.28);
}
body.theme-dark .nav-overlay-cta {
  /* Slightly stronger glow on ink for legibility */
  box-shadow: 0 6px 22px rgba(255, 165, 51, 0.32);
}

.nav-overlay-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--hero-mono, 'JetBrains Mono', monospace);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(26,26,24,0.5);
}
body.theme-dark .nav-overlay-bottom { color: rgba(244,239,230,0.5); }
.nav-overlay-theme {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(26,26,24,0.18);
  border-radius: 999px; padding: 9px 14px;
  font: inherit; color: inherit; cursor: pointer;
}
.nav-overlay-theme svg { width: 12px; height: 12px; }
.nav-overlay-theme .ico-sun { display: none; }
.nav-overlay-theme .ico-moon { display: block; }
body.theme-dark .nav-overlay-theme {
  border-color: rgba(244,239,230,0.22);
}
body.theme-dark .nav-overlay-theme .ico-sun { display: block; }
body.theme-dark .nav-overlay-theme .ico-moon { display: none; }

/* Lock body scroll when overlay open */
body.nav-overlay-open { overflow: hidden !important; }

/* ─── HERO (mobile) — fits eyebrow → CTAs → ticker in 1 view ──────── */
@media (max-width: 900px) {
  /* Use small-viewport unit so URL-bar collapse doesn't push ticker offscreen */
  .hero-editorial { min-height: 100svh !important; }
  .hero-stage {
    padding: 88px 18px 60px !important;  /* leaves 44px for ticker + breathing */
    min-height: 100svh !important;
    justify-content: center !important;
  }
}
@media (max-width: 720px) {
  .hero-stage { padding: 84px 16px 56px !important; }
  /* Drop eyebrow entirely on mobile — saves space, declutters */
  .hero-eyebrow { display: none !important; }
  .hero-headline {
    font-size: clamp(34px, 9vw, 44px) !important;
    line-height: 1.05 !important;
    margin: 18px 0 0 !important;
    max-width: 14ch !important;
    padding-bottom: 0.20em !important;
  }
  .hero-sub {
    font-size: 13px !important; line-height: 1.5 !important;
    max-width: 36ch !important; margin-top: 8px !important;
  }
  .hero-switchboard { margin-top: 18px !important; gap: 6px !important; }
  /* HIDE the 'Always Answering / Always Selling' divider on mobile — saves vertical space */
  .hsb-pre { display: none !important; }
  .hsb-sentence-wrap {
    font-size: clamp(15px, 4.6vw, 22px) !important;
    line-height: 1.18 !important;
    max-width: 30ch !important;
    min-height: calc(2 * 1.18em) !important;
    max-height: calc(2 * 1.18em) !important;
    overflow: hidden !important;
  }
  .hsb-meta {
    font-size: 9px !important; gap: 6px !important; padding: 0 8px !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .hsb-meta .dot,
  .hsb-meta .where { display: none !important; }  /* drop the middle pieces — keep WHO + WHEN */
  .hsb-channel { display: none !important; }
  .hsb-cities {
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
    max-width: 280px !important;
    width: 100% !important;
    justify-items: center !important;
  }
  .hsb-cities .city {
    font-size: 9px !important;
    width: 100%;
    justify-content: center;
  }
  .hsb-cities .city .lang-code { font-size: 8px !important; }

  /* CTAs: primary full-width, secondary as text link */
  .hero-ctas {
    flex-direction: column !important; gap: 8px !important;
    margin-top: 14px !important; width: 100%;
  }
  .hero-cta-primary {
    width: 100% !important; max-width: 320px !important;
    justify-content: center !important;
    min-height: 48px !important;
  }
  .hero-cta-ghost {
    width: 100% !important; max-width: 320px !important;
    justify-content: center !important;
    border: none !important; background: transparent !important;
    padding: 6px !important; font-size: 12px !important;
  }
  body.theme-dark .hero-cta-ghost { background: transparent !important; }

  /* Bottom rail / ticker — keep on mobile, just compact */
  .hero-rail {
    height: 44px !important;
    grid-template-columns: 1fr !important;
  }
  .hero-rail-head, .hero-rail-tally { display: none !important; }
  .hero-rail-stream {
    width: 100% !important;
    /* Soft fades at both edges so events ease in/out instead of hard-clipping */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%) !important;
            mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%) !important;
  }
  .hero-rail-head, .hero-rail-tally { display: none !important; }
  .hero-rail-stream {
    width: 100% !important;
    /* Soft fades at both edges so events ease in/out instead of hard-clipping */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%) !important;
            mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%) !important;
  }
  .hero-event { gap: 10px !important; }
  .hero-event .channel { font-size: 8px !important; padding: 2px 6px !important; }
  .hero-event .desc { font-size: 11px !important; }
  .hero-event .amt { font-size: 10px !important; }
  .hero-event .time { font-size: 9px !important; }

  /* VFX off on mobile */
  .vfx-cursor-light, .vfx-constellation, .vfx-eavesdrop { display: none !important; }
}

/* iPhone-mini class — extra tight */
@media (max-width: 380px) {
  .hero-stage { padding: 80px 14px 52px !important; }
  .hero-headline { font-size: clamp(30px, 8.6vw, 38px) !important; }
  .hsb-sentence-wrap { font-size: clamp(14px, 4.4vw, 18px) !important; max-width: 26ch !important; }
  .hsb-cities { gap: 9px !important; }
  .hero-cta-primary { padding: 12px 18px !important; font-size: 12px !important; }
}

/* ─── TRUST STRIP ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .trust { padding: 40px 0 !important; }
  .trust-container { padding: 0 18px !important; }
  .trust-line {
    font-size: clamp(13px, 3.6vw, 16px) !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}
@media (max-width: 600px) {
  .trust-line {
    font-size: 11px !important;
    letter-spacing: -0.005em !important;
  }
}

/* ─── MEET MARKONI ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .meet { padding: 60px 0 !important; }
  .meet-head { padding: 0 18px !important; }
  .meet-eyebrow { font-size: 9px !important; }
  .meet-title { font-size: clamp(28px, 6.6vw, 44px) !important; line-height: 1.1 !important; }
  .meet-sub { font-size: 13px !important; max-width: 36ch !important; }
  .meet-stage { padding: 0 14px !important; margin-top: 32px !important; }
  .meet-log {
    font-size: 12px !important;
    padding: 18px 14px !important;
  }
  .meet-row { gap: 10px !important; padding: 8px 0 !important; }
  .meet-row .meet-when { font-size: 9px !important; min-width: 56px !important; }
  .meet-row .meet-actor { font-size: 9px !important; }
  .meet-row .meet-evt { font-size: 12px !important; }
  .meet-stage-label, .meet-stage-num { font-size: 9px !important; }
  .meet-frame { padding: 14px !important; }
  .meet-stat { font-size: 22px !important; }
  .meet-stat-meta { font-size: 9px !important; }
}

/* ─── REVENUE LEAKS — vertical stack on mobile ────────────────────── */
@media (max-width: 900px) {
  /* Kill the pinned-horizontal-track behavior */
  .lks-pin {
    height: auto !important;
    min-height: 0 !important;
  }
  .lks-stage {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 60px 0 40px !important;
  }
  .lks-head {
    position: static !important;
    padding: 0 18px 28px !important;
    text-align: center;
  }
  .lks-eyebrow { font-size: 9px !important; }
  .lks-title { font-size: clamp(28px, 6.4vw, 44px) !important; line-height: 1.08 !important; }
  .lks-title-tail { display: block !important; margin-top: 4px; }

  /* Track — convert to vertical column */
  .lks-track-vp {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    width: 100% !important;
  }
  .lks-track {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 0 18px !important;
    width: 100% !important;
    height: auto !important;
  }
  .lk {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding: 24px 22px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .lk-top { gap: 10px !important; }
  .lk-num { font-size: 22px !important; }
  .lk-label { font-size: 9px !important; }
  .lk-pos { font-size: 9px !important; }
  .lk-proof-num { font-size: clamp(36px, 9vw, 52px) !important; }
  .lk-proof-meta { font-size: 9px !important; }
  .lk-h3 { font-size: 18px !important; line-height: 1.25 !important; }
  .lk-p { font-size: 13px !important; line-height: 1.55 !important; }
  .lk-close { font-size: 11px !important; line-height: 1.45 !important; }

  /* Inline diagrams: bigger, centered */
  .lk-viz {
    margin: 14px 0 4px !important;
    padding: 14px 10px !important;
    width: 100% !important;
  }
  .lk-viz .lkv { width: 100% !important; height: auto !important; max-width: 360px; margin: 0 auto; display: block; }

  /* Hide the horizontal-only progress rail + hint */
  .lks-progress, .lks-hint { display: none !important; }
}

/* ─── WORKFORCE — all 8 expanded vertical cards on mobile ─────────── */
@media (max-width: 900px) {
  .wf { padding: 60px 0 !important; }
  .wf-head { padding: 0 18px !important; text-align: center; }
  .wf-eyebrow { font-size: 9px !important; }
  .wf-title { font-size: clamp(28px, 6.4vw, 44px) !important; line-height: 1.08 !important; }
  .wf-sub { font-size: 13px !important; }

  /* Switch from 2-col list+detail to single column of expanded cards */
  .wf-stage { display: block !important; padding: 0 18px !important; margin-top: 32px !important; }
  .wf-list { display: none !important; } /* hide nav list — we expand all */
  .wf-detail { display: none !important; } /* hide single-detail panel */
  .wf-mobile-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100%;
  }
  .wf-mc {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(26,26,24,0.1);
    border-radius: 14px;
    padding: 22px 20px;
  }
  body.theme-dark .wf-mc {
    background: rgba(244,239,230,0.03);
    border-color: rgba(244,239,230,0.1);
  }
  .wf-mc-num {
    font-family: var(--hero-mono); font-size: 10px; letter-spacing: 0.18em;
    color: rgba(26,26,24,0.4); text-transform: uppercase;
  }
  body.theme-dark .wf-mc-num { color: rgba(244,239,230,0.4); }
  .wf-mc-name {
    font-family: var(--hero-serif); font-size: 22px; font-weight: 400;
    line-height: 1.15; margin: 6px 0 4px; color: #1a1a18;
  }
  body.theme-dark .wf-mc-name { color: rgba(244,239,230,0.97); }
  .wf-mc-name em { color: var(--gold-700, #C2691A); }
  body.theme-dark .wf-mc-name em { color: var(--gold-light, #FFC940); }
  .wf-mc-role {
    font-family: var(--hero-mono); font-size: 9px; letter-spacing: 0.18em;
    color: rgba(26,26,24,0.55); text-transform: uppercase; margin-bottom: 12px;
  }
  body.theme-dark .wf-mc-role { color: rgba(244,239,230,0.55); }
  .wf-mc-body {
    font-size: 13px; line-height: 1.55;
    color: rgba(26,26,24,0.78);
  }
  body.theme-dark .wf-mc-body { color: rgba(244,239,230,0.7); }

  /* If component still uses .wf-co or similar to show the live detail */
  .wf-co, .wf-co-stage { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (min-width: 901px) {
  .wf-mobile-cards { display: none !important; }
}

/* ─── LOOP — drop timeline rail, 3 stacked cards ─────────────────── */
@media (max-width: 900px) {
  .lp { padding: 60px 0 !important; }
  .lp-head { padding: 0 18px !important; text-align: center; }
  .lp-eyebrow { font-size: 9px !important; }
  .lp-title { font-size: clamp(28px, 6.4vw, 44px) !important; line-height: 1.08 !important; }
  .lp-sub { font-size: 13px !important; }
  .lp-stage { display: block !important; padding: 0 18px !important; margin-top: 28px !important; }
  .lp-rail, .lp-rail-line, .lp-rail-tick, .lp-rail-dot,
  .lp-rail-times, .lp-rail-time { display: none !important; }
  .lp-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .lp-card {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 !important;
    padding: 22px 20px !important;
    box-sizing: border-box;
  }
  .lp-card-eyebrow { font-size: 9px !important; }
  .lp-card-title { font-size: 20px !important; line-height: 1.2 !important; }
  .lp-card-body { font-size: 13px !important; line-height: 1.55 !important; }
}

/* ─── CALCULATOR — sliders top, sticky readout at bottom ──────────── */
@media (max-width: 900px) {
  .calc { padding: 60px 0 !important; }
  .calc-head { padding: 0 18px !important; text-align: center; }
  .calc-eyebrow { font-size: 9px !important; }
  .calc-title { font-size: clamp(28px, 6.4vw, 44px) !important; line-height: 1.08 !important; }
  .calc-sub { font-size: 13px !important; }
  .calc-stage,
  .calc-grid {
    display: block !important;
    padding: 0 18px !important;
    margin-top: 28px !important;
  }
  .calc-inputs, .calc-readout, .calc-output, .calc-display {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .calc-inputs { padding: 22px 18px !important; }
  .calc-readout, .calc-output, .calc-display {
    margin-top: 14px !important;
    padding: 22px 18px !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 5;
  }
  body.theme-light .calc-readout,
  body.theme-light .calc-output,
  body.theme-light .calc-display {
    background: rgba(244,239,230,0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(26,26,24,0.1);
  }
  body.theme-dark .calc-readout,
  body.theme-dark .calc-output,
  body.theme-dark .calc-display {
    background: rgba(14,13,11,0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(244,239,230,0.1);
  }
  .calc-row, .calc-input-row { padding: 12px 0 !important; }
  .calc-input-label, .calc-row-label { font-size: 11px !important; }
  .calc-input-val, .calc-row-val { font-size: 13px !important; }
  .calc-big, .calc-stat-num { font-size: clamp(36px, 9vw, 56px) !important; }
  .calc-big-meta, .calc-stat-meta { font-size: 10px !important; }
}

/* ─── STACK — single column on mobile ─────────────────────────────── */
@media (max-width: 900px) {
  .stk { padding: 60px 0 !important; }
  .stk-head { padding: 0 18px !important; text-align: center; }
  .stk-eyebrow { font-size: 9px !important; }
  .stk-title { font-size: clamp(28px, 6.4vw, 44px) !important; line-height: 1.08 !important; }
  .stk-sub { font-size: 13px !important; }
  .stk-stage, .stk-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 18px !important;
    margin-top: 28px !important;
  }
  .stk-tier, .stk-tile, .stk-card, .stk-cell {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .stk-tier { padding: 16px !important; }
  .stk-tier-label { font-size: 9px !important; }
  .stk-tier-name { font-size: 14px !important; }
  .stk-tier-list { gap: 6px !important; }
  .stk-chip { font-size: 10px !important; padding: 5px 10px !important; }
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .faq { padding: 60px 0 !important; }
  .faq-head { padding: 0 18px !important; text-align: center; }
  .faq-eyebrow { font-size: 9px !important; }
  .faq-title { font-size: clamp(28px, 6.4vw, 44px) !important; line-height: 1.08 !important; }
  .faq-stage, .faq-list {
    padding: 0 18px !important;
    margin-top: 28px !important;
  }
  .faq-q { font-size: 15px !important; line-height: 1.35 !important; padding: 18px 0 !important; }
  .faq-a { font-size: 13px !important; line-height: 1.55 !important; }
}

/* ─── FINAL CTA ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .finalcta { padding: 80px 0 !important; }
  .finalcta-stage, .finalcta-inner {
    padding: 0 18px !important;
    text-align: center !important;
  }
  .finalcta-eyebrow { font-size: 9px !important; }
  .finalcta-title { font-size: clamp(32px, 8vw, 56px) !important; line-height: 1.05 !important; }
  .finalcta-sub { font-size: 14px !important; max-width: 36ch !important; margin: 14px auto 24px !important; }
  .finalcta-ctas {
    flex-direction: column !important; gap: 10px !important;
    align-items: center !important;
  }
  .finalcta-cta, .finalcta-cta-primary, .finalcta-cta-ghost {
    width: 100% !important; max-width: 320px !important;
    justify-content: center !important;
    min-height: 48px !important;
  }
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ftr4 { padding: 0 12px 12px !important; }
  .ftr4-card { padding: 32px 22px 24px !important; border-radius: 18px !important; }
  .ftr4-inner { gap: 0 !important; }

  /* Brand block — tight & quiet, like Interfere */
  .ftr4-hero {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding-bottom: 28px !important;
    border-bottom: 1px solid rgba(244,239,230,0.08) !important;
  }
  body.theme-light .ftr4-hero { border-bottom-color: rgba(26,26,24,0.08) !important; }
  .ftr4-hero-left, .ftr4-hero-right {
    width: 100% !important;
    align-items: flex-start !important;
  }
  .ftr4-brand-wm { height: 26px !important; width: auto !important; }
  .ftr4-tagline {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    max-width: 28ch !important;
  }
  /* Demote CTA to a tasteful text link on phones */
  .ftr4-cta {
    width: auto !important;
    background: transparent !important;
    color: var(--gold-500, #FFB300) !important;
    padding: 4px 0 !important;
    min-height: 0 !important;
    font-size: 14px !important;
    box-shadow: none !important;
    border: none !important;
  }
  body.theme-light .ftr4-cta { color: var(--gold-700, #C46900) !important; }
  .ftr4-cta svg { width: 14px !important; height: 14px !important; }
  .ftr4-cta-meta {
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
    margin-top: 2px !important;
  }

  /* Link columns — single column, generous rhythm */
  .ftr4-cols {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    padding: 32px 0 32px !important;
    border-bottom: 1px solid rgba(244,239,230,0.08) !important;
  }
  body.theme-light .ftr4-cols { border-bottom-color: rgba(26,26,24,0.08) !important; }
  .ftr4-col { gap: 12px !important; }
  .ftr4-col-label {
    font-size: 11px !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 6px !important;
  }
  .ftr4-col a {
    font-size: 15px !important;
    min-height: 28px !important;
    display: block !important;
    padding: 2px 0 !important;
  }
  .ftr4-col-social { grid-column: auto !important; }
  .ftr4-col-social .ftr4-social { gap: 14px !important; margin-top: 8px !important; flex-wrap: wrap !important; }
  .ftr4-soc {
    width: 40px !important; height: 40px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
  }

  .ftr4-rail {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
    padding: 24px 0 0 !important;
  }
  .ftr4-meta, .ftr4-love { font-size: 10px !important; line-height: 1.5 !important; }
  .ftr4-rail-links { gap: 16px !important; flex-wrap: wrap !important; }
  .ftr4-rail-links a { font-size: 10px !important; }

  /* Ghost wordmark — auto-fit so the whole word is always visible */
  .ftr4-ghost {
    padding: 24px 0 0 !important;
    display: block !important;
    overflow: hidden !important;
  }
  .ftr4-wm {
    /* Fit "markoni" within the viewport — 7 letters at -0.045em letter-spacing,
       so ~14vw per letter * 0.95 safety = ~13vw max. Use clamp for safety. */
    font-size: clamp(56px, 17vw, 140px) !important;
    line-height: 0.85 !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
    display: block !important;
    text-align: center !important;
  }
}
@media (max-width: 480px) {
  /* keep 2-col layout — single col loses too much vertical density */
  .ftr4-cols { grid-template-columns: 1fr 1fr !important; }
}

/* ─── PARTICLES — reduce on mobile ────────────────────────────────── */
@media (max-width: 900px) {
  /* Trim firefly density via opacity throttle (component count is fixed at render) */
  .ff-particle { opacity: 0.6 !important; }
}

/* ─── TOUCH — kill cursor glow & hover-only effects ──────────────── */
@media (hover: none) {
  .vfx-cursor-light, .vfx-constellation, .vfx-eavesdrop,
  .cursor-glow, .cursor-aura { display: none !important; }
}

/* ─── Tap target floor (44px min) for all buttons & links ─────────── */
@media (max-width: 900px) {
  .nav-burger, .nav-overlay-close, .nav-overlay-theme {
    min-width: 44px; min-height: 44px;
  }
}
