/* ============================================================
   BlackTrace Operations — styles.css (Revamped)
   Aesthetic: Editorial / Intelligence-Agency
   Palette: Warm off-white, deep charcoal, blood red
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --cream:     #f5f0e8;
  --cream-mid: #ede7d8;
  --cream-dark:#d6cbb8;
  --ink:       #141210;
  --ink-mid:   #2c2824;
  --ink-soft:  #5a5249;
  --red:       #8b1a1a;
  --red-light: #b52323;
  --red-faint: rgba(139,26,26,.08);
  --white:     #fdfaf5;
  --rule:      rgba(20,18,16,.12);
  --rule-heavy:rgba(20,18,16,.25);

  --max:       1160px;
  --header-h:  95px;
  --radius:    4px;
  --radius-lg: 8px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ===== Typography ===== */
h1, h4 {
  font-family: 'Bebas Neue', Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(48px, 7vw, 92px); font-weight: 400; }
h2 { font-size: clamp(22px, 3vw, 38px); font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-size: clamp(17px, 1.8vw, 22px); font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}

.lead {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 70ch;
}

.muted { color: var(--ink-soft); }
.eyebrow.centered {
  justify-content: center;
}
.eyebrow.centered::before {
  display: none;
}

p { line-height: 1.7; }

ul {
  list-style: none;
  padding: 0;
}
ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-mid);
  font-size: 15px;
}
ul li:first-child { border-top: 1px solid var(--rule); }
ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
}

strong { font-weight: 600; color: var(--ink); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #1c1916;
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-top: 3px solid var(--red);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 85px; width: auto; }

/* ===== Nav ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245,240,232,.55);
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color .2s, border-color .2s, background .2s;
}
.nav a:hover {
  color: var(--cream);
  border-color: rgba(245,240,232,.12);
  background: rgba(245,240,232,.05);
}
.nav a.active {
  color: var(--cream);
  border-color: rgba(139,26,26,.5);
  background: rgba(139,26,26,.12);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 36px;
  border: 1px solid rgba(245,240,232,.18);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-mid);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,240,232,.3);
}
.btn-outline-cream:hover {
  background: rgba(245,240,232,.08);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===== Hero ===== */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red-light);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero .lead {
  color: rgba(245,240,232,.70);
  font-size: 18px;
  margin-bottom: 28px;
}

.hero-rule {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 24px 0;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(245,240,232,.12);
  padding-left: 40px;
}

.hero-stat {
  padding: 20px 0;
  border-bottom: 1px solid rgba(245,240,232,.08);
}
.hero-stat:first-child { padding-top: 0; }
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'Bebas Neue', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 13px;
  color: rgba(245,240,232,.5);
  line-height: 1.4;
}

.hero-trust {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(245,240,232,.55);
  font-family: 'DM Mono', monospace;
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-light);
  flex-shrink: 0;
}

/* ===== Section System ===== */
.section {
  padding: 88px 0;
}

.section-cream { background: var(--cream); }
.section-white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-dark  { background: var(--ink); color: var(--cream); }
.section-ink   { background: var(--ink-mid); color: var(--cream); }

.section-head {
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
  font-size: 14px;
}

.section-head p {
  margin-top: 16px;
  max-width: 55ch;
  color: var(--ink-soft);
  font-size: 16px;
}

.section-dark .section-head p,
.section-ink .section-head p {
  color: rgba(245,240,232,.55);
}

.section-dark .eyebrow,
.section-ink .eyebrow {
  color: rgba(245,240,232,.4);
}
.section-dark .eyebrow::before,
.section-ink .eyebrow::before {
  background: var(--red-light);
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-heavy);
  border: 1px solid var(--rule-heavy);
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
  transition: background .2s;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 32px; right: 32px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.service-card:hover { background: var(--cream); }
.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
}
.service-link:hover { gap: 12px; color: var(--red-light); }
.service-link::after { content: "→"; }

