/* We Build It — Direction B · Blueprint
   Tokens from the brand sheet. No rounded corners, shadows, gradients or glows. */
:root {
  --white: #FBFBF8;
  --paper: #FFFFFF;
  --ink: #0B0D17;
  --body: #2A2E3F;
  --graphite: #4A4F63;
  --rule: #C9CEDF;
  --cobalt: #1530E0;
  --cobalt-dark: #0A1A8F;
  --wash: #EEF1FF;
  --grid: #E3E7F7;
  --sans: Archivo, "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1320px;
  --gutter: 32px;
  --section: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); }
a:hover { color: var(--cobalt-dark); }
input, textarea, button { font: inherit; }
p, h1, h2, h3, figure, blockquote { margin: 0; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.btn--primary:focus-visible, .nav__cta:focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 16px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }
.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;
}

/* ---------- Layout + type primitives ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); }
.bp-grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.rule-b { border-bottom: 1px solid var(--ink); }

.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 13px; color: var(--graphite); }
.label--accent { color: var(--cobalt); }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--cobalt); margin-bottom: 24px; }
.lede { font-size: 20px; color: var(--body); max-width: 540px; }
.muted { color: var(--body); }

.display {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: -0.035em; line-height: 0.92;
  overflow-wrap: break-word;
}
.h1 { font-size: clamp(44px, 6.2vw, 92px); }
.h2 { font-size: clamp(32px, 4vw, 56px); line-height: 0.98; letter-spacing: -0.03em; }
.h2--fixed { font-size: 40px; }
.h3 { font-weight: 800; font-stretch: 112%; font-size: 28px; line-height: 1.1; }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.section-head p { max-width: 460px; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 24px;
  font-weight: 600; text-decoration: none; border: 1px solid var(--ink);
  cursor: pointer;
}
.btn--primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); color: #fff; }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--ghost:hover { background: var(--wash); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 16px; }
.btn-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); border-bottom: 1px solid var(--ink);
}
.nav { display: flex; align-items: stretch; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 12px; padding: 16px 0;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__word { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.nav__links { display: flex; align-items: stretch; font-family: var(--mono); font-size: 14px; }
.nav__links a {
  display: flex; align-items: center; padding: 0 20px; min-height: 60px;
  color: var(--ink); text-decoration: none; border-left: 1px solid var(--ink);
}
.nav__links a:hover { background: var(--wash); color: var(--ink); }
.nav__links a.nav__cta { background: var(--cobalt); color: #fff; font-weight: 500; padding: 0 24px; border-left-color: var(--cobalt); }
.nav__links a.nav__cta:hover { background: var(--cobalt-dark); color: #fff; }
.nav__toggle {
  display: none; width: 72px; border: 0; border-left: 1px solid var(--ink);
  background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero__inner {
  padding-top: 80px; padding-bottom: 88px;
  display: flex; flex-wrap: wrap; gap: 64px; align-items: center;
}
.hero__copy { flex: 999 1 520px; min-width: 0; }
.hero__copy .lede { margin-top: 32px; }

.fig { flex: 1 1 440px; min-width: 0; position: relative; padding: 28px 150px 28px 0; }
.fig__page { background: var(--paper); border: 1.5px solid var(--ink); }
.fig__bar { padding: 10px 12px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.fig__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.blk { height: 8px; background: var(--rule); }
.blk--ink { background: var(--ink); }
.blk--head { height: 14px; width: 62%; background: var(--ink); }
.blk--cta { height: 34px; width: 40%; background: var(--cobalt); }
.fig__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.fig__cards span { height: 56px; border: 1px dashed var(--graphite); }
.fig__faq { border-top: 1px solid var(--rule); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.callouts { list-style: none; margin: 0; padding: 0; }
.callouts li {
  position: absolute; right: 0; width: 140px;
  font-family: var(--mono); font-size: 11px; line-height: 1.4;
  border-top: 1px solid var(--cobalt); padding-top: 6px;
}
.callouts li:nth-child(1) { top: 52px; }
.callouts li:nth-child(2) { top: 140px; }
.callouts li:nth-child(3) { top: 214px; }
.callouts li:nth-child(4) { top: 290px; }
.callouts b { color: var(--cobalt); font-weight: 500; }
.fig figcaption, .caption {
  margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--graphite);
  display: flex; justify-content: space-between; gap: 12px;
}

/* ---------- Spec strip ---------- */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.strip > div { padding: 24px 20px; border-left: 1px solid var(--ink); }
.strip > div:first-child { padding-left: 0; border-left: 0; }
.strip .label { font-size: 12px; }
.strip strong { display: block; margin-top: 4px; font-weight: 800; font-stretch: 112%; font-size: 26px; }

