@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500;600;700;800&display=swap');
/* ============================================================
   RUBIKS TECHNOLOGY — site stylesheet  (v2, 2026-06-10 overhaul)
   Single source of truth for the Core30 law-firm site.
   Brief: more visual, dynamic, bold, beautiful — past Scorpion
   where it counts, while keeping our voice/methodology edge.
   The full class contract from v1 is preserved (the Node
   generator + homepage depend on it); everything is elevated.
   ============================================================ */

:root {
  /* Brand — lifted from live rubikstechnology.com computed styles */
  --ink: #14151a;
  --ink-2: #3a3c44;
  --gray: #6c6f7e;
  --gray-2: #a5a8b6;
  --line: #ebebf0;
  --line-2: #e2e3ea;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-cream: #faf9f5;
  --bg-blue-soft: #cfe1f5;
  --primary: #2180ff;
  --primary-light: #6aa6ff;
  --primary-dark: #1a64cc;
  --primary-deep: #0e1640;
  --ink-deep: #080b1c;          /* richer near-black for dramatic darks */
  --coral: #fd6779;
  --coral-2: #f76577;
  --yellow: #ffd31c;
  --orange: #ff8a3d;

  /* Silo accents */
  --silo-practice: #2180ff;
  --silo-local: #fd6779;
  --silo-method: #ff8a3d;

  /* Gradients (the brand's real edge — multi-color, not blue→purple) */
  --grad-brand: linear-gradient(120deg, #2180ff 0%, #fd6779 100%);
  --grad-cool:  linear-gradient(120deg, #2180ff 0%, #6aa6ff 100%);
  --grad-warm:  linear-gradient(120deg, #fd6779 0%, #ff8a3d 100%);
  --grad-aurora: linear-gradient(115deg, #2180ff 0%, #7b6cf0 40%, #fd6779 72%, #ff8a3d 100%);
  --grad-text:  linear-gradient(92deg, #4f9bff 0%, #fd6779 100%);

  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05), 0 1px 1px rgba(15,23,42,0.04);
  --shadow-md: 0 6px 20px rgba(15,23,42,0.07), 0 2px 6px rgba(15,23,42,0.05);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.10), 0 6px 16px rgba(15,23,42,0.06);
  --shadow-xl: 0 40px 80px rgba(11,16,40,0.18), 0 12px 30px rgba(11,16,40,0.10);
  --glow-blue: 0 0 0 1px rgba(33,128,255,0.20), 0 18px 50px rgba(33,128,255,0.22);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; color: var(--ink); }
.hero h1, .hero h2, .hero h3, .cta-band h2, .stat-band .stat, .site-footer h4 { color: #fff; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(33,128,255,0.18); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* accent type — solid brand color (neon text gradients retired 2026-06-10, Danish) */
.grad-text, .accent.grad { color: var(--coral); }

/* ===== MOTION — scroll reveal (gated behind html.js so no-JS shows everything) ===== */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }

/* ===== EYEBROW (gradient pill) ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(33,128,255,0.08); color: var(--primary-dark);
  padding: 7px 15px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(33,128,255,0.14); }
.eyebrow.coral { background: rgba(253,103,121,0.12); color: var(--coral-2); }
.eyebrow.coral .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(253,103,121,0.16); }
.eyebrow.method { background: rgba(255,138,61,0.15); color: #b85a18; }
.eyebrow.method .dot { background: var(--silo-method); box-shadow: 0 0 0 4px rgba(255,138,61,0.18); }

/* ===== LOGO ===== */
.rubiks-logo { display: inline-flex; align-items: center; gap: 12px; }
.rubiks-logo .mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; width: 32px; height: 32px; transition: transform .4s var(--ease); }
.rubiks-logo:hover .mark { transform: rotate(-8deg) scale(1.05); }
.rubiks-logo .mark span { border-radius: 4px; display: block; }
.rubiks-logo .mark span:nth-child(1) { background: linear-gradient(135deg, #2F6BFF, #1E46FF); }
.rubiks-logo .mark span:nth-child(2) { background: linear-gradient(135deg, #FF4D72, #FF2667); }
.rubiks-logo .mark span:nth-child(3) { background: linear-gradient(135deg, #FFC024, #FF8A18); }
.rubiks-logo .mark span:nth-child(4) { background: linear-gradient(135deg, #12C7FF, #0A8BFF); }
.rubiks-logo .text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.rubiks-logo .text .brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.02em; color: var(--ink); }
.rubiks-logo .text .sub { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.rubiks-logo.on-dark .text .brand { color: #fff; }
.rubiks-logo.on-dark .text .sub { color: rgba(255,255,255,0.6); }
.rubiks-logo.on-dark .mark span:nth-child(4) { background: linear-gradient(135deg, #12C7FF, #0A8BFF); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.9); border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(15,23,42,0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height .3s ease; }
.site-header.scrolled .wrap { height: 64px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a.nav-link { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 0; position: relative; transition: color 0.15s ease; }
.site-nav a.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--grad-brand); transition: right .25s var(--ease); }
.site-nav a.nav-link:hover { color: var(--primary-dark); }
.site-nav a.nav-link:hover::after { right: 0; }
.site-nav a.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a.nav-link[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 24px; color: var(--ink); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  border-radius: var(--r-pill); padding: 13px 24px; font-size: 15px;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, color .2s ease;
  border: 1.5px solid transparent; position: relative; white-space: nowrap;
}
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(33,128,255,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(33,128,255,0.38); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.28); color: #fff; background: rgba(255,255,255,0.04); }
.btn-outline.on-dark:hover { background: #fff; color: var(--primary-deep); border-color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #e94f63; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary-dark); padding-left: 4px; padding-right: 4px; }
.btn-ghost:hover { color: var(--coral-2); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== SECTION RHYTHM ===== */
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section.cream { background: var(--bg-cream); }
.section.dark { background: var(--ink-deep); color: rgba(255,255,255,0.82); overflow: hidden; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .section-head p { color: rgba(255,255,255,0.66); }
.section.dark::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 420px at 88% -6%, rgba(33,128,255,0.20), transparent 60%),
             radial-gradient(560px 380px at 4% 108%, rgba(253,103,121,0.16), transparent 62%); }
.section.dark .wrap { position: relative; z-index: 1; }
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.95rem, 3.8vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.028em; margin-bottom: 18px; }
.section-head p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--gray); line-height: 1.55; }

/* ===== HERO (cinematic) ===== */
.hero { position: relative; overflow: hidden; background: var(--ink-deep); color: #fff; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(820px 540px at 82% 4%, rgba(33,128,255,0.40), transparent 58%),
    radial-gradient(640px 460px at 6% 102%, rgba(253,103,121,0.26), transparent 60%),
    radial-gradient(520px 400px at 60% 120%, rgba(255,138,61,0.16), transparent 60%);
}
.hero::after { /* fine grid texture for depth */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(900px 520px at 70% 0%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 70% 0%, #000 35%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 104px; }
.hero .eyebrow { background: rgba(255,255,255,0.10); color: #fff; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.12); }
.hero .eyebrow .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(253,103,121,0.22); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; max-width: 18ch; margin-bottom: 26px; }
.hero h1 .accent { color: var(--coral); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgba(255,255,255,0.80); max-width: 56ch; margin-bottom: 38px; }
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* aurora blob animation on hero */
.hero .aurora { position: absolute; z-index: -1; filter: blur(60px); opacity: .55; border-radius: 50%; animation: float 14s ease-in-out infinite; }
.hero .aurora.a1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(33,128,255,0.6), transparent 65%); top: -120px; right: -60px; }
.hero .aurora.a2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(253,103,121,0.5), transparent 65%); bottom: -140px; left: 10%; animation-delay: -5s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0) scale(1); } 50% { transform: translateY(-26px) translateX(18px) scale(1.06); } }

/* ===== PRACTICE-AREA SELECTOR (full-width strip between hero grid and stats) ===== */
.pa-select { margin-top: 52px; }
.pa-select .pa-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 14px; display: block; }
.pa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pa-chip {
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-pill);
  padding: 9px 17px; cursor: pointer; transition: all .2s var(--ease);
}
.pa-chip:hover { background: rgba(255,255,255,0.13); color: #fff; transform: translateY(-1px); }
.pa-chip.active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(33,128,255,0.34); }
.pa-readout { margin-top: 22px; display: flex; align-items: center; gap: 14px; min-height: 30px; }
.pa-readout .pa-line { font-size: 16px; color: rgba(255,255,255,0.88); transition: opacity .25s ease; }
.pa-readout .pa-line strong { color: #fff; font-weight: 700; }
.pa-readout a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; white-space: nowrap; font-weight: 600; }
.pa-readout a:hover { border-bottom-color: #fff; }

/* ===== STAT BAND ===== */
.stat-band {
  background: var(--ink-deep); color: #fff; border-radius: var(--r-2xl);
  padding: 54px 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
}
.stat-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(640px 420px at 92% 8%, rgba(33,128,255,0.32), transparent 60%), radial-gradient(420px 300px at 0% 100%, rgba(253,103,121,0.18), transparent 60%); }
.stat-band .stat { position: relative; z-index: 1; }
.stat-band .stat .num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; color: #fff; margin-bottom: 10px; }
.stat-band .stat .label { font-size: 13px; color: rgba(255,255,255,0.66); text-transform: uppercase; letter-spacing: 0.09em; }
.hero .stat-band { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); margin-top: 58px; backdrop-filter: blur(8px); }
.hero .stat-band::before { display: none; }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color .25s ease; display: block; color: inherit; position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
a.card:hover, .card.hoverable:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a.card:hover::before, .card.hoverable:hover::before { transform: scaleX(1); }
.card .ico { width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(33,128,255,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.card.coral .ico { background: rgba(253,103,121,0.12); color: var(--coral); }
.card.yellow .ico { background: rgba(255,211,28,0.18); color: #b8860b; }
.card.method .ico { background: rgba(255,138,61,0.15); color: var(--silo-method); }
.card h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.25; }
.card h4 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--gray); line-height: 1.58; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--primary-dark); }
a.card:hover .more .arrow { transform: translateX(4px); }
.card .more .arrow { transition: transform 0.2s var(--ease); }
.num-card { position: relative; }
.num-card .n { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 15px; color: var(--coral); margin-bottom: 14px; letter-spacing: 0.04em; }

/* ===== PROSE ===== */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.16; margin: 54px 0 16px; letter-spacing: -0.025em; }
.prose h3 { font-size: 21px; font-weight: 600; margin: 32px 0 10px; line-height: 1.3; }
.prose p { margin-bottom: 16px; color: var(--ink-2); font-size: 17px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 10px 0 22px 24px; }
.prose li { margin-bottom: 8px; color: var(--ink-2); }
.prose li::marker { color: var(--primary); }
.prose a { border-bottom: 1px solid rgba(33,128,255,0.3); }
.prose a:hover { border-bottom-color: var(--primary); }
.prose > *:first-child { margin-top: 0; }

/* ===== CALLOUT ===== */
.callout { background: var(--bg-soft); border-left: 3px solid; border-image: var(--grad-warm) 1; padding: 20px 24px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 24px 0; font-size: 16px; color: var(--ink-2); }

/* ===== CTA BAND ===== */
.cta-band { background: var(--ink-deep); color: #fff; border-radius: var(--r-2xl); padding: 72px 56px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.07); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(680px 380px at 50% -30%, rgba(33,128,255,0.36), transparent 62%), radial-gradient(420px 300px at 100% 120%, rgba(253,103,121,0.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { margin-bottom: 18px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,0.76); font-size: 18px; max-width: 56ch; margin: 0 auto 32px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,0.7); padding: 80px 0 40px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 0%, rgba(33,128,255,0.12), transparent 60%); pointer-events: none; }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1.15fr; gap: 44px; margin-bottom: 52px; }
.site-footer .btn { margin-top: 6px; }
.site-footer h4 { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 14px; transition: color .15s ease, padding .15s ease; }
.site-footer a:hover { color: #fff; padding-left: 3px; }
.site-footer .blurb { font-size: 14px; line-height: 1.65; max-width: 34ch; margin-top: 18px; }
.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===== BREADCRUMB ===== */
.crumb { font-size: 13px; color: var(--gray); padding: 22px 0 0; }
.crumb a { color: var(--gray); border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--primary); }
.crumb .sep { margin: 0 8px; color: var(--gray-2); }

/* ===== LINK SPINE ===== */
.spine { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.spine a { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s ease; position: relative; overflow: hidden; }
.spine a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease); }
.spine a:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.spine a:hover::before { transform: scaleY(1); }
.spine a .k { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 7px; }
.spine a .t { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 16px; color: var(--ink); }

/* ===== HERO PHOTO (default inner fallback) ===== */
.hero { background-color: var(--ink-deep); background-size: cover; background-position: center; }
.hero.has-photo::before {
  background:
    linear-gradient(180deg, rgba(10,14,36,0.78) 0%, rgba(10,14,36,0.90) 100%),
    radial-gradient(720px 460px at 85% 8%, rgba(33,128,255,0.36), transparent 60%),
    radial-gradient(560px 380px at 8% 100%, rgba(253,103,121,0.22), transparent 60%);
}

/* ===== SERVICE CARDS (image/gradient topped) ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: block; color: inherit; transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color .28s ease; }
.svc-card:hover { border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.svc-img { height: 190px; position: relative; background-size: cover; background-position: center; overflow: hidden; }
.svc-img::after { content: ''; position: absolute; inset: 0; }
.svc-card .svc-img { background-image: none; }
.svc-card.practice .svc-img { background: linear-gradient(150deg, #2f6bff 0%, #0e1640 92%); }
.svc-card.local .svc-img { background: linear-gradient(150deg, #fd6779 0%, #2a1733 92%); }
.svc-card.method .svc-img { background: linear-gradient(150deg, #ff8a3d 0%, #2a1a10 92%); }
.svc-card .svc-img::after { background: radial-gradient(260px 150px at 84% 6%, rgba(255,255,255,0.20), transparent 64%); }
.svc-glyph { position: absolute; top: 22px; right: 24px; width: 60px; height: 60px; z-index: 1; opacity: 0.95; transition: transform .35s var(--ease); }
.svc-card:hover .svc-glyph { transform: rotate(-6deg) scale(1.08); }
.svc-chip { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.svc-body { padding: 26px 28px 30px; }
.svc-body p { color: var(--gray); font-size: 15px; line-height: 1.58; }
.svc-body .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--primary-dark); }
.svc-body .more .arrow { transition: transform 0.2s var(--ease); }
.svc-card:hover .more .arrow { transform: translateX(4px); }

/* ===== FEATURE BAND ===== */
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.feature .feature-copy { max-width: 560px; }
.feature .feature-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; margin: 20px 0 18px; }
.feature .feature-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4 / 3; position: relative; }
.feature .feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature .feature-img:hover img { transform: scale(1.04); }
.section.dark .feature .feature-copy p { color: rgba(255,255,255,0.74); }
.section.dark .feature .callout { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); }

