/* ==========================================================================
   THE BOLD WAY - V3 "RISE" DESIGN SYSTEM
   Forged in the dark. Cinematic restraint. Built to feel expensive.
   Layered ON TOP of the repo; production CSS is untouched (V1 stays intact).
   ========================================================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  /* Canvas - deep, forged near-black */
  --ink:        #06070C;
  --ink-2:      #0A0C13;
  --surface:    #0F121B;
  --surface-2:  #161A26;
  --surface-3:  #1D2230;

  /* Hairlines */
  --line:       rgba(255,255,255,0.07);
  --line-2:     rgba(255,255,255,0.13);
  --line-gold:  rgba(212,175,55,0.22);

  /* Text */
  --t1:  #F7F8FA;
  --t2:  #AEB4C2;
  --t3:  #767D8E;
  --t-dim: #4A5161;

  /* Light "paper" moments */
  --paper:    #F5F2EC;
  --paper-2:  #FFFFFF;
  --paper-ink:   #14151C;
  --paper-ink-2: #44464F;
  --paper-line:  rgba(0,0,0,0.10);

  /* Brand - red + gold (the phoenix) */
  --red:       #E5443A;
  --red-2:     #C0392B;
  --red-deep:  #8E2018;
  --ember:     #FF6A3A;
  --gold:      #D8B45C;
  --gold-2:    #C9A227;
  --gold-deep: #9A7A22;

  /* Glows / washes */
  --red-glow:   rgba(229,68,58,0.16);
  --red-wash:   rgba(229,68,58,0.08);
  --gold-glow:  rgba(216,180,92,0.16);
  --gold-wash:  rgba(216,180,92,0.06);

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;

  /* Fluid type scale */
  --fs-display: clamp(52px, 9.5vw, 138px);
  --fs-h1:      clamp(40px, 6.2vw, 86px);
  --fs-h2:      clamp(30px, 4.3vw, 58px);
  --fs-h3:      clamp(20px, 1.9vw, 27px);
  --fs-lead:    clamp(18px, 1.55vw, 22px);
  --fs-body:    17px;
  --fs-sm:      15px;
  --fs-eyebrow: 12.5px;

  /* Layout */
  --maxw:      1180px;
  --maxw-wide: 1340px;
  --maxw-text: 760px;
  --gutter:    clamp(20px, 5vw, 56px);
  --section-y: clamp(84px, 11vw, 168px);
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t-med:  0.5s;
  --t-slow: 0.9s;
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--t1);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Cinematic film grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 4; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }

/* ---------- TYPOGRAPHY ---------- */
.display, h1, h2, h3 { font-family: var(--sans); font-weight: 800; }
.display {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
h1, .h1 { font-size: var(--fs-h1); font-weight: 900; line-height: 1.02; letter-spacing: -0.04em; }
h2, .h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.06; letter-spacing: -0.032em; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif-i { font-family: var(--serif); font-weight: 400; }
em, .em { font-style: normal; font-weight: 600; color: var(--gold); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--t2);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.muted { color: var(--t2); }
.dim   { color: var(--t3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center::before { display: none; }
.eyebrow.red { color: var(--red); }

/* Gradient ink for emphasis words */
.ink-gold {
  background: linear-gradient(100deg, var(--gold) 0%, #F0D89A 45%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ink-ember {
  background: linear-gradient(100deg, var(--ember) 0%, var(--red) 55%, var(--gold) 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--maxw-wide); }
.wrap-text { max-width: var(--maxw-text); }
.section { padding-block: var(--section-y); position: relative; }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

.section-head { max-width: 820px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 22px; }
.section-head .lead { max-width: 60ch; }
.section-head.center .lead { margin-inline: auto; }

/* Section surface variants */
.bg-ink     { background: var(--ink); }
.bg-ink-2   { background: var(--ink-2); }
.bg-surface { background: var(--surface); }
.bg-paper   { background: var(--paper); color: var(--paper-ink); }
.bg-paper .lead { color: var(--paper-ink-2); }
.bg-paper .muted { color: var(--paper-ink-2); }
.bg-paper .eyebrow { color: var(--red-2); }

.hairline-top { border-top: 1px solid var(--line); }

/* Subliminal cinematic section background (sits behind content at low opacity) */
.section-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.24; filter: grayscale(0.1) contrast(1.04) brightness(1.0); }
.section-bg.warm img { filter: saturate(1.08) contrast(1.04) brightness(0.92); opacity: 0.28; }
.section-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(125% 85% at 50% 32%, transparent, var(--ink) 88%); }

/* Cinematic page hero (non-homepage headers): a darkened image with slow drift behind the text */
.page-hero { position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: brightness(0.8) saturate(1.08) contrast(1.02); transform: scale(1.05); transform-origin: center; animation: pageHeroDrift 40s ease-in-out infinite alternate; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,7,12,0.42) 0%, rgba(6,7,12,0.14) 40%, rgba(6,7,12,0.55) 78%, var(--ink) 100%),
  radial-gradient(100% 80% at 50% 30%, transparent 40%, rgba(6,7,12,0.35)); }
