/* =============================================================
   Arena Takeover — Live Experience Design
   Design system v2: editorial, cinematic, restrained.
   ============================================================= */

:root {
  /* Ink */
  --ink: #050506;
  --bg: #0a0a0b;
  --bg-2: #0f0f12;
  --bg-3: #15151a;
  --line: #1e1e25;
  --line-2: #2b2b35;

  /* Text */
  --text: #f5f5f7;
  --text-dim: #c6c6cf;
  --muted: #8a8a96;
  --muted-2: #5a5a65;

  /* Accent — use sparingly, like punctuation */
  --accent: #ff3b2f;        /* arena red */
  --accent-hot: #ff5147;
  --accent-deep: #c2261c;
  --gold: #ffd84d;

  /* Geometry */
  --max: 1320px;
  --max-text: 760px;
  --radius: 2px;
  --radius-lg: 6px;

  /* Typography */
  --display: 'Anton', 'Bebas Neue', Impact, system-ui, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-in: cubic-bezier(.6,.0,.9,.3);
  --dur: .45s;

  /* Section rhythm */
  --pad-section: clamp(80px, 12vw, 160px);
  --pad-section-sm: clamp(56px, 8vw, 96px);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: #fff; }

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-feature-settings: 'ss01','cv11','tnum';
}
body { overflow-x: hidden; position: relative; }

/* Subtle film grain — gives the whole thing perceptual quality */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 14px 20px;
  font: 700 12px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
}
.section { padding: var(--pad-section) 0; }
.section-sm { padding: var(--pad-section-sm) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
  color: var(--text);
}
h1 { font-size: clamp(56px, 9.5vw, 164px); letter-spacing: -.015em; }
h2 { font-size: clamp(40px, 6vw, 92px); letter-spacing: -.01em; }
h3 { font-size: clamp(26px, 2.8vw, 42px); }
h4 { font-size: clamp(18px, 1.4vw, 22px); letter-spacing: .02em; }
h5 { font-size: 14px; letter-spacing: .16em; }

p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 64ch;
  line-height: 1.65;
}
p.lead {
  color: var(--text);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.5;
  max-width: 68ch;
  font-weight: 400;
}
p.small { font-size: 14px; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 11px/1 var(--body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  background: rgba(10, 10, 11, .72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1px clamp(24px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .08em;
  display: inline-flex; align-items: center;
  gap: 14px;
  color: var(--text);
}
.brand .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
}
.brand .brand-mark {
  width: clamp(68px, 6vw, 88px);
  height: clamp(68px, 6vw, 88px);
  display: block;
  background: transparent;
  object-fit: contain;
  flex-shrink: 0;
}
.brand .brand-text { display: inline-block; }
@media (max-width: 520px) { .brand .brand-text { display: none; } }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color .25s var(--ease);
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  padding: 12px 22px !important;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700 !important;
  transition: background .25s var(--ease), transform .25s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hot); transform: translateY(-1px); }

.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    flex-direction: column;
    padding: 32px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; font-size: 22px; color: var(--text); padding: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 34px;
  font: 700 12px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "→";
  display: inline-block;
  font-size: 14px;
  transition: transform .35s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 20px 40px -20px rgba(255,59,47,.5);
}
.btn-primary:hover {
  background: var(--accent-hot);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 30px 50px -20px rgba(255,59,47,.6);
}

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255,255,255,.04);
}

