/* =========================================================
   V+L Partners — v4 stylesheet
   Two color planes: ink (black) + lime. Hard alternation.
   Type system: Raleway display, JetBrains Mono eyebrows.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0a0a;
  --lime: #c8f539;
  --paper: #ffffff;
  --rule-on-ink: rgba(255,255,255,0.14);
  --rule-on-lime: rgba(10,10,10,0.18);
  --shadow: 0 30px 60px rgba(0,0,0,0.35);

  --font-display: 'Raleway', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Fraunces', 'Times New Roman', serif;

  --maxw: 1480px;
  --gutter: clamp(1.25rem, 3vw, 3rem);

  /* Headline scale */
  --h-mega: clamp(3rem, 9.5vw, 9rem);
  --h-1: clamp(1.9rem, 3.4vw, 3.5rem);
  --h-2: clamp(1.5rem, 3vw, 2.75rem);
  --h-eyebrow: 0.74rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern','ss01';
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(4rem, 9vw, 9rem) 0; position: relative; }
.section.tight { padding: clamp(2.5rem, 5vw, 5rem) 0; }

.bg-ink   { background: var(--ink);   color: var(--paper); }
.bg-lime  { background: var(--lime);  color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--h-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-block;
}
.eyebrow.on-ink { color: var(--lime); }
.eyebrow.on-lime { color: var(--ink); }

h1, h2, h3, h4 { margin: 0; line-height: 0.95; letter-spacing: -0.02em; font-weight: 800; }
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4.75vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h1 { font-size: var(--h-1); font-weight: 900; line-height: 0.92; letter-spacing: -0.025em; }
.h2 { font-size: var(--h-2); font-weight: 800; line-height: 1.05; }
.bg-ink .h1, .bg-ink .h2 { color: var(--paper); }
.bg-lime .h1, .bg-lime .h2 { color: var(--ink); }

.body-lg { font-size: 1.25rem; line-height: 1.55; max-width: 38em; }
.body-md { font-size: 1.1rem; line-height: 1.6; max-width: 36em; }
.mono   { font-family: var(--font-mono); }
.italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.accent { color: var(--lime); }
.bg-lime .accent { color: var(--ink); }
/* The hero panel is lime but isn't classed .bg-lime — without this, accent
   glyphs inside it render lime-on-lime (invisible). */
.hero-split .hero-panel .accent { color: var(--ink); }