/* ===== INNER-PAGE HERO ===== */
.hero.inner .wrap { padding-top: 60px; padding-bottom: 72px; }
.hero.inner h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 22ch; line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero.inner .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; margin-bottom: 30px; }
.hero.inner .eyebrow { margin-bottom: 18px; }
.hero.inner .crumb { padding: 0 0 20px; color: rgba(255,255,255,0.6); }
.hero.inner .crumb a { color: rgba(255,255,255,0.72); }
.hero.inner .crumb a:hover { color: #fff; }
.hero.inner .crumb .sep { color: rgba(255,255,255,0.4); }
.hero.inner .crumb span:last-child { color: rgba(255,255,255,0.92); }

/* prose inline code/emphasis */
.prose code { font-family: ui-monospace, 'Courier New', monospace; font-size: 0.88em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--primary-dark); }
.prose em { font-style: italic; color: var(--ink); }
.doc-layout .prose > p:first-of-type { font-size: 19px; line-height: 1.6; color: var(--ink); }

/* ===== INNER-PAGE DOC LAYOUT ===== */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 64px; align-items: start; }
.doc-layout .prose { max-width: 100%; }
.doc-toc { position: sticky; top: 100px; }
.doc-toc .toc-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.doc-toc .toc-nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.doc-toc .toc-nav a { font-size: 13.5px; color: var(--gray); padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.4; transition: color 0.18s ease, border-color 0.18s ease; }
.doc-toc .toc-nav a:hover { color: var(--primary-dark); border-left-color: var(--primary); }
.doc-toc .toc-nav a.active { color: var(--primary-dark); font-weight: 600; border-left-color: var(--primary); }
.doc-toc .toc-cta { margin-top: 28px; background: linear-gradient(160deg, #fff, var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.doc-toc .toc-cta h4 { font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.doc-toc .toc-cta p { font-size: 13px; color: var(--gray); margin-bottom: 16px; line-height: 1.5; }

/* index card grid inside prose */
.idx-grid { margin: 26px 0 34px; grid-template-columns: repeat(auto-fit, minmax(212px,1fr)); gap: 20px; }
.idx-card { padding: 24px 24px 26px; }
.idx-card .card-k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
.idx-card h4 { font-size: 16px; line-height: 1.25; margin-bottom: 8px; color: var(--ink); }
.idx-card p { font-size: 13.5px; line-height: 1.5; color: var(--gray); }
.idx-card .more { margin-top: 14px; font-size: 13px; }
.idx-card .card-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--grad-brand); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 14px; margin-bottom: 14px; }

/* inline figures + bespoke brand SVG */
.prose .inline-fig { margin: 32px 0 36px; }
.prose .inline-fig img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-lg); }
.prose .inline-fig.brand-svg { background: var(--ink-deep); border-radius: var(--r-xl); padding: 34px 36px 22px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.07); }
.prose .inline-fig.brand-svg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(460px 240px at 88% 0%, rgba(33,128,255,0.30), transparent 60%), radial-gradient(360px 220px at 6% 110%, rgba(253,103,121,0.18), transparent 60%); }
.prose .inline-fig.brand-svg .motif { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.prose .inline-fig figcaption { font-size: 12.5px; color: var(--gray); margin-top: 12px; text-align: center; }
.prose .inline-fig.brand-svg figcaption { color: rgba(255,255,255,0.62); margin-top: 16px; position: relative; z-index: 1; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33,128,255,0.12); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.contact-form .form-note { font-size: 12.5px; color: var(--gray); margin-top: 14px; text-align: center; }
.contact-aside .panel { background: var(--ink-deep); color: #fff; border-radius: var(--r-2xl); padding: 36px; position: relative; overflow: hidden; margin-bottom: 22px; border: 1px solid rgba(255,255,255,0.07); }
.contact-aside .panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 240px at 90% 0%, rgba(33,128,255,0.34), transparent 60%); }
.contact-aside .panel > * { position: relative; z-index: 1; }
.contact-aside .panel h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.contact-aside .panel ol { list-style: none; counter-reset: step; }
.contact-aside .panel li { counter-increment: step; position: relative; padding-left: 40px; margin-bottom: 18px; font-size: 14.5px; color: rgba(255,255,255,0.82); line-height: 1.5; }
.contact-aside .panel li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-brand); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.contact-details { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px; }
.contact-details .ct-row { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.contact-details .ct-row:last-child { border-bottom: none; }
.contact-details .ct-k { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gray); min-width: 74px; }
.contact-details .ct-v { color: var(--ink); }
.contact-details a.ct-v { color: var(--primary); }

