
/* ==========================================================
   RedPunch v1.1  |  styles.css  (typography: Barlow Condensed + Manrope)
   Editorial, high-contrast, punch-red accents.
   ========================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
/* Mono is kept only for small numerals and figure labels */
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0e0e0f;
  --charcoal: #161618;
  --graphite: #1f1f23;
  --graphite-2: #2a2a2f;
  --slate: #5d636b;
  --slate-light: #a3a8ae;
  --paper: #f4f0e8;
  --paper-2: #ebe5d9;
  --white: #fbfaf7;
  --red: #e2231a;          /* punch red: fills, large type */
  --red-bright: #ff4136;   /* small red text on dark */
  --red-deep: #b71b13;     /* red text on light */
  --line-dark: rgba(251, 250, 247, 0.12);
  --line-light: rgba(14, 14, 15, 0.14);

  --f-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1360px;
  --section-y: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--red); color: var(--white); }

:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 2px; }
.section-paper :focus-visible, .section-light :focus-visible { outline-color: var(--red-deep); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: var(--white); padding: 12px 18px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type system ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: 0.012em;
  font-size: clamp(3.35rem, 5.9vw + 0.3rem, 6.6rem);
}
@media (min-width: 960px) { .hero .display .line { white-space: nowrap; } }
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.3vw + 0.6rem, 5.5rem);
  line-height: 1;
  letter-spacing: 0.006em;
  text-wrap: balance;
}
.ital {
  font-style: normal;
  color: var(--red);
}
.section-paper .ital, .section-light .ital { color: var(--red-deep); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.eyebrow-light { color: var(--slate-light); }
.eyebrow .num { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.08em; color: var(--red-deep); }
.eyebrow-light .num { color: var(--red-bright); }
.eyebrow .num::after { content: "/"; margin-left: 14px; color: currentColor; opacity: .5; }
.eyebrow .rule { width: 36px; height: 2px; background: var(--red); display: inline-block; }

.lede-serif {
  font-size: clamp(1.2rem, 0.9vw + 0.85rem, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.body-copy { max-width: 46ch; color: inherit; opacity: .82; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--f-sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  border-radius: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--white));
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-red { --bg: var(--red); --fg: var(--white); --bd: var(--red); --fill: var(--white); }
.btn-red:hover, .btn-red:focus-visible { color: var(--ink); border-color: var(--white); }
.btn-ghost { --fg: var(--white); --bd: rgba(251,250,247,.4); --fill: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--ink); border-color: var(--white); }
.btn-dark { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); --fill: var(--red); }
.btn-dark:hover, .btn-dark:focus-visible { color: var(--white); border-color: var(--red); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 0.72rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(14, 14, 15, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; color: var(--white); }
.brand-word { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-dot { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--red); font-size: 1.28rem; transform: translateY(-0.02em); transition: transform .4s var(--ease); }
.brand:hover .brand-dot { transform: translateY(-0.02em) scale(1.35); }
.brand-lg .brand-word, .brand-lg .brand-dot { font-size: clamp(2rem, 4vw, 3.2rem); }

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.site-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.site-nav ul a {
  position: relative; text-decoration: none;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(251,250,247,.82); padding: 6px 0;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a:focus-visible { color: var(--white); }
.site-nav ul a:hover::after, .site-nav ul a:focus-visible::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 48px; height: 48px; padding: 12px; margin-right: -12px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 60;
  }
  .nav-toggle-bar { display: block; height: 2px; width: 24px; background: var(--white); transition: transform .35s var(--ease); }
  .nav-open .nav-toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-open .nav-toggle-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: var(--header-h) var(--gutter) 48px;
    background: var(--ink);
    visibility: hidden; opacity: 0;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a { font-family: var(--f-display); font-size: clamp(2.4rem, 10vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: 0.01em; color: var(--white); }
  .site-nav ul a::after { height: 4px; }
  .nav-open { overflow: hidden; }
  .nav-open body { overflow: hidden; }
}
/* Without JS, the mobile menu falls back to an inline scrollable row */
@media (max-width: 959px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; background: none; flex-direction: row; padding: 0; }
  html:not(.js) .site-nav ul { display: none; }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: max(720px, 100svh);
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(226,35,26,.10), transparent 55%),
    var(--charcoal);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 56px) clamp(24px, 4vw, 72px) 72px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.display .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.display .line > span { display: inline-block; }