/* ---------- Grain (white grain on transparent, alpha-composited;
   reads on dark surfaces, barely registers on bright ones) ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  background-image: url('patterns/grain-overlay.png');
  background-size: 512px 512px;
  background-repeat: repeat;
  opacity: 0.3;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10000; /* above .grain (9999) so grain doesn't sit on nav text */
  background: var(--ink);
  border-bottom: 1px solid var(--rule-on-ink);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: inline-block;
  height: clamp(40px, 4vw, 56px);
  aspect-ratio: 1.591 / 1; /* matches the tight-cropped lockup */
  background: url('patterns/VL_logo_green_tight.png') left center / contain no-repeat;
}
.nav-links {
  display: flex; gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--paper);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta .phone-pill {
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.nav-cta .phone-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); display: inline-block;
  box-shadow: 0 0 8px var(--lime);
}
/* WhatsApp pill — outlined lime (secondary CTA — Tell us is the primary action) */
.nav-cta .whatsapp-pill {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 150ms ease, color 150ms ease, transform 100ms ease;
}
.nav-cta .whatsapp-pill:hover { background: var(--lime); color: var(--ink); transform: translateY(-1px); }
.nav-cta .whatsapp-pill svg { width: 13px; height: 13px; }
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile menu — slides down from below the nav bar when hamburger toggles */
  body.nav-open .nav-links {
    display: flex !important;
    position: fixed;
    top: 64px;
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    padding: 1.5rem clamp(1.5rem, 4vw, 3rem) 3rem;
    overflow-y: auto;
    z-index: 9500;
    border-top: 1px solid var(--rule);
    animation: navSlideDown 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.nav-open .nav-links a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--paper);
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule);
    width: 100%;
    border-radius: 0;
  }
  body.nav-open .nav-links a:hover,
  body.nav-open .nav-links a.active {
    color: var(--lime);
    border-bottom-color: var(--lime);
  }
  /* "Tell us" pill gets the filled-lime treatment + sits as primary action */
  body.nav-open .nav-links .nav-start {
    background: var(--lime);
    color: var(--ink);
    padding: 1rem 1.5rem;
    border-radius: 999px;
    margin: 1.5rem 0 0;
    width: max-content;
    border-bottom: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  body.nav-open { overflow: hidden; }

  /* Hamburger morphs to X when menu is open */
  .nav-toggle[aria-expanded="true"] {
    background: var(--lime);
    color: var(--ink);
  }
}
@keyframes navSlideDown {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ───── Mobile-only override for inline-styled 1fr 2fr grids ─────
   Several sections (ethos band, philosophy, NPV, firm origin) use inline
   `grid-template-columns: 1fr 2fr` for the eyebrow|content split. These
   don't responsive themselves. Force-stack at narrow widths. */
@media (max-width: 720px) {
  section .container > div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  section .container > div[style*="grid-template-columns: 1fr 2fr"] > div:first-child {
    /* Eyebrow column collapses to a compact label row */
    padding-bottom: 0.5rem;
  }
}
/* On the smallest mobile widths, WhatsApp moves to the sticky CTA below — clears header */
@media (max-width: 720px) {
  .nav-cta .whatsapp-pill { display: none; }
  .nav-cta .phone-pill { padding: 0.5rem 0.85rem; font-size: 0.72rem; }
}

/* ---------- STICKY MOBILE WHATSAPP CTA ---------- */
/* Bottom-pinned, mobile-only. "Text / WhatsApp Us 24/7" per Frank's spec. */
.sticky-mobile-cta { display: none; }
@media (max-width: 720px) {
  .sticky-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    position: fixed;
    left: 1rem; right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    background: var(--lime);
    color: var(--ink);
    padding: 1rem 1.25rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.06);
    z-index: 100;
    animation: stickyRise 600ms cubic-bezier(0.2, 0.7, 0.3, 1) 1.2s both;
  }
  .sticky-mobile-cta svg { width: 18px; height: 18px; flex: none; }
  /* Don't cover the intake iframe on the contact section — fade out near the bottom */
  .sticky-mobile-cta.hidden-at-contact { opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
  /* On the Tell-Us page, the intake IS the action. Hide the sticky CTA entirely
     so it doesn't compete with the intake's own compose bar for bottom-of-screen space. */
  body.page-start .sticky-mobile-cta { display: none; }
}
@keyframes stickyRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- HERO: split (image | lime panel) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 64px; /* nav offset */
  background: var(--ink);
}
.hero-split .hero-img {
  position: relative;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-split .hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-split .hero-img-overlay {
  position: absolute; left: 2.5rem; bottom: 2rem; right: 2.5rem;
  z-index: 2;
  color: var(--paper);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero-split .hero-panel {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  gap: 2.25rem;
}
.hero-panel-bottom { /* visually TOP via column-reverse */
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-panel-bottom .hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  font-weight: 400;
  line-height: 1.35;
  max-width: 28em;
  margin: 0;
}
.hero-panel-top { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-panel-body {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 32em;
}
.hero-panel-bottom .display {
  margin: 0;
}

/* CTA pill on lime */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: background 120ms ease, color 120ms ease;
}
.cta-pill:hover { background: var(--ink); color: var(--lime); }
.cta-pill.on-ink { border-color: var(--lime); color: var(--lime); }
.cta-pill.on-ink:hover { background: var(--lime); color: var(--ink); }

@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split .hero-img { aspect-ratio: 4 / 5; }
}

/* ---------- Pattern band (monogram tile, billboard register) ---------- */
.pattern-band {
  background-color: var(--lime);
  height: 220px;
  position: relative;
  overflow: hidden;
  border: none;
}
/* Tiles bleed edge-to-edge with symmetric whitespace top + bottom.
   Background offset compensates for the marks not being centered within the tile. */
.pattern-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('patterns/VL_monogram_pattern.png');
  background-size: 220px 155px;
  background-repeat: repeat;
  background-position: center 20px;
}
@media (max-width: 700px) {
  .pattern-band { height: 155px; }
  .pattern-band::before { background-position: center 10px; }
}
/* Inverted variant: black BG with lime marks. Use against lime-adjacent sections to create visual break. */
.pattern-band--invert { background-color: var(--ink); }
.pattern-band--invert::before { background-image: url('patterns/VL_monogram_pattern_lime.png'); }

/* ---------- Speed bars (v1 chart: time-to-close comparison) ---------- */
.speed-bars-wrap { margin-top: 1.5rem; }
.speed-bars { width: 100%; }
.speed-bar { margin-bottom: 2.25rem; }
.speed-bar:last-child { margin-bottom: 0; }
.speed-bar-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.78rem; opacity: 0.7;
  margin-bottom: 0.7rem;
  letter-spacing: 0.05em;
}
.speed-bar-label strong {
  color: var(--paper); font-weight: 700; font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 0.04em; opacity: 1;
}
.speed-bar-label .num {
  color: var(--lime); font-weight: 600;
  font-size: 1rem; font-family: var(--font-mono); opacity: 1;
}
.speed-bar-track {
  width: 100%; height: 64px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-on-ink);
  overflow: hidden; position: relative;
  border-radius: 2px;
}
.speed-bar-fill {
  height: 100%;
  transform-origin: left; transform: scaleX(1);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.speed-bar.theirs .speed-bar-fill { background: rgba(255,255,255,0.22); width: 100%; }
.speed-bar.ours   .speed-bar-fill { background: var(--lime); width: 35%; }
.speed-foot {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-on-ink);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.78rem; opacity: 0.7;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}
.speed-foot strong { color: var(--paper); }