/* ===== Split layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.split-text {
  padding: 72px 64px 72px 0;
}

.split-panel {
  padding: 72px 0 72px 64px;
  border-left: 1px solid var(--rule);
}

.split-panel-dark {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 48px;
}

/* ===== Process steps ===== */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .2s;
}
.process-step:last-child { border-bottom: none; }

.process-step:hover .step-num { background: var(--red); color: var(--cream); }

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-heavy);
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
  margin-top: 2px;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}

.step-content p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Who we work with ===== */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.who-card {
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--white);
  transition: border-color .2s, background .2s;
}

.who-card:hover {
  border-color: var(--red);
  background: var(--cream);
}

.who-icon {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream);
  background: var(--red);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.who-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--ink);
}

.who-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ===== Stat bar ===== */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,240,232,.08);
  border-bottom: 1px solid rgba(245,240,232,.08);
  margin: 64px 0;
}

.stat-bar-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(245,240,232,.08);
}
.stat-bar-item:last-child { border-right: none; }

.stat-bar-num {
  font-family: 'Bebas Neue', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-bar-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
}

/* ===== CTA section ===== */
.cta-section {
  background: var(--red);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(253,250,245,.7);
  font-size: 17px;
  max-width: 55ch;
  margin: 0 auto 32px;
}

/* ===== FAQ accordion ===== */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--rule); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
  transition: color .2s;
}
.faq-q:hover { color: var(--red); }

.faq-q::after {
  content: "+";
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-a p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* ===== Contact form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 64px;
  align-items: start;
}

.contact-sidebar {
  padding-left: 48px;
  border-left: 1px solid var(--rule);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 40px;
}

.field {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.req { color: var(--red); }

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--rule-heavy);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
}

.form-actions {
  margin-top: 4px;
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
}

.form-fineprint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.5;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0; width: 0;
  pointer-events: none;
}

/* Contact sidebar */
.sidebar-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.sidebar-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.sidebar-block h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--ink);
}

.sidebar-block p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.next-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.next-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--cream);
  flex-shrink: 0;
}

.next-step strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--ink);
}

.next-step p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.prefer-email-row {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.prefer-email-row h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(270deg, rgba(139,26,26,.08) 0%, transparent 100%);
  pointer-events: none;
}

.page-hero .eyebrow { color: rgba(245,240,232,.4); }
.page-hero .eyebrow::before { background: var(--red-light); }

.page-hero h1 { color: var(--white); margin-bottom: 16px; }

.page-hero .lead {
  color: rgba(245,240,232,.65);
  font-size: clamp(16px, 2vw, 20px);
}

