/* site.css — Clarke Solutions website */

@font-face { font-family: 'Bodoni Moda'; src: url('fonts/BodoniModa-bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/Newsreader-Regular.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/Newsreader-Italic.ttf') format('truetype'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0C2340;
  --paper: #F5F5F0;
  --paper-warm: #EFEDE5;
  --signal: #8A1538;
  --action: #D12741;
  --slate: #374151;
  --white: #FFFFFF;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Franklin Gothic Book', Arial, sans-serif;
  --logo: 'Bodoni Moda', 'Times New Roman', serif;

  --portrait-shadow-y: 6px;
  --portrait-shadow-blur: 20px;
  --portrait-shadow-alpha: 0.22;

  --gutter: clamp(28px, 5vw, 88px);
  --max: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--paper); color: var(--navy); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { overflow-x: hidden; }

::selection { background: rgba(12,35,64,0.18); color: var(--navy); }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(12,35,64,0.18); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(12,35,64,0.32); }

/* ── Reveal ── */
.cs-reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.cs-reveal.is-in { opacity: 1; transform: none; }
.cs-reveal[data-delay="1"] { transition-delay: 80ms; }
.cs-reveal[data-delay="2"] { transition-delay: 160ms; }
.cs-reveal[data-delay="3"] { transition-delay: 240ms; }
.cs-reveal[data-delay="4"] { transition-delay: 320ms; }
.cs-reveal[data-delay="5"] { transition-delay: 400ms; }

