/* ============================================================
   K-INSIGHT — Editorial Noir × Data
   Zero-build. Hand-authored. Mobile-first.
   ============================================================ */

/* ---- Design tokens -------------------------------------- */
:root {
  /* canvas + ink — deep cool slate (SaaS, weighty), not neutral black */
  --bg:        #0E1220;
  --bg-elev:   #151B2E;
  --bg-elev-2: #1D2440;
  --line:        rgba(226, 231, 246, 0.10);
  --line-strong: rgba(226, 231, 246, 0.18);

  /* text — soft off-white headings; brighter body for readability */
  --text:       #CDD2E2;
  --text-dim:   #A6ADC6;
  --text-faint: #7B839E;

  /* accent — violet, crisp modern-SaaS signature */
  --accent:      #8B87F0;
  --accent-ink:  #0E1220;
  --accent-soft: rgba(139, 135, 240, 0.14);

  /* signal tones */
  --up:   #5FC79A;
  --down: #E08A6A;
  --flat: #8A93B4;

  /* type */
  /* Satoshi — one cohesive family for headings + body (calm, modern) */
  --font-serif: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans:  'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:  ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  /* fluid type scale */
  --fs-display: clamp(2.05rem, 1.05rem + 3.7vw, 4.4rem);
  --fs-h2:      clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem);
  --fs-h3:      clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-lede:    clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.25vw, 1.15rem);
  --fs-mono:    0.74rem;

  /* layout */
  --maxw:      1180px;
  --maxw-read: 720px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --sec-pad:   clamp(3.25rem, 6vw, 5.75rem);
  --radius:    14px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--text); }
strong { font-weight: 600; color: var(--text); }

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

/* film grain — subtle texture over both dark & light sections, no images */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Dark theme ("blackout") — scoped token remap for the manifesto/marquee --- */
.is-dark {
  --bg:        #090C17;       /* deeper slate — marquee stripe */
  --bg-elev:   #0F1424;
  --bg-elev-2: #151B2E;
  --line:        rgba(226, 231, 246, 0.10);
  --line-strong: rgba(226, 231, 246, 0.18);
  --text:       #EAECF6;
  --text-dim:   #98A0BC;
  --text-faint: #6A7290;
  --accent:     #9E9AF5;
  --accent-ink: #090C17;
  background: var(--bg);
  color: var(--text);
}

/* ---- Ember — a quiet violet-lit "spotlight" (manifesto) ---- */
.is-ember {
  --bg:        #0B0F1D;       /* subtle deeper slate */
  --bg-elev:   #131A2C;
  --bg-elev-2: #1A2138;
  --line:        rgba(226, 231, 246, 0.10);
  --line-strong: rgba(226, 231, 246, 0.18);
  --text:       #CDD2E2;
  --text-dim:   #A6ADC6;
  --text-faint: #7B839E;
  --accent:     #9E9AF5;      /* violet kicker only */
  --accent-ink: #0B0F1D;
  background: var(--bg);
  color: var(--text);
}

/* ---- Utilities ---------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.read { max-width: var(--maxw-read); }
.center { text-align: center; margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---- Buttons ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.98rem;
  letter-spacing: -0.01em; line-height: 1;
  padding: 0.95em 1.5em; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  min-height: 48px;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-accent:hover { transform: translateY(-2px); background: #A29EF5; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-quiet { color: var(--text-dim); padding-inline: 0.5em; }
.btn-quiet:hover { color: var(--text); }
.btn-lg { font-size: 1.1rem; padding: 1.05em 1.8em; font-family: var(--font-mono); letter-spacing: 0.02em; text-transform: none; }

/* ---- Header ------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(14, 18, 32, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); background: rgba(14, 18, 32, 0.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.wordmark {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.02em; color: var(--text); white-space: nowrap;
}
.wordmark-dot { color: var(--accent); }

.header-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.header-nav > a:not(.btn) { font-size: 0.92rem; color: var(--text-dim); transition: color 0.2s var(--ease); }
.header-nav > a:not(.btn):hover { color: var(--text); }
.header-nav .btn { padding: 0.6em 1.2em; min-height: 40px; }

/* mobile menu — full-screen overlay */
.nav-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
  border-radius: 10px; margin-right: -8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 60; flex-direction: column;
  background: radial-gradient(90% 55% at 82% 0%, rgba(139, 135, 240, 0.13), transparent 60%), #0C0F1C;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2rem);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 68px; flex: none; }