.page-hero > .wrap { position: relative; z-index: 1; }
/* the glow must stay absolute: as a relative element its 420px height pushes hero content below the fold */
.page-hero > .glow-top { z-index: 1; }
@keyframes pageHeroDrift { from { transform: scale(1.05); } to { transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .page-hero-bg img { animation: none; } }

/* Light "What we do" - concrete, Apple-style service blocks (high-contrast break from the dark) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 22px); margin-top: clamp(44px, 5vw, 68px); }
.svc { background: var(--paper-2); border: 1px solid rgba(20,21,28,0.08); border-radius: 20px; padding: clamp(28px, 3vw, 40px); text-align: left; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 34px 64px -34px rgba(20,21,28,0.28); }
.svc-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(150deg, #FBE3DC, #F4EEE0); color: var(--red-2); margin-bottom: 22px; }
.svc-ic svg { width: 26px; height: 26px; }
.svc .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--red-2); }
.svc h3 { color: var(--paper-ink); font-size: clamp(21px, 2vw, 26px); letter-spacing: -0.02em; margin: 10px 0 12px; }
.svc .how { color: var(--paper-ink-2); font-size: 15.5px; line-height: 1.62; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* Ambient glows for sections */
.glow-top, .glow-bottom { position: absolute; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1300px; height: 420px; pointer-events: none; z-index: 0; filter: blur(40px); }
.glow-top { top: -210px; background: radial-gradient(60% 100% at 50% 100%, var(--red-wash), transparent 70%); }
.glow-bottom { bottom: -210px; background: radial-gradient(60% 100% at 50% 0%, var(--gold-wash), transparent 70%); }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- BUTTONS ---------- */
.btn {
  --btn-bg: var(--red);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.btn-primary {
  background: linear-gradient(180deg, #EF5147 0%, var(--red) 46%, var(--red-2) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 30px -10px rgba(229,68,58,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 18px 44px -12px rgba(229,68,58,0.7); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--t1);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, #E7C977 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: #1A1404;
  box-shadow: 0 10px 30px -12px rgba(216,180,92,0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(216,180,92,0.7); }
.btn-lg { padding: 19px 38px; font-size: 14px; }
.bg-paper .btn-ghost { background: transparent; color: var(--paper-ink); border-color: var(--paper-line); }
.bg-paper .btn-ghost:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.25); }

/* Text link with animated underline */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--gold);
  position: relative;
}
.tlink svg { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease); }
.tlink::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.tlink:hover::after { transform: scaleX(1); }
.tlink:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- CARDS ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 0%, var(--gold-wash), transparent 42%);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.card:hover::before { opacity: 1; }

.card-num { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--t2); font-size: var(--fs-sm); line-height: 1.65; }

.grid { display: grid; gap: clamp(16px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Icon badge */
.badge {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(229,68,58,0.14), rgba(216,180,92,0.06));
  border: 1px solid var(--line-2);
  margin-bottom: 22px;
}
.badge svg { width: 24px; height: 24px; color: var(--gold); }

/* Stat */
.stat-value { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.stat-label { color: var(--t3); font-size: 13.5px; letter-spacing: 0.02em; margin-top: 10px; }

/* Pull quote */
.pquote { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3.7vw, 48px); line-height: 1.12; letter-spacing: -0.03em; }
.pquote .em, .pquote em { color: var(--gold); font-weight: 800; font-style: normal; }

/* Eyebrow chip list */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 12.5px; letter-spacing: 0.02em; color: var(--t2); padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,0.02); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,7,12,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw-wide); margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  transition: padding var(--t-med) var(--ease);
}
.nav.scrolled .nav-inner { padding-block: 13px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 34px; width: auto; }
.nav-brand .nav-word { font-weight: 700; letter-spacing: 0.16em; font-size: 13.5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--t2); font-weight: 500; }
.nav-links a:hover { color: var(--t1); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right .login { font-size: 14px; color: var(--t2); }
.nav-right .login:hover { color: var(--t1); }
.nav-cta { padding: 12px 22px; font-size: 13px; }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,0.02); cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--t1); margin: 4px auto; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6,7,12,0.97); backdrop-filter: blur(20px);
  padding: 110px var(--gutter) 48px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 28px; }