/* ---------- Values grid (4-cell principles) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
  border-left: 1px solid var(--rule-on-ink);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.value-cell {
  padding: clamp(2rem, 3vw, 3rem);
  border-right: 1px solid var(--rule-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.value-num { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); opacity: 0.85; }
.value-name { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.025em; text-transform: uppercase; }
.value-name em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--lime); }
.value-body { font-size: 1.1rem; line-height: 1.55; opacity: 0.9; max-width: 36em; }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- POV diptych (other firms vs V+L) ---------- */
.pov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
}
.pov-side {
  padding: clamp(2.5rem, 4vw, 4rem);
  border-right: 1px solid var(--rule-on-ink);
}
.pov-side:last-child { border-right: none; }
.pov-side.theirs { opacity: 0.5; }
.pov-side.ours { background: rgba(200, 245, 57, 0.04); }
.pov-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-bottom: 1.5rem; display: block; }
.pov-side.ours .pov-label { color: var(--lime); opacity: 1; }
.pov-head { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; margin-bottom: 1.5rem; }
.pov-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.pov-list li { font-size: 1.05rem; line-height: 1.5; padding-left: 1.5rem; position: relative; }
.pov-list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: currentColor; opacity: 0.5; }
@media (max-width: 720px) {
  .pov-grid { grid-template-columns: 1fr; }
  .pov-side { border-right: none; border-bottom: 1px solid var(--rule-on-ink); }
}

/* ---------- NPV chart (v1 SVG line chart) ---------- */
.npv-chart {
  width: 100%; aspect-ratio: 16 / 10;
  background: rgba(255,255,255,0.02); border: 1px solid var(--rule-on-ink);
  border-radius: 4px; padding: 2rem; position: relative; overflow: hidden;
}
.npv-chart svg { width: 100%; height: 100%; }
.npv-grid line { stroke: var(--rule-on-ink); }
.npv-axis text {
  font-family: var(--font-mono); font-size: 10px; fill: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}
.npv-line {
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.npv-line.gross { stroke: rgba(255,255,255,0.42); stroke-dasharray: 5 5; }
.npv-line.cost  { stroke: rgba(255,255,255,0.28); stroke-dasharray: 1.5 4; }
.npv-line.net   { stroke: var(--lime); stroke-width: 3; }
.npv-area      { fill: var(--lime); opacity: 0.07; }
.npv-baseline  { stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.npv-legend text { fill: rgba(255,255,255,0.6); }
.npv-swatch { stroke-width: 2; stroke-linecap: round; }
.npv-swatch.net   { stroke: var(--lime); stroke-width: 3; }
.npv-swatch.gross { stroke: rgba(255,255,255,0.42); stroke-dasharray: 5 5; }
.npv-swatch.cost  { stroke: rgba(255,255,255,0.28); stroke-dasharray: 1.5 4; }
.npv-marker    { fill: var(--lime); }
.npv-marker-ring { fill: none; stroke: var(--lime); opacity: 0.35; }
.npv-leader    { stroke: rgba(200,245,57,0.45); stroke-width: 1; }
.npv-marker-label {
  font-family: var(--font-mono); font-size: 10px;
  fill: var(--lime); letter-spacing: 0.06em;
}

/* Split version: image left + pattern right (billboard-style hero alt) */
.split-image-pattern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}
.split-image-pattern .left {
  background-size: cover;
  background-position: center;
}
.split-image-pattern .right {
  position: relative;
  overflow: hidden;
  background: var(--lime);
}
.split-image-pattern .right::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('patterns/VL_monogram_pattern.png');
  background-size: 220px 155px;
  background-repeat: repeat;
  background-position: center;
}
@media (max-width: 880px) {
  .split-image-pattern { grid-template-columns: 1fr; }
  .split-image-pattern .left { aspect-ratio: 4 / 5; }
  .split-image-pattern .right { min-height: 240px; }
}

/* ---------- Manifesto block ---------- */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.manifesto .meta { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; line-height: 1.6; }
.manifesto-body {
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.manifesto-body em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.manifesto-body .brand {
  color: var(--lime);
  font-size: 1.18em;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.bg-lime .manifesto-body .brand { color: var(--ink); }
@media (max-width: 880px) {
  .manifesto { grid-template-columns: 1fr; }
}

/* Phrase-by-phrase reveal (sequential beats) */
[data-animate-sequence] .seg {
  display: inline;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 700ms);
}
[data-animate-sequence].visible .seg {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-animate-sequence] .seg { opacity: 1; transition: none; }
}