.menu-close {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; position: relative; margin-right: -8px;
}
.menu-close span { position: absolute; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
.mobile-menu-body { display: flex; flex-direction: column; flex: 1; }
.mobile-menu-nav { display: flex; flex-direction: column; flex: 1; justify-content: center; }
.mobile-menu-nav a {
  display: flex; align-items: baseline; gap: 0.9rem;
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 8vw, 2.6rem);
  letter-spacing: -0.02em; color: var(--text);
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), color 0.2s var(--ease);
}
.mobile-menu.open .mobile-menu-nav a { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu-nav a:nth-child(1) { transition-delay: 0.09s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-nav a:active { color: var(--accent); }
.mm-num { font-size: 0.82rem; color: var(--accent); letter-spacing: 0.08em; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem;
  opacity: 0; transition: opacity 0.5s var(--ease) 0.22s; }
.mobile-menu.open .mobile-menu-foot { opacity: 1; }
.mobile-menu-foot .btn { width: 100%; justify-content: center; padding: 1.1em; font-size: 1.05rem; }
.mobile-menu-foot p { color: var(--text-faint); letter-spacing: 0.06em; }
body.menu-open { overflow: hidden; }

/* scroll progress bar + active-nav highlight */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 55;
  background: linear-gradient(90deg, var(--accent), #B0ADF7);
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}
.header-nav > a:not(.btn) { position: relative; }
.header-nav > a:not(.btn).active { color: var(--text); }
.header-nav > a:not(.btn).active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* ---- Hero --------------------------------------------- */
.hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: var(--sec-pad); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -12%; right: -6%;
  width: 62%; height: 130%; pointer-events: none; z-index: 0;
  background: radial-gradient(52% 52% at 76% 16%, rgba(139, 135, 240, 0.16), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.5fr 0.82fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.hero-grid > * { min-width: 0; }
.hero-copy { max-width: 44rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
}

.display {
  font-family: var(--font-serif); font-weight: 700;
  font-size: var(--fs-display); line-height: 1.05;
  letter-spacing: -0.015em; text-wrap: balance;
  overflow-wrap: break-word;
}
.hero h1.display { margin-bottom: clamp(1.4rem, 3vw, 2rem); text-wrap: pretty; }

.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--text-dim); max-width: 34rem; }
.lede em { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.hero-audience { margin-top: 1.6rem; color: var(--text-faint); letter-spacing: 0.13em; }
/* scroll-cue arrow nudge */
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.hero-cta .btn-quiet span { display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
/* align hero panel top with the headline (skip the eyebrow) on desktop */
@media (min-width: 941px) { .signal-panel { margin-top: 2.9rem; } }

/* live dot */
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--up); box-shadow: 0 0 0 0 rgba(143, 185, 138, 0.5);
  animation: pulse 2.6s var(--ease) infinite; flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(143, 185, 138, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(143, 185, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 185, 138, 0); }
}

/* ---- Signal panel (hero instrument) ------------------- */
.signal-panel {
  background: linear-gradient(180deg, #151B2E, #0E1220);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}
.signal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.signal-live { display: inline-flex; align-items: center; gap: 0.5em; color: var(--up); }
.signal-rows { list-style: none; display: grid; gap: 0.9rem; }
.signal-rows li { display: grid; grid-template-columns: 8.5rem 1fr auto; align-items: center; gap: 0.75rem; }
.s-label { color: var(--text-dim); text-transform: none; letter-spacing: 0.02em; font-size: 0.72rem; }
.bar { height: 6px; border-radius: 100px; background: rgba(226, 231, 246, 0.10); overflow: hidden; }
.bar-fill {
  display: block; height: 100%; width: var(--to); border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #B0ADF7);
  transition: width 1.1s var(--ease);
}
.js [data-signal] .bar-fill { width: 0; }
.js [data-signal].is-in .bar-fill { width: var(--to); }
.s-dir { font-size: 0.7rem; line-height: 1; }
.s-dir.up { color: var(--up); } .s-dir.down { color: var(--down); } .s-dir.flat { color: var(--flat); }
.signal-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0.02em; font-size: 0.68rem; color: var(--text-faint); }

/* ---- Sections ----------------------------------------- */
.section { padding-block: var(--sec-pad); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.hero + .section { border-top: 1px solid var(--line); }  /* section 1 divider (consistency) */
.section, .hero { scroll-margin-top: 84px; }              /* offset sticky header on anchor jumps */
.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-h {
  font-family: var(--font-serif); font-weight: 600;
  font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em;
  text-wrap: balance; margin-top: 0.9rem;
}
.eyebrow.mono { display: inline-block; }
.section-sub { color: var(--text-dim); font-size: var(--fs-lede); margin-top: 1.1rem; max-width: 34rem; }
.body-lg { font-size: var(--fs-lede); line-height: 1.6; color: var(--text-dim); }
.body-lg + .body-lg { margin-top: 1.25rem; }

/* Thesis — left-aligned to the page grid, readable measure */
.thesis .section-h { margin-bottom: 1.6rem; max-width: 40rem; }
.thesis .body-lg { max-width: 40rem; }
.thesis .eyebrow { margin-bottom: 1.4rem; }

/* ---- Pipeline flow ------------------------------------ */
.flow {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.flow-step {
  background: var(--bg); padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.5rem; position: relative;
  transition: background 0.3s var(--ease);
}
.flow-step::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.flow-step:hover { background: var(--bg-elev); }
.flow-step:hover::after { transform: scaleX(1); }
.flow-num { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.14em; }
.flow-step h3 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h3); letter-spacing: -0.01em; margin-top: 0.4rem; }
.flow-step p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.5; }
.flow-note { margin-top: 1.5rem; color: var(--text-dim); font-size: 0.98rem; display: flex; gap: 0.6em; align-items: baseline; }
.flow-note .mono { color: var(--accent); font-size: 0.9rem; }

/* ---- Pillars ------------------------------------------ */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.pillar { display: flex; flex-direction: column; gap: 0.7rem; }
.pillar-mark {
  font-size: 1.1rem; color: var(--accent); width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  border-radius: 10px; letter-spacing: 0; margin-bottom: 0.4rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pillar:hover .pillar-mark { border-color: rgba(139, 135, 240, 0.5); transform: translateY(-2px); }
.pillar h3 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h3); letter-spacing: -0.01em; }
.pillar p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.5; }