/* ---------- Spec layers ---------- */
.layers { margin-top: 48px; border-top: 1.5px solid var(--ink); }
.layer {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 40px;
  padding: 32px 0; border-bottom: 1px solid var(--rule);
}
.layer:last-child { border-bottom: 1.5px solid var(--ink); }
.layer .label { font-size: 14px; color: var(--cobalt); }
.layer p:last-child { color: var(--body); }

/* ---------- Results ---------- */
.results {
  margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1.5px solid var(--ink); border-left: 1px solid var(--ink);
}
.result {
  display: block; padding: 28px; color: var(--ink); text-decoration: none;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
a.result:hover { background: var(--wash); color: var(--ink); }
.result__num {
  display: block; font-weight: 900; font-stretch: 125%; font-size: 64px; line-height: 1;
  letter-spacing: -0.04em; color: var(--cobalt);
}
.result__num--todo { color: var(--graphite); }
.result__metric { display: block; margin-top: 12px; font-family: var(--mono); font-size: 13px; }
.result__client { display: block; margin-top: 20px; font-weight: 700; }
.result__scope { display: block; margin-top: 2px; color: var(--graphite); font-size: 15px; }
.source { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--graphite); }

.quote {
  margin-top: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start;
  border: 1px solid var(--ink); padding: 36px; background: var(--paper);
}
.quote blockquote { flex: 999 1 480px; font-weight: 600; font-stretch: 105%; font-size: 26px; line-height: 1.3; }
.quote figcaption { flex: 1 1 200px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--graphite); }

/* ---------- Dimension line ---------- */
.dim { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--cobalt); }
.dim__tick { width: 1.5px; height: 18px; background: var(--cobalt); flex: none; }
.dim__line { flex: 1; height: 1.5px; background: var(--cobalt); }

/* ---------- Schedule ---------- */
.schedule { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-left: 1px solid var(--ink); list-style: none; padding: 0; }
.step { padding: 0 24px 8px; border-right: 1px solid var(--rule); }
.step:last-child { border-right-color: var(--ink); }
.step h3 { margin: 8px 0; font-weight: 800; font-stretch: 112%; font-size: 22px; }
.step p:last-child { color: var(--body); font-size: 16px; }

/* ---------- Pricing ---------- */
.price-note { max-width: 420px; color: var(--body); font-size: 15px; }
.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--ink); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
.pricing { min-width: 760px; }
thead tr { border-bottom: 1.5px solid var(--ink); text-align: left; }
th, td { padding: 16px 24px; text-align: left; vertical-align: top; }
th { padding: 24px; font-weight: 400; }
tbody tr { border-bottom: 1px solid var(--rule); }
tbody tr:last-child { border-bottom: 0; }
th + th, td + td, th + td { border-left: 1px solid var(--rule); }
tbody th { padding: 16px 24px; font-weight: 400; }
.hl { background: var(--wash); }
.na { color: var(--graphite); }
.th-label { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--graphite); width: 34%; vertical-align: bottom; }
.plan-name { font-weight: 800; font-stretch: 112%; font-size: 24px; }
.plan-price { font-weight: 900; font-stretch: 125%; font-size: 36px; }
.plan-mo { font-family: var(--mono); font-size: 13px; color: var(--graphite); }
.tag { font-family: var(--mono); font-size: 11px; font-weight: 500; background: var(--cobalt); color: #fff; padding: 3px 6px; vertical-align: 4px; white-space: nowrap; }
.pricing tfoot td { padding: 20px 24px; border-top: 1px solid var(--rule); }

.price-cards { display: none; margin-top: 24px; border: 1px solid var(--ink); background: var(--paper); list-style: none; padding: 0; }
.price-cards li { padding: 18px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price-cards li:last-child { border-bottom: 0; }
.price-cards strong { font-weight: 800; font-stretch: 112%; font-size: 20px; }
.price-cards .sub { display: block; font-size: 14px; color: var(--graphite); }
.price-cards .amt { text-align: right; white-space: nowrap; }
.price-cards .amt strong { font-weight: 900; font-stretch: 125%; font-size: 26px; }
.price-cards .amt span { display: block; font-family: var(--mono); font-size: 12px; color: var(--graphite); }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 18px 0; font-weight: 800; font-stretch: 112%; font-size: 22px; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 22px; color: var(--cobalt); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; max-width: 760px; color: var(--body); }

/* ---------- Contact ---------- */
.contact { margin-top: var(--section); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.contact__inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; }
.contact__copy { flex: 1 1 420px; min-width: 0; }
.contact__copy .eyebrow { margin-bottom: 20px; }
.contact__copy h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 0.95; }
.contact__copy .lede { margin-top: 28px; font-size: 19px; max-width: 460px; }
.contact__details { margin-top: 28px; font-family: var(--mono); font-size: 14px; line-height: 1.9; font-style: normal; }