/* ---------- Billboard (image + lime panel + cross-pattern) ---------- */
.billboard {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  height: clamp(380px, 36vw, 540px);
  overflow: hidden;
  background: var(--ink);
}
.billboard > * { min-width: 0; }
.billboard-image {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 3vw, 3rem);
  overflow: hidden;
}
.billboard-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.billboard-headline {
  position: relative; z-index: 2;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0;
}
.billboard-panel {
  background: var(--lime);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-block: clamp(2rem, 3vw, 3rem);
  padding-right: clamp(2rem, 3vw, 3rem);
  padding-left: clamp(180px, 22%, 220px); /* clear the cross-pattern's right half */
  position: relative;
  min-width: 0;
}
.billboard-headline-right {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  text-align: right;
}

/* ---------- Stats infographic (dedicated section) ---------- */
.stats-section {
  position: relative;
  overflow: hidden;
}
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
}
.big-stat {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) clamp(1.25rem, 2vw, 1.75rem);
  border-right: 1px solid var(--rule-on-ink);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.big-stat:last-child { border-right: none; }
.big-num {
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.045em;
  display: block;
  white-space: nowrap;
}
.big-num small { font-size: 0.4em; font-weight: 700; opacity: 0.7; letter-spacing: -0.02em; }
.big-num.accent { color: var(--lime); }
.big-label {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper);
  display: block;
}
.big-note {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.7;
  font-family: var(--font-serif);
  font-style: italic;
  display: block;
  margin-top: auto;
  padding-top: 0.5rem;
}
@media (max-width: 880px) {
  .big-stats { grid-template-columns: 1fr 1fr; border-bottom: 0; }
  .big-stat { border-bottom: 1px solid var(--rule-on-ink); }
  .big-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) {
  .big-stats { grid-template-columns: 1fr; }
  .big-stat { border-right: none; }
}
/* Pattern strip crossing the boundary at 50% — narrow band, ~2 marks per side.
   Each V+L mark in the strip is split at the plus sign:
   left half lime (over photo), right half dark (over lime panel). */
