/* ═══════════════════════════════════════════════════════════════════
   ABUNDANCE · CASE STUDIES · shared stylesheet
   Brand tokens locked to /brand v1.9 (fire-red tiger's blood, dark only).
   Used by /case-studies/ index + every /case-studies/<slug>/ page.
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Neo Contact';
  src: url('/assets/fonts/neo-contact/neo-contact-lt-pro.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  --cream:       #F5F0E8;
  --cream-soft:  #FAF6EF;
  --bg:          #0A0A0A;
  --surface-1:   #141414;
  --surface-2:   #1B1B1B;

  --ink:         #F5F0E8;
  --ink-body:    #C9C2B5;
  --ink-muted:   #807A70;

  --sig-highlight: #FF5733;
  --sig:           #ED1C24;
  --sig-deep:      #B30E14;
  --sig-anchor:    #7A0712;

  --grad-sig-hero: linear-gradient(135deg, #B30E14 0%, #B30E14 7%, #ED1C24 28%, #FF5733 67%, #B30E14 88%, #7A0712 93%, #7A0712 100%);
  --grad-sig: linear-gradient(135deg, #FF5733 0%, #FF5733 7%, #ED1C24 40%, #B30E14 72%, #7A0712 93%, #7A0712 100%);
  --grad-sig-tight: linear-gradient(135deg, #ED1C24 0%, #ED1C24 12%, #B30E14 60%, #7A0712 88%, #7A0712 100%);

  --hairline:        rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.18);
  --glass-bg-dark:  rgba(20,20,20,0.55);
  --glass-blur:     blur(22px) saturate(140%);

  --font-logo:    "Neo Contact", "DM Serif Display", Georgia, serif;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-sans:    "greycliff-cf", system-ui, -apple-system, sans-serif;

  --r-stage:   28px;
  --r-card:    18px;
  --r-pill:    100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: #000; color: var(--ink);
  font-family: var(--font-sans); font-size: 17px;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; scroll-behavior: smooth;
}
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.028em; line-height: 1.04; }
h1 em, h2 em, h3 em {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
  filter: drop-shadow(0 0 14px rgba(237,28,36,0.32));
}
h1 em { background-image: var(--grad-sig-hero) !important; }
h2 em, h3 em { background-image: var(--grad-sig-tight) !important; }

.label, .eyebrow {
  font-family: var(--font-sans); font-size: 13px;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted);
}
.label.on-dark { color: var(--ink-body); }
.dot-period {
  display: inline-block; width: 0.38em; height: 0.38em;
  background: var(--grad-sig); border-radius: 50%;
  vertical-align: 0.05em; margin-left: 0.06em;
  box-shadow: 0 0 18px rgba(179,14,20,0.55);
}
p strong { color: var(--ink); font-weight: 700; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  transition: all 0.2s ease; cursor: pointer; white-space: nowrap;
}
.btn.ghost {
  background: rgba(255,255,255,0.06); color: var(--ink);
  border: 1px solid rgba(255,255,255,0.10);
}
.btn.ghost:hover { background: rgba(255,255,255,0.10); }
.btn.gradient {
  background: var(--grad-sig); background-size: 200% 100%; background-position: 0% 50%;
  color: var(--cream); box-shadow: 0 0 24px rgba(179,14,20,0.4);
  transition: background-position 0.5s ease;
}
.btn.gradient:hover { background-position: 100% 50%; }

/* PAGE STAGE */
.page {
  margin: 14px; border-radius: var(--r-stage); overflow: hidden;
  position: relative; min-height: calc(100vh - 28px); background: var(--bg);
  border: 1px solid rgba(255,255,255,0.07);
}

/* FLOATING NAV (shared with site) */
.float-nav {
  position: fixed; top: 22px; left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 200;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 22px; border-radius: var(--r-pill);
  background: var(--glass-bg-dark);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,0.55);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  max-width: calc(100% - 32px);
}
.float-nav.hidden { transform: translateX(-50%) translateY(calc(-100% - 30px)); opacity: 0; }
.fn-mark { font-family: var(--font-logo); font-size: 19px; font-weight: 500; color: var(--ink); white-space: nowrap; line-height: 1; display: inline-flex; align-items: center; transform: translateY(1px); }
.fn-mark em { font-style: normal; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fn-sep { width: 1px; height: 22px; background: rgba(255,255,255,0.10); }
.fn-links { display: flex; gap: 2px; }
.fn-links a {
  display: inline-flex; align-items: center;
  padding: 7px 12px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-body); white-space: nowrap;
}
.fn-links a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.fn-cta { padding: 8px 16px; font-size: 13px; }
.fn-burger { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: var(--ink); }
.fn-burger svg { width: 18px; height: 18px; }
.fn-mobile { display: none; position: fixed; top: 78px; left: 14px; right: 14px; z-index: 199; background: var(--glass-bg-dark); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-card); padding: 12px; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease; }
.fn-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.fn-mobile a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink-body); font-size: 15px; font-weight: 500; }
@media (max-width: 1100px) {
  .fn-links, .fn-sep { display: none; }
  .fn-burger { display: inline-flex; }
  .fn-mobile { display: block; }
  .float-nav {
    gap: 10px; padding: 8px 8px 8px 18px;
    width: calc(100% - 32px); justify-content: space-between;
  }
  .fn-cta { display: inline-flex; margin-left: auto; }
}
@media (max-width: 380px) {
  .fn-cta { font-size: 12px; padding: 7px 12px; }
  .fn-mark { font-size: 17px; }
}

