/* =========================================================
   ROMEXX — bold & modern personal brand site
   Design system + shared components
   Theme via CSS variables below (easy to recolor).
   ========================================================= */

:root {
  /* Palette */
  --ink: #0B0B0C;
  --ink-2: #16161A;
  --cream: #F3F0E9;
  --paper: #FFFFFF;
  --accent: #FF4A1C;      /* hot signal orange */
  --accent-ink: #2A0E05;
  --volt: #D8FF3E;        /* lime highlight for numbers */
  --muted: #6B6B72;
  --line: rgba(11,11,12,.12);
  --line-soft: rgba(11,11,12,.07);

  /* Type */
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--display);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow.on-dark { color: var(--volt); }
.eyebrow.on-dark::before { background: var(--volt); }

.display {
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  line-height: .92;
  letter-spacing: -0.045em;
}
.h-xl { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.035em; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.muted { color: var(--muted); }
.accent-text { color: var(--accent); }
mark { background: linear-gradient(180deg, transparent 55%, var(--volt) 55%); color: inherit; padding: 0 .05em; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 140px); }
.section-sm { padding-block: clamp(48px, 7vw, 90px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.2rem; }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.divider { height: 1px; background: var(--line); border: 0; }

/* Dark section */
.dark { background: var(--ink); color: var(--cream); }
.dark .muted { color: #9a9aa2; }
.dark .divider { background: rgba(255,255,255,.14); }
.dark a.link-underline { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  letter-spacing: -0.01em;
  padding: 15px 26px; border-radius: 100px;
  background: var(--accent); color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,74,28,.35); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translate(3px,-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 12px 30px rgba(11,11,12,.3); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); box-shadow: none; }
.dark .btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.dark .btn-ghost:hover { background: var(--cream); color: var(--ink); box-shadow: none; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

.link-underline {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--display); font-weight: 600;
  border-bottom: 2px solid var(--accent); padding-bottom: 3px;
  transition: gap .25s var(--ease), color .2s;
}
.link-underline:hover { gap: .8em; color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; display: flex; align-items: center; gap: 9px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--display); font-weight: 500; font-size: .95rem;
  padding: 9px 14px; border-radius: 100px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(11,11,12,.06); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    background: var(--ink); color: var(--cream);
    padding: 40px 30px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -30px 0 80px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--cream); font-size: 1.4rem; font-weight: 600; padding: 14px 12px; }
  .nav-links a:hover { background: rgba(255,255,255,.08); }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .nav-cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 90px) clamp(50px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero-name { display: block; }
.hero-sub { max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; background: var(--ink-2);
  box-shadow: 0 30px 70px rgba(11,11,12,.22);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--paper); color: var(--ink);
  border-radius: 100px; padding: 10px 18px;
  font-family: var(--display); font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.hero-badge .pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,.5)} 70%{box-shadow:0 0 0 10px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 3/4; max-height: 60vh; margin-inline: auto; width: 100%; }
}