.billboard-cross {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: clamp(240px, 21vw, 340px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}
.billboard-cross-light, .billboard-cross-dark {
  position: absolute;
  inset: 0;
  background-size: 220px 155px;
  background-repeat: repeat;
  /* bg-position-x pushed by ~half a mark so a mark's plus lands at strip x=50% */
  background-position: -55px center;
}
/* Edge fade prevents partial mark cut-offs at strip's left and right edges */
.billboard-cross-light {
  background-image: url('patterns/VL_monogram_pattern_lime.png');
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 50%, transparent 50%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 50%, transparent 50%, transparent 100%);
}
.billboard-cross-dark {
  background-image: url('patterns/VL_monogram_pattern.png');
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 50%, #000 50%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 50%, #000 50%, #000 82%, transparent 100%);
}
@media (max-width: 880px) {
  .billboard {
    grid-template-columns: 1fr;
    height: auto;
  }
  .billboard-image { aspect-ratio: 4 / 5; }
  .billboard-panel {
    padding: 2.5rem clamp(1.5rem, 4vw, 2.5rem);
    min-height: 200px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .billboard-headline-right { text-align: left; }
  /* Cross-pattern bridges the 50/50 split. On stacked mobile there's no split
     to bridge, so the strip just becomes a meaningless vertical band. Hide it. */
  .billboard-cross { display: none; }
  .billboard-cross {
    left: 0; right: 0;
    top: auto; bottom: 50%;
    width: 100%;
    transform: translateY(50%);
    height: 200px;
  }
}

/* ---------- Practice grid (homepage hub) ---------- */
.practice-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: end;
}
.practice-head h3 { font-size: var(--h-1); font-weight: 900; line-height: 0.95; }
.practice-head em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
@media (max-width: 880px) { .practice-head { grid-template-columns: 1fr; } }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
  border-left: 1px solid var(--rule-on-ink);
}
.bg-lime .practice-grid { border-top-color: var(--rule-on-lime); border-left-color: var(--rule-on-lime); }
.practice-tile {
  border-right: 1px solid var(--rule-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  gap: 2rem;
  position: relative;
  transition: background 160ms ease;
}
.bg-lime .practice-tile { border-right-color: var(--rule-on-lime); border-bottom-color: var(--rule-on-lime); }
.practice-tile:hover { background: rgba(200,245,57,0.06); }
.bg-lime .practice-tile:hover { background: rgba(10,10,10,0.06); }
.practice-num { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.practice-name { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.025em; text-transform: uppercase; }
.practice-name em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; }
.practice-line { font-size: 1.1rem; line-height: 1.5; max-width: 28em; opacity: 0.9; }
.practice-arrow { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.practice-tile:hover .practice-arrow { color: var(--lime); }
.bg-lime .practice-tile:hover .practice-arrow { color: var(--ink); }

/* Black-bg practices: lime accents instead of muted white */
.bg-ink .practice-num { color: var(--lime); opacity: 0.9; }
.bg-ink .practice-name em { color: var(--lime); }
.bg-ink .practice-arrow { color: var(--lime); }
.bg-ink .practice-tile:hover { background: rgba(200,245,57,0.07); }
@media (max-width: 720px) { .practice-grid { grid-template-columns: 1fr; } }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
}
.bg-lime .stat-strip { border-top-color: var(--rule-on-lime); }
.stat {
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.25rem;
  border-right: 1px solid var(--rule-on-ink);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bg-lime .stat { border-right-color: var(--rule-on-lime); }
.stat:last-child { border-right: none; }
.stat-num { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; }
.stat-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.stat-note { font-size: 1rem; line-height: 1.5; opacity: 0.9; }
.stat-note em { font-family: var(--font-serif); font-style: italic; }
@media (max-width: 880px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: none; } }
@media (max-width: 520px) { .stat-strip { grid-template-columns: 1fr; } .stat { border-right: none; } }

/* ---------- Voices / testimonials ---------- */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.voice {
  border: 1px solid var(--rule-on-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bg-lime .voice { border-color: var(--rule-on-lime); }
.voice-portrait {
  background-color: var(--ink);
  background-size: cover;
  background-position: center 30%;
  width: 100%;
  aspect-ratio: 3 / 2;
}
.bg-lime .voice-portrait { background-color: var(--ink); }
.voice-content {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}
.voice-pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  margin: 0;
  /* Even out the rag so the accent word never lands alone on the last line.
     Safe: pull quotes are 2-3 lines, well inside the 6-line balance limit. */
  text-wrap: balance;
}
.voice-pull em { color: var(--lime); font-style: italic; }
.bg-lime .voice-pull em { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 0.05em; }
.voice-body {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.92;
  /* Progressive enhancement: kills single-word last lines. Ignored where
     unsupported (Firefox as of 2026), which simply falls back to normal wrap. */
  text-wrap: pretty;
}
.voice-attr {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-on-ink);
}
.bg-lime .voice-attr { border-top-color: var(--rule-on-lime); }
.voice-attr .name { font-size: 1rem; font-weight: 700; }
.voice-attr .verified { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
@media (max-width: 880px) {
  .voices-grid { grid-template-columns: 1fr; }
}
.voices-disclaimer {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 62ch;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
  color: rgba(250, 250, 250, 0.78);
  text-align: center;
}

/* ---------- Contact section: secondary CTA + embedded intake ---------- */
.cta-secondary {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid rgba(10, 10, 10, 0.35) !important;
}
.cta-secondary:hover {
  background: rgba(10, 10, 10, 0.06) !important;
}
.contact-wrap .intake-side {
  padding: 0;
  background: var(--ink);
  position: relative;
  min-height: 640px;
  overflow: hidden;
}
.contact-wrap .intake-side iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 880px) {
  .contact-wrap .intake-side { min-height: 600px; }
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
}
.contact-wrap .copy-side {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(2rem, 4vw, 4rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.contact-wrap .form-side {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 4rem);
}
.form-row { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.5rem; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lime);
}
.form-row input, .form-row textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: var(--paper);
  padding: 0.95rem 1.05rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  outline: none;
  width: 100%;
  transition: border-color 160ms ease, background 160ms ease;
}
.form-row input:hover, .form-row textarea:hover { border-color: rgba(255, 255, 255, 0.32); }
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--lime);
  background: rgba(200, 245, 57, 0.06);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.form-actions button[type="submit"] {
  background: var(--lime);
  color: var(--ink);
  border: none;
  padding: 1.15rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 160ms ease, box-shadow 200ms ease;
}
.form-actions button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(200, 245, 57, 0.22);
}
@media (max-width: 880px) { .contact-wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
  border-top: 1px solid var(--rule-on-ink);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
.foot-brand .logo {
  display: block;
  width: clamp(64px, 9vw, 89px);
  height: clamp(40px, 4vw, 56px);
  aspect-ratio: 1.591 / 1;
  background: url('patterns/VL_logo_green_tight.png') left center / contain no-repeat;
  margin-bottom: 1.5rem;
}
.foot-brand .tag { display: block; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
.foot-col h5 { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin: 0 0 1rem; font-weight: 500; }
.foot-col a, .foot-col span { display: block; font-size: 1.05rem; line-height: 1.7; opacity: 0.92; }
.foot-col a:hover { color: var(--lime); }
.foot-bot {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-on-ink);
  display: flex; justify-content: space-between; gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  flex-wrap: wrap;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Misc helpers ---------- */
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.stack-md > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2.25rem; }
.maxw-lg { max-width: 50rem; }
.maxw-md { max-width: 38rem; }
.divider-line { height: 1px; background: var(--rule-on-ink); margin: 0; border: 0; }
.bg-lime .divider-line { background: var(--rule-on-lime); }

/* ---------- Locations ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
  border-left: 1px solid var(--rule-on-ink);
}
.bg-lime .locations-grid { border-top-color: var(--rule-on-lime); border-left-color: var(--rule-on-lime); }
.location {
  border-right: 1px solid var(--rule-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 200px;
}
.bg-lime .location { border-right-color: var(--rule-on-lime); border-bottom-color: var(--rule-on-lime); }
.loc-tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.loc-city { font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.025em; line-height: 0.95; text-transform: uppercase; margin: 0; }
.loc-county { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.loc-addr { font-size: 0.9rem; line-height: 1.5; opacity: 0.85; margin: auto 0 0; }
@media (max-width: 880px) { .locations-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .locations-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════
   V9 MULTI-PAGE ADDITIONS
   Components for the multi-page IA: subpage hero, ethos band, pathos
   billboard, scope/offices previews, testimonials grid, filter chips,
   what-we-handle sticky subnav, firm page, offices page.
   ═══════════════════════════════════════════════════════════════════════ */

/* ---------- Nav "Tell us" PRIMARY CTA ----------
   Filled lime pill, the strongest visual element in the header.
   Call + WhatsApp are outlined (secondary). This is the primary "go" action. */
.nav-links .nav-start {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  margin-left: 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--lime);
  transition: background 150ms ease, transform 100ms ease;
  border-bottom: 1px solid var(--lime); /* override the default nav-link border-bottom */
}
.nav-links .nav-start:hover {
  background: #d6ff5a;
  border-bottom-color: #d6ff5a;
  color: var(--ink);
  transform: translateY(-1px);
}
.nav-links .nav-start.active {
  background: var(--lime);
  color: var(--ink);
  border-bottom-color: var(--lime);
}
.nav-links a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
/* On smallest mobile, Tell-us pill collapses to icon-text */
@media (max-width: 720px) {
  .nav-links .nav-start { padding: 0.45rem 0.75rem; font-size: 0.7rem; }
}