.page-hero .muted {
  color: rgba(245,240,232,.4);
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ===== Prose content ===== */
.prose {
  padding: 72px 0;
}

.prose-narrow {
  max-width: 720px;
}

.prose-narrow > * + * { margin-top: 20px; }

.prose-narrow h2 {
  margin-top: 48px;
  font-size: clamp(22px, 3vw, 30px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.prose-narrow p {
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.75;
}

.prose-narrow .muted {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ===== Services page blocks ===== */
.service-block {
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 36px;
  margin: 24px 0;
  position: relative;
}

.service-block::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
}

.service-block h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.service-subhead {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.service-block p {
  color: var(--ink-mid);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ===== Approach blocks ===== */
.approach-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.approach-block:first-child { border-top: 1px solid var(--rule); }

.approach-num {
  font-family: 'Bebas Neue', serif;
  font-size: 60px;
  font-weight: 900;
  color: var(--cream-dark);
  line-height: 1;
}

.approach-block h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}

.approach-block p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 10px;
}

/* ===== Deliverables ===== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-heavy);
  border: 1px solid var(--rule-heavy);
  margin: 32px 0;
}

.deliverable {
  background: var(--cream);
  padding: 28px 24px;
}

.deliverable-icon {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.deliverable h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.deliverable p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== HR ===== */
.hr-split {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 40px 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(245,240,232,.5);
  padding: 28px 0;
  border-top: 2px solid var(--red);
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-inner a {
  color: rgba(245,240,232,.45);
  transition: color .2s;
}
.footer-inner a:hover { color: var(--cream); }

/* ===== Cookie notice ===== */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: min(440px, calc(100% - 40px));
  background: var(--ink);
  border: 1px solid rgba(245,240,232,.1);
  border-top: 2px solid var(--red);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity .3s ease, transform .3s ease;
}

.cookie-notice.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.cookie-text {
  font-size: 13px;
  color: rgba(245,240,232,.55);
  line-height: 1.55;
}

.cookie-text a {
  color: rgba(245,240,232,.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  background: var(--red);
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.cookie-btn:hover { background: var(--red-light); }

.cookie-dismiss {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.cookie-dismiss:hover { color: rgba(245,240,232,.6); }

/* ===== Principles (about) ===== */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 24px 0;
}

.principle {
  background: var(--cream);
  padding: 28px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.principle:nth-child(even) { background: var(--white); }

.principle-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

.principle h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.principle p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Responsive ===== */

/* ============================================================
   RESPONSIVE — Mobile overrides
   ============================================================ */

/* Layout utility classes */
.two-col        { display: grid; grid-template-columns: 1fr 1fr;   gap: 80px; align-items: start; }
.two-col-narrow { display: grid; grid-template-columns: 1fr 2fr;   gap: 80px; align-items: start; }
.two-col-wide   { display: grid; grid-template-columns: 2fr 1fr;   gap: 80px; align-items: start; }
.two-col-equal  { display: grid; grid-template-columns: 1fr 1fr;   gap: 48px; align-items: start; }

/* ── 1024px ── */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: 1fr; }
  .who-grid            { grid-template-columns: 1fr 1fr; }
  .stat-bar            { grid-template-columns: 1fr 1fr; }
  .stat-bar-item       { border-bottom: 1px solid rgba(245,240,232,.08); }
  .deliverables-grid   { grid-template-columns: 1fr; }
  .principles-grid     { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .contact-sidebar     { padding-left: 0; border-left: none; border-top: 1px solid var(--rule); padding-top: 36px; }
  .deliverables-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .two-col-narrow      { grid-template-columns: 1fr; gap: 48px; }
  .two-col-wide        { grid-template-columns: 1fr; gap: 48px; }
}

/* ── 860px ── */
@media (max-width: 860px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats    { border-left: none; padding-left: 0; border-top: 1px solid rgba(245,240,232,.1); padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .hero-stat     { border-right: none; border-bottom: 1px solid rgba(245,240,232,.08); padding: 16px 12px; }
  .hero-stat:nth-child(odd)  { border-right: 1px solid rgba(245,240,232,.08); }
  .hero-stat:nth-child(even) { border-right: none; }
  .hero-stat:last-child      { border-bottom: none; }
  .hero-stat:nth-last-child(2) { border-bottom: none; }
  .split         { grid-template-columns: 1fr; }
  .who-grid      { grid-template-columns: 1fr 1fr; }
  .form-grid     { grid-template-columns: 1fr; }
  .two-col       { grid-template-columns: 1fr; gap: 40px; }
  .two-col-equal { grid-template-columns: 1fr; gap: 0; }
  .two-col-equal > div { padding: 32px 0; border-bottom: 1px solid var(--rule); }
  .two-col-equal > div:last-child { border-bottom: none; padding-bottom: 0; }
  .two-col-equal > div:first-child { padding-top: 0; }
}

/* ── 720px ── */
@media (max-width: 720px) {
  .nav       { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) + 4px);
    right: 16px;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    background: var(--ink-mid);
    border: 1px solid rgba(245,240,232,.1);
    min-width: 180px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    z-index: 200;
  }

  .hero      { padding: 48px 0 40px; }
  .section   { padding: 48px 0; }
  .prose     { padding: 40px 0; }
  .page-hero { padding: 40px 0 32px; }

  .who-grid           { grid-template-columns: 1fr; }
  .services-grid      { grid-template-columns: 1fr; }

  /* Deliverables - 5th item full width in 2-col, no phantom box */
  .deliverables-grid-5                        { grid-template-columns: 1fr 1fr; }
  .deliverables-grid-5 .deliverable:nth-child(5) { grid-column: 1 / -1; }

  /* Dark deliverables - remove inline bg override, use borders */
  .section-dark .deliverables-grid-5 {
    background: transparent !important;
    gap: 0;
  }
  .section-dark .deliverables-grid-5 .deliverable {
    border: 1px solid rgba(245,240,232,.08);
    margin-bottom: 1px;
  }

  .service-block     { padding: 20px; }
  .contact-form-wrap { padding: 20px; }
  .footer-inner      { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links      { gap: 16px; }
  .section-head      { margin-bottom: 36px; }
  .faq-list          { margin-top: 40px; }

  /* About principles sidebar */
  .principles-sidebar { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--rule); }

  .process-step  { grid-template-columns: 40px 1fr; gap: 16px; }
  .approach-block { padding-left: 0; border-left: none; border-top: 2px solid var(--rule); padding-top: 24px; }

  .btn-row       { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn           { width: 100%; justify-content: center; text-align: center; }

  .cookie-notice { left: 12px; right: 12px; bottom: 12px; }

  .stat-bar      { grid-template-columns: 1fr 1fr; }
  .stat-bar-item { border-right: none; border-bottom: 1px solid rgba(245,240,232,.08); padding: 20px 16px; }
  .stat-bar-item:nth-child(odd)  { border-right: 1px solid rgba(245,240,232,.08); }
  .stat-bar-item:nth-child(even) { border-right: none; }
  .stat-bar-item:last-child      { border-bottom: none; }
  .stat-bar-item:nth-last-child(2) { border-bottom: none; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  :root { --header-h: 72px; }

  .brand-logo  { height: 60px; }
  .container   { padding: 0 16px; }

  h1 { font-size: clamp(34px, 10vw, 52px); }
  h2 { font-size: clamp(20px, 6vw, 28px); }

  .hero      { padding: 32px 0 28px; }
  .page-hero { padding: 28px 0 24px; }
  .section   { padding: 36px 0; }

  /* Hero stats - single column at very small */
  .hero-stats  { grid-template-columns: 1fr; }
  .hero-stat   { border-right: none !important; border-bottom: 1px solid rgba(245,240,232,.08); padding: 14px 0; }
  .hero-stat:last-child { border-bottom: none; }
  .hero-stat:nth-last-child(2) { border-bottom: 1px solid rgba(245,240,232,.08); }
  .stat-label  { font-size: 9px; }
  .stat-value  { font-size: 18px; }
  .stat-desc   { font-size: 11px; }

  /* Stat bar single column */
  .stat-bar      { grid-template-columns: 1fr; }
  .stat-bar-item { border-right: none !important; border-bottom: 1px solid rgba(245,240,232,.08); }
  .stat-bar-item:last-child { border-bottom: none; }
  .stat-bar-item:nth-last-child(2) { border-bottom: 1px solid rgba(245,240,232,.08); }

  /* Deliverables single column - no phantom box possible */
  .deliverables-grid-5 { grid-template-columns: 1fr; }
  .deliverables-grid-5 .deliverable:nth-child(5) { grid-column: auto; }

  .who-grid     { grid-template-columns: 1fr; }
  .service-card { padding: 20px; }
  .deliverable  { padding: 20px; }
  .principle    { padding: 20px; }
  .faq-q        { font-size: 15px; }
  .process-step { grid-template-columns: 36px 1fr; gap: 12px; }
  .step-num     { font-size: 28px; }
  .approach-num { font-size: 40px; }
  .btn          { font-size: 13px; padding: 12px 20px; }
  .btn-row      { gap: 8px; }
  .next-step    { gap: 12px; }
  .next-num     { width: 28px; height: 28px; font-size: 12px; flex-shrink: 0; }
  .cta-section  { padding: 48px 0; }
  .cta-section h2 { font-size: clamp(22px, 7vw, 34px); }
  .prefer-email-row { margin-top: 24px; padding-top: 24px; }
  .cookie-notice { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .footer-inner  { font-size: 13px; }
}