/* ---------- Hero ---------- */
.hero {
  padding: 220px 0 140px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 25%, rgba(255,59,47,.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(255,216,77,.06), transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Giant ghost typography in the background — cinematic atmosphere */
.hero::after {
  content: "ARENA";
  position: absolute;
  right: -4vw;
  bottom: -8vw;
  font-family: var(--display);
  font-size: clamp(240px, 36vw, 620px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.035);
  letter-spacing: -.02em;
  line-height: .8;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.hero--video { padding: 160px 0 140px; min-height: 88vh; display: flex; align-items: center; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-video.is-ready { opacity: .55; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.35) 40%, rgba(10,10,11,.92) 100%),
    linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.2) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero--video::before, .hero--video::after { z-index: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { transition: none; }
}

.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--accent); margin-bottom: 32px; }
.hero h1 {
  margin-bottom: 40px;
  max-width: 19ch;
}
.hero h1 .accent {
  color: var(--accent);
  display: block;
  font-style: normal;
}
.hero .lead {
  margin-bottom: 56px;
  max-width: 58ch;
  color: var(--text-dim);
}
.cta-row { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Credibility marquee ---------- */
.cred {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.cred::before, .cred::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.cred::before { left: 0;  background: linear-gradient(90deg, var(--bg-2), transparent); }
.cred::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }

.cred-grid {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.cred-grid span {
  font: 600 11px/1 var(--body);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.cred-grid span::after {
  content: "◆";
  color: var(--accent);
  font-size: 8px;
  opacity: .6;
}
.cred-grid span:last-child::after { content: ""; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cred-grid { animation: none; width: 100%; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
}

/* ---------- Section head ---------- */
.section-head {
  margin-bottom: 72px;
  max-width: 820px;
}
.section-head h2 { margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 64px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Service / feature cards — editorial style ---------- */
.card {
  display: block;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 40px 0 44px;
  position: relative;
  transition: border-color .35s var(--ease);
}
.card:last-child { border-bottom: 1px solid var(--line); }
.card:hover { border-top-color: var(--text); }

.card .num {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--muted-2);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  line-height: 1;
  transition: color .35s var(--ease), transform .45s var(--ease);
  display: block;
}
.card:hover .num { color: var(--accent); transform: translateX(8px); }

.card h3 {
  margin-bottom: 16px;
  max-width: 18ch;
  transition: transform .45s var(--ease);
}
.card:hover h3 { transform: translateX(8px); }

.card p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 52ch;
}
.card .arrow {
  font: 600 11px/1 var(--body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card .arrow::after {
  content: "→";
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.card:hover .arrow::after { transform: translateX(6px); }

/* When cards are in a grid, lay them out editorially */
.grid-3 > .card {
  padding-right: 24px;
}

/* ---------- Audiences (Who We Help) ---------- */
.audiences { position: relative; }
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 960px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 40px 36px 36px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.aud-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease);
}
.aud-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: linear-gradient(180deg, var(--bg-3) 0%, #1a1a20 100%); }
.aud-card:hover::before { transform: scaleY(1); }
.aud-num {
  font-family: var(--display);
  font-size: 52px;
  color: var(--muted-2);
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: 28px;
  transition: color var(--dur) var(--ease);
}
.aud-card:hover .aud-num { color: var(--accent); }
.aud-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.02;
  letter-spacing: .005em;
  margin-bottom: 20px;
}
.aud-card p {
  color: var(--text-dim);
  margin-bottom: 32px;
  flex: 1;
}
.aud-cta {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 10px;
}
.aud-card:hover .aud-cta .arrow { transform: translateX(6px); }
.aud-cta .arrow { transition: transform var(--dur) var(--ease); display: inline-block; }

.aud-footnote {
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  max-width: 860px;
}
.aud-footnote p { color: var(--text-dim); margin: 0; }
.aud-footnote strong { color: var(--text); font-weight: 600; }
.aud-footnote a { color: var(--accent); font-weight: 600; text-decoration: none; }
.aud-footnote a:hover { color: var(--accent-hot); }

/* ---------- Philosophy section ---------- */
.philosophy {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.philosophy .section-head h2 {
  font-size: clamp(44px, 6.5vw, 104px);
  max-width: 20ch;
}

.beliefs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
  margin-top: 80px;
}
@media (max-width: 760px) { .beliefs { grid-template-columns: 1fr; gap: 48px; } }

.belief {
  border-left: 1px solid var(--line-2);
  padding-left: 28px;
  position: relative;
  counter-increment: belief;
}
.belief::before {
  content: counter(belief, decimal-leading-zero);
  position: absolute;
  left: 28px; top: -28px;
  font: 400 11px/1 var(--body);
  letter-spacing: .2em;
  color: var(--accent);
}
.beliefs { counter-reset: belief; }
.belief h4 {
  font-family: var(--display);
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--text);
}
.belief p { font-size: 16px; color: var(--text-dim); }

/* ---------- Work — editorial list ---------- */
.work-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 56px;
  align-items: flex-start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  border-left: 0; border-right: 0; border-bottom: 0;
  margin: 0;
  transition: padding .4s var(--ease);
}
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-item:hover { padding-left: 16px; }

.work-visual {
  aspect-ratio: auto;
  background: none;
  border: 0;
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 96px);
  color: var(--muted-2);
  padding: 0;
  display: block;
  text-align: left;
  letter-spacing: -.02em;
  line-height: 1;
  transition: color .4s var(--ease);
}
.work-item:hover .work-visual { color: var(--accent); }

.work-meta {
  font: 600 11px/1 var(--body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.work-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  font: 600 10px/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.evidence-note {
  margin-bottom: 56px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
}
.evidence-note p { margin: 0; }
.work-item h3 {
  margin-bottom: 20px;
  max-width: 22ch;
  transition: transform .4s var(--ease);
}
.work-item:hover h3 { transform: translateX(6px); }
.work-item p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 20px;
}
.work-item p strong { color: var(--text); font-weight: 600; }
.work-item h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: .005em;
  max-width: 24ch;
}
.work-item > div:last-child { display: block; }
.work-item a.arrow {
  display: inline-flex;
  align-items: center;
  font: 600 11px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  margin-top: 8px;
}
.work-item .arrow::after {
  content: " →";
  color: var(--accent);
  display: inline-block;
  transition: transform .35s var(--ease);
}
.work-item:hover .arrow::after { transform: translateX(6px); }

@media (max-width: 860px) {
  .work-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 0;
  }
  .work-item:hover { padding-left: 0; }
}