/* ---------- Subpage shared ---------- */
.subpage-main { padding-top: 64px; background: var(--ink); }
.subpage-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--ink);
}
.subpage-hero .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }
.subpage-display {
  font-size: clamp(1.75rem, 4.75vw, 4.5rem); /* match home .display headline scale */
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 1.25rem 0;
}
.subpage-lede {
  max-width: 55ch;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
}
.subpage-placeholder-banner {
  margin-top: 2rem;
  padding: 0.85rem 1.25rem;
  border: 1px dashed rgba(200, 245, 57, 0.45);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  max-width: 60ch;
}

/* ---------- Ethos band (home, between NPV and Scope) ---------- */
.ethos-band {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.ethos-band-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.ethos-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* ---------- Pathos billboard variant ---------- */
.pathos-billboard { background: var(--ink); }
.pathos-billboard .billboard-image,
.pathos-billboard-image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.pathos-billboard .billboard-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.55) 100%);
}
.pathos-billboard .billboard-headline {
  position: relative; z-index: 1;
}
.pathos-billboard .billboard-panel {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 4rem);
}
.billboard-quiet {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32ch;
  margin: 0;
}
.billboard-quiet strong { color: var(--lime); font-weight: 500; }

/* ---------- Scope preview grid (home) ---------- */
.scope-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 720px) { .scope-preview-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Offices preview strip (home) ---------- */
.offices-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.office-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.office-chip-tag {
  font-size: 0.62rem;
  opacity: 0.7;
  letter-spacing: 0.12em;
  padding-right: 0.4rem;
  border-right: 1px solid rgba(200, 245, 57, 0.3);
}

/* ---------- Start CTA on home ---------- */
.section-start-cta { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.start-cta-wrap { max-width: 60ch; }

/* ---------- Voices grid 3-column (home preview) ---------- */
.voices-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) { .voices-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .voices-grid-3 { grid-template-columns: 1fr; } }

/* Placeholder badge — kept as the class but the content is empty now that
   real testimonials are live. Leave the structure in case we need it for
   future incoming reviews not yet approved. */
.voice-placeholder { position: relative; }
.voice-portrait-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-portrait-initials {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: rgba(200, 245, 57, 0.4);
  letter-spacing: -0.02em;
}

/* ═════════════════ TESTIMONIALS PAGE ═════════════════ */
.featured-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.voice-featured { background: var(--ink-soft, #161616); padding: 1.5rem; border: 1px solid var(--rule); }
/* Featured cards: equal-height pull quotes so every body paragraph starts on the same line */
.voice-featured .voice-pull {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  /* Reserve equal height across the row so every body paragraph aligns.
     NOTE: must stay a normal block — display:flex here splits the inline
     <em> (the lime accent word) into its own flex item and breaks the phrase. */
  min-height: 2.6em;
}
/* Featured + grid are both bg-ink; collapse the doubled section padding between them */
.testimonials-featured { padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.testimonials-grid-section { padding-top: clamp(2rem, 3vw, 3rem); }

.testimonial-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2.5rem;
}
.filter-chip {
  background: transparent;
  border: 1px solid rgba(200, 245, 57, 0.4);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }
.t-card {
  background: var(--ink-soft, #161616);
  border: 1px solid var(--rule);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  min-height: 200px;
}
/* PLACEHOLDER badge on grid cards removed — testimonials are real now. */
.t-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.85;
}
.t-pull {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--paper);
}
.t-body {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  flex: 1;
}
.t-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
}

/* ═════════════════ OFFICES PAGE ═════════════════ */
.offices-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) { .offices-full-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .offices-full-grid { grid-template-columns: 1fr; } }
.office-card-full {
  background: var(--ink-soft, #161616);
  border: 1px solid var(--rule);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 280px;
}
.office-card-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.office-card-city {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  color: var(--paper);
}
.office-card-county {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.office-card-addr {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.office-card-addr-link {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
}
.office-card-addr-link:hover,
.office-card-addr-link:focus-visible {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.office-card-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin: auto 0 0;
  font-style: italic;
  font-family: var(--font-serif);
}

.counties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  color: var(--ink);
}
@media (max-width: 720px) { .counties-grid { grid-template-columns: 1fr 1fr; } }
.county-col-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-bottom: 0.85rem;
}
.county-col ul { list-style: none; padding: 0; margin: 0; }
.county-col li {
  padding: 0.35rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

/* ═════════════════ FIRM PAGE ═════════════════ */
.firm-wontdo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  color: var(--ink);
}
@media (max-width: 720px) { .firm-wontdo-grid { grid-template-columns: 1fr; } }
.firm-wontdo-item {
  padding: 1.5rem 0;
  border-top: 2px solid var(--ink);
}
.firm-wontdo-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  opacity: 0.6;
}
.firm-wontdo-item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
  line-height: 1.15;
}
.firm-wontdo-item p {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
  opacity: 0.78;
}