/* ===== HOMEPAGE HERO ===== */
.hero.home .wrap { padding-top: 60px; padding-bottom: 84px; }
.hero.home h1 { font-size: clamp(2.4rem, 5.6vw, 5.5rem); margin-bottom: 18px; }
.hero.home .eyebrow { margin-bottom: 16px; }
.hero.home .lead { margin-bottom: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.hero-copy h1 { max-width: 16ch; }
.hero-art { position: relative; }

/* homepage hero photo frame + floating glass card (image-forward, dynamic) */
.hero-photo { position: relative; border-radius: var(--r-2xl); box-shadow: var(--shadow-xl); aspect-ratio: 4 / 5; }
.hero-photo-clip { position: absolute; inset: 0; border-radius: var(--r-2xl); overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; display: block; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.hero-photo-clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,36,0.06) 0%, rgba(10,14,36,0.42) 100%), linear-gradient(120deg, rgba(33,128,255,0.22), transparent 50%); }
.hero-art:hover .hero-photo img { transform: scale(1.06); }
.hero-float-card { position: absolute; left: -26px; bottom: 26px; z-index: 2; background: rgba(12,16,36,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg); padding: 18px 22px; box-shadow: var(--shadow-xl); max-width: 250px; }
.hero-float-card .fc-k { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.hero-float-card .fc-v { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: #fff; line-height: 1; margin-bottom: 6px; }
.hero-float-card .fc-v .up { color: #5ad19a; font-size: 18px; }
.hero-float-card .fc-d { font-size: 12.5px; color: rgba(255,255,255,0.66); line-height: 1.4; }
.hero-float-card .spark { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 12px; }
.hero-float-card .spark i { flex: 1; background: var(--grad-cool); border-radius: 2px; display: block; opacity: .9; }
@media (max-width: 920px) { .hero-float-card { left: 14px; bottom: 14px; } .hero-photo { aspect-ratio: 16 / 11; } }

/* homepage system-map panel (animated, glassy — accent not whole hero) */
.sysmap-panel { padding: 22px; border-radius: var(--r-2xl); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-xl); backdrop-filter: blur(6px); position: relative; overflow: hidden; }
.sysmap-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px 220px at 80% 0%, rgba(33,128,255,0.22), transparent 62%); }
.sysmap { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.sysmap .flow { stroke-dasharray: 5 7; animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.sysmap .pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.core30-grid { display: flex; flex-direction: column; gap: 9px; padding: 26px; border-radius: var(--r-xl); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); box-shadow: var(--shadow-lg); }
.core30-grid .row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 9px; }
.core30-grid span { aspect-ratio: 1; border-radius: 6px; display: block; }
.core30-grid .row.practice span { background: var(--primary); }
.core30-grid .row.local span { background: var(--coral); }
.core30-grid .row.method span { background: var(--silo-method); }
.feature-art { background: var(--ink-deep); border-radius: var(--r-2xl); padding: 36px 34px 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.07); }
.feature-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(460px 260px at 85% 0%, rgba(33,128,255,0.28), transparent 60%); }
.feature-art .ov-svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.feature-art-cap { position: relative; z-index: 1; margin-top: 14px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.6); }

/* "four things" 2x2 */
.why-grid { grid-template-columns: repeat(2, 1fr); }

/* proof / logos band */
.proof-strip { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; opacity: .9; }
.proof-strip .pf { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--gray); }

/* contact founder avatar */
.founder { display: flex; align-items: center; gap: 14px; padding: 4px 2px 18px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); }
.founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 2px solid var(--line); flex-shrink: 0; }
.founder .f-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.2; }
.founder .f-title { font-size: 12.5px; color: var(--gray); margin-top: 2px; }

/* ===== STICKY FLOATING CTA (appears on scroll, site.js) ===== */
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 60; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: var(--shadow-xl); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 1fr; gap: 0; }
  .doc-toc { display: none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 520px; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature .feature-img { order: -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .section-head h2 { font-size: 1.9rem; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; padding: 42px 32px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 34px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 32px 20px; display: none; box-shadow: var(--shadow-md); }
  .site-nav.open { display: flex; }
  .site-nav a.nav-link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .pa-readout { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 28px; }
  .contact-form { padding: 28px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .float-cta { right: 14px; bottom: 14px; padding: 11px 18px; font-size: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   v3 FUNNEL INNER PAGES (2026-06-10 evening)
   Kills the prose-column blog layout: sticky journey subnav,
   per-section designed blocks w/ icons + ghost numbers, list
   card grids, ref panels, animated engagement band, deliver
   check grid. All additive — v1/v2 classes untouched.
   ============================================================ */

/* anchors land below the two sticky bars */
#why, #how, #engagement, #deliver { scroll-margin-top: 128px; }

/* ---- sticky journey subnav ---- */
.page-subnav { position: sticky; top: 63px; z-index: 40; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.page-subnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 56px; }
.sn-links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sn-links::-webkit-scrollbar { display: none; }
.sn-links a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--gray); padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid transparent; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.sn-links a .sn-n { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 11px; color: var(--gray-2); transition: color .2s ease; }
.sn-links a:hover { color: var(--ink); background: var(--bg-soft); }
.sn-links a.active { color: var(--primary-dark); background: rgba(33,128,255,0.08); border-color: rgba(33,128,255,0.18); }
.sn-links a.active .sn-n { color: var(--primary); }
.sn-progress { position: absolute; left: 0; right: 0; top: -1px; height: 2.5px; pointer-events: none; }
.sn-progress i { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: 0 2px 2px 0; }

/* ---- act 01: why it matters (problem + feature visual) ---- */
.act-intro .act-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 64px; align-items: center; }
.act-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.act-kicker i { font-style: normal; color: #fff; background: var(--ink); border-radius: 8px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; }
.act-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px; }
.standfirst { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink); font-weight: 500; margin-bottom: 16px; max-width: 60ch; }
.sec-body p { color: var(--ink-2); font-size: 16.5px; line-height: 1.66; margin-bottom: 14px; max-width: 66ch; }
.sec-body p:last-child { margin-bottom: 0; }
.sec-body a { border-bottom: 1px solid rgba(33,128,255,0.3); }
.sec-body a:hover { border-bottom-color: var(--primary); }
.act-fig .inline-fig { margin: 0; }
.act-fig .inline-fig img { aspect-ratio: 4 / 3.4; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); border: none; }

/* ---- act 02: section blocks (rail + main) ---- */
.sec-block { padding: 74px 0; position: relative; }
.sec-block.soft { background: var(--bg-soft); }
.sec-grid { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 42px; align-items: start; }
.sec-rail { position: sticky; top: 138px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sec-rail.row { position: static; flex-direction: row; align-items: center; margin-bottom: 18px; }
.sec-num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 58px; line-height: 0.9; letter-spacing: -0.03em; color: #e4e7f1; }
.sec-block.soft .sec-num { color: #dde1ee; }
.sec-ico { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: rgba(33,128,255,0.10); color: var(--primary); }
.sec-ico svg { width: 24px; height: 24px; }
.sec-ico.local { background: rgba(253,103,121,0.12); color: var(--coral); }
.sec-ico.method { background: rgba(255,138,61,0.15); color: var(--silo-method); }
.sec-main h2, .sec-block.wide h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.14; letter-spacing: -0.025em; margin-bottom: 14px; max-width: 30ch; }
.sec-block .standfirst { font-size: clamp(1.06rem, 1.45vw, 1.22rem); }

/* ---- list card grids ---- */
.li-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; margin: 24px 0 6px; align-items: stretch; }
.li-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s ease; }
.li-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.li-card .li-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 12.5px; margin-bottom: 12px; }
.li-card .li-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(33,128,255,0.10); color: var(--primary); margin-bottom: 12px; }
.li-card .li-ico svg { width: 17px; height: 17px; }
.li-card h4 { font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.li-card p { font-size: 14px; color: var(--gray); line-height: 1.56; margin: 0; max-width: none; }

/* ---- h3 subsection card grids ---- */
.h3-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin: 24px 0 6px; align-items: start; }
.h3-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.h3-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.h3-card h4 { font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
.h3-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 10px; max-width: none; }
.h3-card p:last-child { margin-bottom: 0; }
.h3-card ol, .h3-card ul { margin: 4px 0 4px 18px; }
.h3-card li { font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.55; }
.h3-card li::marker { color: var(--primary); font-weight: 700; }
.h3-card li strong { color: var(--ink); }

/* ---- "go deeper" ref panel (cross-link paragraphs) ---- */
.ref-panel { display: flex; gap: 16px; background: rgba(33,128,255,0.055); border: 1px solid rgba(33,128,255,0.14); border-radius: var(--r-lg); padding: 20px 22px; margin: 22px 0 6px; max-width: 720px; }
.sec-block.soft .ref-panel, .act-intro .ref-panel { background: #fff; }
.ref-panel .rp-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(33,128,255,0.10); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.ref-panel .rp-ico svg { width: 20px; height: 20px; }
.ref-panel .rp-k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 5px; }
.ref-panel p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; margin: 0; max-width: none; }
.ref-panel a { font-weight: 600; border-bottom: 1px solid rgba(33,128,255,0.35); }
.ref-panel a:hover { border-bottom-color: var(--primary); }

/* ---- act 03: engagement journey band (dark, animated) ---- */
.journey .section-head { margin-bottom: 52px; }
.journey-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.journey-steps::before { content: ''; position: absolute; left: 4%; right: 4%; top: 26px; height: 2px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.26) 58%, transparent 0); background-size: 14px 2px;
  animation: jdash 1.1s linear infinite; }