.line-red { color: var(--red); }
.hero-lede {
  margin-top: clamp(28px, 3vw, 40px);
  max-width: 34ch;
  font-size: clamp(1.1rem, 0.6vw + 0.92rem, 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--paper);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 3.4vw, 48px); }
.hero-note {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); max-width: 44ch;
  font-size: 0.86rem; font-weight: 500; line-height: 1.55; color: var(--slate-light);
}
.hero-media { position: relative; overflow: hidden; background: var(--ink); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 45%; filter: grayscale(1) contrast(1.05); }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,14,15,.78) 0%, rgba(14,14,15,0) 20%), linear-gradient(90deg, var(--charcoal) 0%, rgba(22,22,24,0) 22%), linear-gradient(0deg, rgba(14,14,15,.55), transparent 35%);
}
.hero-media::after {
  content: ""; position: absolute; z-index: 2; top: calc(var(--header-h) + 32px); right: 32px; bottom: 32px; width: 3px;
  background: var(--red);
}
.hero-media figcaption { text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.9);
  position: absolute; z-index: 2; left: 32px; bottom: 28px;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper);
}
.hero-media figcaption span { color: var(--red-bright); margin-right: 10px; }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .display .line > span { transform: translateY(105%); animation: rise .95s var(--ease) forwards; }
  .js .hero .display .line:nth-child(2) > span { animation-delay: .08s; }
  .js .hero .display .line:nth-child(3) > span { animation-delay: .2s; }
  .js .hero .display .line:nth-child(4) > span { animation-delay: .28s; }
  .js .hero-lede, .js .hero .cta-row, .js .hero-note, .js .hero .eyebrow { opacity: 0; animation: fade .9s var(--ease) .45s forwards; }
  .js .hero .eyebrow { animation-delay: 0s; }
  .js .hero-media img { transform: scale(1.08); animation: settle 2.2s var(--ease) forwards; }
  .js .hero-media::after { transform: scaleY(0); transform-origin: top; animation: draw 1.2s var(--ease) .5s forwards; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }
@keyframes draw { to { transform: scaleY(1); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; border-block: 1px solid var(--ink); }
.marquee-track {
  display: flex; width: max-content; align-items: baseline; gap: 36px; padding: 16px 0;
  white-space: nowrap; animation: marquee 38s linear infinite;
}
.marquee span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: 0.02em; }
.marquee em { font-style: normal; font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: -0.01em; }
.marquee em::after { content: "\25CF"; font-family: var(--f-sans); font-style: normal; font-size: .5em; margin-left: 36px; vertical-align: middle; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-light { background: var(--paper-2); color: var(--ink); }
.section-graphite { background: var(--graphite); }
.section-ink { background: var(--ink); }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); max-width: 920px; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }

/* ---------- 2. Business behind the content ---------- */
.business-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.business-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.business-intro .h2 { margin-bottom: clamp(28px, 3vw, 40px); }
.business-intro .lede-serif { margin-bottom: 24px; }
.concerns { border-top: 2px solid var(--ink); counter-reset: c; }
.concerns li {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 20px;
  padding: 28px 0 30px; border-bottom: 1px solid var(--line-light);
  position: relative;
}
.concerns li::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.concerns li:hover::before { transform: scaleX(1); }
.c-num { grid-row: span 2; font-family: var(--f-mono); font-size: 0.82rem; font-weight: 500; color: var(--red-deep); padding-top: 6px; }
.concerns h3 { font-family: var(--f-display); font-size: clamp(1.55rem, 1.1vw + 1.1rem, 2rem); font-weight: 700; letter-spacing: 0.005em; line-height: 1.05; margin-bottom: 10px; }
.concerns p { color: #3d3f44; max-width: 54ch; }

/* ---------- 3. What we do ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.practice { position: relative; background: var(--charcoal); border: 1px solid var(--line-dark); display: flex; flex-direction: column; transition: border-color .4s var(--ease), transform .5s var(--ease); }
.practice:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.practice:nth-child(3) { margin-top: clamp(0px, 10vw, 144px); }
.practice-media { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; }
.practice-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.9); transition: transform 1.1s var(--ease), filter .6s; }
.practice:hover .practice-media img { transform: scale(1.05); filter: grayscale(1) contrast(1.15) brightness(1); }
.practice-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, var(--charcoal), transparent); }
.practice-tag {
  position: absolute; z-index: 1; top: 18px; left: 18px;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.4rem;
  background: var(--white); color: var(--ink);
  transition: background .35s, color .35s;
}
.practice:hover .practice-tag { background: var(--red); color: var(--white); }
.labs-badge {
  position: absolute; z-index: 1; top: 18px; right: 18px; padding: 6px 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--red); color: var(--white);
}
.practice-body { padding: 8px clamp(22px, 2.2vw, 32px) clamp(28px, 2.6vw, 36px); position: relative; }
.practice-body h3 { font-family: var(--f-display); font-size: clamp(2rem, 1.4vw + 1.35rem, 2.6rem); font-weight: 700; letter-spacing: 0.004em; line-height: 1; margin-bottom: 14px; }
.practice-body h3::after { content: ""; display: block; width: 40px; height: 3px; background: var(--red); margin-top: 16px; transition: width .5s var(--ease); }
.practice:hover .practice-body h3::after { width: 88px; }
.practice-body p { color: rgba(251,250,247,.76); }
.practice:hover { border-color: rgba(226,35,26,.6); }
.practice-labs { background: linear-gradient(180deg, var(--charcoal), #241514); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-dark); color: var(--slate-light); }

/* ---------- 4. Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.service {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--paper); color: var(--ink);
  transition: background .45s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 6px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service:hover { background: var(--white); }
.service:hover::after, .service:focus-within::after { transform: scaleX(1); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(28px, 3vw, 44px); }
.service-num {
  font-family: var(--f-display); font-weight: 800; line-height: .8; letter-spacing: 0.01em;
  font-size: clamp(4rem, 6vw, 6.4rem);
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s;
}
.service:hover .service-num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.service-price { font-family: var(--f-sans); font-weight: 800; font-size: clamp(1.6rem, 1.1vw + 1.15rem, 2.15rem); line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.service h3 { font-family: var(--f-sans); font-size: clamp(1.3rem, 0.7vw + 1.05rem, 1.65rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.service > p { color: #3d3f44; max-width: 44ch; }
.service-meta { margin: 28px 0 36px; border-top: 1px solid var(--line-light); }
.service-meta div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.service-meta dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding-top: 3px; }
.service-meta dd { font-weight: 600; }
.service-cta { margin-top: auto; align-self: flex-start; }
.service-accent { background: var(--ink); color: var(--white); }
.service-accent:hover { background: #121213; }
.service-accent > p { color: rgba(251,250,247,.76); }
.service-accent .service-num { -webkit-text-stroke-color: var(--white); }
.service-accent .service-meta, .service-accent .service-meta div { border-color: var(--line-dark); }
.service-accent .service-meta dt { color: var(--slate-light); }
.service-accent .btn-dark { --bg: var(--red); --bd: var(--red); --fill: var(--white); }
.service-accent .btn-dark:hover, .service-accent .btn-dark:focus-visible { color: var(--ink); border-color: var(--white); }
.services-note {
  margin-top: 28px; max-width: 72ch;
  font-size: 0.88rem; font-weight: 500; line-height: 1.6; color: #4a4d52;
  padding-left: 16px; border-left: 3px solid var(--red);
}

/* ---------- 5. How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line-dark); }
.step { position: relative; padding-top: 0; }
.step-num {
  position: relative; display: grid; place-items: center;
  width: 68px; height: 68px; margin-bottom: 32px;
  font-family: var(--f-display); font-weight: 800; font-size: 2rem;
  background: var(--ink); color: var(--red-bright); border: 1.5px solid var(--red);
  border-radius: 50%; transition: background .4s, color .4s;
}
.step:hover .step-num { background: var(--red); color: var(--white); }
.step h3 { font-size: clamp(1.08rem, 0.4vw + 0.98rem, 1.25rem); font-weight: 700; letter-spacing: -0.018em; line-height: 1.3; margin-bottom: 12px; text-wrap: balance; }
.step p { color: rgba(251,250,247,.7); font-size: 0.96rem; max-width: 30ch; }

/* ---------- 6. Final CTA ---------- */
.final { position: relative; overflow: hidden; background: var(--ink); padding-block: clamp(120px, 16vw, 220px); isolation: isolate; }
.final-bg, .final-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.final-bg img { object-fit: cover; object-position: 64% 60%; filter: grayscale(1); opacity: .9; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,14,15,.96) 0%, rgba(14,14,15,.82) 40%, rgba(14,14,15,.15) 75%, rgba(14,14,15,.4) 100%);
}
.final::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.display-final { font-size: clamp(3rem, 6vw + 0.3rem, 7.2rem); max-width: 13ch; }
.display-final .line-red { display: block; }
.final-lede { margin-top: 28px; max-width: 42ch; font-size: clamp(1.1rem, 0.6vw + 0.92rem, 1.4rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.012em; color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; }
.footer-tag { margin-top: 16px; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; color: var(--slate-light); }
.footer-h { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 18px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { text-decoration: none; color: var(--white); font-weight: 500; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; word-break: break-word; }
.footer-col a:hover, .footer-col a:focus-visible { background-size: 100% 2px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line-dark); font-size: 0.8rem; font-weight: 500; color: var(--slate-light); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .concerns [data-reveal]:nth-child(2n) { transition-delay: .06s; }
  .js .practice-grid [data-reveal]:nth-child(2), .js .steps [data-reveal]:nth-child(2), .js .service-grid [data-reveal]:nth-child(2) { transition-delay: .1s; }
  .js .practice-grid [data-reveal]:nth-child(3), .js .steps [data-reveal]:nth-child(3), .js .service-grid [data-reveal]:nth-child(3) { transition-delay: .2s; }
  .js .steps [data-reveal]:nth-child(4), .js .service-grid [data-reveal]:nth-child(4) { transition-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: calc(var(--header-h) + 48px) var(--gutter) 56px; order: 1; }
  .hero-media { order: 2; aspect-ratio: 4 / 3.6; }
  .hero-media::before { background: linear-gradient(180deg, var(--charcoal) 0%, rgba(22,22,24,0) 30%); }
  .hero-media::after { top: 24px; right: 20px; bottom: 24px; }
  .hero-media figcaption { left: var(--gutter); bottom: 20px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-intro { position: static; }
  .practice-grid { grid-template-columns: 1fr; gap: 24px; }
  .practice:nth-child(n) { margin-top: 0; }
  .practice { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .practice-media { aspect-ratio: auto; min-height: 320px; }
  .practice-media::after { inset: 0 0 0 auto; width: 40%; height: 100%; background: linear-gradient(270deg, var(--charcoal), transparent); }
  .practice-labs .practice-media::after { background: linear-gradient(270deg, #1e1716, transparent); }
  .practice-body { padding: 32px; align-self: center; }
  .section-head-split { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .service-grid { grid-template-columns: 1fr; }
  .practice { display: flex; }
  .practice-media { aspect-ratio: 4 / 3.4; min-height: 0; }
  .practice-media::after { inset: auto 0 0; width: auto; height: 45%; background: linear-gradient(0deg, var(--charcoal), transparent); }
  .practice-labs .practice-media::after { background: linear-gradient(0deg, #1f1716, transparent); }
  .practice-body { padding: 8px 24px 32px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 36px; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line-dark); }
  .step-num { width: 56px; height: 56px; font-size: 1.3rem; margin: 0; grid-row: span 2; }
  .step h3 { padding-top: 12px; }
  .final::before { background: linear-gradient(180deg, rgba(14,14,15,.94) 0%, rgba(14,14,15,.82) 60%, rgba(14,14,15,.55) 100%); }
  .final-bg img { object-position: 64% 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 1 1 auto; }
  .service-meta div { grid-template-columns: 104px 1fr; }
  .concerns li { grid-template-columns: 44px 1fr; column-gap: 12px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .marquee-track { gap: 24px; }
}

/* ---------- Legal pages ---------- */
.legal { background: var(--paper); color: var(--ink); padding: calc(var(--header-h) + 72px) 0 var(--section-y); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: .9; font-size: clamp(3rem, 6vw, 5.2rem); margin-bottom: 20px; }
.legal h2 { font-family: var(--f-display); font-size: 1.75rem; font-weight: 700; letter-spacing: 0.005em; line-height: 1.1; margin: 44px 0 12px; }
.legal p, .legal li { color: #34363b; max-width: 68ch; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--red-deep); }
.draft-banner { font-size: 0.86rem; font-weight: 600; background: var(--ink); color: var(--paper); padding: 14px 18px; border-left: 4px solid var(--red); margin: 24px 0 8px; }
.legal-meta { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--slate); }
.site-header.is-solid-always { background: var(--ink); border-bottom-color: var(--line-dark); }
.final { border-top: 1px solid var(--line-dark); }
.site-header .brand { position: relative; z-index: 60; }