/* SECTION SCAFFOLD */
.sec { padding: clamp(60px, 7vw, 110px) clamp(22px, 5vw, 80px); position: relative; overflow: hidden; border-top: 1px solid var(--hairline); }
.sec:first-child { border-top: none; }

/* ═══════════════════════════════════════════════════════════════════
   GRID INDEX (/case-studies/)
   ═══════════════════════════════════════════════════════════════════ */
.cs-hero {
  padding: clamp(140px, 14vw, 200px) clamp(22px, 5vw, 80px) clamp(70px, 8vw, 110px);
  text-align: center; position: relative; overflow: hidden;
}
.cs-hero::before { content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(circle, rgba(179,14,20,0.30), transparent 60%); filter: blur(60px); pointer-events: none; }
.cs-hero > * { position: relative; z-index: 1; }
.cs-hero .label { display: block; margin-bottom: 18px; }
.cs-hero h1 { font-size: clamp(42px, 6.5vw, 88px); max-width: 22ch; margin: 0 auto 22px; line-height: 1.03; }
.cs-hero .lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-body); max-width: 56ch; margin: 0 auto 36px; }

/* Stats strip below hero */
.cs-stats {
  padding: 36px clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cs-stats .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1100px; margin: 0 auto; }
.cs-stats .strip > div { padding: 0 16px; border-right: 1px solid var(--hairline); text-align: center; }
.cs-stats .strip > div:last-child { border-right: none; }
.cs-stats .strip .n { font-family: var(--font-sans); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.cs-stats .strip .n em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-stats .strip .l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px; font-weight: 700; }
@media (max-width: 720px) { .cs-stats .strip { grid-template-columns: 1fr 1fr; gap: 16px; } .cs-stats .strip > div { border-right: none; padding: 14px; } }

