:root {
  --ink: #080a0d;
  --graphite: #12161b;
  --panel: #1a2027;
  --paper: #f3efe7;
  --white: #fcfcfa;
  --steel: #9da4ad;
  --volt: #c7ff35;
  --orange: #ff5a24;
  --error: #d64545;
  --success: #4ebc76;
  --line-dark: rgba(243, 239, 231, 0.16);
  --line-light: rgba(8, 10, 13, 0.18);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1420px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--volt); color: var(--ink); }

.sr-only {
  position: absolute !important;
  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;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--volt);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 10, 13, .94);
  backdrop-filter: blur(12px);
  border-color: var(--line-dark);
}
.header-shell {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  line-height: .83;
  min-width: 118px;
  color: var(--white);
}
.brand-mark__main {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: .035em;
  font-weight: 800;
}
.brand-mark__sub {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .38em;
  color: var(--volt);
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(252, 252, 250, .78);
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--volt);
  transition: right .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active { color: var(--white); }
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after { right: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
}
.button--small { min-height: 42px; padding: 0 17px; font-size: 10px; }
.button--volt { background: var(--volt); color: var(--ink); }
.button--volt:hover { background: var(--white); }
.button--ghost { border-color: rgba(252,252,250,.38); color: var(--white); }
.button--ghost:hover { border-color: var(--volt); color: var(--volt); }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { background: var(--graphite); }
.button--dark-outline { border-color: var(--ink); color: var(--ink); }
.button--dark-outline:hover { background: var(--ink); color: var(--white); }
.button--full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.menu-toggle,
.menu-close { display: none; }
.mobile-menu { position: fixed; inset: 0; background: var(--ink); z-index: 1100; }
.mobile-menu__inner { min-height: 100%; padding: 22px; display: flex; flex-direction: column; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav { display: grid; gap: 0; margin: 32px 0 auto; }
.mobile-menu nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-size: clamp(32px, 8vw, 52px); line-height: 1; text-transform: uppercase; }

main { display: block; }
.section-shell { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.section { padding: 118px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-label,
.eyebrow,
.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--volt);
  margin-bottom: 26px;
}
.section-label::after { content: ""; width: 72px; height: 1px; background: currentColor; }
.section-label--dark { color: var(--ink); }
.eyebrow { color: var(--volt); margin-bottom: 26px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .93;
}
h1 { font-size: clamp(64px, 8.2vw, 132px); margin-bottom: 28px; }
h2 { font-size: clamp(52px, 6.4vw, 96px); margin-bottom: 30px; }
h3 { font-size: clamp(27px, 3vw, 42px); }
.lead, .hero-lead { font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.hero-lead { max-width: 760px; color: rgba(243,239,231,.78); }
.text-link { display: inline-flex; gap: 15px; margin-top: 38px; font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.text-link span { color: var(--orange); transition: transform .18s ease; }
.text-link:hover span { transform: translateX(6px); }
.small-note { max-width: 980px; margin-top: 34px; font-size: 14px; }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header) + 78px) 0 86px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(42px, 6vw, 105px); align-items: center; }
.hero h1 span { color: var(--volt); }
.hero-copy { max-width: 850px; }
.credibility-line { max-width: 680px; margin: 28px 0 0; color: var(--steel); font-size: 13px; }
.hero-diagnostic {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 100px rgba(0,0,0,.32);
}
.hero-diagnostic::before,
.hero-diagnostic::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-diagnostic::before { inset: -18px 18px 18px -18px; border: 1px solid rgba(199,255,53,.32); z-index: -1; }
.hero-diagnostic::after { width: 1px; height: 70px; right: 38px; top: -36px; background: var(--volt); }
.diagnostic-top,
.diagnostic-footer { padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.diagnostic-top { border-bottom: 1px solid var(--line-dark); }
.diagnostic-footer { border-top: 1px solid var(--line-dark); color: var(--steel); font-family: var(--mono); font-size: 9px; }
.live-dot { font-family: var(--mono); font-size: 9px; color: var(--volt); }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--volt); border-radius: 50%; box-shadow: 0 0 0 5px rgba(199,255,53,.1); }
.diagnostic-stage { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; padding: 25px 22px; border-bottom: 1px solid var(--line-dark); }
.diagnostic-stage span { grid-row: 1 / 3; font-family: var(--mono); color: var(--volt); }
.diagnostic-stage strong { font-family: var(--display); font-size: 28px; line-height: 1; }
.diagnostic-stage em { color: var(--steel); font-size: 12px; font-style: normal; }
.pulse-line { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--volt), transparent); animation: pulseLine 2.4s linear infinite; }
@keyframes pulseLine { 0% { opacity: .25; transform: translateX(-12px); } 50% { opacity: 1; } 100% { opacity: .25; transform: translateX(12px); } }