/* ---- Offerings ---------------------------------------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.offer-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: 0.75rem; min-height: 100%;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.offer-card:hover { transform: translateY(-4px); border-color: rgba(139, 135, 240, 0.35); background: var(--bg-elev-2); box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.55); }
.offer-tag { color: var(--accent); font-size: 0.68rem; }
.offer-card h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.15;
  letter-spacing: -0.015em; display: flex; flex-direction: column; gap: 0.2rem;
}
.offer-alt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--text-faint); text-transform: uppercase; }
.offer-card p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.5; flex: 1; }
.offer-link { color: var(--text); font-weight: 500; font-size: 0.95rem; display: inline-flex; gap: 0.4em; align-items: center; transition: gap 0.25s var(--ease), color 0.25s var(--ease); }
.offer-link:hover { color: var(--accent); gap: 0.7em; }

/* readability — a touch more line-height on card/description copy */
.flow-step p, .pillar p, .offer-card p { line-height: 1.58; }

/* ---- Signals marquee ---------------------------------- */
.marquee {
  overflow: hidden; background: #090C17;
  border-block: 1px solid transparent; padding-block: 1.05rem;
}
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.4rem; padding-inline-end: 2.4rem; }
.mq-item {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
}
.mq-dot { color: var(--accent); font-size: 0.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Manifesto (dark pivot) --------------------------- */
.manifesto {
  text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem);
  background: radial-gradient(58% 78% at 50% 44%, rgba(139, 135, 240, 0.13), transparent 72%), var(--bg);
}
.manifesto-h { font-weight: 600; font-size: clamp(1.7rem, 1.05rem + 2.9vw, 3.05rem); line-height: 1.2; letter-spacing: -0.02em; }
.mani-kick { color: var(--accent); }
.manifesto .body-lg { max-width: 34rem; margin: 1.6rem auto 0; }

/* ---- Contact ------------------------------------------ */
.contact { text-align: center; }
.contact-h { font-size: clamp(2.2rem, 1.4rem + 4vw, 4.2rem); margin-block: 1.2rem 1.5rem; }
.contact .body-lg { margin-inline: auto; max-width: 32rem; margin-bottom: 2.2rem; }
.contact .btn-lg { color: var(--accent-ink); }

/* ---- Footer ------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(2rem, 4vw, 3rem); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; }
.footer-bottom .mono { color: var(--text-faint); }
.footer-mail { color: var(--text-dim); text-transform: none; letter-spacing: 0.02em; transition: color 0.2s var(--ease); }
.footer-mail:hover { color: var(--accent); }

/* ---- Reveal animation (only when JS is present) ------- */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .signal-panel { max-width: 30rem; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
  .pillar-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .flow { grid-template-columns: 1fr; }
  .signal-rows li { grid-template-columns: 7rem 1fr auto; }
  .hero-cta { gap: 0.75rem; }
  .hero-cta .btn { justify-content: center; }
  .footer-mail { margin-left: 0; width: 100%; }
}

/* ---- Motion / accessibility preferences --------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .is-in .bar-fill { transition: none; }
  .marquee-track { animation: none !important; transform: none; }
}