/* Grid of case study cards */
.cs-grid {
  padding: clamp(60px, 7vw, 110px) clamp(22px, 5vw, 80px);
}
.cs-grid .sec-head { text-align: center; margin-bottom: 56px; }
.cs-grid .sec-head .label { display: block; margin-bottom: 14px; }
.cs-grid .sec-head h2 { font-size: clamp(34px, 4.5vw, 56px); margin: 0 auto 18px; max-width: 22ch; }
.cs-grid .sec-head .lead { color: var(--ink-body); font-size: 17px; max-width: 60ch; margin: 0 auto; }
.cs-grid .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1200px; margin: 0 auto; }
:is(.cs-grid, .cs-rail) .card {
  display: block;
  padding: 36px 32px;
  border-radius: var(--r-card);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative; overflow: hidden;
}
:is(.cs-grid, .cs-rail) .card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 0%, rgba(179,14,20,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
}
:is(.cs-grid, .cs-rail) .card:hover {
  transform: translateY(-3px);
  border-color: rgba(179,14,20,0.30);
  box-shadow: 0 30px 80px -20px rgba(179,14,20,0.30);
}
:is(.cs-grid, .cs-rail) .card:hover::before { opacity: 1; }
:is(.cs-grid, .cs-rail) .card > * { position: relative; z-index: 1; }
:is(.cs-grid, .cs-rail) .card .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(179,14,20,0.14); border: 1px solid rgba(179,14,20,0.30);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sig-highlight);
  margin-bottom: 22px;
}
:is(.cs-grid, .cs-rail) .card .company {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em;
  margin-bottom: 18px;
}
:is(.cs-grid, .cs-rail) .card .arc {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em;
  margin-bottom: 28px; line-height: 1.2;
}
:is(.cs-grid, .cs-rail) .card .arc em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(237,28,36,0.32)); }
:is(.cs-grid, .cs-rail) .card .stats { display: flex; gap: 24px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); }
:is(.cs-grid, .cs-rail) .card .stat-l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-bottom: 4px; }
:is(.cs-grid, .cs-rail) .card .stat-n { font-family: var(--font-sans); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
:is(.cs-grid, .cs-rail) .card .stat-n em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is(.cs-grid, .cs-rail) .card .blurb { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; margin-bottom: 22px; }
:is(.cs-grid, .cs-rail) .card .read {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--sig-highlight);
  letter-spacing: 0.04em;
}
:is(.cs-grid, .cs-rail) .card .read svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
:is(.cs-grid, .cs-rail) .card:hover .read svg { transform: translateX(4px); }
@media (max-width: 820px) { .cs-grid .grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   INDIVIDUAL CASE STUDY PAGE (/case-studies/<slug>/)
   ═══════════════════════════════════════════════════════════════════ */
.cs-page-hero {
  padding: clamp(140px, 14vw, 200px) clamp(22px, 5vw, 80px) clamp(60px, 7vw, 90px);
  position: relative; overflow: hidden;
}
.cs-page-hero::before { content: ''; position: absolute; top: -8%; right: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(179,14,20,0.28), transparent 60%); filter: blur(80px); pointer-events: none; }
.cs-page-hero > * { position: relative; z-index: 1; }
.cs-page-hero .breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700; margin-bottom: 28px;
}
.cs-page-hero .breadcrumb a { color: inherit; transition: color 0.15s ease; }
.cs-page-hero .breadcrumb a:hover { color: var(--sig-highlight); }
.cs-page-hero .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(179,14,20,0.14); border: 1px solid rgba(179,14,20,0.30);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sig-highlight);
  margin-bottom: 22px;
}
.cs-page-hero .company-name {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 16px;
}
.cs-page-hero h1 {
  font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.03em;
  line-height: 1.02; margin-bottom: 28px;
  max-width: 22ch;
}
.cs-page-hero .lead { color: var(--ink-body); font-size: 19px; max-width: 56ch; line-height: 1.55; margin-bottom: 36px; }

/* KPI banner */
.cs-kpi-banner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
  max-width: 1100px;
}
.cs-kpi-banner .k {
  padding: 28px 26px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(179,14,20,0.14), rgba(179,14,20,0.02));
  border: 1px solid rgba(179,14,20,0.30);
}
.cs-kpi-banner .k .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-bottom: 10px; }
.cs-kpi-banner .k .n { font-family: var(--font-sans); font-weight: 800; font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.cs-kpi-banner .k .n em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Narrative sections */
.cs-narrative {
  padding: clamp(60px, 7vw, 100px) clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--hairline);
}
.cs-narrative .row {
  display: grid; grid-template-columns: 280px 1fr; gap: 56px;
  max-width: 1100px; margin: 0 auto;
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
}
.cs-narrative .row:first-child { border-top: none; padding-top: 0; }
.cs-narrative .row:last-child { padding-bottom: 0; }
.cs-narrative .row .label-col {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sig-highlight); font-weight: 800;
}
.cs-narrative .row .body-col {}
.cs-narrative .row h2 {
  font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; letter-spacing: -0.02em;
}
.cs-narrative .row p {
  font-size: 17px; line-height: 1.7; color: var(--ink-body); margin-bottom: 16px;
  max-width: 60ch;
}
.cs-narrative .row ul { list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 60ch; margin-top: 8px; }
.cs-narrative .row li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-body); }
.cs-narrative .row li::before { content: '✓'; position: absolute; left: 0; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
@media (max-width: 820px) { .cs-narrative .row { grid-template-columns: 1fr; gap: 14px; } }

/* Pull-quote section */
.cs-quote {
  padding: clamp(60px, 7vw, 100px) clamp(22px, 5vw, 80px);
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(179,14,20,0.20), transparent 70%);
  border-top: 1px solid var(--hairline);
}
.cs-quote .q {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.025em;
  line-height: 1.15; max-width: 28ch; margin: 0 auto 28px;
}
.cs-quote .q em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-quote .by {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700;
}