/* ---------- HERO (shared shell) ---------- */
.v3-hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.ember-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.5s ease 0.15s; }
body.loaded .ember-canvas { opacity: 1; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 120%, transparent 30%, rgba(6,7,12,0.55) 100%),
    radial-gradient(80% 60% at 50% 0%, rgba(6,7,12,0.6), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 880px; }
.hero-content.center { margin-inline: auto; text-align: center; }
.hero-eyebrow { margin-bottom: 26px; }
.hero-sub { margin-top: 28px; max-width: 56ch; color: var(--t2); font-size: var(--fs-lead); line-height: 1.6; }
.hero-content.center .hero-sub { margin-inline: auto; }
.hero-actions { margin-top: 38px; }
.hero-micro { margin-top: 18px; font-size: 13.5px; color: var(--t3); }

/* Phoenix logo + light reveal */
.hero-logo { position: relative; display: inline-block; }
.hero-logo img { height: clamp(96px, 15vw, 188px); width: auto; }
.hero-wordmark {
  font-weight: 800; letter-spacing: 0.42em; text-transform: uppercase;
  font-size: clamp(14px, 2.1vw, 22px);
  margin-top: 22px; padding-left: 0.42em;
  color: var(--t1);
}

/* scroll cue */
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--t3); }
.scroll-cue .label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: cueDrop 2.2s var(--ease) infinite; }
@keyframes cueDrop { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* ---------- PROOF BAR ---------- */
.proof { border-block: 1px solid var(--line); background: var(--ink-2); }
.proof-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 30px; flex-wrap: wrap; }
.proof-stats { display: flex; gap: clamp(28px, 5vw, 72px); }
.proof-stat .stat-value { font-size: clamp(26px, 3vw, 40px); }
.proof-press { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.proof-press .lbl { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-dim); }
.proof-press .name { font-family: var(--sans); font-weight: 500; font-size: 18px; letter-spacing: 0.005em; color: var(--t2); }
.proof-center { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.proof-center .proof-press { justify-content: center; gap: clamp(20px, 3vw, 40px); }
.proof-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--red); }
.proof-lead { font-size: clamp(18px, 1.9vw, 24px); font-weight: 500; line-height: 1.42; color: var(--t1); letter-spacing: -0.012em; }

/* ---------- SPLIT / FEATURE ROWS ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3.1; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,12,0.1), rgba(6,7,12,0.55)); }

/* Image moment (full-bleed cinematic) */
.moment { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.moment-bg { position: absolute; inset: 0; z-index: 0; }
.moment-bg img { width: 100%; height: 120%; object-fit: cover; filter: brightness(0.85) saturate(1.02) contrast(1.02); }
.moment-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,12,0.34) 0%, rgba(6,7,12,0.2) 45%, rgba(6,7,12,0.66) 100%), radial-gradient(80% 80% at 28% 46%, transparent 30%, rgba(6,7,12,0.32)); }
.moment .wrap { position: relative; z-index: 1; }

/* ---------- PILLARS (what we do) ---------- */
.pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); background: linear-gradient(180deg, var(--surface), var(--ink-2)); position: relative; overflow: hidden; transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.pillar:hover { transform: translateY(-5px); border-color: var(--line-gold); }
.pillar .k { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { margin: 14px 0 14px; font-size: clamp(21px, 2.2vw, 30px); }
.pillar p { color: var(--t2); font-size: var(--fs-sm); }
.pillar ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pillar li { display: flex; gap: 10px; font-size: 14.5px; color: var(--t2); }
.pillar li svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }

/* ---------- PROCESS STEPS ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--ink-2); padding: clamp(26px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; transition: background var(--t-med) var(--ease); }
.step:hover { background: var(--surface); }
.step .idx { counter-increment: step; font-family: var(--sans); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--gold); min-width: 48px; }
.step .idx::before { content: '0' counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--t2); font-size: var(--fs-sm); }

/* ---------- TESTIMONIALS ---------- */
.tcard { background: linear-gradient(180deg, var(--surface), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 38px); display: flex; flex-direction: column; gap: 22px; }
.tcard .mark { font-family: var(--serif); font-size: 50px; line-height: 0.5; color: var(--red); height: 24px; }
.tcard blockquote { font-size: 18px; line-height: 1.55; color: var(--t1); letter-spacing: -0.01em; }
.tcard .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tcard .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tcard .who .n { font-weight: 600; font-size: 14.5px; }
.tcard .who .r { font-size: 13px; color: var(--t3); }
.tcard .result { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 0.01em; }