/* Scroll cue */
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; font-family: var(--display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.scroll-cue .bar { width: 46px; height: 2px; background: var(--muted); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content:""; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: slide 1.8s var(--ease) infinite; }
@keyframes slide { 0%{transform:translateX(-100%)} 100%{transform:translateX(320%)} }

/* ---------- Stats / counters ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2.4vw,32px); }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.stat .num .unit { color: var(--accent); }
.dark .stat .num .unit { color: var(--volt); }
.stat .label { margin-top: 10px; font-size: .92rem; color: var(--muted); max-width: 22ch; }
@media (max-width: 720px){ .stats-row { grid-template-columns: repeat(2,1fr); row-gap: 34px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee.dark-m { border-color: rgba(255,255,255,.14); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem,2.4vw,1.7rem); display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; color: var(--muted); }
.marquee-track span::after { content: "•"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,11,12,.12); border-color: transparent; }
.card .idx { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--accent); }
.card h3 { margin: 16px 0 10px; }
.card .card-list { margin-top: 18px; display: grid; gap: 10px; }
.card .card-list li { display: flex; gap: 10px; font-size: .96rem; color: var(--muted); }
.card .card-list li::before { content: "→"; color: var(--accent); font-weight: 700; }

.pillar { display: grid; gap: 18px; }
.pillar .tag { font-family: var(--display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pillar-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--ink); color: var(--volt); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; }

/* Case study card */
.case { display: grid; gap: 16px; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case .badge-cat { font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; background: rgba(255,74,28,.1); color: var(--accent); }
.case .roas { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem,4vw,2.8rem); letter-spacing: -0.03em; }
.case-metrics { display: flex; gap: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.case-metrics .m .k { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.case-metrics .m .l { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Quote / testimonial ---------- */
.quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; }
.quote .mk { color: var(--accent); }
.testi-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px,3vw,38px); border: 1px solid var(--line-soft); display: grid; gap: 22px; }
.testi-card p { font-size: 1.08rem; line-height: 1.5; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-who .av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--ink-2); flex: none; }
.testi-who .nm { font-family: var(--display); font-weight: 600; }
.testi-who .rl { font-size: .85rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ---------- Before / After slider ---------- */
.ba {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; user-select: none;
  background: var(--ink); color: #fff; aspect-ratio: 16/9; min-height: 320px;
}
.ba-side { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 30px; gap: 8px; }
.ba-after { background: var(--ink); }
.ba-before { background: #2b0f07; clip-path: inset(0 var(--split, 50%) 0 0); }
.ba-side .tag { font-family: var(--display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.ba-metrics { display: grid; gap: 4px; }
.ba-metrics .big { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem,4vw,2.6rem); }
.ba-before .big { color: #ff9a80; }
.ba-after .big { color: var(--volt); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: #fff; z-index: 3; }
.ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; background: #fff; color: var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }

/* ---------- Receipts gallery ---------- */
.receipts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.receipt { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--paper); aspect-ratio: 4/3; position: relative; transition: transform .3s var(--ease); }
.receipt:hover { transform: scale(1.02); }
.receipt img { width: 100%; height: 100%; object-fit: cover; }
.receipt .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(11,11,12,.85); color: #fff; font-size: .72rem; padding: 5px 10px; border-radius: 100px; font-family: var(--display); }
@media (max-width: 720px){ .receipts { grid-template-columns: repeat(2,1fr); } }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 2px; border-radius: var(--radius-lg); overflow: hidden; }
.step { background: var(--paper); padding: clamp(24px,3vw,40px); display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,3vw,44px); align-items: start; transition: background .3s; }
.step:hover { background: #fff; }
.dark .step { background: var(--ink-2); }
.step .st-num { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem,5vw,3.6rem); color: var(--accent); line-height: 1; letter-spacing: -0.04em; }
.dark .step .st-num { color: var(--volt); }
.step h3 { margin-bottom: 8px; }
@media (max-width: 620px){ .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.faq-q .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: background .3s, border-color .3s, color .3s; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: currentColor; }
.faq-q .ic::before { width: 13px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 13px; transition: transform .3s var(--ease); }
.faq-item.open .faq-q .ic { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-item.open .faq-q .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 26px; color: var(--muted); max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 84px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .5; }
.cta-band h2 { position: relative; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,74,28,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--muted); }
@media (max-width: 620px){ .form .row { grid-template-columns: 1fr; } }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.02rem; }
.checklist li .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: 2px; }
.dark .checklist li .ck { background: var(--volt); color: var(--ink); }