/* ═════════════════ WHAT WE HANDLE PAGE ═════════════════ */
.handle-subnav {
  position: sticky;
  top: 72px; /* clears the main nav (was 64 — caused cutoff on actual rendered height) */
  z-index: 9000; /* below main nav (10000) but above content */
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
}
/* Scroll-padding so #anchor clicks land below the subnav, not under it */
html { scroll-padding-top: 140px; }
.handle-subnav-inner {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.handle-subnav-inner::-webkit-scrollbar { display: none; }
.handle-subnav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
  flex: none;
}
.handle-subnav a:hover { color: var(--lime); border-bottom-color: var(--lime); }

.handle-sections { background: var(--ink); }
.handle-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--rule);
}
.handle-section:nth-child(even) { background: var(--ink-soft, #131313); }

/* Per-section 2-column layout: numbered image | text. Alternates sides for rhythm. */
.handle-section-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.6fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.handle-section.image-right .handle-section-inner {
  grid-template-columns: 1.6fr minmax(260px, 1fr);
}
.handle-section-image {
  aspect-ratio: 3 / 4;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  background-color: #0d0d0d;
}
.handle-section.image-right .handle-section-image { order: 2; }
.handle-section-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 60ch;
}
.handle-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--lime);
  opacity: 0.7;
}
@media (max-width: 720px) {
  .handle-section-inner,
  .handle-section.image-right .handle-section-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .handle-section.image-right .handle-section-image { order: 0; }
  .handle-section-image { aspect-ratio: 4 / 3; }
}

/* ---------- Start (Tell us) page: compact hero + viewport-fit intake ---------- */
.start-page-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.start-hero-compact {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 0.75rem;
  background: var(--ink);
}
.start-hero-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0.5rem 0 0;
  color: var(--paper);
}
.start-hero-h1 em.italic {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: inherit;
}

.start-intake-section {
  flex: 1;
  padding: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
}
.start-intake-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.start-intake-frame {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--rule);
  background: var(--ink);
  display: flex;
  min-height: 480px;
}
.start-intake-frame iframe {
  width: 100%;
  /* Fit viewport minus nav (~70px) + compact hero (~140px) + small bottom buffer (~50px) */
  height: calc(100dvh - 240px);
  min-height: 480px;
  border: 0;
  display: block;
}
@supports not (height: 100dvh) {
  /* Fallback for browsers without dvh */
  .start-intake-frame iframe { height: calc(100vh - 240px); }
}
@media (max-width: 720px) {
  .start-intake-frame iframe { height: calc(100dvh - 200px); }
}