.form {
  flex: 1 1 440px; min-width: 0; background: var(--paper); border: 1.5px solid var(--ink); padding: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 12px; }
.field--full, .form__submit, .form__status { grid-column: 1 / -1; }
.field input, .field textarea {
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 10px 0; min-height: 44px;
  font-family: var(--sans); font-size: 17px; background: transparent; color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-bottom: 3px solid var(--cobalt); }
.field .opt { color: var(--graphite); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 8px; min-height: 54px; font-family: var(--sans); font-size: 17px; border: 0; }
.form__status { font-family: var(--mono); font-size: 13px; min-height: 1em; }
.form__status[data-state="error"] { color: #B3261E; }

/* ---------- Footer title block ---------- */
.footer { padding-top: 40px; padding-bottom: 56px; }
.titleblock {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid var(--ink); font-family: var(--mono); font-size: 13px;
}
.titleblock > div { padding: 16px 20px; border-left: 1px solid var(--ink); }
.titleblock > div:first-child { border-left: 0; }
.titleblock .label { display: block; }
dl.titleblock, .titleblock dd { margin: 0; }
.titleblock .word { font-family: var(--sans); font-weight: 800; font-stretch: 125%; font-size: 18px; }

.mobile-cta { display: none; }

/* ---------- Case study ---------- */
.case-hero .wrap { padding-top: 72px; padding-bottom: 64px; }
.case-hero h1 { max-width: 1100px; font-size: clamp(40px, 5.6vw, 84px); line-height: 0.93; }
.case-hero .lede { margin-top: 24px; max-width: 640px; }
.case-hero .titleblock { margin-top: 48px; border-width: 1.5px; background: var(--white); }
.case-hero .titleblock > div { padding: 14px 18px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px; }
.shot {
  aspect-ratio: 4 / 3; border: 1px dashed var(--graphite); background: var(--paper);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  font-family: var(--mono); font-size: 13px; color: var(--graphite);
}
.shot--after { border: 1.5px solid var(--ink); }
.shots figcaption { margin-top: 10px; border-top: 1px solid var(--ink); padding-top: 8px; font-size: 12px; }
.shots figcaption.is-accent { color: var(--cobalt); border-top-color: var(--cobalt); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 56px; }
.two-col h2 { margin-bottom: 20px; }
.two-col .muted + .muted { margin-top: 14px; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.spec-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 16px; }
.spec-list b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--cobalt); min-width: 28px; padding-top: 3px; }
.answers { min-width: 640px; }
.answers thead th { padding: 16px 24px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--graphite); }
.answers thead th.hl { color: var(--cobalt); }
.answers td:first-child, .answers th[scope="row"] { font-weight: 700; }
.answers td.na { color: var(--graphite); }
.case-results .result__num { font-size: 72px; }
.case-quote { border-width: 1.5px; padding: 48px; gap: 32px; margin-top: 0; }
.case-quote blockquote { flex-basis: 560px; font-size: 32px; line-height: 1.25; }
.cta-band .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.cta-band h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 0.95; }
.cta-band .btn { margin-top: 28px; }
.next-file {
  flex: 1 1 300px; display: block; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--ink); padding: 18px 20px;
}
.next-file:hover { background: var(--wash); color: var(--ink); }
.next-file strong { display: block; font-weight: 800; font-stretch: 112%; font-size: 22px; }
.case-footer { padding-top: 32px; padding-bottom: 48px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--graphite); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .brand__word { font-size: 18px; }
  .brand svg { width: 24px; height: 24px; }
  .nav { padding-right: 0; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--white); border-bottom: 1px solid var(--ink);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { border-left: 0; border-top: 1px solid var(--ink); padding: 0 20px; min-height: 56px; }
  .site-header--case .nav__links { display: flex; position: static; flex-direction: row; border: 0; }
  .site-header--case .nav__links a { border-top: 0; border-left: 1px solid var(--ink); padding: 0 14px; font-size: 12px; }
  .site-header--case .nav__links a.nav__cta { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section: 64px; }
  body { font-size: 16px; }
  .bp-grid { background-size: 24px 24px; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero__inner { padding-top: 40px; padding-bottom: 36px; gap: 32px; }
  .h1 { font-size: 44px; }
  .h1 br { display: none; }
  .lede { font-size: 17px; }
  .hero__copy .lede { margin-top: 20px; }
  .btn-row { flex-direction: column; margin-top: 26px; gap: 10px; }
  .btn-row .btn { min-height: 54px; }
  .fig { padding: 0; flex-basis: 100%; }
  .callouts { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .callouts li { position: static; width: auto; font-size: 12px; border-top: 0; padding-top: 0; }
  .fig figcaption span:last-child { display: none; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div { padding: 18px 20px; border-left: 1px solid var(--ink); }
  .strip > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .strip .label { font-size: 11px; }
  .strip strong { font-size: 21px; }
  .h2, .h2--fixed { font-size: 34px; }
  .layers, .results, .faq { margin-top: 24px; }
  .layer { padding: 20px 0; gap: 6px; }
  .layer .label { font-size: 12px; }
  .h3 { font-size: 22px; line-height: 1.15; }
  .layer p:last-child { font-size: 15px; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result { padding: 16px; }
  .result__num, .case-results .result__num { font-size: 36px; }
  .result__metric { font-size: 11px; margin-top: 8px; }
  .result__client { font-size: 14px; margin-top: 10px; }
  .result__scope { display: none; }
  .source { font-size: 11px; margin-top: 10px; }
  .quote, .case-quote { padding: 24px; gap: 20px; margin-top: 32px; }
  .quote blockquote, .case-quote blockquote { font-size: 21px; flex-basis: 100%; }
  .case-quote { margin-top: 0; }
  .dim { font-size: 11px; gap: 8px; }
  .schedule { grid-template-columns: 1fr; border-left: 1.5px solid var(--cobalt); gap: 18px; margin-top: 24px; }
  .step { border-right: 0 !important; padding: 0 0 0 16px; }
  .step .label { color: var(--cobalt); font-size: 11px; }
  .step h3 { margin: 2px 0; font-size: 18px; }
  .table-wrap--pricing { display: none; }
  .price-cards { display: block; }
  .faq summary { font-size: 18px; }
  .contact__inner { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .contact__copy h2 { font-size: 36px; }
  .contact__copy .lede { font-size: 17px; margin-top: 20px; }
  .form { padding: 20px; gap: 16px; }
  .footer { padding: 0; }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; border-right: 0; border-bottom: 0; font-size: 12px; }
  .titleblock > div:nth-child(odd) { border-left: 0; }
  .titleblock > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .mobile-cta {
    display: block; position: sticky; bottom: 0; z-index: 15;
    padding: 10px 20px 14px; background: var(--white); border-top: 1px solid var(--ink);
  }
  .mobile-cta .btn { width: 100%; min-height: 50px; }
  .case-hero .wrap { padding-top: 40px; padding-bottom: 36px; }
  .case-hero h1 { font-size: clamp(28px, calc((100vw - 40px) / 12.5), 40px); }
  .case-hero .titleblock { margin-top: 32px; border: 1.5px solid var(--ink); }
  .case-hero .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .case-hero .titleblock > div:nth-child(-n+2) { border-bottom: 0; }
  .two-col { gap: 40px; }
  .cta-band .wrap { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .cta-band h2 { font-size: 34px; }
}

/* =====================================================================
   Motion — drafting-table feel: lines draw, parts snap in, numbers count.
   Brand rules hold: no shadows, glows or rounding.
   Everything here is switched off under prefers-reduced-motion.
   ===================================================================== */
:root { --ease: cubic-bezier(.2,.7,.1,1); }

/* Scroll progress hairline under the header */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* Scroll reveal: targets are tagged .rv by site.js; hidden only when JS runs */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in, .rv-all .rv { opacity: 1; transform: none; }

/* Hero: eyebrow "types", H1 is drafted up from its baseline */
.js .hero__copy .eyebrow, .js .case-hero .eyebrow { animation: type 1s steps(42, end) both .1s; }
.js .hero__copy h1, .js .case-hero h1 { animation: draft .9s var(--ease) both .25s; }
.js .hero__copy .lede, .js .hero__copy .btn-row, .js .case-hero .lede { animation: rise .7s var(--ease) both .55s; }
.js .hero__copy .btn-row { animation-delay: .7s; }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draft { from { clip-path: inset(0 0 100% 0); transform: translateY(24px); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero figure: the page wireframe is drawn block by block, then callouts land */
.js .fig__page { animation: frame .7s var(--ease) both .3s; }
@keyframes frame { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
.js .fig__body > *, .js .fig__faq > * { transform-origin: 0 50%; animation: drawx .6s var(--ease) both; }
.js .fig__body > :nth-child(1) { animation-delay: .7s; }
.js .fig__body > :nth-child(2) { animation-delay: .8s; }
.js .fig__body > :nth-child(3) { animation-delay: .88s; }
.js .fig__body > :nth-child(4) { animation-delay: .98s; }
.js .fig__body > :nth-child(5) { animation-delay: 1.08s; }
.js .fig__body > :nth-child(6) { animation-delay: 1.18s; }
.js .fig__faq > :nth-child(2) { animation-delay: 1.3s; }
.js .fig__faq > :nth-child(3) { animation-delay: 1.38s; }
.js .fig__faq > :nth-child(4) { animation-delay: 1.46s; }
@keyframes drawx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .callouts li { animation: callout .6s var(--ease) both; }
.js .callouts li:nth-child(1) { animation-delay: 1.5s; }
.js .callouts li:nth-child(2) { animation-delay: 1.62s; }
.js .callouts li:nth-child(3) { animation-delay: 1.74s; }
.js .callouts li:nth-child(4) { animation-delay: 1.86s; }
@keyframes callout { from { opacity: 0; transform: translateX(-16px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.js .fig figcaption { animation: rise .6s var(--ease) both 2s; }

/* Callout <-> part linking (hover a callout, or a part of the drawing) */
[data-part] { transition: outline-color .2s; outline: 2px solid transparent; outline-offset: 4px; }
[data-part].is-hot { outline-color: var(--cobalt); }
.fig__cards span { transition: border-color .2s, background-color .2s; }
.fig__cards.is-hot span { border-color: var(--cobalt); background: var(--wash); }
.callouts li { cursor: default; transition: color .2s, background-color .2s; }
.callouts li.is-hot { background: var(--wash); color: var(--cobalt); }
@media (hover: hover) { .fig__page [data-part] { cursor: crosshair; } }

/* Dimension lines draw outward from the ticks when scrolled into view */
.js .dim .dim__line { transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.js .dim .dim__line:first-of-type { transform-origin: 0 50%; }
.js .dim .dim__line:last-of-type { transform-origin: 100% 50%; }
.js .dim.in .dim__line, .rv-all .dim .dim__line { transform: scaleX(1); }

/* Schedule: a cobalt bar fills across each step in order, like the 14 days passing */
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: -1px; right: 0; top: -14px; height: 3px;
  background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0);
  transition: transform .5s var(--ease); transition-delay: calc(var(--d, 0ms) + 300ms);
}
.step.in::before, .rv-all .step::before { transform: scaleX(1); }
.step h3 { transition: color .2s; }
.step:hover h3 { color: var(--cobalt); }

/* ---------- Hover details ---------- */
/* Nav: cobalt underline draws in; current section stays underlined */
.nav__links a:not(.nav__cta) { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 14px; height: 2px;
  background: var(--cobalt); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__links a.is-current { color: var(--cobalt); }

/* Buttons: a solid fill sweeps in from the left; arrows nudge forward */
.btn, .nav__links a.nav__cta { background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .35s var(--ease), color .2s, border-color .2s; }
.btn--ghost { background-image: linear-gradient(var(--wash), var(--wash)); }
.btn--primary, .nav__links a.nav__cta { background-image: linear-gradient(var(--cobalt-dark), var(--cobalt-dark)); }
.btn:hover, .nav__links a.nav__cta:hover { background-size: 100% 100%; }
.btn--primary:hover, .nav__links a.nav__cta:hover { background-color: var(--cobalt); border-color: var(--cobalt-dark); }
.btn--ghost:hover { background-color: var(--white); }
.arr { display: inline-block; margin-left: .35em; transition: transform .3s var(--ease); }
a:hover .arr, button:hover .arr { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }

/* Result cards: registration marks close in on hover */
.result { position: relative; transition: background-color .25s; }
.result::before, .result::after {
  content: ""; position: absolute; width: 14px; height: 14px; opacity: 0;
  transition: opacity .25s, transform .35s var(--ease); pointer-events: none;
}
.result::before { top: 10px; left: 10px; border-top: 2px solid var(--cobalt); border-left: 2px solid var(--cobalt); transform: translate(-8px, -8px); }
.result::after { bottom: 10px; right: 10px; border-bottom: 2px solid var(--cobalt); border-right: 2px solid var(--cobalt); transform: translate(8px, 8px); }
.result:hover::before, .result:hover::after { opacity: 1; transform: none; }
.result__num { font-variant-numeric: tabular-nums; }

/* Spec layers: a cobalt rule rises on the left and the row shifts in */
.layer { position: relative; transition: padding-left .35s var(--ease); }
.layer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cobalt);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .35s var(--ease);
}
@media (hover: hover) {
  .layer:hover { padding-left: 20px; }
  .layer:hover::before { transform: scaleY(1); }
}

/* Tables: row highlight; a plan column lights up when you hover its cells */
tbody tr { transition: background-color .2s; }
tbody tr:hover { background: #F5F7FF; }
.pricing th, .pricing td { transition: background-color .2s; }
.pricing .col-hot { background: var(--wash); }

/* Spec list, FAQ, next-file, form */
.spec-list li { transition: padding-left .3s var(--ease); }
.spec-list li:hover { padding-left: 10px; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--cobalt); }
.faq summary::after { transition: transform .3s var(--ease); }
.faq summary:hover::after { transform: rotate(90deg); }
.faq details[open] p { animation: rise .4s var(--ease) both; }
.next-file { transition: background-color .25s, border-color .25s; }
.next-file:hover { border-color: var(--cobalt); }
.field input, .field textarea { transition: border-color .2s; }
.field:focus-within { color: var(--cobalt); }

/* Snap-to-grid crosshair over the blueprint sections (mouse/trackpad only) */
.has-xhair { position: relative; }
.has-xhair > .wrap { position: relative; z-index: 1; }
.xhair { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .25s; z-index: 0; }
.xhair.on { opacity: 1; }
.xhair__v, .xhair__h { position: absolute; left: 0; top: 0; background: var(--cobalt); opacity: .35; }
.xhair__v { height: 100%; width: 1px; }
.xhair__h { width: 100%; height: 1px; }
.xhair__v, .xhair__h, .xhair__tag { transition: transform .12s var(--ease); }
.xhair__tag {
  position: absolute; left: 0; top: 0; padding: 2px 6px; font-family: var(--mono); font-size: 11px;
  background: var(--cobalt); color: #fff; white-space: nowrap;
}

@media (max-width: 720px) {
  /* Phone schedule is vertical: the step bar grows down the cobalt rule instead */
  .step::before { left: -1.5px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .step.in::before, .rv-all .step::before { transform: scaleY(1); }
  .nav__links a:not(.nav__cta)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .dim .dim__line { transform: none; }
  .step::before { transform: scaleX(1); }
  .xhair { display: none; }
}