/* Related + CTA */
.cs-related {
  padding: clamp(60px, 7vw, 100px) clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--hairline);
}
.cs-related .head { text-align: center; margin-bottom: 40px; }
.cs-related .head .label { display: block; margin-bottom: 14px; }
.cs-related .head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.cs-related .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1100px; margin: 0 auto; }
.cs-related .mini {
  padding: 24px 26px;
  border-radius: var(--r-card);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
  text-decoration: none; color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cs-related .mini:hover { background: rgba(255,255,255,0.06); border-color: rgba(179,14,20,0.30); }
.cs-related .mini strong { display: block; font-size: 17px; margin-bottom: 4px; }
.cs-related .mini span { font-size: 13px; color: var(--ink-muted); }
.cs-related .mini .arr { color: var(--sig-highlight); }
@media (max-width: 820px) { .cs-related .grid { grid-template-columns: 1fr; } }

.cs-final-cta {
  padding: clamp(80px, 9vw, 140px) clamp(22px, 5vw, 80px);
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(179,14,20,0.28), transparent 70%);
}
.cs-final-cta .label { display: block; margin-bottom: 18px; }
.cs-final-cta h2 { font-size: clamp(34px, 5vw, 60px); max-width: 22ch; margin: 0 auto 22px; }
.cs-final-cta .lead { color: var(--ink-body); max-width: 50ch; margin: 0 auto 36px; font-size: 17px; }
.cs-final-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER (shared) */
.foot {
  padding: 56px clamp(22px, 5vw, 80px) 32px;
  border-top: 1px solid var(--hairline);
}
.foot .top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px;
  padding-bottom: 36px; border-bottom: 1px solid var(--hairline); margin-bottom: 22px;
}
.foot .brand-col .logo { font-family: var(--font-logo); font-size: 28px; font-weight: 500; margin-bottom: 14px; display: block; }
.foot .brand-col .logo em { background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.foot .brand-col p { color: var(--ink-body); font-size: 14px; max-width: 36ch; }
.foot .col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-bottom: 18px; }
.foot .col a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-body); }
.foot .col a:hover { color: var(--sig); }
.foot .bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-muted); }
@media (max-width: 1100px) { .foot .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot .top { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   RYANFROST.COM — personal site components
   Extends the locked v1.9 token system above. No new colors.
   ═══════════════════════════════════════════════════════════════════ */

/* HERO · asymmetric split (portrait + copy) */
.rf-hero {
  padding: clamp(130px, 13vw, 190px) clamp(22px, 5vw, 80px) clamp(60px, 7vw, 90px);
  position: relative; overflow: hidden;
}
.rf-hero::before {
  content: ''; position: absolute; top: -12%; right: -8%;
  width: 820px; height: 720px;
  background: radial-gradient(circle, rgba(179,14,20,0.30), transparent 62%);
  filter: blur(70px); pointer-events: none;
}
.rf-hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.rf-hero .label { display: block; margin-bottom: 20px; }
.rf-hero h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; margin-bottom: 24px; max-width: 17ch; }
.rf-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-body); max-width: 54ch; margin-bottom: 34px; }
.rf-hero .row { display: flex; gap: 12px; flex-wrap: wrap; }
.rf-portrait { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.rf-portrait img {
  width: 100%;
  border-radius: var(--r-card);
  border: 1px solid var(--hairline-strong);
}
.rf-portrait .name-tag {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--glass-bg-dark);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
@media (max-width: 900px) {
  .rf-hero .wrap { grid-template-columns: 1fr; }
  .rf-portrait { max-width: 280px; justify-self: start; }
}

/* VENTURES · featured panel + supporting cards */
.rf-ventures { padding: clamp(60px, 7vw, 110px) clamp(22px, 5vw, 80px); border-top: 1px solid var(--hairline); }
.rf-ventures .sec-head { max-width: 1200px; margin: 0 auto 48px; }
.rf-ventures .sec-head .label { display: block; margin-bottom: 14px; }
.rf-ventures .sec-head h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 20ch; margin-bottom: 18px; }
.rf-ventures .sec-head .lead { color: var(--ink-body); max-width: 62ch; }

