/* Integrated Applications — site stylesheet
   Values replicate the design reference (Landing page/LandingItalic.dc.html) and the brand kit. */

:root {
  --red: #C2410C;
  --red-deep: #A93709;
  --gold: #F5B700;
  --gold-deep: #E08A06;
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #333333;
  --ink-on-gold: #1F1F1F;

  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Martian Mono', 'DejaVu Sans Mono', ui-monospace, monospace;
  --font-wordmark: 'JetBrains Mono', 'DejaVu Sans Mono', monospace;

  --container: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-mono); font-weight: 600; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* Links: underline slides in, buttons lift with a hard shadow */
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .25s ease, text-decoration-color .25s ease, text-underline-offset .25s ease, transform .25s ease, box-shadow .25s ease;
}
a:hover, a:focus-visible { color: var(--red); text-decoration-color: currentColor; }
a.underlined { text-decoration-color: currentColor; }
a.underlined:hover, a.underlined:focus-visible { text-underline-offset: 11px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn:hover, .btn:focus-visible { color: var(--ink); text-decoration: none; transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: none; box-shadow: 0 0 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--white); box-shadow: 6px 6px 0 var(--gold); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover, .btn--red:focus-visible { color: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 500; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 15px; }

mark { background: var(--red); color: var(--white); padding: 0 .18em; }
.on-red mark { background: var(--gold); color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--gold); color: var(--ink); font-family: var(--font-mono); font-size: 13px; }
.skip-link:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.label { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.label--red { color: var(--red); }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Header + hero band (red) ---------- */
.band { position: relative; overflow: hidden; background: var(--red); color: var(--white); }
.band a { color: var(--white); }
.band .btn { color: var(--ink); }
.band .btn:hover, .band .btn:focus-visible { color: var(--ink); }

.grid-art { position: absolute; right: 0; top: 0; height: 100%; width: auto; aspect-ratio: 4 / 3; display: block; overflow: visible; }
.grid-art .hit { fill: transparent; stroke: none; pointer-events: all; }
.grid-art .vis { pointer-events: none; transform-box: fill-box; transform-origin: center; transition: fill 1.8s ease-out, stroke 1.8s ease-out, transform 1.8s cubic-bezier(.2,.8,.2,1); }
.grid-art .cell:hover .vis { fill: var(--gold); stroke: var(--gold); transform: scale(1.45) rotate(14deg); transition-duration: .4s; }
.grid-art .cell:hover + .cell .vis, .grid-art .cell:has(+ .cell:hover) .vis { fill: var(--gold-deep); stroke: var(--gold-deep); transform: scale(1.18) rotate(-6deg); transition-duration: .6s; }
@keyframes iaBlock { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

.site-header { position: relative; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand:hover, .brand:focus-visible { text-decoration: none; }
.brand svg, .brand .brand__mark { width: 40px; height: 40px; flex: none; display: block; }
.brand .wordmark { font-family: var(--font-wordmark); font-size: 15px; font-weight: 700; line-height: 1.2; }
.brand .wordmark em { font-style: italic; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; margin-left: auto; gap: 4px 20px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a[aria-current="page"] { text-decoration-color: currentColor; }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 500; }

.band--home { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.band--home .hero { flex: 1; width: 100%; padding-top: 72px; padding-bottom: 64px; }
.band--home .hero__copy { margin-block: auto; padding-block: 32px; }
.hero { position: relative; pointer-events: none; display: flex; flex-direction: column; gap: 72px; padding-top: 104px; padding-bottom: 72px; }
.hero__copy, .hero__copy > *, .tiles { pointer-events: none; }
.hero a, .hero .btn, .hero mark { pointer-events: auto; }
.hero--page { min-height: 420px; justify-content: flex-end; padding-top: 72px; padding-bottom: 64px; gap: 0; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { max-width: 52rem; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.2; letter-spacing: -1.4px; }
.hero--page h1 { max-width: 60rem; font-size: clamp(2rem, 3.6vw, 3rem); }
.hero p { max-width: 36rem; font-size: 19px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.hero__actions a.underlined { display: inline-flex; align-items: center; min-height: 52px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.tile { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--white); }
.tile__num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.tile__title { font-family: var(--font-mono); font-size: 17px; font-weight: 600; letter-spacing: -0.3px; }
.tile__desc { font-size: 15px; line-height: 1.55; }

/* ---------- Section header ---------- */
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 48px; align-items: start; }
.section-head-wrap { padding-top: 88px; padding-bottom: 56px; }
.section-head__title { display: flex; flex-direction: column; gap: 16px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.2; letter-spacing: -1px; }
.section-head .lede { max-width: 36rem; padding-top: 42px; }
@media (max-width: 640px) { .section-head .lede { padding-top: 0; } }
.section--gold .label--red { color: var(--ink); }

/* ---------- Service rows ---------- */
.service { border-top: 1px solid var(--ink); background: var(--white); color: var(--ink); }
.service--gold { background: var(--gold); }
.service--gold .service__desc { color: var(--ink-on-gold); }
.service--red { background: var(--red); color: var(--white); }
.service--red a { color: var(--white); }
.service--red .service__desc { color: var(--white); }
.service--red .service__list, .service--red .service__list li { border-color: var(--white); }
.service__inner { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr 2fr; gap: 24px 48px; align-items: start; padding-top: 44px; padding-bottom: 44px; }
.service__index { display: flex; flex-direction: column; gap: 4px; }
.service__num { font-family: var(--font-mono); font-size: 88px; font-weight: 600; line-height: 1; letter-spacing: -4px; color: var(--red); }
.service--gold .service__num, .service--red .service__num, .service--gold .service__plus, .service--red .service__plus { color: currentColor; }
.service__slug { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.service__body { display: flex; flex-direction: column; gap: 14px; }
.service__body h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.4px; }
.service__desc { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.service__more { font-family: var(--font-mono); font-size: 13px; font-weight: 500; align-self: flex-start; }
.service__list { font-size: 15px; line-height: 1.45; border-bottom: 1px solid var(--ink); }
.service__list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink); }
.service__plus { font-family: var(--font-mono); color: var(--red); }

/* ---------- Steps (approach) ---------- */
.section--ruled { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section__inner { display: flex; flex-direction: column; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.step { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 8px; }
.steps--4 .step { grid-row: span 4; }
.step__num { font-family: var(--font-mono); font-size: 120px; font-weight: 600; line-height: 1; letter-spacing: -6px; color: var(--red); }
.step h3 { font-size: 20px; }
.step__meta { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--red); }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Prose sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section--tight { padding-top: 64px; padding-bottom: 64px; }
.section--gold { background: var(--gold); color: var(--ink); border-top: 1px solid var(--ink); }
.section--gold .lede, .section--gold p { color: var(--ink-on-gold); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 64px; align-items: start; }
.two-col > * { min-width: 0; }
.prose { max-width: 40rem; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.25; letter-spacing: -0.8px; color: var(--ink); }
.prose h3 { font-size: 20px; color: var(--ink); }
.prose ol { list-style: decimal; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.prose ol li::marker { font-family: var(--font-mono); font-size: 14px; color: var(--red); }

/* Definition blocks: term + explanation, hairline-separated */
.defs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; border-top: 1px solid var(--ink); }
.def { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 8px; align-content: start; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.def h3 { font-size: 16px; line-height: 1.35; letter-spacing: -0.2px; }
.def p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* Plus lists */
.plus-list { font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--ink); max-width: 44rem; }
.plus-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink); }
.plus-list li::before { content: "+"; font-family: var(--font-mono); color: var(--red); flex: none; }
.section--gold .plus-list li::before { color: var(--ink); }

/* Numbered how-it-works */
.numbered { counter-reset: n; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.numbered li { counter-increment: n; display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.numbered li::before { content: counter(n); font-family: var(--font-mono); font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -3px; color: var(--red); }

/* Facts strip */
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.facts span { display: inline-flex; align-items: center; gap: 12px; }
.facts span::before { content: ""; width: 10px; height: 10px; background: var(--ink); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 48px; }
.principle { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 14px; }
.principle h3 { font-size: 18px; line-height: 1.35; letter-spacing: -0.3px; }
.principle p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* Case cards */

/* ---------- CTA block ---------- */
.cta { padding-top: 96px; padding-bottom: 104px; }
.cta__box { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--gold); }
.cta__text { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 56px); background: var(--white); color: var(--ink); }
.cta__text h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.25; letter-spacing: -0.8px; }
.cta__text p { font-size: 18px; line-height: 1.6; }
.cta__action { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: clamp(28px, 4vw, 56px); background: var(--red); color: var(--white); }
.cta__action a { color: var(--white); }
.cta__action .btn { color: var(--ink); }
.cta__action .label-sm { font-family: var(--font-mono); font-size: 14px; }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.field label span { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.4;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.form__note { font-size: 14px; color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; font-family: var(--font-mono); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -0.2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gold); color: var(--ink); border-top: 1px solid var(--ink); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.site-footer .brand svg, .site-footer .brand .brand__mark { width: 32px; height: 32px; }
.site-footer .brand .wordmark { font-size: 14px; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__meta { font-size: 14px; line-height: 1.5; text-align: right; display: flex; flex-direction: column; gap: 2px; position: relative; top: 2px; }
.site-footer__meta .label { color: var(--red); }
.site-footer__copy { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 640px) { .site-footer__meta { text-align: left; } }

/* ---------- Animated mark showcase (404) ---------- */
.notfound .container { display: flex; justify-content: center; }
.notfound .mark-large { width: 200px; height: 200px; display: block; }
/* ---------- Contact aside ---------- */
.contact-grid { align-items: stretch; }
.contact-grid .form { height: 100%; }
.contact-grid .field--grow { flex: 1; display: flex; flex-direction: column; }
.contact-grid .field--grow textarea { flex: 1; min-height: 140px; }
.contact-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%; }
.contact-aside h3 { font-size: 18px; margin-bottom: 12px; }
.panel { border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--gold); background: var(--white); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.panel p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.panel .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- Lede stack (about) ---------- */
.section-head .lede-stack { padding-top: 42px; max-width: 36rem; display: flex; flex-direction: column; gap: 16px; }
.section-head .lede-stack .lede { padding-top: 0; }
@media (max-width: 640px) { .section-head .lede-stack { padding-top: 0; } }

/* ---------- Scenarios (work) ---------- */
.scenarios { display: flex; flex-direction: column; gap: 48px; }
.scenario { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: center; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--gold); background: var(--white); padding: 36px 40px; }
.scenario .label { color: var(--red); }
.scenario h3 { font-size: 24px; line-height: 1.3; letter-spacing: -0.4px; margin: 10px 0 22px; }
.scenario dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; font-size: 15px; line-height: 1.55; }
.scenario dt { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--red); padding-top: 3px; white-space: nowrap; }
.scenario dd { margin: 0; color: var(--ink-soft); }
.scenario dd.result { color: var(--ink); font-weight: 600; }
.scenario .diagram { max-width: none; }
@media (max-width: 900px) { .scenario { grid-template-columns: 1fr; padding: 28px 24px; } }
@media (max-width: 640px) { .scenario dl { grid-template-columns: 1fr; gap: 4px 0; } .scenario dt { padding-top: 10px; } }