/* ---------- Insights cards ---------- */
.insight-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 40px 36px 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.insight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.insight-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  background: var(--bg-3);
}
.insight-card:hover::before { transform: scaleX(1); }

.insight-card .tag {
  font: 600 10px/1 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.insight-card h3 {
  font-size: 22px;
  margin-bottom: 18px;
  max-width: 20ch;
  line-height: 1;
}
.insight-card p {
  font-size: 15px;
  color: var(--text-dim);
}
.insight-card .read {
  margin-top: auto;
  padding-top: 28px;
  font: 600 11px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  gap: 8px;
}
.insight-card .read::after {
  content: "→";
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.insight-card:hover .read::after { transform: translateX(6px); }

/* ---------- CTA block — restrained editorial ---------- */
.cta-block {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,59,47,.22), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--ink) 100%);
  padding: clamp(72px, 9vw, 120px) clamp(40px, 6vw, 80px);
  border-radius: var(--radius-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  max-width: 1100px;
  margin: 0 auto;
}
.cta-block::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.cta-block::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,59,47,.15), transparent 70%);
  pointer-events: none;
}
.cta-block .eyebrow { color: var(--accent); margin-bottom: 24px; }
.cta-block h2 {
  color: var(--text);
  margin-bottom: 20px;
  max-width: 16ch;
  font-size: clamp(36px, 5vw, 72px);
}
.cta-block p {
  color: var(--text-dim);
  margin: 0 0 40px;
  font-size: 19px;
  max-width: 56ch;
}
.cta-block .btn {
  background: var(--accent);
  color: #fff;
}
.cta-block .btn:hover { background: var(--accent-hot); }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 100px 0 40px;
  margin-top: 0;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .4;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h5, .foot-grid .foot-h {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .18em;
  margin-bottom: 24px;
  color: var(--text);
  font-weight: 400;
  text-transform: uppercase;
}
.foot-grid nav { display: block; }
.foot-grid a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 7px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.foot-grid a:hover { color: var(--text); transform: translateX(4px); }