.rf-feature {
  max-width: 1200px; margin: 0 auto 18px;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(179,14,20,0.13), rgba(179,14,20,0.02));
  border: 1px solid rgba(179,14,20,0.30);
  position: relative; overflow: hidden;
}
.rf-feature > * { position: relative; z-index: 1; }
.rf-feature .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(179,14,20,0.18); border: 1px solid rgba(179,14,20,0.34);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sig-highlight); margin-bottom: 20px;
}
.rf-feature .venture-name { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.028em; margin-bottom: 10px; }
.rf-feature .role { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 22px; }
.rf-feature .arc { font-weight: 800; font-size: clamp(21px, 2.1vw, 28px); letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 20px; max-width: 26ch; }
.rf-feature .arc em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(237,28,36,0.32)); }
.rf-feature p { color: var(--ink-body); max-width: 62ch; margin-bottom: 26px; }
.rf-feature .scope { display: flex; gap: 30px; flex-wrap: wrap; padding: 22px 0; margin-bottom: 26px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.rf-feature .scope .s-l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-bottom: 5px; }
.rf-feature .scope .s-n { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.rf-feature .scope .s-n em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rf-built { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.rf-built .b {
  padding: 18px 20px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline);
}
.rf-built .b strong { display: block; font-size: 15px; margin-bottom: 5px; }
.rf-built .b span { font-size: 13.5px; color: var(--ink-body); line-height: 1.5; }

.rf-vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1200px; margin: 0 auto; }
.rf-vcard {
  padding: 32px 30px; border-radius: var(--r-card);
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.rf-vcard:hover { border-color: rgba(179,14,20,0.28); background: rgba(255,255,255,0.055); }
.rf-vcard .venture-name { font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; margin-bottom: 8px; }
.rf-vcard .role { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sig-highlight); margin-bottom: 18px; }
.rf-vcard p { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; }
@media (max-width: 820px) { .rf-vgrid { grid-template-columns: 1fr; } }

/* ENGAGEMENTS · vertical timeline */
.rf-timeline { padding: clamp(60px, 7vw, 110px) clamp(22px, 5vw, 80px); border-top: 1px solid var(--hairline); }
.rf-timeline .sec-head { max-width: 1100px; margin: 0 auto 48px; }
.rf-timeline .sec-head .label { display: block; margin-bottom: 14px; }
.rf-timeline .sec-head h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 20ch; margin-bottom: 18px; }
.rf-timeline .sec-head .lead { color: var(--ink-body); max-width: 62ch; }
.rf-track { max-width: 1100px; margin: 0 auto; position: relative; padding-left: 30px; }
.rf-track::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, rgba(179,14,20,0.55), rgba(255,255,255,0.06)); }
.rf-item { position: relative; padding: 26px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.rf-item:first-child { border-top: none; padding-top: 0; }
.rf-item::before {
  content: ''; position: absolute; left: -30px; top: 32px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--grad-sig); box-shadow: 0 0 14px rgba(179,14,20,0.6);
}
.rf-item:first-child::before { top: 6px; }
.rf-item .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rf-item .period { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.rf-item .live { padding: 3px 9px; border-radius: var(--r-pill); background: rgba(179,14,20,0.16); border: 1px solid rgba(179,14,20,0.32); font-size: 10px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sig-highlight); }
.rf-item .co { font-weight: 800; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.025em; margin-bottom: 6px; }
.rf-item .role { font-size: 13px; font-weight: 700; color: var(--sig-highlight); margin-bottom: 12px; }
.rf-item p { font-size: 15px; color: var(--ink-body); line-height: 1.6; max-width: 62ch; }
.rf-item .figure { text-align: right; white-space: nowrap; }
.rf-item .figure .n { font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1; }
.rf-item .figure .n em { font-family: var(--font-display); font-style: italic; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rf-item .figure .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-top: 7px; }
@media (max-width: 760px) {
  .rf-item { grid-template-columns: 1fr; gap: 16px; }
  .rf-item .figure { text-align: left; }
}

/* CAPABILITY · bento */
.rf-bento { padding: clamp(60px, 7vw, 110px) clamp(22px, 5vw, 80px); border-top: 1px solid var(--hairline); }
.rf-bento .sec-head { text-align: center; max-width: 800px; margin: 0 auto 48px; }
.rf-bento .sec-head .label { display: block; margin-bottom: 14px; }
.rf-bento .sec-head h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 18px; }
.rf-bento .sec-head .lead { color: var(--ink-body); }
.rf-bento .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; max-width: 1200px; margin: 0 auto; }
.rf-cap { padding: 26px 26px; border-radius: var(--r-card); background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); transition: border-color 0.2s ease; }
.rf-cap:hover { border-color: rgba(179,14,20,0.28); }
.rf-cap .k { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sig-highlight); margin-bottom: 12px; }
.rf-cap strong { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.015em; }
.rf-cap span { font-size: 14px; color: var(--ink-body); line-height: 1.55; }