/* ---------- WORK CARDS ---------- */
.work { display: block; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.work:hover { transform: translateY(-5px); border-color: var(--line-2); }
.work-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work:hover .work-media img { transform: scale(1.05); }
.work-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,7,12,0.55)); }
.work-body { padding: 24px 26px 28px; }
.work-body .cat { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.work-body h3 { margin: 10px 0 8px; }
.work-body p { color: var(--t2); font-size: 14.5px; }
.work-body .metric { margin-top: 16px; font-weight: 700; font-size: 15px; }

/* ---------- BOLD OS TEASE ---------- */
.tease { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-gold); background:
  radial-gradient(110% 130% at 80% 0%, rgba(229,68,58,0.10), transparent 55%),
  radial-gradient(90% 120% at 0% 100%, rgba(216,180,92,0.08), transparent 55%),
  linear-gradient(180deg, var(--surface), var(--ink-2));
  padding: clamp(36px, 5vw, 72px); }
.tease .eyebrow { color: var(--gold); }
.tease .redacted { position: relative; display: inline-block; color: transparent; background: linear-gradient(90deg, rgba(216,180,92,0.32), rgba(229,68,58,0.32)); border-radius: 4px; padding: 0 0.2em; }
.tease-diffs { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px 32px; margin: 30px 0 8px; }
.tease-diff { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--t1); }
.tease-diff svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 3px; }

/* Inline waitlist form */
.waitlist { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.field { flex: 1 1 180px; }
.input {
  width: 100%; padding: 15px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); color: var(--t1);
  font-size: 15px; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.input::placeholder { color: var(--t-dim); }
.input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.05); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--t3); }
.form-success { display: none; padding: 18px 22px; border-radius: var(--radius-sm); background: rgba(216,180,92,0.08); border: 1px solid var(--line-gold); color: var(--gold); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- TEAM ---------- */
.person { text-align: left; }
.person-photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.02); transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.person:hover .person-photo img { filter: none; transform: scale(1.03); }
.person .nm { font-weight: 700; font-size: 18px; }
.person .rl { color: var(--gold); font-size: 13.5px; margin-top: 4px; }
.person .bio { color: var(--t2); font-size: 14px; margin-top: 12px; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.84) saturate(1.04) contrast(1.02); }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,12,0.48) 0%, rgba(6,7,12,0.34) 45%, rgba(6,7,12,0.78) 100%), radial-gradient(70% 70% at 50% 40%, transparent 35%, rgba(6,7,12,0.3)); }
.cta-band .wrap { position: relative; z-index: 1; text-align: center; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { color: var(--t3); font-size: 14px; max-width: 34ch; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-dim); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--t2); font-size: 14.5px; padding: 6px 0; }
.footer-col a:hover { color: var(--t1); }
.footer-news .input { margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--t-dim); font-size: 13px; }
.footer-bottom a { color: var(--t-dim); } .footer-bottom a:hover { color: var(--t2); }

/* ---------- MOTION / REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].in { transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* Word-by-word headline reveal */
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-words .word > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-out); }
.reveal-words.in .word > span { transform: none; }
.reveal-words .word:nth-child(1) > span { transition-delay: 0.02s; }
.reveal-words .word:nth-child(2) > span { transition-delay: 0.08s; }
.reveal-words .word:nth-child(3) > span { transition-delay: 0.14s; }
.reveal-words .word:nth-child(4) > span { transition-delay: 0.20s; }
.reveal-words .word:nth-child(5) > span { transition-delay: 0.26s; }
.reveal-words .word:nth-child(6) > span { transition-delay: 0.32s; }
.reveal-words .word:nth-child(7) > span { transition-delay: 0.38s; }
.reveal-words .word:nth-child(8) > span { transition-delay: 0.44s; }

/* tasteful 3D tilt target */
.tilt { transform-style: preserve-3d; transition: transform var(--t-med) var(--ease); }

/* ==========================================================================
   V3.1 · HOMEPAGE A COMPONENTS (the master-deck sections)
   ========================================================================== */

/* press bar */
.proof-note { font-size: 12.5px; color: var(--t-dim); letter-spacing: 0.02em; }

/* mirror recognition stack */
.mirror-list { display: flex; flex-direction: column; }
.mirror-list li {
  position: relative; padding: 16px 0 16px 30px;
  font-size: 16px; line-height: 1.55; color: var(--t1);
  border-bottom: 1px solid var(--line);
}
.mirror-list li:first-child { border-top: 1px solid var(--line); }
.mirror-list li::before {
  content: ''; position: absolute; left: 2px; top: 26px; width: 12px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px;
}
.mirror-turn { margin-top: 56px; max-width: 30ch; }