/* ── Header ── */
.cs-header { position: fixed; inset: 0 0 auto 0; z-index: 80; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: rgba(245,245,240,0); transition: background 350ms ease-out, border-color 350ms ease-out, backdrop-filter 350ms ease-out; border-bottom: 1px solid transparent; }
.cs-header.is-pinned { background: rgba(245,245,240,0.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: rgba(55,65,81,0.10); }
.cs-header.on-dark { color: var(--paper); }
.cs-header.on-dark.is-pinned { background: rgba(12,35,64,0.62); border-bottom-color: rgba(245,245,240,0.10); }
.cs-logo { font-family: var(--logo); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1; cursor: default; user-select: none; color: var(--navy); transition: color 350ms ease-out; }
.cs-header.on-dark .cs-logo { color: var(--paper); }
.cs-logo .dot { color: var(--signal); }
.cs-nav { display: flex; gap: 32px; align-items: center; }
.cs-nav a { font-size: 13px; letter-spacing: 0.02em; color: var(--slate); position: relative; padding: 6px 0; transition: color 200ms ease-out; cursor: pointer; }
.cs-header.on-dark .cs-nav a { color: rgba(245,245,240,0.65); }
.cs-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms ease-out; }
.cs-nav a:hover { color: var(--navy); }
.cs-header.on-dark .cs-nav a:hover { color: var(--paper); }
.cs-nav a:hover::after { transform: scaleX(1); }
.cs-cta { font-size: 12px; letter-spacing: 0.04em; padding: 10px 20px; border-radius: 6px; background: var(--navy); color: var(--paper); border: none; cursor: pointer; transition: box-shadow 200ms ease-out, transform 150ms ease-out, background 200ms ease-out; }
.cs-cta:hover { box-shadow: 0 4px 12px rgba(12,35,64,0.16); }
.cs-cta:active { transform: scale(0.985); }
.cs-header.on-dark .cs-cta { background: var(--action); }
.cs-header.on-dark .cs-cta:hover { background: #b5202e; }

/* ── Hero ── */
.cs-hero { position: relative; min-height: 100vh; padding: 132px var(--gutter) 96px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.cs-hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  /* Diffuse the canvas's edges so the tonal warp can't telegraph itself
     against the next section. Bottom fade is the longest — that's where
     the seam sits. Tiny top/side fades hide vignette-edge color shifts. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 4%, black 82%, transparent 100%),
    linear-gradient(to right,  transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0%, black 4%, black 82%, transparent 100%),
    linear-gradient(to right,  transparent 0%, black 2%, black 98%, transparent 100%);
          mask-composite: intersect;
}
/* Hero grid — see HeroGrid.jsx. Baseline is 12 evenly-spaced navy hairlines
   indistinguishable from the previous static grid; behaviours layer on top
   via flags (breath, brand-aware, anchor, drift). */
.cs-hero-grid { position: absolute; inset: 0; pointer-events: none; z-index: 1; mix-blend-mode: multiply; overflow: hidden; }
.cs-hero-grid-col { position: absolute; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.cs-hero-grid-line { position: absolute; inset: 0; background: var(--navy); }
.cs-hero-grid-line.active { transition: opacity 220ms ease-out; will-change: opacity; }
.cs-hero-grid-anchor { position: absolute; bottom: 0; width: 1px; background: var(--navy); opacity: 0.16; transform: translateX(-0.5px); }

/* Corner crop-marks — small L-shaped ticks at each hero corner.
   Architectural detail; reads as 'this is a designed object'. */
.cs-hero-grid-corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--navy); opacity: 0.22; }
.cs-hero-grid-corner.tl { top: 32px; left: 32px; border-top-width: 1px; border-left-width: 1px; }
.cs-hero-grid-corner.tr { top: 32px; right: 32px; border-top-width: 1px; border-right-width: 1px; }
.cs-hero-grid-corner.bl { bottom: 32px; left: 32px; border-bottom-width: 1px; border-left-width: 1px; }
.cs-hero-grid-corner.br { bottom: 32px; right: 32px; border-bottom-width: 1px; border-right-width: 1px; }
.cs-hero-content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 96px; align-items: end; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: rgba(55,65,81,0.55); margin-bottom: 32px; }
.cs-eyebrow.on-dark { color: rgba(245,245,240,0.55); }
.cs-eyebrow .bar { width: 28px; height: 1px; background: var(--signal); }
.cs-h1 { font-family: var(--serif); font-weight: 380; font-size: clamp(48px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -0.012em; color: var(--navy); text-wrap: pretty; }
.cs-h1 em { font-style: italic; font-weight: 380; color: var(--navy); }
.cs-h1 .stop { color: var(--signal); }
.cs-hero-lead { font-family: var(--serif); font-style: italic; font-weight: 380; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.7; color: var(--slate); max-width: 460px; margin-top: 36px; }
.cs-hero-meta { display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.cs-hero-meta-item { border-top: 1px solid rgba(55,65,81,0.18); padding-top: 18px; }
.cs-hero-meta-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; color: rgba(55,65,81,0.5); margin-bottom: 8px; }
.cs-hero-meta-value { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.3; color: var(--navy); }
.cs-hero-meta-value em { font-style: italic; }
.cs-hero-actions { display: flex; gap: 16px; align-items: center; margin-top: 56px; }
.cs-btn-primary { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; padding: 14px 28px; border-radius: 6px; background: var(--navy); color: var(--paper); border: none; cursor: pointer; box-shadow: 0 2px 4px rgba(12,35,64,0.06), 0 4px 14px rgba(12,35,64,0.04); transition: box-shadow 220ms ease-out, transform 150ms ease-out; }
.cs-btn-primary:hover { box-shadow: 0 4px 14px rgba(12,35,64,0.16), 0 8px 28px rgba(12,35,64,0.08); }
.cs-btn-primary:active { transform: scale(0.985); }
.cs-btn-ghost { font-size: 13px; letter-spacing: 0.04em; padding: 14px 24px; border-radius: 6px; background: transparent; color: var(--navy); border: 1px solid rgba(55,65,81,0.28); cursor: pointer; transition: background 200ms, border-color 200ms; }
.cs-btn-ghost:hover { background: rgba(12,35,64,0.04); border-color: var(--navy); }

.cs-hero-footrule { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; display: flex; justify-content: space-between; align-items: end; gap: 24px; font-size: 11px; letter-spacing: 0.08em; color: rgba(55,65,81,0.5); z-index: 2; }
.cs-hero-footrule .l { display: flex; gap: 14px; align-items: center; }
.cs-hero-footrule .l .bar { width: 18px; height: 1px; background: var(--signal); }
.cs-hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.14em; color: rgba(55,65,81,0.45); }
.cs-hero-scroll .stem { width: 1px; height: 28px; background: rgba(55,65,81,0.3); animation: stem 2.6s ease-in-out infinite; transform-origin: top; }
@keyframes stem { 0%,100% { transform: scaleY(0.4); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

/* ── Section base ── */
.cs-section { padding: 128px var(--gutter); position: relative; }
.cs-section-inner { max-width: var(--max); margin: 0 auto; }
.cs-section.on-dark { background: var(--navy); color: var(--paper); }

.cs-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 80px; }
.cs-section-title { font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.022em; color: var(--navy); text-wrap: balance; }
.cs-section.on-dark .cs-section-title { color: var(--paper); }
.cs-section-title em { font-style: italic; }
.cs-section-lead { font-size: 14px; line-height: 1.75; color: var(--slate); max-width: 440px; }
.cs-section.on-dark .cs-section-lead { color: rgba(245,245,240,0.65); }

/* ── Positioning manifesto block ── */
.cs-positioning { padding: 96px var(--gutter) 80px; }
.cs-positioning-inner { max-width: 980px; margin: 0 auto; }
.cs-positioning .lead { font-family: var(--serif); font-weight: 380; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.45; letter-spacing: -0.012em; color: var(--navy); text-wrap: pretty; }
.cs-positioning .lead em { font-style: italic; }
.cs-positioning .lead .muted { color: rgba(55,65,81,0.55); }

/* ── Engagements grid ──
   Real cell borders (see .cs-modes-grid note) — the bleed-through-gap
   pattern was eating dividers at certain widths. Responsive cell
   borders use nth-child so the right cells of each row and the cells
   in the last row don't draw spurious lines at the grid edges. */
.cs-engagements .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(55,65,81,0.14);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.cs-eng-card {
  background: var(--paper);
  padding: 44px 36px 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 300ms ease-out;
  position: relative;
  cursor: default;
  border-right: 1px solid rgba(55,65,81,0.14);
}
.cs-eng-card:nth-child(3n),
.cs-eng-card:last-child {
  border-right: none;
}
.cs-eng-card:hover { background: var(--white); }
.cs-eng-card.dark { background: var(--navy); color: var(--paper); }
.cs-eng-card.dark:hover { background: #0a1d36; }
.cs-eng-num { display: flex; gap: 10px; align-items: center; font-size: 10px; letter-spacing: 0.12em; color: rgba(55,65,81,0.45); margin-bottom: 8px; }
.cs-eng-card.dark .cs-eng-num { color: rgba(245,245,240,0.4); }
.cs-eng-num .bar { width: 18px; height: 1.5px; background: var(--signal); }
.cs-eng-title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.012em; color: var(--navy); }
.cs-eng-card.dark .cs-eng-title { color: var(--paper); }
.cs-eng-body { font-size: 13.5px; line-height: 1.75; color: var(--slate); margin-top: 8px; }
.cs-eng-card.dark .cs-eng-body { color: rgba(245,245,240,0.7); }
.cs-eng-foot { margin-top: auto; padding-top: 28px; font-size: 11px; letter-spacing: 0.08em; color: rgba(55,65,81,0.5); display: flex; align-items: center; gap: 10px; }
.cs-eng-card.dark .cs-eng-foot { color: rgba(245,245,240,0.45); }

/* ── Approach (the dotted-field section) ── */
.cs-approach { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; padding: 140px var(--gutter) 140px; }
.cs-approach canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cs-approach .inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.cs-approach .head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 96px; }
.cs-approach .title { font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.022em; color: var(--paper); text-wrap: balance; }
.cs-approach .title em { font-style: italic; }
.cs-approach .lead { font-size: 14px; line-height: 1.75; color: rgba(245,245,240,0.65); max-width: 460px; }
.cs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(245,245,240,0.10);
  border-radius: 4px;
  overflow: hidden;
}
.cs-step {
  background: rgba(12,35,64,0.7);
  backdrop-filter: blur(2px);
  padding: 40px 36px;
  min-height: 280px;
  border-right: 1px solid rgba(245,245,240,0.10);
}
.cs-step:nth-child(3n),
.cs-step:last-child {
  border-right: none;
}
.cs-step-num { font-family: var(--serif); font-weight: 380; font-size: 56px; line-height: 1; color: rgba(245,245,240,0.92); margin-bottom: 24px; letter-spacing: -0.02em; }
.cs-step-num .stop { color: var(--action); }
.cs-step-title { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--paper); margin-bottom: 14px; }
.cs-step-body { font-size: 13.5px; line-height: 1.75; color: rgba(245,245,240,0.7); }