/* ---------- Utilities ---------- */
.stack { display: flex; flex-direction: column; gap: 56px; }
.stack--sm { gap: 32px; }
.mt { margin-top: 40px; }
.max-prose { max-width: 44rem; }

@media (max-height: 760px) {
  .band--home .hero { gap: 40px; }
  .band--home .hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
}
@media (max-height: 640px) {
  .band--home { min-height: 0; }
}

@media (max-width: 640px) {
    .grid-art { height: 70%; }
  .band--home { min-height: 0; }
  .hero { padding-top: 72px; padding-bottom: 56px; gap: 56px; }
  .hero--page { min-height: 0; }
  .grid-art { width: 70%; opacity: .5; }
  .service__num { font-size: 64px; }
  .step__num { font-size: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .btn { transition: none; }
  .grid-art .vis { transition: none; }
  .grid-art .cell:hover .vis, .grid-art .cell:hover + .cell .vis, .grid-art .cell:has(+ .cell:hover) .vis { transform: none; }
}

/* ---------- Page transitions ---------- */
/* Browser-default cross-document crossfade. No custom groups: a separately named header
   let the white canvas show through behind it mid-fade. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
@supports not (view-transition-name: none) {
  body { animation: page-in 220ms ease-out both; }
}
@keyframes page-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body { animation: none; } }

/* ---------- Text selection ---------- */
/* White and gold surfaces: red highlight, white text. */
::selection { background: var(--red); color: var(--white); }
/* Red surfaces: gold highlight, ink text. */
.band ::selection, .band::selection,
.service--red ::selection, .service--red::selection,
.cta__action ::selection, .cta__action::selection,
.btn--red::selection { background: var(--gold); color: var(--ink); }
/* Highlighted phrases flip so the selection stays visible: red marks go gold, gold marks go red. */
mark::selection { background: var(--gold); color: var(--ink); }
.on-red mark::selection, .band mark::selection { background: var(--red); color: var(--white); }
/* White buttons inside red areas keep the red-surface rule readable on their white face. */
.band .btn::selection, .cta__action .btn::selection { background: var(--red); color: var(--white); }
/* Diagram text is SVG; selection there follows the surrounding surface. */
.diagram text::selection { fill: var(--white); }

/* ---------- Sector tiles ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.sector { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 10px; align-content: start; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sector .glyph { width: 28px; height: 28px; color: var(--red); }
.sector h3 { font-size: 16px; line-height: 1.35; letter-spacing: -0.2px; }
.sector p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Diagrams ---------- */
.diagram { margin: 0; max-width: 760px; }
.diagram svg { width: 100%; height: auto; display: block; }
.numbered--stack { grid-template-columns: 1fr; gap: 20px; }

/* ---------- Column counts by width (even rows at every size) ---------- */
@media (max-width: 1000px) {
  .defs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .steps, .numbered, .principles, .sectors { grid-template-columns: repeat(2, 1fr); }
  .service__inner { grid-template-columns: 1fr; gap: 20px; }
  .service__num { font-size: 64px; }
}
@media (max-width: 640px) {
  .tiles, .defs, .steps, .numbered, .principles, .sectors { grid-template-columns: 1fr; }
    .grid-art { height: 70%; }
}

/* Inner-page heroes: same grid scale as the home page, cropped by the shorter band */
.band:not(.band--home) .grid-art { top: 50%; height: auto; width: 70%; transform: translateY(-50%); }
@media (max-width: 640px) { .band:not(.band--home) .grid-art { height: auto; } }

/* ---------- Approach timeline (shares the 4-column step grid) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; }
.tl-stage { display: grid; grid-template-rows: auto 56px auto; row-gap: 8px; }
.tl-stage__num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--red); }
.tl-stage__bar { position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--white); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.tl-stage__bar b { position: relative; font-weight: 600; }
.tl-stage__bar--cycles { background: var(--gold); }
.tl-stage__bar--cycles span { position: absolute; top: 0; bottom: 0; width: 25%; border-left: 1px dashed var(--ink); }
.tl-stage__bar--cycles span:nth-child(1) { left: 0; border-left: 0; }
.tl-stage__bar--cycles span:nth-child(2) { left: 25%; }
.tl-stage__bar--cycles span:nth-child(3) { left: 50%; }
.tl-stage__bar--cycles span:nth-child(4) { left: 75%; }
.tl-stage__meta { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.tl-track { grid-column: 1 / -1; position: relative; margin-top: 8px; padding-top: 14px; border-top: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.tl-track::after { content: ""; position: absolute; right: -1px; top: -6px; border-left: 9px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } .tl-track::after { display: none; } }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; } }

/* Compact numbered list (contact page) */
.numbered--compact { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.numbered--compact li { grid-template-columns: 2.2rem 1fr; grid-template-rows: auto; column-gap: 12px; align-items: baseline; border-top: 0; border-bottom: 1px solid var(--ink); padding: 14px 0; }
.numbered--compact li::before { font-size: 20px; letter-spacing: -1px; line-height: 1; }

/* Careers roles: expandable rows */
.roles { border-top: 1px solid var(--ink); }
.role { border-bottom: 1px solid var(--ink); }
.role summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 18px 0; }
.role summary::-webkit-details-marker { display: none; }
.role summary::after { content: "+"; font-family: var(--font-mono); color: var(--red); margin-left: auto; }
.role[open] summary::after { content: "–"; }
.role__title { font-family: var(--font-mono); font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
.role__meta { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.role__body { display: flex; flex-direction: column; gap: 20px; padding: 4px 0 28px; }
.role__summary { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 44rem; }
.role__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.role__cols .label { margin-bottom: 8px; }
.plus-list--tight { font-size: 15px; }
.plus-list--tight li { padding: 8px 0; }
.role__apply { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 640px) { .role__cols { grid-template-columns: 1fr; } .role summary::after { margin-left: 0; } }

.note { font-size: 14px; line-height: 1.5; color: var(--ink-soft); max-width: 44rem; margin-top: -24px; }