/* HOW I WORK · process */
.rf-process { padding: clamp(60px, 7vw, 110px) clamp(22px, 5vw, 80px); border-top: 1px solid var(--hairline); }
.rf-process .wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(32px, 5vw, 72px); }
.rf-process .label { display: block; margin-bottom: 14px; }
.rf-process h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 16ch; }
.rf-process .steps { display: flex; flex-direction: column; gap: 14px; }
.rf-step { padding: 24px 26px; border-radius: var(--r-card); background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.rf-step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-sig); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: var(--cream); }
.rf-step strong { display: block; font-size: 18px; margin-bottom: 6px; letter-spacing: -0.015em; }
.rf-step span { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; }
@media (max-width: 900px) { .rf-process .wrap { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   LEAD CAPTURE · ported from /templates FM-01 (.form-01)
   Dark-only. Template's fake .fld divs replaced with real inputs.
   ═══════════════════════════════════════════════════════════════════ */
.rf-contact {
  padding: clamp(70px, 8vw, 120px) clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--hairline);
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(179,14,20,0.20), transparent 70%);
}
.rf-form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; max-width: 1150px; margin: 0 auto; }
.rf-form-wrap .left .label { display: block; margin-bottom: 14px; }
.rf-form-wrap .left h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 18px; max-width: 15ch; }
.rf-form-wrap .left p { color: var(--ink-body); margin-bottom: 26px; max-width: 46ch; }
.rf-form-wrap .left .contacts { display: flex; flex-direction: column; gap: 12px; }
.rf-form-wrap .left .contact {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-card);
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline);
}
.rf-form-wrap .left .contact .ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(179,14,20,0.14); border: 1px solid rgba(179,14,20,0.30);
  display: grid; place-items: center; color: var(--sig-highlight); flex-shrink: 0; font-weight: 800;
}
.rf-form-wrap .left .contact strong { display: block; font-size: 14px; }
.rf-form-wrap .left .contact span { font-size: 13px; color: var(--ink-muted); }

.rf-form {
  padding: clamp(26px, 3vw, 36px); border-radius: var(--r-card);
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 15px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45);
}
.rf-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lbl-form { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 6px; }
.rf-form input, .rf-form textarea, .rf-form select {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: rgba(0,0,0,0.30); border: 1px solid var(--hairline-strong);
  border-radius: 10px; padding: 12px 14px; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.rf-form textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.rf-form input::placeholder, .rf-form textarea::placeholder { color: var(--ink-muted); }
.rf-form input:focus, .rf-form textarea:focus, .rf-form select:focus {
  outline: none; border-color: rgba(237,28,36,0.55);
  box-shadow: 0 0 0 3px rgba(179,14,20,0.16);
}
.rf-form button[type="submit"] {
  margin-top: 4px; padding: 14px 24px; border-radius: var(--r-pill);
  background: var(--grad-sig); background-size: 200% 100%; background-position: 0% 50%;
  color: var(--cream); font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  box-shadow: 0 0 24px rgba(179,14,20,0.4); transition: background-position 0.5s ease;
}
.rf-form button[type="submit"]:hover { background-position: 100% 50%; }
.rf-form .legal-row { font-size: 12.5px; color: var(--ink-muted); text-align: center; }
.rf-form .form-note {
  display: none; padding: 14px 16px; border-radius: 10px;
  background: rgba(179,14,20,0.12); border: 1px solid rgba(179,14,20,0.32);
  font-size: 14px; color: var(--ink-body);
}
.rf-form.sent .form-note { display: block; }
.rf-form.sent .fields, .rf-form.sent button[type="submit"], .rf-form.sent .legal-row { display: none; }
@media (max-width: 860px) { .rf-form-wrap { grid-template-columns: 1fr; } }

/* Booking calendar · cream stage on dark (BRAND.md rule 8) */
.rf-cal {
  background: var(--cream-soft); border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55);
  padding: 10px; overflow: hidden;
}
.rf-cal iframe { width: 100%; min-height: 720px; border: none; display: block; border-radius: 12px; }
@media (max-width: 860px) { .rf-cal iframe { min-height: 640px; } }

/* ═══════════════════════════════════════════════════════════════════
   THANK YOU · /thank-you
   Big negative space + single focal point (BRAND.md layout rotation).
   ═══════════════════════════════════════════════════════════════════ */
.ty-page { min-height: calc(100vh - 28px); display: flex; flex-direction: column; }
.ty-mark {
  position: absolute; top: 30px; left: clamp(22px, 5vw, 60px); z-index: 5;
  font-family: var(--font-logo); font-size: 20px; font-weight: 500; color: var(--ink);
}
.ty-mark em { font-style: normal; background-image: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ty-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(120px, 14vw, 170px) clamp(22px, 5vw, 60px) clamp(50px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.ty-hero::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 700px;
  background: radial-gradient(circle, rgba(179,14,20,0.26), transparent 62%);
  filter: blur(80px); pointer-events: none;
  animation: ty-breathe 7s ease-in-out infinite;
}
@keyframes ty-breathe { 0%,100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); } }
.ty-hero > * { position: relative; z-index: 1; }