/* ── Principals ── */
.cs-principals { padding: 128px var(--gutter); background: var(--paper); }
.cs-principals-inner { max-width: var(--max); margin: 0 auto; }
.cs-principals .head { margin-bottom: 80px; max-width: 880px; }
.cs-principals .head h2 { font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.022em; color: var(--navy); margin-bottom: 20px; }
.cs-principals .head h2 em { font-style: italic; }
.cs-principals .head p { font-size: 14px; line-height: 1.75; color: var(--slate); max-width: 540px; }
.cs-principals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cs-principal { display: flex; flex-direction: column; }
.cs-principal-portrait-wrap { position: relative; isolation: isolate; }
.cs-principal-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 2px;
  display: block;
  /* Printed-paper edge: 1px inner outline reads as ink-on-paper, not a sticker */
  outline: 1px solid rgba(28, 22, 12, 0.06);
  outline-offset: -1px;
  /* Layered shadow — top-lit photograph resting on cream paper. */
  /* (1) tight contact shadow  (2) near penumbra  (3) mid-soft depth  */
  /* (4) long warm ambient cast  (5) side cast for asymmetric light  */
  box-shadow:
    0 1.5px 2px rgba(28, 22, 12, 0.18),
    0 6px 12px -3px rgba(28, 22, 12, 0.16),
    0 22px 38px -14px rgba(28, 22, 12, 0.14),
    0 48px 84px -28px rgba(64, 44, 22, 0.11),
    8px 30px 60px -18px rgba(64, 44, 22, 0.07);
  transition: box-shadow 500ms ease, transform 500ms ease;
}
.cs-principal:hover .cs-principal-portrait {
  /* Imperceptibly rises on hover — the only motion */
  transform: translateY(-2px);
  box-shadow:
    0 2px 3px rgba(28, 22, 12, 0.18),
    0 10px 18px -3px rgba(28, 22, 12, 0.16),
    0 28px 44px -14px rgba(28, 22, 12, 0.14),
    0 58px 96px -28px rgba(64, 44, 22, 0.12),
    10px 36px 70px -18px rgba(64, 44, 22, 0.07);
}
.cs-principal-meta { margin-top: 28px; }
.cs-principal-name { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); letter-spacing: -0.012em; margin-bottom: 4px; }
.cs-principal-role { font-size: 12px; letter-spacing: 0.08em; color: rgba(55,65,81,0.55); margin-bottom: 18px; }
.cs-principal-bio { font-size: 14px; line-height: 1.75; color: var(--slate); max-width: 460px; text-wrap: pretty; margin-bottom: 14px; }
.cs-principal-link { font-size: 12px; letter-spacing: 0.04em; color: var(--navy); border-bottom: 1px solid rgba(12,35,64,0.25); padding-bottom: 1px; transition: border-color 200ms; cursor: pointer; }
.cs-principal-link:hover { border-bottom-color: var(--navy); }