.foot-brand p {
  font-size: 14px;
  margin-top: 20px;
  max-width: 34ch;
  color: var(--muted);
}
.foot-brand .brand { font-size: 18px; }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; max-width: 620px; }
.form label {
  display: block;
  font: 600 10px/1 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  padding: 14px 0;
  font: 400 16px/1.5 var(--body);
  transition: border-color .3s var(--ease);
  border-radius: 0;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--muted-2); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%238a8a96'><path d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px;
  padding-right: 24px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form button[type="submit"] { justify-self: flex-start; margin-top: 12px; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: 150px 0 110px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 40% at 20% 40%, rgba(255,59,47,.12), transparent 60%),
    radial-gradient(ellipse 50% 30% at 85% 90%, rgba(255,216,77,.05), transparent 55%);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 98%, rgba(255,255,255,.02) 100%) 0 0 / 60px 100%;
  pointer-events: none;
}
.page-head .eyebrow { margin-bottom: 28px; }
.page-head h1 {
  font-size: clamp(56px, 10vw, 180px);
  margin-bottom: 32px;
  max-width: 18ch;
}
.page-head p.lead { max-width: 68ch; color: var(--text-dim); }
.page-head .container > * { position: relative; z-index: 2; }
.page-head::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  opacity: .35;
  z-index: 3;
}

/* ---------- Check list ---------- */
ul.checks {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 28px 0;
}
ul.checks li {
  padding-left: 36px;
  position: relative;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
}
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 22px; height: 1px;
  background: var(--accent);
}

/* ---------- Resource list ---------- */
.resource {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
  transition: padding .4s var(--ease);
}
.resource:last-child { border-bottom: 1px solid var(--line); }
.resource:hover { padding-left: 16px; }
.resource .rtype {
  font: 600 10px/1 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.resource h4 {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 10px;
}
.resource p { font-size: 15px; margin-bottom: 10px; color: var(--text-dim); }
.resource .why { font-size: 13px; color: var(--muted); font-style: italic; }
.resource-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.resource-actions a {
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font: 600 10px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.resource-actions a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) { .resource { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; } .resource:hover { padding-left: 0; } }

/* ---------- Audit offer ---------- */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--line);
}
.audit-panel { padding: 36px 32px; background: var(--bg-2); }
.audit-panel h3 { font-size: 24px; margin-bottom: 18px; }
.audit-panel p { font-size: 15px; }
.audit-panel ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.audit-panel li { color: var(--text-dim); font-size: 14px; padding-left: 18px; position: relative; }
.audit-panel li::before { content: ""; width: 7px; height: 1px; background: var(--accent); position: absolute; left: 0; top: 11px; }
@media (max-width: 860px) { .audit-grid { grid-template-columns: 1fr; } }

/* ---------- Policy pages ---------- */
.prose { max-width: var(--max-text); }
.prose h2 { font-size: clamp(28px, 3vw, 42px); margin: 48px 0 16px; }
.prose p, .prose li { color: var(--text-dim); font-size: 17px; line-height: 1.7; }
.prose p { margin-bottom: 18px; }
.prose ul { display: grid; gap: 10px; margin: 18px 0 24px; padding-left: 22px; }

/* ---------- Process steps ---------- */
.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
.step {
  padding: 36px 28px;
  border: 0;
  border-left: 1px solid var(--line-2);
  border-radius: 0;
  position: relative;
  transition: border-color .35s var(--ease);
}
.step:hover { border-left-color: var(--accent); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-size: 48px;
  color: var(--muted-2);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
  transition: color .35s var(--ease);
}
.step:hover::before { color: var(--accent); }
.step h4 { font-family: var(--display); font-size: 18px; margin-bottom: 10px; letter-spacing: .02em; }
.step p { font-size: 13px; color: var(--text-dim); }

/* ---------- Scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
  .reveal[data-delay="4"] { transition-delay: .32s; }
}

/* ---------- Services page: editorial sections ---------- */
.section[id] > .container > .grid-2 > div:first-child .eyebrow {
  color: var(--muted);
}
.section[id] > .container > .grid-2 > div:first-child h2 {
  font-size: clamp(40px, 5.5vw, 88px);
  margin-bottom: 0;
}
.section[id] > .container > .grid-2 {
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.center { text-align: center; }

/* ---------- Article body (long-form insight pages) ---------- */
article .section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: .005em;
  line-height: 1.05;
  margin: 56px 0 20px;
}
article .section h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}
article .section p {
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 20px;
}
article .section ul, article .section ol {
  margin: 20px 0 28px;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}