.split-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; margin-bottom: 65px; }
.split-heading h2 { margin: 0; }
.split-heading p { margin: 0 0 8px; max-width: 520px; }
.split-heading--light p { color: rgba(243,239,231,.7); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.problem-grid article { min-height: 210px; padding: 28px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.problem-grid article span { font-family: var(--mono); color: var(--orange); font-size: 11px; }
.problem-grid article h3 { margin: 52px 0 0; font-size: clamp(24px,2.3vw,36px); }

.pressure-test { background: var(--volt); color: var(--ink); padding: 102px 0 34px; }
.pressure-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; }
.pressure-grid h2 { font-size: clamp(50px,6vw,88px); }
.pressure-grid p { max-width: 680px; }
.diagnostic-list { border-top: 1px solid rgba(8,10,13,.35); }
.diagnostic-list div { display: grid; grid-template-columns: 52px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(8,10,13,.35); }
.diagnostic-list span { font-family: var(--mono); }
.boundary-note { margin: 52px 0 0; padding-top: 24px; border-top: 1px solid rgba(8,10,13,.28); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }

.service-stack { border-top: 1px solid var(--line-dark); }
.service-module { display: grid; grid-template-columns: 110px 1fr auto; gap: 34px; align-items: center; padding: 42px 0; border-bottom: 1px solid var(--line-dark); }
.service-number { font-family: var(--mono); color: var(--volt); font-size: 14px; }
.service-module h3 { margin: 0 0 14px; font-size: clamp(36px,4vw,62px); }
.service-module p { max-width: 800px; margin: 0; color: rgba(243,239,231,.7); }

.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.experience-card { min-height: 390px; padding: 30px; border: 1px solid var(--line-light); display: flex; flex-direction: column; }
.case-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; color: var(--orange); }
.experience-card h3 { margin: 56px 0 22px; }
.experience-card p { color: rgba(8,10,13,.72); }
.case-status { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }

.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.process-list li > span { font-family: var(--mono); color: var(--volt); }
.process-list h3 { margin: 0 0 7px; font-size: clamp(28px,3vw,45px); }
.process-list p { margin: 0; color: rgba(243,239,231,.66); max-width: 800px; }
.process-list--light { border-color: var(--line-light); }
.process-list--light li { border-color: var(--line-light); }
.process-list--light p { color: rgba(8,10,13,.7); }
.operating-boundary { max-width: 980px; margin: 46px 0 0; padding: 26px; border-left: 3px solid var(--volt); background: var(--panel); }

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comparison { padding: 36px; border: 1px solid var(--line-light); }
.comparison h3 { margin: 0 0 30px; }
.comparison ul, .fit-grid ul, .two-column-lists ul { list-style: none; padding: 0; margin: 0; }
.comparison li, .fit-grid li, .check-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid rgba(8,10,13,.1); }
.comparison li::before, .fit-grid li::before, .check-list li::before { content: "—"; position: absolute; left: 0; color: var(--orange); }
.comparison--yes { background: var(--ink); color: var(--white); border-color: var(--ink); }
.comparison--yes li { border-color: var(--line-dark); }
.comparison--yes li::before { color: var(--volt); }
.comparison-grid--dark .comparison { border-color: var(--line-dark); }
.comparison-grid--dark .comparison li { border-color: var(--line-dark); }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.principle-stack { border-top: 1px solid var(--line-dark); }
.principle-stack div { display: grid; grid-template-columns: 42px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line-dark); }
.principle-stack span { font-family: var(--mono); color: var(--volt); }
.principle-stack strong { font-family: var(--display); font-size: clamp(26px,3vw,40px); text-transform: uppercase; line-height: 1; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 52px; }
.fit-grid > div { border-top: 4px solid var(--ink); padding-top: 24px; }
.fit-grid h3 { font-size: 42px; }