/* (legacy director styles retained for compat — unused) */
.cs-portrait-wrap { position: relative; max-width: 460px; }
.cs-portrait-wrap::before { content: ''; position: absolute; inset: -18px -18px 18px 18px; background: rgba(12,35,64,0.04); border-radius: 4px; z-index: 0; }
.cs-portrait { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 4px; box-shadow: 0 8px 24px rgba(12,35,64,0.10), 0 16px 48px rgba(12,35,64,0.06); display: block; }
.cs-portrait-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.cs-portrait-name { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--navy); letter-spacing: -0.012em; }
.cs-portrait-role { font-size: 12px; letter-spacing: 0.08em; color: rgba(55,65,81,0.55); }
.cs-director-copy { padding-top: 12px; }
.cs-director-copy h2 { font-family: var(--serif); font-weight: 380; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 28px; color: var(--navy); }
.cs-director-copy h2 em { font-style: italic; }
.cs-director-copy p { font-size: 15px; line-height: 1.85; color: var(--slate); margin-bottom: 18px; max-width: 520px; text-wrap: pretty; }
.cs-commitments { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-commitment { border-top: 1px solid rgba(55,65,81,0.18); padding-top: 16px; }
.cs-commitment .accent { width: 18px; height: 1.5px; background: var(--signal); margin-bottom: 12px; }
.cs-commitment-title { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.cs-commitment-body { font-size: 12px; line-height: 1.6; color: var(--slate); }

/* ── Pull quote (the page's emotional climax) ──
   Bigger mark, larger set, generous breathing room. Treats the quote as
   the deliberate peak between Principals and Contact rather than another
   block in the run. */
.cs-pullquote { padding: 200px var(--gutter); background: var(--paper-warm); }
.cs-pullquote-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: start; }
.cs-pullquote .mark { font-family: var(--serif); font-style: italic; font-size: 140px; line-height: 0.82; color: var(--signal); padding-top: 8px; }
.cs-pullquote q { font-family: var(--serif); font-weight: 380; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.18; letter-spacing: -0.016em; color: var(--navy); font-style: italic; quotes: none; }
.cs-pullquote q::before, .cs-pullquote q::after { content: ''; }
.cs-pullquote .attrib { margin-top: 56px; font-size: 12px; letter-spacing: 0.06em; color: rgba(55,65,81,0.55); display: flex; align-items: center; gap: 14px; }
.cs-pullquote .attrib .bar { width: 22px; height: 1px; background: var(--signal); }

/* ── Ventures (navy) ── */
.cs-ventures { background: var(--navy); padding: 140px var(--gutter); color: var(--paper); }
.cs-ventures-inner { max-width: var(--max); margin: 0 auto; }
.cs-ventures .head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 80px; }
.cs-ventures .title { font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: var(--paper); }
.cs-ventures .title em { font-style: italic; }
.cs-ventures .lead { font-size: 14px; line-height: 1.75; color: rgba(245,245,240,0.65); max-width: 440px; }
.cs-vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cs-venture { padding: 36px 36px 36px; border: 1px solid rgba(245,245,240,0.10); border-radius: 4px; background: rgba(245,245,240,0.025); display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 24px; transition: background 250ms ease-out, border-color 250ms ease-out; }
.cs-venture:hover { background: rgba(245,245,240,0.05); border-color: rgba(245,245,240,0.18); }
.cs-venture-num { font-family: var(--serif); font-weight: 380; font-size: 18px; color: rgba(245,245,240,0.55); }
.cs-venture-num .stop { color: var(--action); }
.cs-venture-body h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--paper); margin-bottom: 8px; line-height: 1.25; }
.cs-venture-body p { font-size: 13px; line-height: 1.7; color: rgba(245,245,240,0.6); }
.cs-venture-tag { font-size: 10px; letter-spacing: 0.1em; color: rgba(245,245,240,0.5); padding: 4px 10px; border: 1px solid rgba(245,245,240,0.15); border-radius: 4px; white-space: nowrap; align-self: start; margin-top: 4px; }