article .section li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
}
article .section li strong { color: var(--text); }
article .section em { color: var(--text); font-style: italic; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 520px) {
  .btn { padding: 16px 24px; font-size: 11px; }
  .form input, .form select, .form textarea { padding: 18px 0; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; text-align: center; }
}

/* ---------- Cross-links between audience pages ---------- */
.cross-links {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cross-links a {
  font: 600 12px/1 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.cross-links a:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Selection on primary accent ---------- */
::selection { background: var(--accent); color: #fff; }

/* ---------- FlowPro product ---------- */
.flowpro-hero {
  min-height: 92vh;
  padding: clamp(150px, 16vw, 220px) 0 clamp(90px, 10vw, 140px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 100% 44px,
    radial-gradient(circle at 76% 38%, rgba(255,59,47,.15), transparent 28%),
    radial-gradient(circle at 16% 74%, rgba(255,216,77,.055), transparent 32%),
    #070708;
}
.flowpro-hero::after {
  content: "GO";
  position: absolute;
  right: -2vw;
  bottom: -12vw;
  font: 400 clamp(260px, 38vw, 640px)/.8 var(--display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.045);
  pointer-events: none;
}
.flowpro-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.flowpro-intro h1 {
  font-size: clamp(64px, 7.8vw, 128px);
  max-width: 9ch;
  margin-bottom: 30px;
}
.flowpro-intro h1 span { color: var(--accent); }
.flowpro-intro .lead { max-width: 58ch; }
.flowpro-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px 20px;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  font: 600 10px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.flowpro-status span,
.flowpro-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,59,47,.12);
}
.flowpro-access-note { margin-top: 22px; color: var(--muted); font-size: 13px; }
.flowpro-console {
  position: relative;
  border: 1px solid #303039;
  background: #0d0d10;
  box-shadow: 0 36px 100px rgba(0,0,0,.62), -10px 10px 0 rgba(255,59,47,.08);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.flowpro-console-bar,
.flowpro-console-head,
.flowpro-console-row {
  display: grid;
  grid-template-columns: 44px minmax(170px, 1fr) 96px 64px;
  align-items: center;
}
.flowpro-console-bar {
  grid-template-columns: 1fr auto;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid #303039;
  font: 600 10px/1 var(--body);
  letter-spacing: .17em;
  color: #9b9ba6;
}
.flowpro-live { display: inline-flex; align-items: center; gap: 9px; color: #ff6a62; }
.flowpro-console-head {
  min-height: 34px;
  padding: 0 15px;
  color: #62626d;
  font: 600 9px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid #222229;
}
.flowpro-console-row {
  min-height: 64px;
  padding: 0 15px;
  border-bottom: 1px solid #222229;
  color: #8f8f9b;
  font: 500 11px/1.2 var(--body);
}
.flowpro-console-row strong { color: #e9e9ed; font-size: 14px; }
.flowpro-console-row time { font-family: 'SFMono-Regular', Consolas, monospace; color: #b8b8c2; }
.flowpro-console-row.is-done { opacity: .48; }
.flowpro-console-row.is-live {
  background: linear-gradient(90deg, rgba(255,59,47,.18), rgba(255,59,47,.025));
  box-shadow: inset 3px 0 var(--accent);
}
.flowpro-console-row.is-live strong,
.flowpro-console-row.is-live time { color: #fff; }
.flowpro-next {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 16px;
  padding: 18px;
  border: 1px solid #3b3b45;
  background: #15151a;
}
.flowpro-next span { color: #71717c; font: 600 9px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.flowpro-next strong { font-size: 13px; }
.flowpro-next b { padding: 11px 15px; background: var(--accent); font: 700 11px/1 var(--body); letter-spacing: .14em; }
.flowpro-proof { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.flowpro-proof .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.flowpro-proof span {
  padding: 22px 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font: 600 10px/1 var(--body);
  letter-spacing: .17em;
  text-transform: uppercase;
}
.flowpro-proof span:last-child { border-right: 1px solid var(--line); }
.flowpro-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); }
.flowpro-features article { min-height: 360px; padding: 42px 36px; background: var(--bg-2); }
.flowpro-features article > span { color: var(--accent); font: 400 52px/1 var(--display); }
.flowpro-features h3 { margin: 72px 0 18px; font-size: clamp(28px, 3vw, 40px); }
.flowpro-features p { font-size: 15px; }
.flowpro-workflow { border-block: 1px solid var(--line); background: linear-gradient(135deg, #0e0e11, #080809); }
.flowpro-workflow h2 { font-size: clamp(42px, 5vw, 76px); }
.flowpro-access-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: end;
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 88% 14%, rgba(255,59,47,.16), transparent 28%), var(--bg-2);
}
.flowpro-access-panel h2 { font-size: clamp(42px, 6vw, 84px); margin-bottom: 20px; }
.flowpro-access-actions { display: grid; justify-items: start; gap: 14px; }
.flowpro-access-actions small { max-width: 48ch; color: var(--muted); line-height: 1.5; }

/* ---------- FlowPro access gate ---------- */
.flowpro-gate-page { min-height: 100vh; background: radial-gradient(circle at 72% 30%, rgba(255,59,47,.14), transparent 34%), #070708; }
.flowpro-gate {
  min-height: 100vh;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 72px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flowpro-gate-brand { align-self: flex-start; margin-bottom: 32px; font: 400 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.flowpro-gate-brand span { color: var(--accent); }
.flowpro-gate-card { position: relative; padding: clamp(34px, 7vw, 68px); border: 1px solid var(--line-2); background: rgba(15,15,18,.94); box-shadow: 0 40px 120px rgba(0,0,0,.48); }
.flowpro-gate-card::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 3px; background: var(--accent); }
.flowpro-gate-card h1 { font-size: clamp(52px, 9vw, 92px); margin-bottom: 22px; }
.flowpro-gate-card > p { font-size: 16px; }
.flowpro-gate-error,
.flowpro-gate-notice { margin-top: 24px; padding: 14px 16px; border-left: 2px solid var(--accent); background: rgba(255,59,47,.09); color: var(--text) !important; font-size: 14px !important; }
.flowpro-gate-notice { border-color: var(--gold); background: rgba(255,216,77,.07); }
.flowpro-gate-form { display: grid; gap: 14px; margin-top: 34px; }
.flowpro-gate-form label { font: 600 10px/1 var(--body); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.flowpro-gate-form input[type="password"] { width: 100%; padding: 16px; border: 1px solid var(--line-2); background: #09090b; color: var(--text); font: 500 18px/1 var(--body); }
.flowpro-gate-form input[type="password"]:focus { border-color: var(--accent); outline: 1px solid var(--accent); }
.flowpro-gate-form .btn { justify-self: start; margin-top: 8px; }
.flowpro-gate-form .btn:disabled { opacity: .4; cursor: not-allowed; }
.flowpro-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.flowpro-gate-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.flowpro-gate-links a { color: var(--muted); font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.flowpro-gate-links a:hover { color: var(--text); }
.flowpro-gate-foot { margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 12px; }

@media (max-width: 1050px) {
  .flowpro-hero-grid { grid-template-columns: 1fr; }
  .flowpro-console { width: min(100%, 680px); transform: none; }
}
@media (max-width: 760px) {
  .flowpro-proof .container { grid-template-columns: repeat(2, 1fr); }
  .flowpro-proof span:last-child { grid-column: 1 / -1; }
  .flowpro-features,
  .flowpro-access-panel { grid-template-columns: 1fr; }
  .flowpro-features article { min-height: auto; }
  .flowpro-features h3 { margin-top: 42px; }
  .flowpro-console-head,
  .flowpro-console-row { grid-template-columns: 34px minmax(140px, 1fr) 62px; }
  .flowpro-console-head span:nth-child(3),
  .flowpro-console-row span:nth-child(3) { display: none; }
}