.ty-check { width: 82px; height: 82px; margin-bottom: 30px; }
.ty-check circle, .ty-check path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ty-check circle { stroke: rgba(237,28,36,0.30); stroke-width: 2; stroke-dasharray: 251; stroke-dashoffset: 251; animation: ty-draw 0.9s cubic-bezier(0.4,0,0.2,1) forwards; }
.ty-check path { stroke: url(#tyGrad); stroke-width: 3.5; stroke-dasharray: 60; stroke-dashoffset: 60; animation: ty-draw 0.5s cubic-bezier(0.4,0,0.2,1) 0.55s forwards; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }

.ty-hero .label { display: block; margin-bottom: 18px; }
.ty-hero h1 { font-size: clamp(42px, 6.5vw, 86px); line-height: 1.02; margin-bottom: 22px; max-width: 15ch; }
.ty-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-body); max-width: 52ch; margin-bottom: 40px; }
.ty-hero .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.ty-next { padding: clamp(50px, 6vw, 80px) clamp(22px, 5vw, 60px) clamp(60px, 7vw, 90px); border-top: 1px solid var(--hairline); }
.ty-next .head { text-align: center; margin-bottom: 36px; }
.ty-next .head .label { display: block; margin-bottom: 12px; }
.ty-next .head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.ty-next .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.ty-card { padding: 28px 26px; border-radius: var(--r-card); background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); }
.ty-card .n {
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 16px;
  background: rgba(179,14,20,0.16); border: 1px solid rgba(179,14,20,0.34);
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--sig-highlight);
}
.ty-card strong { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.015em; }
.ty-card span { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; }

.ty-foot { padding: 26px clamp(22px, 5vw, 60px) 32px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-muted); }
.ty-foot a { color: var(--ink-body); }
.ty-foot a:hover { color: var(--sig-highlight); }

/* Venture logo lockups · icon left, wordmark right */
.rf-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: nowrap; min-width: 0; }
.rf-lockup img { flex: 0 0 auto; max-width: none; }
.rf-lockup .lk-icon { height: 46px; width: auto; border-radius: 10px; display: block; }
.rf-lockup .lk-word { height: 30px; width: auto; display: block; }
.rf-lockup .lk-word.tall { height: 34px; }
@media (max-width: 560px) {
  .rf-lockup .lk-icon { height: 38px; }
  .rf-lockup .lk-word { height: 25px; }
  .rf-lockup .lk-word.tall { height: 28px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MULTI-PAGE RESTRUCTURE · compact venture cards, timeline read links,
   venture detail pages, mobile pass
   ═══════════════════════════════════════════════════════════════════ */

/* Compact venture cards (homepage) */
.rf-feature.compact { padding: clamp(26px, 3.4vw, 40px); }
.rf-feature.compact p { margin-bottom: 22px; }
.rf-feature.compact .scope { margin-bottom: 24px; }
.rf-feature .row-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Timeline read links */
.rf-item .read {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--sig-highlight); letter-spacing: 0.04em;
}
.rf-item .read svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.rf-item .read:hover svg { transform: translateX(4px); }

/* Venture detail pages */
.vp-built { padding: clamp(50px, 6vw, 90px) clamp(22px, 5vw, 80px); border-top: 1px solid var(--hairline); }
.vp-built .head { text-align: center; margin-bottom: 40px; }
.vp-built .head .label { display: block; margin-bottom: 12px; }
.vp-built .head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.vp-built .rf-built { max-width: 1100px; margin: 0 auto; }
.cs-page-hero .rf-lockup { margin-bottom: 24px; }
.cs-page-hero .rf-lockup .lk-icon { height: 52px; }
.cs-page-hero .rf-lockup .lk-word { height: 34px; }
.cs-page-hero .rf-lockup .lk-word.tall { height: 40px; }
.cs-page-hero .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; margin-bottom: 40px; }