/* ---------- Timeline (Story) ---------- */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: clamp(18px,3vw,40px); padding: clamp(24px,3vw,40px) 0; border-top: 1px solid var(--line); }
.tl-item .yr { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem,3vw,2rem); color: var(--accent); letter-spacing: -0.03em; }
.tl-item h3 { margin-bottom: 8px; }
@media (max-width: 620px){ .tl-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Placeholder styling ---------- */
.ph {
  outline: 1.5px dashed rgba(255,74,28,.55); outline-offset: -1.5px;
  background:
    repeating-linear-gradient(45deg, rgba(255,74,28,.05) 0 12px, transparent 12px 24px);
  border-radius: 8px;
}
.ph-note { font-size: .72rem; color: var(--accent); font-family: var(--display); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; display: inline-block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(56px, 8vw, 100px) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem,7vw,4.5rem); letter-spacing: -0.04em; line-height: 1; }
.footer h4 { font-family: var(--display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #8a8a92; margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; color: var(--cream); opacity: .85; transition: opacity .2s, transform .2s; }
.footer-col a:hover { opacity: 1; transform: translateX(4px); color: var(--volt); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #8a8a92; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.footer-social a:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); transform: translateY(-3px); }
@media (max-width: 780px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Video hero (company front cover) ---------- */
.hero-v{position:relative;overflow:hidden;color:var(--cream);min-height:min(86vh,740px);display:flex;align-items:center;background:radial-gradient(1100px 560px at 72% -12%, rgba(255,74,28,.5), transparent 58%), linear-gradient(180deg,#0B0B0C,#17171B)}
.hero-v>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42;z-index:0}
.hero-v>.veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,11,12,.5),rgba(11,11,12,.82));z-index:1}
.hero-v .wrap{position:relative;z-index:2;width:100%}
.hero-v .display{color:#fff}
.hero-v .lead{color:#fff}
.hero-v .muted{color:#e9e9ee}
.hero-v .btn-ghost{color:#fff;box-shadow:inset 0 0 0 1.6px rgba(255,255,255,.6)}
.hero-v .btn-ghost:hover{background:#fff;color:var(--ink);box-shadow:none}
.partner-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,28px)}
@media(max-width:820px){.partner-cards{grid-template-columns:1fr}}
/* stack the inline 3-col & 2-col grids on phones */
@media(max-width:760px){.grid[style*="repeat(3,1fr)"],.grid[style*="repeat(2,1fr)"]{grid-template-columns:1fr !important}}
/* animated growth-chart hero background */
.hero-chart{position:absolute;inset:0;z-index:0;opacity:.5;overflow:hidden}
.hero-chart svg{width:100%;height:100%;display:block}
.hc-grid line{stroke:rgba(255,255,255,.07);stroke-width:1}
.hc-bar{transform-box:fill-box;transform-origin:50% 100%;animation:hcGrow 3.6s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes hcGrow{0%{transform:scaleY(.12)}50%{transform:scaleY(1)}100%{transform:scaleY(.12)}}
.hc-line{fill:none;stroke:var(--volt);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1700;stroke-dashoffset:1700;filter:drop-shadow(0 0 6px rgba(216,255,62,.5));animation:hcDraw 5s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes hcDraw{0%{stroke-dashoffset:1700}60%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hc-arrow{fill:var(--volt)}
.hc-dot{fill:var(--volt);transform-box:fill-box;transform-origin:center;animation:hcPulse 2.2s ease-in-out infinite}
@keyframes hcPulse{0%,100%{transform:scale(.7);opacity:.6}50%{transform:scale(1.3);opacity:1}}
@media(prefers-reduced-motion:reduce){.hc-bar{transform:scaleY(1);animation:none}.hc-line{stroke-dashoffset:0;animation:none}.hc-dot{animation:none}}

/* ---------- Draft notice bar (delete before publishing) ---------- */
.draft-bar {
  background: var(--ink); color: var(--volt);
  font-family: var(--display); font-size: .8rem; font-weight: 500;
  text-align: center; padding: 9px 16px; letter-spacing: .01em;
}
.draft-bar b { color: #fff; }

/* ---------- Utility ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,64px); align-items: center; }
.two-col.narrow-left { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 820px){ .two-col, .two-col.narrow-left { grid-template-columns: 1fr; } }
.pill-tag { display: inline-block; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); }
.maxw-60 { max-width: 60ch; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: 3rem; }