/* ── Enquire CTA ── */
.cs-enquire { padding: 140px var(--gutter); background: var(--paper); position: relative; overflow: hidden; }
.cs-enquire-inner { max-width: 980px; margin: 0 auto; text-align: left; position: relative; z-index: 1; }
.cs-enquire h2 { font-family: var(--serif); font-weight: 380; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.022em; color: var(--navy); margin-bottom: 28px; text-wrap: pretty; }
.cs-enquire h2 em { font-style: italic; }
.cs-enquire .lead { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.7; color: var(--slate); max-width: 560px; margin-bottom: 44px; }
.cs-enquire .actions { display: flex; gap: 16px; align-items: center; }
.cs-enquire .meta { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid rgba(55,65,81,0.15); }
.cs-enquire .meta-item .label { font-size: 10px; letter-spacing: 0.1em; color: rgba(55,65,81,0.5); margin-bottom: 6px; }
.cs-enquire .meta-item .value { font-family: var(--serif); font-size: 16px; color: var(--navy); }

/* ── Footer ──
   Ink-material analog of the hero — the page closes on the same kind of
   surface it opened with, but printed dark. The shader provides a slow
   horizontal sheen (printed ink catching light) under fine ink grain;
   the CSS navy bg shows at the top fade so the seam with Contact is
   clean. */
.cs-footer { background: var(--navy); color: var(--paper); padding: 96px var(--gutter) 40px; position: relative; overflow: hidden; isolation: isolate; }
.cs-footer-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.cs-shader-footer canvas {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
}
/* Approach ink base — the same dark material sits under the particle
   field so the navy section has texture even where particles don't reach. */
.cs-shader-approach canvas {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}
.cs-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(245,245,240,0.10); margin-bottom: 32px; }
.cs-footer .mark { font-family: var(--logo); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; line-height: 1; color: var(--paper); margin-bottom: 12px; }
.cs-footer .mark .dot { color: var(--signal); }
.cs-footer .legal { font-size: 10px; letter-spacing: 0.1em; color: rgba(245,245,240,0.4); margin-bottom: 24px; }
.cs-footer .tagline { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.6; color: rgba(245,245,240,0.55); max-width: 280px; }
.cs-footer .col h4 { font-size: 10px; letter-spacing: 0.1em; color: rgba(245,245,240,0.4); margin-bottom: 18px; font-weight: 500; font-family: var(--sans); text-transform: none; }
.cs-footer .col a { display: block; font-size: 13px; color: rgba(245,245,240,0.7); margin-bottom: 10px; transition: color 200ms ease-out; }
.cs-footer .col a:hover { color: var(--paper); }
.cs-footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(245,245,240,0.32); letter-spacing: 0.04em; }
.cs-footer-bottom .right { letter-spacing: 0.18em; font-size: 10px; }