.start-privacy {
  margin: 1rem 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Bottom CTA section ---------- */
.section-cta-bottom { padding: clamp(4rem, 8vw, 6rem) 0; }

/* ═════════════════ LANGUAGE TOGGLE (iOS-style sliding segmented pill) ═════════════════
   Whole pill is clickable. A "thumb" slides between EN and ES with a satisfying spring.
   data-active on the container drives both thumb position and active-text color. */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 2px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.lang-thumb {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  background: var(--lime);
  border-radius: 999px;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
.lang-toggle[data-active="es"] .lang-thumb {
  transform: translateX(100%);
}
.lang-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 28px;
  line-height: 1;
  transition: color 220ms ease;
}
/* The half of the pill where the thumb currently sits gets ink text */
.lang-toggle[data-active="en"] .lang-btn[data-lang="en"],
.lang-toggle[data-active="es"] .lang-btn[data-lang="es"] {
  color: var(--ink);
}
.lang-toggle:active .lang-thumb {
  transform: scale(0.97) translateX(var(--lang-x, 0));
}
.lang-toggle[data-active="es"]:active .lang-thumb {
  --lang-x: 100%;
}
@media (max-width: 980px) {
  .lang-btn { padding: 0.36rem 0.55rem; font-size: 0.68rem; }
}
@media (max-width: 720px) {
  .lang-btn { padding: 0.32rem 0.5rem; font-size: 0.62rem; min-width: 22px; }
}

/* Photos disclaimer — small note right under the featured testimonial portraits,
   so the actors/models attribution sits adjacent to the photos themselves rather
   than buried at page bottom. */
.photos-disclaimer {
  margin: 2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ═════════════════ PER-OFFICE NJ THUMBNAIL (Offices page) ═════════════════
   Each office card opens with a small NJ silhouette. That office's county is
   filled lime; a pin marks the office location inside it. */
.office-card-full .office-thumb {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  margin-bottom: 1.25rem;
  align-self: center;
}
.thumb-county {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  transition: fill 200ms ease;
}
.thumb-highlight {
  fill: rgba(200, 245, 57, 0.55);
  stroke: rgba(200, 245, 57, 0.85);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.office-card-full:hover .thumb-highlight {
  fill: rgba(200, 245, 57, 0.78);
}
.thumb-pin-halo { fill: rgba(255, 255, 255, 0.18); }
.thumb-pin-dot { fill: #fafafa; }

/* ============================== THE BRIEF (blog) ============================== */
.brief-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--rule-on-ink);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}
.brief-feature:hover { border-color: var(--lime); background: rgba(200,245,57,0.04); }
.brief-feature-img {
  min-height: 300px;
  background-size: cover;
  background-position: 72% center;
}
.brief-feature-body {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.brief-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.brief-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 0;
}
.brief-title .accent { color: var(--lime); }
.brief-dek {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.brief-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: auto;
}
.brief-coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-ink);
  border-left: 1px solid var(--rule-on-ink);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.brief-coming-card {
  border-right: 1px solid var(--rule-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 200px;
}
.brief-coming-card .cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.brief-coming-card .t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.brief-coming-card .when {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: auto;
}
@media (max-width: 860px) {
  .brief-feature { grid-template-columns: 1fr; }
  .brief-feature-img { min-height: 220px; }
  .brief-coming-grid { grid-template-columns: 1fr; }
}

/* ── Cookie notice bar (injected by scripts.js) ─────────────────────────── */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  gap: 0.9rem 1.4rem; flex-wrap: wrap;
  padding: 0.85rem 1.2rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid var(--lime);
  backdrop-filter: blur(6px);
}
.cookie-bar-text {
  margin: 0; font-size: 0.85rem; line-height: 1.55;
  color: rgba(255, 255, 255, 0.85); max-width: 62ch;
}
.cookie-bar-text a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-btn {
  font: inherit; font-weight: 700; font-size: 0.82rem;
  padding: 0.55rem 1.4rem; border-radius: 999px; border: none; cursor: pointer;
  background: var(--lime); color: var(--ink); white-space: nowrap;
}
.cookie-bar-btn:hover { filter: brightness(1.06); }


/* ============================================================
   Typography harmonization (2026-07-29)
   Headings + inline heading emphasis + inline paragraph emphasis
   unified on Raleway (previously Fraunces serif-italic). Lime
   accent color retained via .accent. Serif italic intentionally
   LEFT in contained "quote" contexts (testimonial pull-quotes,
   footer tagline, hero sub-tagline) pending review.
   ============================================================ */
.display .italic, .display em,
.subpage-display .italic, .subpage-display em,
.h1 .italic, .h1 em,
.h2 .italic, .h2 em,
.start-hero-h1 .italic, .start-hero-h1 em,
.brief-title .italic, .brief-title em,
.manifesto-body em,
.practice-head em, .practice-name em,
.value-name em, .stat-note em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: inherit;
}