.inquiry-section { padding: 118px 0; background: var(--graphite); color: var(--paper); }
.inquiry-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.inquiry-note { display: flex; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--steel); font-size: 13px; }
.status-dot { flex: 0 0 8px; height: 8px; margin-top: 7px; background: var(--volt); border-radius: 50%; }
.inquiry-form { padding: 34px; background: var(--ink); border: 1px solid var(--line-dark); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.field-grid { display: grid; gap: 16px; }
.field-grid--2 { grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.field label span { color: var(--steel); text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(243,239,231,.24);
  border-radius: 0;
  background: var(--panel);
  color: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,239,231,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { display: block; min-height: 18px; color: #ff8a8a; font-size: 12px; }
.field-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 6px; color: var(--steel); font-size: 11px; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 4px 0 18px; font-size: 12px; color: rgba(243,239,231,.72); }
.check-row input { width: 18px; height: 18px; accent-color: var(--volt); }
.form-footnote { margin: 13px 0 0; color: var(--steel); font-size: 11px; }
.form-status { margin-top: 16px; min-height: 24px; padding: 0; font-size: 13px; }
.form-status.is-info, .form-status.is-error, .form-status.is-success { padding: 13px 14px; border-left: 3px solid; }
.form-status.is-info { border-color: var(--volt); background: rgba(199,255,53,.08); }
.form-status.is-error { border-color: var(--error); background: rgba(214,69,69,.1); }
.form-status.is-success { border-color: var(--success); background: rgba(78,188,118,.1); }

.final-cta { padding: 86px 0; background: var(--volt); color: var(--ink); }
.final-cta__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.final-cta h2 { font-size: clamp(44px,5vw,76px); margin-bottom: 14px; }
.final-cta p { margin: 0; max-width: 820px; }

.site-footer { padding: 72px 0 26px; background: var(--ink); border-top: 1px solid var(--line-dark); }
.footer-grid { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 45px; }
.brand-mark--footer { margin-bottom: 20px; }
.footer-position { max-width: 330px; color: var(--steel); }
.footer-heading { margin-bottom: 16px; font-family: var(--mono); font-size: 10px; color: var(--volt); text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(243,239,231,.72); font-size: 13px; }
.footer-grid a:hover { color: var(--volt); }
.footer-bottom { width: min(var(--max), calc(100% - 56px)); margin: 50px auto 0; padding-top: 23px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; color: var(--steel); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.footer-bottom p { margin: 0; }

.service-hero { padding: calc(var(--header) + 95px) 0 100px; min-height: 78svh; display: grid; align-items: center; }
.service-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.service-hero h1 { font-size: clamp(62px,7.5vw,116px); }
.service-blueprint { border: 1px solid var(--line-dark); background: var(--panel); padding: 26px; }
.service-blueprint > span { display: block; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); color: var(--steel); }
.service-blueprint div { display: grid; grid-template-columns: 45px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.service-blueprint b { color: var(--volt); font-family: var(--mono); font-weight: 500; }
.service-blueprint strong { font-family: var(--display); font-size: 30px; }
.service-blueprint p { margin: 22px 0 0; color: var(--steel); font-size: 12px; }
.two-column-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.two-column-lists > div { padding-top: 24px; border-top: 3px solid var(--ink); }
.two-column-lists h3 { font-size: 38px; }
.deliverable-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.deliverable-grid div { min-height: 130px; padding: 22px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: space-between; }
.deliverable-grid span { color: var(--volt); font-family: var(--mono); font-size: 10px; }
.deliverable-grid strong { font-family: var(--display); text-transform: uppercase; font-size: 25px; line-height: 1; }

.case-study { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.case-study--dark .case-details div { border-color: var(--line-dark); }
.case-details { border-top: 1px solid var(--line-light); }
.case-details div { padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.case-details span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 10px; color: var(--orange); }
.case-details p { margin: 0; }
.case-study--dark .case-details { border-color: var(--line-dark); }
.case-study--dark .case-details p { color: rgba(243,239,231,.72); }
.portfolio-rules { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.portfolio-rules div { padding: 28px; border: 1px solid var(--line-dark); }
.portfolio-rules strong { display: block; margin-bottom: 14px; color: var(--volt); font-family: var(--mono); font-size: 11px; }
.portfolio-rules p { margin: 0; color: rgba(243,239,231,.68); }

.legal-hero { padding: calc(var(--header) + 110px) 0 90px; }
.legal-hero h1 { max-width: 1000px; }
.legal-copy { max-width: 930px; }
.legal-copy h2 { margin: 56px 0 16px; font-size: clamp(36px,4vw,58px); }
.legal-copy p { font-size: 17px; }
.not-found { min-height: 100svh; display: grid; align-items: center; padding-top: var(--header); }
.not-found h1 { color: var(--volt); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .desktop-cta { margin-left: auto; }
  .menu-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; background: transparent; border: 1px solid var(--line-dark); }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 1px; background: var(--white); display: block; margin: 3px; }
  .menu-close { display: inline-flex; min-width: 70px; min-height: 44px; align-items: center; justify-content: center; background: transparent; color: var(--white); border: 1px solid var(--line-dark); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
  .hero-grid, .service-hero__grid { grid-template-columns: 1fr 1fr; gap: 52px; }
  .service-module { grid-template-columns: 70px 1fr; }
  .service-module .button { grid-column: 2; justify-self: start; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .experience-card:last-child { grid-column: 1 / -1; min-height: 260px; }
}

@media (max-width: 900px) {
  :root { --header: 70px; }
  .section { padding: 86px 0; }
  .section-shell { width: min(var(--max), calc(100% - 36px)); }
  .hero { min-height: auto; padding-top: calc(var(--header) + 58px); }
  .hero-grid, .service-hero__grid, .pressure-grid, .about-grid, .inquiry-grid, .case-study { grid-template-columns: 1fr; }
  .hero-diagnostic { max-width: 680px; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card:last-child { grid-column: auto; }
  .service-module { grid-template-columns: 55px 1fr; }
  .comparison-grid, .fit-grid, .two-column-lists { grid-template-columns: 1fr; gap: 18px; }
  .deliverable-grid { grid-template-columns: 1fr 1fr; }
  .final-cta__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
  .service-hero { min-height: auto; }
}

@media (max-width: 640px) {
  .header-shell { padding: 0 18px; gap: 12px; }
  .desktop-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand-mark__main { font-size: 24px; }
  h1 { font-size: clamp(56px, 18vw, 82px); }
  h2 { font-size: clamp(44px, 14vw, 65px); }
  .hero { padding-bottom: 62px; }
  .hero-grid { gap: 48px; }
  .hero-diagnostic::before { display: none; }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid article { min-height: 165px; }
  .problem-grid article h3 { margin-top: 36px; }
  .service-module { grid-template-columns: 1fr; gap: 16px; }
  .service-module .button { grid-column: 1; }
  .service-number { font-size: 11px; }
  .process-list li { grid-template-columns: 42px 1fr; gap: 14px; }
  .comparison, .inquiry-form { padding: 24px; }
  .field-grid--2 { grid-template-columns: 1fr; }
  .final-cta { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .deliverable-grid { grid-template-columns: 1fr; }
  .service-hero { padding-top: calc(var(--header) + 62px); }
  .service-blueprint { padding: 18px; }
  .portfolio-rules { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .section-shell, .footer-grid, .footer-bottom { width: calc(100% - 28px); }
  .button { padding-left: 16px; padding-right: 16px; }
  .diagnostic-stage { grid-template-columns: 28px 1fr; padding-left: 16px; padding-right: 16px; }
}

@media print {
  .site-header, .site-footer, .button, .mobile-menu, .final-cta { display: none !important; }
  body, .section-dark, .section-paper, .inquiry-section { background: white !important; color: black !important; }
  main { padding: 0; }
  a { color: black !important; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ===== RESPONSIVE, ACCESSIBILITY, AND RELEASE ENHANCEMENTS ===== */
section[id] { scroll-margin-top: calc(var(--header) + 18px); }
.section-shell,
.hero-grid > *,
.service-hero__grid > *,
.pressure-grid > *,
.split-heading > *,
.about-grid > *,
.inquiry-grid > *,
.case-study > *,
.final-cta__grid > * { min-width: 0; }
h1, h2, h3 { text-wrap: balance; max-width: 100%; }
p, li { text-wrap: pretty; }
.field input,
.field select,
.field textarea { min-width: 0; max-width: 100%; }
.hero-proof-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.hero-proof-row span { padding: 7px 10px; border: 1px solid var(--line-dark); color: rgba(243,239,231,.76); font-family: var(--mono); font-size: 9px; line-height: 1.2; letter-spacing: .045em; text-transform: uppercase; }
.policy-updated { margin-top: 24px; color: var(--steel); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.noscript-note { margin: 12px 0; padding: 12px 14px; border-left: 3px solid var(--orange); background: rgba(255,90,36,.08); color: rgba(243,239,231,.78); font-size: 12px; }
.legal-copy a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mobile-pressure-cta { display: none; }

@media (max-width: 640px) {
  h1 { font-size: clamp(50px, 15vw, 72px); }
  h2 { font-size: clamp(40px, 12vw, 58px); }
  h3 { font-size: clamp(25px, 8.5vw, 38px); }
  .service-hero h1 { font-size: clamp(46px, 13.5vw, 66px); }
  .legal-hero h1 { font-size: clamp(44px, 12.5vw, 62px); }
  .split-heading h2, .case-study h2 { font-size: clamp(39px, 11.5vw, 56px); }
  .section-label, .eyebrow { max-width: 100%; overflow-wrap: anywhere; }
  .mobile-pressure-cta {
    position: fixed;
    z-index: 980;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    background: var(--volt);
    color: var(--ink);
    border: 1px solid var(--ink);
    box-shadow: 0 14px 36px rgba(0,0,0,.34);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
    transform: translateY(calc(100% + 28px));
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .mobile-pressure-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.has-mobile-cta { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .service-blueprint, .hero-diagnostic, .inquiry-form, .comparison { max-width: 100%; }
  .footer-grid, .footer-bottom { min-width: 0; }
}

@media (max-width: 430px) {
  .section-shell { width: calc(100% - 32px); }
  .footer-grid, .footer-bottom { width: calc(100% - 32px); }
  .service-hero h1, .legal-hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .split-heading h2, .case-study h2 { font-size: clamp(37px, 10.8vw, 52px); }
  .hero-lead, .lead { font-size: 17px; }
  .field-meta { flex-direction: column; gap: 2px; }
}

@media (max-width: 340px) {
  .experience-section .split-heading h2 { font-size: 33px; letter-spacing: -.035em; }
}