/* ── Premise ── */
.cs-premise { padding: 96px var(--gutter); }
.cs-premise-inner { max-width: 980px; margin: 0 auto; }
.cs-premise .eyebrow { margin-bottom: 36px; }
.cs-premise p { font-family: var(--serif); font-weight: 380; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.5; letter-spacing: -0.008em; color: var(--navy); margin-bottom: 24px; text-wrap: pretty; }
.cs-premise p em { font-style: italic; }
.cs-premise p.muted { color: #0a0a0a; }

/* ── Today's work ── */
.cs-today { padding: 120px var(--gutter); background: var(--paper-warm); }
.cs-today-inner { max-width: var(--max); margin: 0 auto; }
.cs-today .head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.cs-today .title { font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.022em; color: var(--navy); }
.cs-today .title em { font-style: italic; }
.cs-today .body { font-size: 15px; line-height: 1.85; color: var(--slate); max-width: 520px; }
.cs-today .body p { margin-bottom: 16px; }
.cs-today .partnership { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.08em; color: rgba(55,65,81,0.5); margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(55,65,81,0.18); }
.cs-today .partnership .bar { width: 18px; height: 1px; background: var(--signal); }

.cs-modes { margin-top: 80px; }
.cs-modes-label { font-size: 10px; letter-spacing: 0.12em; color: rgba(55,65,81,0.5); display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.cs-modes-label .bar { width: 22px; height: 1px; background: var(--signal); }
.cs-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(55,65,81,0.14);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
/* Real cell borders instead of background-bleed-through-gap.
   The bleed pattern fails at certain widths because 3×`1fr` + 1px gap
   rounds in ways the browser eats the gap. Borders are layout, not
   background visualisation — they always render. */
.cs-mode {
  background: var(--paper);
  padding: 32px 28px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 250ms ease-out;
  border-right: 1px solid rgba(55,65,81,0.14);
}
.cs-mode:last-child { border-right: none; }
.cs-mode:hover { background: var(--white); }
.cs-mode .num { display: flex; gap: 10px; align-items: center; font-size: 10px; letter-spacing: 0.12em; color: rgba(55,65,81,0.45); }
.cs-mode .num .bar { width: 16px; height: 1.5px; background: var(--signal); }
.cs-mode h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -0.012em; color: var(--navy); }
.cs-mode p { font-size: 13px; line-height: 1.7; color: var(--slate); }

/* ── Building (R&D) ── */
.cs-building { padding: 120px var(--gutter); background: var(--paper); }
.cs-building-inner { max-width: var(--max); margin: 0 auto; }
.cs-building .title { font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.022em; color: var(--navy); margin-bottom: 32px; }
.cs-building .title em { font-style: italic; }
.cs-building p { font-size: 16px; line-height: 1.85; color: var(--slate); max-width: 720px; margin-bottom: 18px; }

/* ── Principles (sits in the dotted-field section) ── */
.cs-principles { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 880px; }
.cs-principle { padding-top: 28px; border-top: 1px solid rgba(245,245,240,0.18); }
.cs-principle .num { font-family: var(--serif); font-weight: 380; font-size: 14px; color: var(--action); letter-spacing: 0.08em; margin-bottom: 14px; }
.cs-principle h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.014em; color: var(--paper); margin-bottom: 14px; }
.cs-principle p { font-size: 15px; line-height: 1.75; color: rgba(245,245,240,0.7); max-width: 620px; }

/* ── Insights (compact — owns its emptiness) ──
   Treated as a quiet half-page rather than a full section. Removes the
   card chrome — the page admits that the firm hasn't published yet,
   instead of pretending otherwise. */