@keyframes jdash { to { background-position: 14px 0; } }
.journey-steps li { position: relative; z-index: 1; }
.j-ico { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; }
.j-ico svg { width: 24px; height: 24px; }
.j-ico.i1 { background: linear-gradient(135deg, #2180ff, #1a64cc); box-shadow: 0 10px 26px rgba(33,128,255,0.35); }
.j-ico.i2 { background: linear-gradient(135deg, #fd6779, #e94f63); box-shadow: 0 10px 26px rgba(253,103,121,0.32); }
.j-ico.i3 { background: linear-gradient(135deg, #ff8a3d, #e9742b); box-shadow: 0 10px 26px rgba(255,138,61,0.32); }
.j-ico.i4 { background: linear-gradient(135deg, #ffd31c, #eab308); color: #14151a; box-shadow: 0 10px 26px rgba(255,211,28,0.26); }
.j-n { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 11.5px; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); display: block; margin-bottom: 6px; }
.journey-steps h3 { font-size: 19px; margin-bottom: 8px; }
.journey-steps p { font-size: 14px; color: rgba(255,255,255,0.70); line-height: 1.6; margin-bottom: 12px; }
.j-link { font-size: 13.5px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 1px; }
.j-link:hover { border-bottom-color: #fff; }
.j-link .arrow { display: inline-block; transition: transform .2s var(--ease); }
.j-link:hover .arrow { transform: translateX(4px); }
.j-here { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-deep); background: var(--yellow); border-radius: var(--r-pill); padding: 5px 12px; display: inline-block; }
.journey-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 46px; }
.journey-cta .j-note { font-size: 13.5px; color: rgba(255,255,255,0.55); }

/* ---- act 04: deliverables check grid ---- */
.act-deliver .section-head { margin-bottom: 40px; }
.deliver-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.dl-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.dl-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dl-ico { width: 24px; height: 24px; flex-shrink: 0; color: #18a06d; margin-top: 2px; }
.dl-ico svg { width: 24px; height: 24px; }
.dl-item p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.dl-item p strong { color: var(--ink); font-weight: 700; }
.dl-item a { border-bottom: 1px solid rgba(33,128,255,0.3); }
.deliver-note { margin-top: 24px; font-size: 15px; color: var(--gray); max-width: 76ch; line-height: 1.65; }
.deliver-note a { border-bottom: 1px solid rgba(33,128,255,0.3); }

/* ---- funnel responsive ---- */
@media (max-width: 1024px) {
  .act-intro .act-grid { grid-template-columns: 1fr; gap: 40px; }
  .act-fig { max-width: 560px; }
}
@media (max-width: 880px) {
  .sec-grid { grid-template-columns: 1fr; gap: 20px; }
  .sec-rail { position: static; flex-direction: row; align-items: center; }
  .sec-num { font-size: 42px; }
  .sec-ico { width: 44px; height: 44px; border-radius: 12px; }
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .journey-steps::before { display: none; }
  .sn-cta { display: none; }
  .page-subnav .wrap { height: 52px; }
}
@media (max-width: 560px) {
  .sec-block { padding: 54px 0; }
  .journey-steps { grid-template-columns: 1fr; gap: 30px; }
  .deliver-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v4 LAYOUT DISCIPLINE (2026-06-11)
   Content-measured layout: explicit 12-col span grid (no auto-fit
   raggedness — every row ends flush), editorial row components for
   long or uneven copy, compact checklist rail for one-liners, and
   act-figure media fixes (cover-crop photos; the dark diagram frame
   restored outside .prose). All additive — v1/v2/v3 untouched.
   ============================================================ */

/* ---- 12-col span grid ---- */
.vgrid { display: grid; grid-template-columns: repeat(12, 1fr); }
.vgrid.li-grid, .vgrid.h3-grid, .vgrid.deliver-grid, .vgrid.idx-grid { grid-template-columns: repeat(12, 1fr); }
.vgrid > .s3, .spine > .s3 { grid-column: span 3; }
.vgrid > .s4, .spine > .s4 { grid-column: span 4; }
.vgrid > .s6, .spine > .s6 { grid-column: span 6; }
.vgrid > .s12, .spine > .s12 { grid-column: span 12; }
.vgrid.h3-grid { align-items: stretch; }
.spine { grid-template-columns: repeat(12, 1fr); }

/* full-row card variant: lay out horizontally so it reads deliberate */
.li-card.wide { display: flex; gap: 18px; align-items: flex-start; }
.li-card.wide .li-n, .li-card.wide .li-ico { margin-bottom: 0; flex-shrink: 0; }
.li-card.wide .li-tx h4 { margin: 4px 0 6px; }

/* icon chip on h3 cards (no more bare text boxes) */
.h3-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(33,128,255,0.10); color: var(--primary); margin-bottom: 14px; }
.h3-ico svg { width: 18px; height: 18px; }

/* ---- editorial ledger rows (long / uneven list copy) ---- */
.row-list { list-style: none; margin: 26px 0 8px; padding: 0; border-top: 1px solid var(--line); max-width: none; }
.row-list .rl-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); align-items: start; transition: background .2s ease; }
.row-list .rl-row:hover { background: rgba(33,128,255,0.025); }
.rl-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13px; }
.rl-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(33,128,255,0.10); color: var(--primary); }
.rl-ico svg { width: 18px; height: 18px; }
.rl-body h4 { font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; }
.rl-body p { font-size: 15px; color: var(--ink-2); line-height: 1.66; margin: 0; max-width: 72ch; }
.sec-block.soft .row-list .rl-row:hover { background: rgba(255,255,255,0.6); }

/* ---- editorial sub-rows (meaty h3 subsections) ---- */
.sub-rows { margin: 30px 0 8px; border-top: 1px solid var(--line); }
.sub-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 38px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.sub-head { display: grid; grid-template-columns: 42px 1fr; gap: 4px 16px; align-items: center; align-self: start; grid-template-areas: "ico n" "ico h"; }
.sub-n { grid-area: n; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; color: var(--gray-2); }
.sub-ico { grid-area: ico; width: 42px; height: 42px; border-radius: 12px; background: rgba(33,128,255,0.10); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.sub-ico svg { width: 20px; height: 20px; }
.sub-head h4 { grid-area: h; font-size: 18.5px; line-height: 1.25; margin: 0; }
.sub-body p { font-size: 15.5px; color: var(--ink-2); line-height: 1.68; margin-bottom: 12px; max-width: 66ch; }
.sub-body p:last-child { margin-bottom: 0; }
.sub-body ol:not(.row-list), .sub-body ul:not(.row-list) { margin: 6px 0 12px 20px; }
.sub-body li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.6; }
.sub-body li::marker { color: var(--primary); font-weight: 700; }
.sub-body li strong { color: var(--ink); }
.sub-body .row-list .rl-row { padding: 16px 2px; }

/* ---- deliver: matched feature cards + compact checklist rail ---- */
.vgrid.deliver-grid { gap: 16px; }
.check-rail { list-style: none; margin: 18px 0 0; padding: 0; max-width: none; }
.deliver-grid + .check-rail { margin-top: 24px; }
.check-rail.two-col { column-count: 2; column-gap: 52px; }
.check-rail li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 2px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.check-rail .cr-ico { width: 21px; height: 21px; flex-shrink: 0; color: #18a06d; margin-top: 2px; }
.check-rail .cr-ico svg { width: 21px; height: 21px; }
.check-rail p { font-size: 15px; color: var(--ink-2); line-height: 1.58; margin: 0; max-width: none; }
.check-rail p strong { color: var(--ink); }

/* ---- nav cards: equal height, teaser clamp, pinned footer link ---- */
.idx-card { display: flex; flex-direction: column; }
.idx-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.idx-card .more { margin-top: auto; padding-top: 14px; }

/* ---- act figure media (the .prose scoping bug) ---- */
.act-fig .inline-fig img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4 / 3.4; }
.act-fig .inline-fig.brand-svg { background: var(--ink-deep); border-radius: var(--r-xl); padding: 40px 38px 26px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.07); box-shadow: var(--shadow-xl); }
.act-fig .inline-fig.brand-svg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(460px 240px at 88% 0%, rgba(33,128,255,0.30), transparent 60%), radial-gradient(360px 220px at 6% 110%, rgba(253,103,121,0.18), transparent 60%); }
.act-fig .inline-fig.brand-svg .motif { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.act-fig .inline-fig figcaption { font-size: 12.5px; color: var(--gray); margin-top: 12px; text-align: center; }
.act-fig .inline-fig.brand-svg figcaption { color: rgba(255,255,255,0.62); margin-top: 16px; position: relative; z-index: 1; }

/* ---- v4 responsive ---- */
@media (max-width: 1080px) {
  .vgrid > .s3, .spine > .s3, .vgrid > .s4 { grid-column: span 6; }
  .sub-row { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 680px) {
  .vgrid > .s3, .vgrid > .s4, .vgrid > .s6, .spine > .s3, .spine > .s4, .spine > .s6 { grid-column: span 12; }
  .sub-row { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .check-rail.two-col { column-count: 1; }
  .row-list .rl-row { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .li-card.wide { flex-direction: column; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===================== v5 — GRAND FULL-BLEED HOME HERO ===================== */
.hero.home.grand { position: relative; background-image: url('../img/home-hero.jpg'); background-size: cover; background-position: center 36%; overflow: hidden; }
.hero.home.grand::before { content: ''; position: absolute; inset: 0; background:
  linear-gradient(92deg, rgba(7,10,28,0.93) 0%, rgba(7,10,28,0.82) 32%, rgba(7,10,28,0.34) 64%, rgba(7,10,28,0.50) 100%),
  linear-gradient(180deg, rgba(7,10,28,0.46) 0%, rgba(7,10,28,0.08) 34%, rgba(7,10,28,0.90) 100%); }
.hero.home.grand .wrap { position: relative; z-index: 1; }
.hero.home.grand .hero-stage { min-height: calc(92vh - 170px); display: flex; align-items: center; position: relative; padding: 56px 0 18px; }
.hero.home.grand .hero-copy { max-width: 860px; }
.hero.home.grand h1 { max-width: 16ch; font-size: clamp(2.9rem, 6vw, 4.9rem); line-height: 1.02; letter-spacing: -0.04em; text-shadow: 0 2px 28px rgba(7,10,28,0.55); }
.hero.home.grand .lead { max-width: 56ch; font-size: clamp(1.06rem, 1.5vw, 1.28rem); text-shadow: 0 1px 18px rgba(7,10,28,0.6); }
.hero.home.grand .hero-float-card { position: absolute; left: auto; right: 12px; bottom: 40px; max-width: 270px; }
.hero.home.grand .pa-select, .hero.home.grand .stat-band { position: relative; }
@media (max-width: 920px) {
  .hero.home.grand .hero-stage { min-height: 0; padding: 44px 0 10px; display: block; }
  .hero.home.grand .hero-float-card { position: static; margin-top: 26px; }
  .hero.home.grand h1 { max-width: 18ch; }
}


/* ===================== v6 — VISUAL CARD SYSTEM (Zaid: "make the cards more visual") ===================== */
/* silo accent variables (generator stamps body.silo-*) */
body { --grad-silo: var(--grad-brand); --silo-soft: rgba(33,128,255,0.07); --silo-line: rgba(33,128,255,0.30); --silo-glow: rgba(33,128,255,0.38); }
body.silo-practice { --grad-silo: linear-gradient(135deg, #2180ff, #7a5cff); --silo-soft: rgba(33,128,255,0.07); --silo-line: rgba(33,128,255,0.30); --silo-glow: rgba(33,128,255,0.38); }
body.silo-local { --grad-silo: linear-gradient(135deg, #fd6779, #ff8a3d); --silo-soft: rgba(253,103,121,0.07); --silo-line: rgba(253,103,121,0.32); --silo-glow: rgba(253,103,121,0.38); }
body.silo-method { --grad-silo: linear-gradient(135deg, #ff8a3d, #fd6779); --silo-soft: rgba(255,138,61,0.08); --silo-line: rgba(255,138,61,0.34); --silo-glow: rgba(255,138,61,0.40); }

/* shared card canvas: gradient identity rail + corner brand motif + soft halo */
.li-card, .h3-card, .card.idx-card, .dl-item, .card.num-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
}
.li-card::before, .h3-card::before, .card.idx-card::before, .dl-item::before, .card.num-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-silo); opacity: .92; z-index: 1;
}
.li-card::after, .h3-card::after, .card.idx-card::after, .card.num-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(240px 140px at 8% 0%, var(--silo-soft), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='2' y='2' width='28' height='28' rx='7' fill='%232180ff' fill-opacity='.07'/%3E%3Crect x='34' y='2' width='28' height='28' rx='7' fill='%23fd6779' fill-opacity='.07'/%3E%3Crect x='2' y='34' width='28' height='28' rx='7' fill='%23ffd31c' fill-opacity='.07'/%3E%3Crect x='34' y='34' width='28' height='28' rx='7' fill='%230f1430' fill-opacity='.05'/%3E%3C/svg%3E") no-repeat right -30px bottom -34px / 104px auto;
}
.li-card:hover, .h3-card:hover, .card.idx-card:hover, .dl-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--silo-line);
}

/* icon + number tiles: bigger, gradient, glowing */
.li-card .li-ico, .h3-ico, .sub-ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--grad-silo); color: #fff;
  box-shadow: 0 10px 22px -8px var(--silo-glow); position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.li-card .li-ico svg, .h3-ico svg, .sub-ico svg { width: 22px; height: 22px; }
.li-card .li-n, .idx-card .card-n, .rl-n, .sub-n {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad-silo); color: #fff;
  box-shadow: 0 10px 22px -8px var(--silo-glow); font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; position: relative; z-index: 1;
}
.sub-head { grid-template-columns: 50px 1fr; }

/* content sits above the watermark */
.li-card > *:not(.li-ico):not(.li-n), .h3-card > *, .idx-card > *, .num-card > * { position: relative; z-index: 1; }

/* idx (explore) cards: silo-key strip + livelier explore */
.idx-card .card-k { color: var(--ink-2); }
.idx-card .card-k::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--grad-silo); margin-right: 7px; vertical-align: 0; }
.idx-card .more { color: var(--primary-dark); font-weight: 700; }
.idx-card:hover .more .arrow { transform: translateX(5px); }
.idx-card .more .arrow { display: inline-block; transition: transform .2s var(--ease); }

/* deliverable + checklist checks: gradient green tiles */
.dl-ico, .check-rail .cr-ico {
  width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #18a06d, #5ad19a);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(24,160,109,0.5); margin-top: 0;
}
.dl-ico svg { width: 15px; height: 15px; }
.check-rail .cr-ico svg { width: 14px; height: 14px; }
.dl-item { z-index: 0; }
.dl-item p { position: relative; z-index: 1; }

/* homepage 2x2 num cards: real number tiles instead of small coral text */
.num-card .n {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--grad-brand); color: #fff; font-size: 15px;
  box-shadow: 0 10px 22px -8px rgba(253,103,121,0.4); margin-bottom: 16px; letter-spacing: 0;
}

/* go-deeper ref panel gets the same identity */
.ref-panel { position: relative; overflow: hidden; }
.ref-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-silo); }

@media (max-width: 640px) {
  .li-card::after, .h3-card::after, .card.idx-card::after, .card.num-card::after { background-size: 0 0, 96px auto; }
}


/* ============================================================
   v7 — SCORPION-REPLICA FOUNDATION (S1, 2026-06-11 night)
   Black canvas, one electric blue, pale-blue display line,
   Host Grotesk type, 90px pills, video hero. New components
   use the s7- prefix; global chrome (header/footer/buttons/
   float CTA) is re-skinned here so the whole site shifts to
   the v7 palette while older sections keep functioning.
   Plan: 1_DOCS/RUBIKS_V7_SCORPION_REPLICA_PLAN.md
   ============================================================ */
:root {
  --s7-black: #000;
  --s7-electric: #2180ff;          /* Rubiks brand blue in the "electric" role (D2) */
  --s7-electric-press: #0f6ae0;
  --s7-pale: #cce4ff;              /* pale-blue display line + soft accents */
  --s7-ink-on-light: #0a0a0c;
  --s7-light: #ffffff;
  --s7-light-tint: #f3f7ff;        /* very light blue tint for light sections */
  --s7-lavender: #e2deff;          /* related-band variant (recon §2.7) */
  --s7-violet-field:
    radial-gradient(900px 600px at 78% 18%, rgba(84,68,196,0.32), transparent 62%),
    radial-gradient(700px 520px at 12% 88%, rgba(46,38,120,0.30), transparent 64%);
  --s7-font: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --s7-r-card: 18px;
  --s7-shadow-card: 0 24px 60px -18px rgba(10,14,40,0.16), 0 4px 14px rgba(10,14,40,0.05);
}

/* ---- v7 type adoption (pages that load Host Grotesk get it; older
       pages fall back to their current faces until S4/S5 re-link) ---- */
body { font-family: var(--s7-font); }
h1, h2, h3, h4 { font-family: var(--s7-font); letter-spacing: -0.015em; }

/* ---- buttons -> solid electric pills (site-wide palette shift, D2) ---- */
.btn { border-radius: var(--r-pill); font-family: var(--s7-font); font-weight: 600; }
.btn-primary { background: var(--s7-electric); box-shadow: none; }
.btn-primary:hover { background: var(--s7-electric-press); transform: none; box-shadow: none; }
.btn-lg { padding: 17px 32px; font-size: 17px; }

/* ---- header -> black bar ---- */
.site-header { background: var(--s7-black); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.site-header.scrolled { background: var(--s7-black); border-bottom-color: rgba(255,255,255,0.10); box-shadow: none; }
.site-header .rubiks-logo .text .brand { color: #fff; }
.site-header .rubiks-logo .text .sub { color: rgba(255,255,255,0.55); }
.site-header .rubiks-logo .mark span:nth-child(4) { background: linear-gradient(135deg, #12C7FF, #0A8BFF); }
.site-header .site-nav a.nav-link { color: rgba(255,255,255,0.86); font-weight: 500; }
.site-header .site-nav a.nav-link:hover { color: var(--s7-pale); }
.site-header .site-nav a.nav-link::after { background: var(--s7-electric); }
.site-header .nav-toggle { color: #fff; }
@media (max-width: 900px) {
  .site-header .site-nav { background: var(--s7-black); border-bottom-color: rgba(255,255,255,0.12); }
  .site-header .site-nav a.nav-link { border-bottom-color: rgba(255,255,255,0.10); }
}

/* ---- footer -> pure black ---- */
.site-footer { background: var(--s7-black); }
.site-footer::before { display: none; }

/* ---- floating CTA -> right-edge pinned tab ---- */
.float-cta { right: 0; bottom: auto; top: 46%; border-radius: 14px 0 0 14px; padding: 14px 20px; transform: translateX(16px); }
.float-cta.show { transform: none; }

/* ---- announcement bar (built, ships hidden until something true to say — D5) ---- */
.s7-announce { display: none; }
.s7-announce.on { display: block; background: linear-gradient(90deg, #5a3fd6 0%, var(--s7-electric) 100%); color: #fff; text-align: center; font-size: 14.5px; font-weight: 600; padding: 11px 18px; }
.s7-announce a { color: #fff; text-decoration: underline; margin-left: 8px; }

/* ---- THE v7 HERO (black, b-roll video, two-line display, rotating word) ---- */
.s7-hero { position: relative; background: var(--s7-black); color: #fff; overflow: hidden; isolation: isolate; }
.s7-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.5; }
.s7-hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.42) 38%, rgba(0,0,0,0.62) 74%, rgba(0,0,0,0.94) 100%),
  linear-gradient(92deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 60%, rgba(0,0,0,0.30) 100%); }
.s7-hero .wrap { max-width: none; padding: 0 max(32px, 3vw); }
.s7-hero-inner { padding: clamp(70px, 11vh, 130px) 0 clamp(46px, 7vh, 90px); }
.s7-display { font-family: 'Host Grotesk', 'DM Sans', system-ui, sans-serif; font-weight: 700; line-height: 1.0; letter-spacing: -0.01em;
  font-size: clamp(3.2rem, 8.1vw, 7.8rem); color: #fff; max-width: none; margin: 0 0 30px; }
.s7-display .l1, .s7-display .l2 { display: block; }
.s7-display .l2 { color: var(--s7-pale); min-height: 1em; }
.s7-hero-sub { font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 500; color: rgba(255,255,255,0.92); margin: 0 0 36px; max-width: 60ch; }
.s7-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* rotating word: old word slides up+fades, new word rises in */
.s7-rotate .w { display: inline-block; }
html.js .s7-rotate .w.out { animation: s7out .42s cubic-bezier(.45,0,.55,1) forwards; }
html.js .s7-rotate .w.in { animation: s7in .5s cubic-bezier(.22,1,.36,1); }
@keyframes s7out { to { opacity: 0; transform: translateY(-34%); } }
@keyframes s7in { from { opacity: 0; transform: translateY(38%); } to { opacity: 1; transform: none; } }

/* cred band pinned to hero bottom (their partner-logo slot, honest text marks for now) */
.s7-cred { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 26px 0 34px; border-top: 1px solid rgba(255,255,255,0.14); }
.s7-cred-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); white-space: nowrap; }
.s7-cred-marks { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.s7-cred-marks span { font-family: var(--s7-font); font-weight: 700; font-size: 16.5px; color: rgba(255,255,255,0.66); letter-spacing: 0.01em; white-space: nowrap; }

/* temporary holding band for pa-select + stat-band until their S2 rebuild */
.s7-tmp-band .pa-select { margin-top: 0; }

@media (max-width: 700px) {
  .s7-display { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  .s7-hero-inner { padding: 56px 0 36px; }
  .s7-cred { gap: 14px 22px; padding-bottom: 26px; }
  .s7-cred-marks { gap: 16px 22px; }
  .s7-cred-marks span { font-size: 14px; }
  .float-cta { top: auto; bottom: 14px; right: 14px; border-radius: var(--r-pill); transform: translateY(16px); }
  .float-cta.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .s7-hero-video { display: none; }
  .s7-hero { background-image: url('../img/home-hero-poster.jpg'); background-size: cover; background-position: center; }
}

/* ============================================================
   v7 — S2 HOMEPAGE SECTIONS (2026-06-12)
   Claims wall, stat band + method stack, Core30 showcase,
   who-this-is-for intro, full-bleed practice selector,
   partner slot (hidden), final CTA. All s7- scoped.
   ============================================================ */

/* ---- shared section primitives ---- */
.s7-light { background: linear-gradient(180deg, #fff 0%, var(--s7-light-tint) 100%); color: var(--s7-ink-on-light); padding: clamp(80px, 11vw, 150px) 0; }
.s7-dark { background: var(--s7-black); color: #fff; padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.s7-light .wrap, .s7-dark .wrap, .s7-selector .wrap { max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw); }
.s7-sec-head { text-align: center; max-width: 1100px; margin: 0 auto clamp(40px, 5vw, 72px); }
.s7-kicker { display: inline-block; font-family: var(--s7-font); font-size: 14px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--s7-electric); margin-bottom: 22px; }
.s7-kicker.on-dark { color: var(--s7-pale); }
.s7-statement { font-family: var(--s7-font); font-size: clamp(1.9rem, 3.6vw, 3.4rem); font-weight: 650; line-height: 1.12; letter-spacing: -0.015em; color: var(--s7-ink-on-light); margin: 0; max-width: none; }
.s7-statement.on-dark { color: rgba(255,255,255,0.94); }
.s7-hl { display: inline-block; padding: 0.02em 0.34em; border-radius: 0.45em; background: linear-gradient(96deg, #dcd6ff 0%, #cfe4ff 100%); }
.s7-hl.dark { background: rgba(255,255,255,0.97); color: var(--s7-black); }

/* ---- claims wall ---- */
.s7-claim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.s7-claim-card { background: #fff; border-radius: var(--s7-r-card); box-shadow: var(--s7-shadow-card); padding: 30px 28px 32px; }
.s7-claim-card h4 { font-family: var(--s7-font); font-size: 19px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.s7-claim-card p { font-size: 15px; line-height: 1.62; color: #3c4150; margin: 0; }

/* ---- stat band + method stack ---- */
.s7-stats::before { content: ""; position: absolute; inset: 0; background: var(--s7-violet-field); pointer-events: none; }
.s7-stats .wrap { position: relative; }
.s7-stats-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.s7-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 4vw, 60px) clamp(28px, 3vw, 56px); }
.s7-stat .num { font-family: var(--s7-font); font-size: clamp(3.2rem, 5.4vw, 5.4rem); font-weight: 700; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.s7-stat-pill { display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 90px; background: rgba(64,52,160,0.38); border: 1px solid rgba(140,128,255,0.28); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.82); }
.s7-stat-pill em { font-style: normal; color: var(--s7-pale); }
.s7-stack { position: relative; min-height: 360px; }
.s7-stack-card { position: absolute; inset: auto 0 0 0; border-radius: var(--s7-r-card); padding: 28px 28px 30px;
  background: linear-gradient(160deg, rgba(96,82,210,0.34) 0%, rgba(28,24,66,0.66) 100%);
  border: 1px solid rgba(150,138,255,0.30); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(26px) scale(0.97); transition: opacity .55s ease, transform .55s ease; }
.s7-stack-card.on { opacity: 1; transform: none; z-index: 2; }
.s7-stack-card.behind { opacity: 0.35; transform: translateY(-18px) scale(0.94); z-index: 1; }
.s7-stack-card h5 { font-family: var(--s7-font); font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.s7-stack-card p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0; }

/* ---- Core30 showcase ---- */
.s7-showcase { padding-top: clamp(70px, 9vw, 120px); }
.s7-showcase::before { content: ""; position: absolute; inset: 0; background: var(--s7-violet-field); pointer-events: none; opacity: 0.7; }
.s7-showcase .wrap { position: relative; }
.s7-wordmark { font-family: var(--s7-font); text-align: center; font-size: clamp(3.4rem, 9vw, 8.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.s7-wordmark .wm-a { color: #fff; }
.s7-wordmark .wm-b { color: var(--s7-electric); }
.s7-show-sub { text-align: center; font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 500; color: rgba(255,255,255,0.88); margin: 18px auto clamp(44px, 5vw, 70px); max-width: 64ch; }
.s7-show-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 64px); margin-bottom: clamp(44px, 5vw, 70px); }
.s7-show-intro h3 { font-family: var(--s7-font); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 650; line-height: 1.18; color: #fff; margin: 0; letter-spacing: -0.015em; }
.s7-show-intro p { font-size: 16.5px; line-height: 1.68; color: rgba(255,255,255,0.80); margin: 0 0 16px; }
.s7-show-intro p:last-child { margin-bottom: 0; }
.s7-film { position: relative; margin: 0 0 clamp(48px, 6vw, 84px); border-radius: var(--s7-r-card); overflow: hidden; isolation: isolate; }
.s7-film video { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.s7-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.42) 100%); }
.s7-watch { position: absolute; right: 26px; bottom: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  background: var(--s7-electric); color: #fff; font-family: var(--s7-font); font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: 90px; text-decoration: none; }
.s7-watch:hover { background: var(--s7-electric-press); }
.s7-silo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s7-silo-card { display: flex; flex-direction: column; border-radius: var(--s7-r-card); overflow: hidden; text-decoration: none;
  background: linear-gradient(178deg, rgba(86,70,206,0.30) 0%, rgba(16,14,40,0.92) 58%, rgba(8,8,16,0.98) 100%);
  border: 1px solid rgba(140,128,255,0.22); transform: translateY(0); transition: transform .35s ease, border-color .35s ease; }
.s7-silo-card:hover { transform: translateY(-6px); border-color: rgba(160,150,255,0.45); }
.s7-silo-card .vid { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.s7-silo-card .vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,30,0.05) 40%, rgba(10,8,30,0.88) 100%); }
.s7-silo-card .vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.s7-silo-card .body { padding: 24px 26px 30px; margin-top: -8px; position: relative; z-index: 2; }
.s7-silo-card .chip { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--s7-pale); margin-bottom: 12px; }
.s7-silo-card h3 { font-family: var(--s7-font); font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 700; color: #fff; margin: 0 0 10px; letter-spacing: -0.01em; }
.s7-silo-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.74); margin: 0 0 18px; }
.s7-silo-card .more { font-family: var(--s7-font); font-weight: 600; font-size: 14.5px; color: var(--s7-pale); }
.s7-silo-card:hover .more { color: #fff; }

/* ---- who-this-is-for intro ---- */
.s7-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.s7-intro-copy .s7-statement { margin-bottom: 24px; }
.s7-intro-copy p { font-size: 16.5px; line-height: 1.7; color: #3c4150; margin: 0 0 16px; max-width: 62ch; }
.s7-intro-img img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: var(--s7-r-card); box-shadow: var(--s7-shadow-card); }

/* ---- full-bleed practice selector ---- */
.s7-selector { position: relative; background: var(--s7-black); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 150px) 0; }
.s7-sel-figs { position: absolute; inset: 0; z-index: -2; }
.s7-sel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.s7-sel-img.on { opacity: 0.95; }
.s7-sel-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(94deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.12) 72%, rgba(0,0,0,0) 100%),
  linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.05) 38%, rgba(0,0,0,0.45) 100%); }
.s7-sel-title { font-family: var(--s7-font); font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 700; letter-spacing: -0.015em; color: #fff; margin: 0 0 clamp(30px, 3.6vw, 52px); }
.s7-sel-split { display: grid; grid-template-columns: minmax(320px, 560px) 1fr; gap: clamp(28px, 4vw, 70px); align-items: end; }
.s7-sel-rows { list-style: none; margin: 0; padding: 0; }
.s7-sel-rows li + li { margin-top: 10px; }
.s7-sel-rows a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px;
  border-radius: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); text-decoration: none;
  transition: background .25s ease, transform .25s ease, border-color .25s ease; }
.s7-sel-rows a:hover, .s7-sel-rows a:focus-visible, .s7-sel-rows a.hot { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.32); transform: translateX(6px); }
.s7-sel-rows .lbl { font-family: var(--s7-font); font-weight: 600; font-size: 17.5px; color: #fff; }
.s7-sel-rows .arr { color: var(--s7-pale); font-weight: 600; }
.s7-sel-cap { max-width: 460px; padding: 22px 26px; border-radius: var(--s7-r-card);
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.s7-sel-cap strong { color: #fff; }

/* ---- partner slot (hidden until citables) ---- */
.s7-partners { display: none; }
.s7-partners.on { display: block; background: #fff; padding: 56px 0; text-align: center; }

/* ---- final CTA ---- */
.s7-final { text-align: center; }
.s7-final .s7-display { margin-bottom: 26px; }
.s7-final-sub { max-width: 62ch; margin: 0 auto 34px; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; color: rgba(255,255,255,0.82); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .s7-claim-grid { grid-template-columns: 1fr 1fr; }
  .s7-silo-grid { grid-template-columns: 1fr; }
  .s7-silo-card .vid { aspect-ratio: 16 / 8; }
}
@media (max-width: 900px) {
  .s7-stats-split { grid-template-columns: 1fr; }
  .s7-stack { min-height: 300px; }
  .s7-show-intro { grid-template-columns: 1fr; }
  .s7-intro { grid-template-columns: 1fr; }
  .s7-intro-img img { min-height: 260px; }
  .s7-sel-split { grid-template-columns: 1fr; }
  .s7-sel-cap { max-width: none; }
}
@media (max-width: 700px) {
  .s7-claim-grid { grid-template-columns: 1fr; }
  .s7-stat-grid { gap: 30px 20px; }
  .s7-film video { aspect-ratio: 16 / 10; }
  .s7-watch { right: 14px; bottom: 14px; padding: 11px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .s7-stack-card { transition: none; }
  .s7-sel-img { transition: none; }
}

/* ============================================================
   v7 — S4 HUB TEMPLATE (2026-06-12)
   Centered black hub hero + spoke-card grid (Scorpion practice
   cards = our DOWN links), white statement/prose sections,
   gradient callout panel, selector split, dark step bands,
   mid-page CTA band. All s7- scoped.
   ============================================================ */

/* ---- hub hero (centered two-line display, spoke cards below) ---- */
.s7-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.5; }
.s7-hero.hub .s7-hero-inner { text-align: center; padding: clamp(54px, 8vh, 100px) 0 0; }
.s7-hero.hub .crumb { justify-content: center; display: flex; gap: 8px; margin-bottom: 26px; }
.s7-hero.hub .crumb, .s7-hero.hub .crumb a { color: rgba(255,255,255,0.55); font-size: 13.5px; text-decoration: none; }
.s7-hero.hub .crumb a:hover { color: var(--s7-pale); }
.s7-hero.hub .s7-display { font-size: clamp(2.6rem, 6.2vw, 6rem); }
.s7-hero.hub .s7-display .l1 { text-transform: uppercase; }
.s7-hero.hub .s7-display .l2 { font-size: 0.58em; font-weight: 650; margin-top: 0.18em; }
.s7-hero.hub .s7-hero-sub { margin: 0 auto 32px; max-width: 70ch; }
.s7-hero.hub .s7-hero-cta { justify-content: center; }
.s7-spoke-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(42px, 5vw, 68px); padding-bottom: clamp(56px, 7vw, 92px); }
.s7-spoke-card { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 10;
  border-radius: var(--s7-r-card); overflow: hidden; text-decoration: none; isolation: isolate; }
.s7-spoke-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .45s ease; }
.s7-spoke-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.16) 30%, rgba(0,0,0,0.78) 100%); }
.s7-spoke-card:hover img { transform: scale(1.05); }
.s7-spoke-card .lbl { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 18px 20px; font-family: var(--s7-font); font-weight: 700; font-size: 18px; color: #fff; }
.s7-spoke-card .lbl .arr { color: var(--s7-pale); font-weight: 600; transition: transform .3s ease; }
.s7-spoke-card:hover .lbl .arr { transform: translateX(5px); }
.s7-spoke-card .num { position: absolute; top: 14px; left: 16px; font-family: var(--s7-font);
  font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--s7-pale);
  background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.22); border-radius: 90px; padding: 4px 11px; }

/* ---- white content sections (statement + prose) ---- */
.s7-content { background: #fff; color: var(--s7-ink-on-light); padding: clamp(70px, 9vw, 124px) 0; }
.s7-content.alt { background: linear-gradient(180deg, #fff 0%, var(--s7-light-tint) 100%); }
.s7-content .wrap { max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw); }
.s7-content .s7-statement { max-width: 24ch; margin-bottom: clamp(26px, 3vw, 44px); }
.s7-prose { max-width: 76ch; }
.s7-prose p { font-size: 17px; line-height: 1.72; color: #3c4150; margin: 0 0 18px; }
.s7-prose p:last-child { margin-bottom: 0; }
.s7-prose a { color: var(--s7-electric); text-decoration: underline; text-underline-offset: 3px; }
.s7-prose strong { color: var(--s7-ink-on-light); }
.s7-prose h3 { font-family: var(--s7-font); font-size: 21px; font-weight: 700; margin: 34px 0 14px; letter-spacing: -0.01em; }
.s7-prose ul, .s7-prose ol { margin: 0 0 18px; padding-left: 1.35em; }
.s7-prose li { font-size: 16.5px; line-height: 1.66; color: #3c4150; margin: 9px 0; }
.s7-prose li::marker { color: var(--s7-electric); font-weight: 700; }

/* ---- gradient callout panel (their soft-gradient claim panel) ---- */
.s7-callout { max-width: 1180px; margin: clamp(48px, 6vw, 80px) auto 0; text-align: center;
  background: linear-gradient(118deg, #e6e1ff 0%, #d6e8ff 100%); border-radius: 24px;
  padding: clamp(38px, 5vw, 66px) clamp(24px, 4vw, 72px); }
.s7-callout .claim { font-family: var(--s7-font); font-size: clamp(1.45rem, 2.6vw, 2.35rem); font-weight: 700;
  line-height: 1.18; letter-spacing: -0.015em; color: var(--s7-ink-on-light); margin: 0 0 14px; }
.s7-callout .sub { font-size: 16.5px; line-height: 1.66; color: #3c4150; max-width: 64ch; margin: 0 auto; }
.s7-callout .arr { display: block; width: 2px; height: 38px; background: var(--s7-electric); margin: 26px auto 0; position: relative; }
.s7-callout .arr::after { content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; border-right: 2px solid var(--s7-electric); border-bottom: 2px solid var(--s7-electric); }

/* ---- hub selector split (spoke list left, swapping figure right) ---- */
.s7-hubsel { display: grid; grid-template-columns: minmax(330px, 0.44fr) 0.56fr; gap: clamp(28px, 4vw, 64px);
  align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.s7-hubsel-rows { list-style: none; margin: 0; padding: 0; }
.s7-hubsel-rows li + li { margin-top: 10px; }
.s7-hubsel-rows li.group { margin: 22px 0 12px; }
.s7-hubsel-rows .group-label { font-family: var(--s7-font); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: #6b7488; }
.s7-hubsel-rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 20px; border-radius: 14px; background: #fff; border: 1.5px solid #e3e9f5;
  text-decoration: none; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.s7-hubsel-rows a:hover, .s7-hubsel-rows a:focus-visible, .s7-hubsel-rows a.hot {
  border-color: var(--s7-electric); transform: translateX(5px); box-shadow: var(--s7-shadow-card); }
.s7-hubsel-rows .lbl { font-family: var(--s7-font); font-weight: 600; font-size: 16.5px; color: var(--s7-ink-on-light); }
.s7-hubsel-rows .n { font-family: var(--s7-font); font-weight: 800; font-size: 13px; color: var(--s7-electric); margin-right: 12px; }
.s7-hubsel-rows .arr { color: var(--s7-electric); font-weight: 600; }
.s7-hubsel-stage { position: sticky; top: 96px; }
.s7-hubsel-fig { position: relative; aspect-ratio: 16 / 11; border-radius: var(--s7-r-card);
  overflow: hidden; box-shadow: var(--s7-shadow-card); }
.s7-hubsel-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease; }
.s7-hubsel-fig img.on { opacity: 1; }
.s7-hubsel-cap > div { display: none; margin-top: 18px; padding: 20px 24px; border-left: 3px solid var(--s7-electric);
  background: var(--s7-light-tint); border-radius: 0 12px 12px 0; }
.s7-hubsel-cap > div.on { display: block; }
.s7-hubsel-cap h4 { font-family: var(--s7-font); font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.s7-hubsel-cap p { font-size: 15px; line-height: 1.64; color: #3c4150; margin: 0; }
.s7-hubsel-cap a { color: var(--s7-electric); text-decoration: underline; text-underline-offset: 3px; }

/* ---- step bands (engagement steps, checklists, numbered reasons) ---- */
.s7-steps { position: relative; background: var(--s7-black); color: #fff; padding: clamp(70px, 9vw, 124px) 0; }
.s7-steps::before { content: ""; position: absolute; inset: 0; background: var(--s7-violet-field); pointer-events: none; }
.s7-steps .wrap { position: relative; max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw); }
.s7-steps .s7-statement { max-width: 28ch; }
.s7-steps .s7-lead { max-width: 70ch; font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.78); margin: 18px 0 0; }
.s7-steps .s7-lead a { color: var(--s7-pale); }
.s7-steps-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: clamp(34px, 4vw, 54px); }
.s7-step { border-radius: var(--s7-r-card); padding: 28px 26px 30px;
  background: linear-gradient(160deg, rgba(96,82,210,0.30) 0%, rgba(22,19,54,0.72) 100%);
  border: 1px solid rgba(150,138,255,0.26); }
.s7-step.s4 { grid-column: span 4; } .s7-step.s6 { grid-column: span 6; } .s7-step.s12 { grid-column: span 12; }
.s7-step .n { display: block; font-family: var(--s7-font); font-size: 38px; font-weight: 800; line-height: 1;
  color: var(--s7-pale); margin-bottom: 16px; }
.s7-step h4 { font-family: var(--s7-font); font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 10px; letter-spacing: -0.01em; }
.s7-step h4 a { color: var(--s7-pale); text-decoration: underline; text-underline-offset: 3px; }
.s7-step p { font-size: 15px; line-height: 1.64; color: rgba(255,255,255,0.78); margin: 0; }
.s7-step p a { color: var(--s7-pale); text-decoration: underline; text-underline-offset: 3px; }

/* ---- mid-page CTA band (short black banner) ---- */
.s7-band { background: var(--s7-black); color: #fff; padding: clamp(52px, 6vw, 78px) 0; }
.s7-band .wrap { max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.s7-band h3 { font-family: var(--s7-font); font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 700;
  letter-spacing: -0.015em; margin: 0 0 8px; color: #fff; }
.s7-band p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; max-width: 56ch; }

/* ---- S4 responsive ---- */
@media (max-width: 1100px) {
  .s7-spoke-grid { grid-template-columns: 1fr 1fr; }
  .s7-step.s4 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .s7-hubsel { grid-template-columns: 1fr; }
  .s7-hubsel-stage { position: static; }
  .s7-content .s7-statement { max-width: none; }
}
@media (max-width: 700px) {
  .s7-spoke-grid { grid-template-columns: 1fr; gap: 14px; }
  .s7-spoke-card { aspect-ratio: 16 / 8.5; }
  .s7-step.s4, .s7-step.s6 { grid-column: span 12; }
  .s7-hero.hub .s7-display { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .s7-spoke-card img, .s7-hubsel-fig img { transition: none; }
}

/* ============================================================
   v7 S5 — CHILD (spoke) TEMPLATE components
   Left-aligned page hero, method diagram frame, deliverables,
   lavender related band, lead-callout variant.
   ============================================================ */
/* --- left-aligned page hero (children/spokes) --- */
.s7-hero.page .s7-hero-inner { padding: clamp(74px, 11vh, 138px) 0 clamp(56px, 8vh, 100px); max-width: 1040px; }
.s7-hero.page .crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.s7-hero.page .crumb, .s7-hero.page .crumb a { color: rgba(255,255,255,0.55); font-size: 13.5px; text-decoration: none; }
.s7-hero.page .crumb a:hover { color: var(--s7-pale); }
.s7-hero.page .crumb .sep { color: rgba(255,255,255,0.3); }
.s7-hero.page .s7-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  font-family: var(--s7-font); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s7-pale); }
.s7-hero.page .s7-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--s7-electric); }
.s7-hero.page .s7-display { font-size: clamp(2.3rem, 5.4vw, 4.7rem); line-height: 1.02; max-width: 17ch; }
.s7-hero.page .s7-hero-sub { margin-top: 24px; max-width: 64ch; }
.s7-hero.page .s7-hero-cta { margin-top: 34px; }

/* --- method diagram frame band (dark, violet field, centered) --- */
.s7-figband { position: relative; background: var(--s7-black); padding: clamp(48px, 6vw, 86px) 0; }
.s7-figband::before { content: ""; position: absolute; inset: 0; background: var(--s7-violet-field); pointer-events: none; }
.s7-figband .wrap { position: relative; max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw);
  display: flex; flex-direction: column; align-items: center; text-align: center; }
.s7-figband .s7-kicker { color: var(--s7-pale); }
.s7-figband .inline-fig.brand-svg { max-width: 780px; width: 100%; margin: 18px 0 0; }
.s7-figband figcaption { color: rgba(255,255,255,0.7); font-size: 14.5px; margin-top: 16px; }

/* --- deliverables (light, check grid) --- */
.s7-deliver { background: linear-gradient(180deg, #fff 0%, var(--s7-light-tint) 100%); color: var(--s7-ink-on-light); padding: clamp(70px, 9vw, 124px) 0; }
.s7-deliver .wrap { max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw); }
.s7-deliver .s7-statement { max-width: 22ch; margin-bottom: clamp(26px, 3vw, 44px); }
.s7-deliver-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: clamp(28px, 3.5vw, 48px); }
.s7-dl { grid-column: span 4; background: #fff; border-radius: var(--s7-r-card); box-shadow: var(--s7-shadow-card);
  padding: 24px 26px 26px; display: flex; gap: 14px; align-items: flex-start; }
.s7-dl.s6 { grid-column: span 6; } .s7-dl.s12 { grid-column: span 12; }
.s7-dl .ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(150deg, #34d17e, #19a35f); color: #fff; }
.s7-dl .ico svg { width: 16px; height: 16px; }
.s7-dl p { font-size: 15.5px; line-height: 1.6; color: #3c4150; margin: 0; }
.s7-dl strong { color: var(--s7-ink-on-light); }
.s7-deliver-note { font-size: 16.5px; line-height: 1.7; color: #3c4150; max-width: 74ch; margin: 24px 0 0; }

/* --- related band (lavender, glow cards, same-silo only) --- */
.s7-related { background: linear-gradient(180deg, #f1edff 0%, #e7f0ff 100%); color: var(--s7-ink-on-light); padding: clamp(64px, 8vw, 112px) 0; }
.s7-related .wrap { max-width: none; padding-left: max(32px, 3vw); padding-right: max(32px, 3vw); }
.s7-related .s7-kicker { color: #6a52d6; }
.s7-related-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: clamp(28px, 3.5vw, 48px); }
.s7-rel-card { grid-column: span 4; background: #fff; border-radius: var(--s7-r-card); padding: 26px 26px 28px;
  text-decoration: none; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 11px;
  border: 1px solid rgba(120,108,230,0.18); box-shadow: 0 18px 50px -22px rgba(60,40,160,0.30);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.s7-rel-card.s6 { grid-column: span 6; } .s7-rel-card.s12 { grid-column: span 12; }
.s7-rel-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--s7-electric), #7b61ff); }
.s7-rel-card:hover { transform: translateY(-5px); box-shadow: 0 28px 64px -22px rgba(60,40,160,0.42); border-color: rgba(120,108,230,0.4); }
.s7-rel-card .k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--s7-electric); }
.s7-rel-card .t { font-family: var(--s7-font); font-size: 18.5px; font-weight: 700; color: var(--s7-ink-on-light); letter-spacing: -0.01em; line-height: 1.25; }
.s7-rel-card .arr { margin-top: auto; color: var(--s7-electric); font-weight: 600; font-size: 14.5px; }

/* --- lead callout variant (sits under Act 1 h2, flows down into prose) --- */
.s7-callout.lead { margin: 4px auto clamp(34px, 4.5vw, 56px); }

/* --- contact hero: black strip + violet field glow (matches s7-final) --- */
.s7-hero.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--s7-violet-field); pointer-events: none; }
.s7-hero.contact .s7-display { font-size: clamp(2.1rem, 4.6vw, 3.9rem); max-width: 20ch; }

/* --- S5 responsive --- */
@media (max-width: 1100px) {
  .s7-dl.s4, .s7-rel-card.s4 { grid-column: span 6; }
}
@media (max-width: 700px) {
  .s7-dl, .s7-dl.s4, .s7-dl.s6, .s7-rel-card, .s7-rel-card.s4, .s7-rel-card.s6 { grid-column: span 12; }
  .s7-hero.page .s7-display { font-size: clamp(2rem, 9.5vw, 3rem); max-width: none; }
}


/* --- s7-split: prose + b-roll visual panel (Scorpion-style alternating sections) --- */
.s7-split .wrap { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(30px, 4.5vw, 72px); align-items: center; max-width: 1240px; margin-left: auto; margin-right: auto; }
.s7-split .s7-split-copy { min-width: 0; }
.s7-split .s7-statement { max-width: 20ch; }
.s7-split .s7-prose { max-width: 58ch; }
.s7-split.flip .s7-split-copy { order: 2; }
.s7-split.flip .s7-split-media { order: 1; }
.s7-split-media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--s7-r-card); overflow: hidden; box-shadow: var(--s7-shadow-card); background: #0d1320; }
.s7-split-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px) {
  .s7-split .wrap { grid-template-columns: 1fr; gap: 28px; }
  .s7-split.flip .s7-split-copy { order: 0; }
  .s7-split.flip .s7-split-media { order: 0; }
  .s7-split-media { aspect-ratio: 16 / 9; }
}

/* === TEETHING 2026-06-17 hub-hero: one screen, spoke cards as a section below === */
.s7-hero.hub .s7-hero-inner{min-height:86svh;display:flex;flex-direction:column;justify-content:center;padding-top:0;padding-bottom:0}
.s7-hero.hub .s7-hero-img,.s7-hero.hub .s7-hero-scrim{height:86svh;bottom:auto}
.s7-hero.hub .s7-spoke-grid{position:relative;z-index:1;margin-top:clamp(40px,6vh,80px);padding-bottom:clamp(56px,7vw,92px)}
@media (max-width:760px){.s7-hero.hub .s7-hero-inner,.s7-hero.hub .s7-hero-img,.s7-hero.hub .s7-hero-scrim{min-height:auto;height:78svh}}

/* === TEETHING 2026-06-17 home-hero: centered Scorpion-style over cube video === */
body.home .s7-hero .s7-hero-inner{text-align:center;display:flex;flex-direction:column;align-items:center;max-width:1000px;margin-left:auto;margin-right:auto}
body.home .s7-hero .s7-hero-sub{margin-left:auto;margin-right:auto}
body.home .s7-hero .s7-hero-cta{display:flex;justify-content:center}

/* === TEETHING 2026-06-17 batch2: hide orphaned float CTA + foreground selector image === */
.float-cta{display:none !important}
.s7-selector .s7-sel-img.on{opacity:1}
.s7-selector .s7-sel-scrim{background:linear-gradient(94deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.34) 55%, rgba(0,0,0,0.10) 100%)}

/* === TEETHING 2026-06-17 split-img: let an <img> fill s7-split-media like the video === */
.s7-split-media img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px}