/* moment attribution */
.moment-attr { margin-top: 22px; font-size: 13.5px; color: var(--t3); letter-spacing: 0.02em; }

/* burned before */
.burned-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.burned-h { margin-top: 22px; }
.burned-kicker {
  margin-top: 26px; display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  padding: 10px 18px; border: 1px solid var(--line-gold); border-radius: 100px;
  background: var(--gold-wash);
}
@media (max-width: 860px) { .burned-grid { grid-template-columns: 1fr; } }

/* service card refinements */
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.svc-num { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; color: var(--gold-deep); }
.svc .tlink { margin-top: 18px; color: var(--red-2); }
.svc { display: flex; flex-direction: column; }
.svc .how { flex: 1; }
.ink-paper-gold { color: var(--gold-deep); }

/* steps micro */
.steps-micro { margin-top: 28px; font-weight: 700; color: var(--t1); font-size: 15px; }

/* the Wedge story */
.wedge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.wedge-h { margin-top: 22px; }
.wedge-stats { display: flex; align-items: flex-start; gap: clamp(10px, 1.4vw, 18px); margin-top: 38px; }
.wedge-stats .ws b { display: block; font-size: clamp(22px, 2.1vw, 32px); font-weight: 900; letter-spacing: -0.03em; color: var(--t1); white-space: nowrap; }
.wedge-stats .ws span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); }
.wedge-stats .ws-arrow { padding-top: 6px; }
.wedge-stats .ws-arrow svg { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 860px) { .wedge-grid { grid-template-columns: 1fr; } }

/* result cards (named clients) */
.rcard {
  display: flex; flex-direction: column; gap: 18px;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 38px);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.rcard:hover { transform: translateY(-5px); border-color: var(--line-gold); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.rcard-result { font-size: clamp(19px, 1.8vw, 24px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--t1); }
.rcard blockquote { font-size: 15px; line-height: 1.6; color: var(--t2); }
.rcard figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.rcard figcaption .n { font-weight: 600; font-size: 14.5px; color: var(--t1); }
.rcard figcaption .r { font-size: 13px; color: var(--gold); }
.work-micro { margin-top: 34px; font-size: 13.5px; color: var(--t3); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

/* the Business Operating System tease */
.tease-pair { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; color: var(--t1); }
.daylist { margin-top: 30px; border: 1px solid var(--line-gold); border-radius: var(--radius); overflow: hidden; background: rgba(216,180,92,0.03); }
.day-row { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 16px 22px; }
.day-row + .day-row { border-top: 1px solid var(--line); }
.day-row .day-t { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--gold); font-variant-numeric: tabular-nums; }
.day-row p { font-size: 15px; color: var(--t2); line-height: 1.55; }
.tease-kicker { margin-top: 30px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; color: var(--t1); }
.tease-status { margin-top: 18px; font-size: 13px; color: var(--t3); max-width: 60ch; }
@media (max-width: 640px) { .day-row { grid-template-columns: 1fr; gap: 4px; } }

/* close promise */
.close-promise {
  margin-top: 30px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- VERSION BADGE (preview only) ---------- */
.vbadge { position: fixed; bottom: 18px; left: 18px; z-index: 200; display: flex; gap: 8px; align-items: center; padding: 9px 13px; border-radius: 100px; background: rgba(10,12,19,0.82); backdrop-filter: blur(12px); border: 1px solid var(--line-gold); font-size: 12px; color: var(--t2); }
.vbadge b { color: var(--gold); font-weight: 700; letter-spacing: 0.04em; }
.vbadge a { color: var(--t3); border-bottom: 1px solid transparent; }
.vbadge a:hover { color: var(--t1); }
.vswitch { display: flex; gap: 4px; }
.vswitch a { padding: 3px 8px; border-radius: 100px; border: 1px solid var(--line); font-size: 11px; }
.vswitch a.active { background: var(--red); color: #fff; border-color: transparent; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .login { display: none; }
  .nav-burger { display: block; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .tease-diffs { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { width: 100%; }
  .waitlist .btn { width: 100%; }
}

/* ---------- REDUCED MOTION ---------- */
@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; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-words .word > span { transform: none !important; }
  .hero-h .hl > span { transform: none !important; }
  .ember-canvas { display: none; }
  .v3-hero { background: radial-gradient(80% 80% at 50% 60%, #16110E 0%, var(--ink) 70%); }
}