.cs-insights { padding: 80px var(--gutter); background: var(--paper-warm); }
.cs-insights-inner { max-width: var(--max); margin: 0 auto; }
.cs-insights .head { margin-bottom: 20px; max-width: 720px; }
.cs-insights .head h2 { font-family: var(--serif); font-weight: 380; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.014em; color: var(--navy); }
.cs-insights .head h2 em { font-style: italic; }
.cs-insights-card { background: transparent; border: none; border-radius: 0; padding: 0; max-width: 720px; }
.cs-insights-card .label { font-size: 10px; letter-spacing: 0.12em; color: rgba(55,65,81,0.5); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cs-insights-card .label .bar { width: 22px; height: 1px; background: var(--signal); }
.cs-insights-card p { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.6; color: rgba(55,65,81,0.7); }

/* ── Contact form ──
   Same material language as the hero — paper shader sits behind the
   form so the closing register matches the opening register. */
.cs-contact { padding: 140px var(--gutter); background: var(--paper); position: relative; overflow: hidden; isolation: isolate; }
.cs-contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; position: relative; z-index: 1; }
.cs-shader-contact canvas {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}
.cs-contact .left h2 { font-family: var(--serif); font-weight: 380; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.022em; color: var(--navy); margin-bottom: 28px; }
.cs-contact .left h2 em { font-style: italic; }
.cs-contact .left .lead { font-size: 15px; line-height: 1.85; color: var(--slate); max-width: 460px; margin-bottom: 36px; }
.cs-contact .channel { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(55,65,81,0.18); max-width: 460px; }
.cs-contact .channel a { border-bottom: 1px solid rgba(12,35,64,0.25); padding-bottom: 1px; transition: border-color 200ms; }
.cs-contact .channel a:hover { border-bottom-color: var(--navy); }
.cs-contact .address { font-size: 13px; line-height: 1.7; color: rgba(55,65,81,0.7); max-width: 460px; }
.cs-form { display: flex; flex-direction: column; gap: 18px; }
.cs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-field { display: flex; flex-direction: column; gap: 6px; }
.cs-field label { font-size: 11px; letter-spacing: 0.04em; color: var(--slate); font-weight: 500; }
.cs-field input, .cs-field textarea { font-family: var(--sans); font-size: 14px; color: var(--navy); background: var(--white); border: 1px solid rgba(55,65,81,0.2); border-radius: 6px; padding: 11px 14px; outline: none; box-shadow: 0 2px 4px rgba(12,35,64,0.02); transition: border-color 180ms, box-shadow 180ms; }
.cs-field input:focus, .cs-field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,35,64,0.12); }
.cs-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.cs-form .submit { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; padding: 13px 28px; background: var(--navy); color: var(--paper); border: none; border-radius: 6px; cursor: pointer; align-self: flex-start; box-shadow: 0 2px 4px rgba(12,35,64,0.06), 0 4px 14px rgba(12,35,64,0.04); transition: box-shadow 200ms, transform 150ms; margin-top: 6px; }
.cs-form .submit:hover { box-shadow: 0 4px 14px rgba(12,35,64,0.16), 0 8px 28px rgba(12,35,64,0.08); }
.cs-form .submit:active { transform: scale(0.985); }
.cs-form .note { font-size: 11px; color: rgba(55,65,81,0.5); margin-top: 8px; line-height: 1.6; }

@media (max-width: 1100px) {
  .cs-today .head, .cs-contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .cs-modes-grid { grid-template-columns: 1fr; }
  .cs-mode { border-right: none; border-bottom: 1px solid rgba(55,65,81,0.14); }
  .cs-mode:last-child { border-bottom: none; }
  .cs-principals-grid { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 1100px) {
  .cs-hero-content { grid-template-columns: 1fr; gap: 56px; align-items: start; }
  .cs-section-head { grid-template-columns: 1fr; gap: 24px; }
  .cs-engagements .grid, .cs-steps, .cs-vgrid, .cs-commitments, .cs-enquire .meta { grid-template-columns: 1fr 1fr; }
  /* 2-col cell borders: light pattern (engagements) */
  .cs-eng-card { border-right: 1px solid rgba(55,65,81,0.14); border-bottom: 1px solid rgba(55,65,81,0.14); }
  .cs-eng-card:nth-child(3n) { border-right: 1px solid rgba(55,65,81,0.14); }
  .cs-eng-card:nth-child(2n),
  .cs-eng-card:last-child { border-right: none; }
  .cs-eng-card:last-child { border-bottom: none; }
  /* 2-col cell borders: dark pattern (steps) */
  .cs-step { border-right: 1px solid rgba(245,245,240,0.10); border-bottom: 1px solid rgba(245,245,240,0.10); }
  .cs-step:nth-child(3n) { border-right: 1px solid rgba(245,245,240,0.10); }
  .cs-step:nth-child(2n),
  .cs-step:last-child { border-right: none; }
  .cs-step:last-child { border-bottom: none; }
  .cs-director-inner { grid-template-columns: 1fr; gap: 56px; }
  .cs-approach .head, .cs-ventures .head { grid-template-columns: 1fr; gap: 24px; }
  .cs-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cs-engagements .grid, .cs-steps, .cs-vgrid, .cs-commitments, .cs-enquire .meta { grid-template-columns: 1fr; }
  /* 1-col cell borders: stack with horizontal dividers */
  .cs-eng-card { border-right: none; border-bottom: 1px solid rgba(55,65,81,0.14); }
  .cs-eng-card:last-child { border-bottom: none; }
  .cs-step { border-right: none; border-bottom: 1px solid rgba(245,245,240,0.10); }
  .cs-step:last-child { border-bottom: none; }
  .cs-nav { display: none; }
  .cs-pullquote-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Pre-mount splash ── */
/* A quiet wordmark holds the page geometry while Babel compiles the JSX. */
/* React replaces #root's children on first render, removing this in one frame. */
#cs-splash {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  z-index: 1;
  animation: cs-splash-in 600ms ease 80ms both;
}
#cs-splash .cs-splash-mark {
  font-family: var(--logo);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--navy);
  opacity: 0.85;
}
#cs-splash .cs-splash-mark span {
  color: var(--signal);
}
@keyframes cs-splash-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Typographic refinement ──────────────────────────────────────────────
   The display headings opt into Newsreader's full type-rendering stack:
   real kerning tables, optical sizing for display use, contextual
   alternates, ligatures. Solves pair collisions (e.g. "gy" in Strategy)
   without per-pair manual fixes. */