/* ── MOBILE PASS ── */
@media (max-width: 640px) {
  .page { margin: 8px; border-radius: 22px; min-height: calc(100vh - 16px); }
  .float-nav { top: 12px; }
  .rf-hero { padding: 102px 20px 44px; }
  .rf-hero h1 { font-size: clamp(31px, 8.8vw, 40px); }
  .rf-hero .lead { font-size: 16px; }
  .rf-portrait { max-width: 230px; justify-self: start; }
  .cs-stats { padding: 26px 20px; }
  .cs-stats .strip { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  .rf-ventures, .rf-timeline, .rf-bento, .rf-process, .rf-contact, .cs-grid, .cs-narrative, .vp-built { padding-left: 18px; padding-right: 18px; }
  .rf-feature, .rf-feature.compact { padding: 24px 20px; }
  .rf-feature .arc { font-size: 20px; }
  .rf-feature .scope { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 18px 0; }
  .rf-feature .scope .s-n { font-size: 19px; }
  .rf-lockup { gap: 10px; }
  .rf-track { padding-left: 24px; }
  .rf-item::before { left: -24px; }
  .rf-item { padding: 22px 0; gap: 12px; }
  .rf-item .figure { white-space: normal; text-align: left; }
  .rf-item .figure .n { font-size: 26px; }
  .cs-page-hero { padding: 112px 20px 44px; }
  .cs-page-hero h1 { font-size: clamp(30px, 8.8vw, 40px); }
  .cs-page-hero .lead { font-size: 16px; }
  .cs-page-hero .rf-lockup .lk-icon { height: 42px; }
  .cs-page-hero .rf-lockup .lk-word { height: 27px; }
  .cs-page-hero .rf-lockup .lk-word.tall { height: 32px; }
  .cs-kpi-banner { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cs-kpi-banner .k { padding: 18px 16px; }
  .cs-kpi-banner .k .n { font-size: 24px; }
  .cs-narrative .row { padding: 26px 0; }
  .cs-narrative .row h2 { font-size: 23px; }
  .cs-narrative .row p { font-size: 15.5px; }
  .cs-hero { padding-top: 118px; padding-bottom: 44px; }
  .cs-hero h1 { font-size: clamp(30px, 8.8vw, 42px); }
  .cs-final-cta { padding: 60px 20px; }
  .cs-final-cta h2 { font-size: clamp(28px, 8vw, 36px); }
  .rf-cal iframe { min-height: 600px; }
  .rf-cap { padding: 20px 18px; }
  .rf-step { padding: 18px 16px; gap: 14px; }
  .ty-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .foot { padding: 40px 20px 26px; }
  .foot .top { gap: 26px; }
}


/* ═══ CASE-PAGE FLOW · quote, card rail, explore strip ═══ */
.cs-quote .row-cta { margin-top: 34px; display: flex; justify-content: center; }

.cs-rail-sec { padding: clamp(60px, 7vw, 100px) 0; border-top: 1px solid var(--hairline); }
.cs-rail-sec .head { text-align: center; margin-bottom: 40px; padding: 0 22px; }
.cs-rail-sec .head .label { display: block; margin-bottom: 12px; }
.cs-rail-sec .head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.cs-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(430px, 84vw);
  gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px clamp(22px, 5vw, 80px) 16px;
  scrollbar-width: thin; scrollbar-color: rgba(179,14,20,0.5) transparent;
}
.cs-rail .card { scroll-snap-align: start; }
.cs-rail::-webkit-scrollbar { height: 6px; }
.cs-rail::-webkit-scrollbar-thumb { background: rgba(179,14,20,0.45); border-radius: 3px; }
.cs-rail::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }

.site-map { padding: clamp(50px, 6vw, 80px) clamp(22px, 5vw, 80px); border-top: 1px solid var(--hairline); }
.site-map .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1100px; margin: 0 auto; }
.site-map a.tile {
  display: block; padding: 32px 30px; border-radius: var(--r-card);
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-map a.tile:hover { border-color: rgba(179,14,20,0.30); background: rgba(255,255,255,0.055); }
.site-map .tile .label { display: block; margin-bottom: 10px; }
.site-map .tile strong { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.site-map .tile span.desc { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; display: block; margin-bottom: 16px; }
@media (max-width: 720px) { .site-map .grid { grid-template-columns: 1fr; } }

/* ═══ CAPABILITIES BENTO · 4 clusters replace the 16-chip wall ═══ */
.cap-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1200px; margin: 0 auto; }
.cap-cluster {
  padding: clamp(28px, 3vw, 38px);
  border-radius: var(--r-card);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)); /* C4 depth */
}
.cap-cluster.dots { /* C9 dot vignette: texture without color */
  background:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  background-size: 14px 14px, auto;
}
.cap-cluster .k { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 10px; }
.cap-cluster h3 { font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 8px; }
.cap-cluster .items { margin-top: 18px; }
.cap-cluster .item { padding: 15px 0; border-top: 1px solid var(--hairline); }
.cap-cluster .item strong { display: block; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 4px; }
.cap-cluster .item span { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; }
@media (max-width: 860px) { .cap-bento { grid-template-columns: 1fr; } }

/* ═══ Depth instead of flat gray on remaining card families ═══ */
.rf-built .b { background: var(--surface-1); border: none; } /* C2 borderless */
.site-map a.tile { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); }
.rf-step { background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)); }