.cs-h1,
.cs-section-title,
.cs-approach .title,
.cs-ventures .title,
.cs-today .title,
.cs-building .title,
.cs-principals .head h2,
.cs-insights .head h2,
.cs-enquire h2,
.cs-contact .left h2,
.cs-pullquote q,
.cs-premise p,
.cs-positioning .lead,
.cs-principle h3,
.cs-eng-title,
.cs-step-title,
.cs-venture-body h3,
.cs-principal-name,
.cs-portrait-name,
.cs-hero-lead,
.cs-hero-meta-value {
  font-kerning: normal;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 60;
  font-feature-settings: "kern" 1, "calt" 1, "liga" 1;
  font-variant-ligatures: common-ligatures contextual;
  text-rendering: optimizeLegibility;
}

/* Hung punctuation — the hero's closing full-stop sits *into* the right
   margin rather than pushing the line in. With the signal-red dot this
   reads as a deliberate typographic move, not an accident. The pull is
   small enough to hold up at any line break.
   `hanging-punctuation: last` is the official property; the negative
   margin is the cross-browser pull that actually works today. */
.cs-h1 { hanging-punctuation: last; }
.cs-h1 .stop {
  display: inline-block;
  margin-right: -0.32em;
  position: relative;
}
/* Surgical pair-kern. Newsreader's display sizes don't space the
   'g'->'y' descenders enough; a per-pair OpenType lookup doesn't exist
   for it. The fix is a thin trailing letter-spacing on the offending
   left character only, applied with a span in the source. */
.cs-h1 .cs-kern { letter-spacing: 0.022em; }

/* Italic settle on reveal — the italic words ("rigour", "equal weight"…)
   land at wght 380 from a slightly lighter starting state. Single play.
   The eye reads it as the type *settling* on the page, not as motion. */
.cs-reveal em,
.cs-reveal .stop {
  transition: font-variation-settings 1100ms cubic-bezier(.22,.61,.36,1);
}
.cs-reveal:not(.is-in) em {
  font-variation-settings: "opsz" 60, "wght" 310;
}
.cs-reveal.is-in em {
  font-variation-settings: "opsz" 60, "wght" 380;
}

/* Interactive anchor — replaces the dropped vertical line.
   Hovering the headline produces a brief signal-color tick directly
   beneath the closing full-stop, then retracts when the cursor leaves.
   Held breath, not a permanent mark. */
.cs-h1 .stop::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 10px;
  width: 0;
  height: 1px;
  background: var(--signal);
  transform: translateX(-50%);
  opacity: 0;
  transition: width 520ms cubic-bezier(.22,.61,.36,1),
              opacity 520ms cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.cs-h1:hover .stop::after,
.cs-h1:focus-within .stop::after {
  width: 26px;
  opacity: 1;
}

/* Mobile pass — performance + restraint.
   No hover tick, no italic settle reflow on small screens.
   Hung punctuation stays; it works everywhere and never costs anything. */
@media (max-width: 900px) {
  .cs-h1 .stop::after { display: none; }
  .cs-reveal em { transition: none; }
  .cs-reveal:not(.is-in) em { font-variation-settings: "opsz" 60, "wght" 380; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-reveal em { transition: none; }
}
