@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/sora-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}

:root {
  --ink: #242117;
  --paper: #fbf7e8;
  --white: #ffffff;
  --lantern: #f2b632;
  --oxide: #b84a32;
  --blueprint: #315b72;
  --sage: #b7c7a3;
  --line: #c9c1a8;
  --muted: #625e50;
  --display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: 92rem;
  --inset: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(4.75rem, 9vw, 9rem);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.125rem);
  line-height: 1.66;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lantern); color: var(--ink); }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--blueprint);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--oxide); }

:focus-visible {
  outline: 3px solid var(--lantern);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 2 * var(--inset)), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 720;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
  font: 600 0.64rem/1.15 var(--mono);
  letter-spacing: 0.04em;
  white-space: normal;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  width: 1.15rem;
  height: 0.45rem;
  background: var(--lantern);
  content: "";
}

.menu-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: var(--paper);
  color: var(--ink);
  font: 650 0.95rem/1 var(--body);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 150ms ease;
}
.menu-lines::before { transform: translateY(0.42rem); }
.menu-toggle[aria-expanded="true"] .menu-lines { transform: translateY(0.2rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: rotate(-90deg); }

main { min-height: 60vh; }

.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3.75rem, 6vw, 6rem); }
.white-field { background: var(--white); }
.sage-field { background: color-mix(in srgb, var(--sage) 55%, var(--paper)); }
.ink-field { background: var(--ink); color: var(--white); }
.blueprint-field { background: var(--blueprint); color: var(--white); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

h1,
h2,
h3,
p,
ul,
ol,
dl { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.8rem;
  font-size: clamp(3rem, 6.6vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.interior h1 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 5vw, 5.1rem);
  line-height: 1;
}

h2 {
  max-width: 15ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 4.1vw, 4.45rem);
  font-weight: 670;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 670;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p,
li,
dd { max-width: 64ch; }

.eyebrow,
.utility {
  margin: 0 0 1rem;
  color: var(--oxide);
  font: 600 0.78rem/1.45 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.42rem);
  line-height: 1.52;
}

.ink-field .lead,
.blueprint-field .lead,
.ink-field p,
.blueprint-field p { color: #f1ecdc; }
.ink-field .eyebrow,
.blueprint-field .eyebrow { color: var(--lantern); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 0.25rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.button:hover { background: var(--lantern); color: var(--ink); }
.button:active { transform: translateY(1px); }
.button-lantern { border-color: var(--lantern); background: var(--lantern); color: var(--ink); }
.button-lantern:hover { background: var(--white); color: var(--ink); }

.arrow-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.arrow-link::after { color: var(--oxide); content: "→"; transition: transform 150ms ease; }
.arrow-link:hover::after { transform: translateX(0.3rem); }

.context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hero {
  padding-block: clamp(4rem, 7vw, 7rem) clamp(3.5rem, 6vw, 6rem);
}
.hero-copy { grid-column: 1 / span 7; align-self: center; }

.hero-support {
  max-width: 58rem;
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--lantern);
  color: var(--muted);
}

/* Controlled release signature */
.release-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-block: 1px solid var(--ink);
  background: var(--white);
  counter-reset: release;
}

.release-stage {
  position: relative;
  min-width: 0;
  padding: 1rem 1rem 1.1rem;
  border-right: 1px solid var(--line);
  counter-increment: release;
}
.release-stage:last-child { border-right: 0; }
.release-stage::before {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--oxide);
  font: 600 0.7rem/1 var(--mono);
  content: "0" counter(release);
}
.release-stage strong { display: block; font-family: var(--display); font-size: 1rem; }
.release-stage span { color: var(--muted); font: 500 0.68rem/1.35 var(--mono); }
.release-stage.active { background: var(--lantern); }
.release-stage.active::before { color: var(--ink); }

.home-ribbon .release-stage {
  animation: illuminate 700ms both;
  animation-delay: calc(var(--i, 0) * 95ms);
}
.home-ribbon .release-stage:nth-child(1) { --i: 0; }
.home-ribbon .release-stage:nth-child(2) { --i: 1; }
.home-ribbon .release-stage:nth-child(3) { --i: 2; }
.home-ribbon .release-stage:nth-child(4) { --i: 3; }
.home-ribbon .release-stage:nth-child(5) { --i: 4; }
.home-ribbon .release-stage:nth-child(6) { --i: 5; }
@keyframes illuminate { from { opacity: .45; transform: translateY(.55rem); } to { opacity: 1; transform: none; } }

.release-locator { margin-top: 0; border-top: 0; }

/* Home hero source stack */
.source-stack {
  grid-column: 8 / -1;
  display: grid;
  align-self: center;
  padding-top: 1.5rem;
}
.source-photo {
  grid-area: 1 / 1;
  width: 92%;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  border-radius: 1.125rem;
  object-fit: cover;
  object-position: 60% center;
}
.source-sheet {
  grid-area: 1 / 1;
  z-index: 2;
  width: 82%;
  align-self: end;
  margin: 0 0 -1.5rem -0.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(36, 33, 23, 0.14);
}
.document-lines { display: grid; gap: 0.55rem; margin-block: 1rem; }
.document-lines span { height: 0.45rem; background: color-mix(in srgb, var(--line) 65%, var(--white)); }
.document-lines span:nth-child(2) { width: 84%; }
.document-lines span:nth-child(3) { width: 66%; }
.revision-line { padding-left: 0.8rem; border-left: 4px solid var(--oxide); }

.manifest-mini,
.manifest {
  border: 1px solid var(--line);
  background: var(--white);
}
.manifest-mini { margin-top: 2rem; }
.manifest-row {
  display: grid;
  grid-template-columns: minmax(6.25rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.manifest-row:last-child { border-bottom: 0; }
.manifest-row dt,
.manifest-row dd { margin: 0; }
.manifest-row dd { word-break: normal; overflow-wrap: normal; }
.manifest-row dt,
.manifest-row dd:last-child { font: 550 0.75rem/1.4 var(--mono); }
.manifest-row dd:last-child { text-align: right; }

/* Home content */
.ruled-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}
.sheet-lane { padding: clamp(1.5rem, 3vw, 2.7rem); border-right: 1px solid var(--line); }
.sheet-lane:last-child { border-right: 0; background: color-mix(in srgb, var(--blueprint) 10%, var(--white)); }
.sheet-lane p:last-child { margin-bottom: 0; }

.workflow-release { display: grid; gap: 1.25rem; counter-reset: workflow; }
.workflow-step {
  display: grid;
  grid-template-columns: 5rem minmax(12rem, 0.55fr) minmax(0, 1fr) minmax(10rem, 0.42fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-block: 1px solid var(--line);
  background: var(--white);
  counter-increment: workflow;
}
.workflow-step::before { color: var(--oxide); font: 600 1rem/1.2 var(--mono); content: "0" counter(workflow); }
.workflow-step p { margin-bottom: 0; }
.owner-cue { padding-left: 1rem; border-left: 4px solid var(--sage); color: var(--muted); font: 550 0.78rem/1.5 var(--mono); }

.industry-triptych { display: grid; grid-template-columns: repeat(3, 1fr); }
.industry-panel { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.industry-panel + .industry-panel { border-left: 0; }
.industry-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.industry-panel.manufacturing img { object-position: 60% center; }
.industry-panel-body { padding: clamp(1.4rem, 2.5vw, 2.25rem); }

.boundary-handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.36fr) minmax(0, 1fr);
  align-items: stretch;
}
.boundary-side { padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: var(--white); }
.boundary-side.lms { border-color: var(--blueprint); background: var(--blueprint); color: var(--white); }
.delivery-manifest { display: grid; place-items: center; padding: 1.25rem; border-block: 1px solid var(--line); background: var(--lantern); text-align: center; }

.closing-question {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--lantern);
}
.closing-question h2 { max-width: 18ch; }

/* Platform */
.platform-hero { position: relative; }
.platform-copy { grid-column: 1 / span 6; grid-row: 1; z-index: 2; align-self: center; padding: clamp(1.5rem, 3vw, 3rem); background: var(--paper); }
.annotated-source {
  grid-column: 7 / -1;
  grid-row: 1;
  display: grid;
  align-self: center;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--white);
}
.sop-page {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}
.source-title {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 670;
  letter-spacing: -.015em;
  line-height: 1.2;
  text-wrap: balance;
}
.sop-purpose { margin: 0 0 1.25rem; color: var(--muted); }
.sop-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 3px solid var(--oxide);
  border-left: 1px solid var(--line);
}
.sop-facts div {
  display: block;
  padding: .85rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sop-facts dt,
.sop-facts dd { margin: 0; }
.sop-facts dt { margin-bottom: .3rem; font: 600 .69rem/1.55 var(--mono); text-transform: uppercase; }
.sop-facts dd { line-height: 1.42; }
.sop-owner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  color: var(--oxide);
}
.sop-owner span { font: 600 .69rem/1.55 var(--mono); text-transform: uppercase; }
.scene-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.scene-frame {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--sage) 35%, var(--white));
}
.scene-frame .utility,
.scene-frame strong { display: block; }
.scene-frame .utility { margin-bottom: 0.45rem; }
.scene-frame p { margin: .55rem 0 1rem; color: var(--muted); line-height: 1.45; }
.scene-output {
  display: block;
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid color-mix(in srgb, var(--blueprint) 28%, transparent);
  color: var(--blueprint);
  font: 600 .65rem/1.45 var(--mono);
  text-transform: uppercase;
}

.input-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 4px solid var(--oxide); }
.input-item { padding: 1.25rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.input-item:nth-child(even) { border-right: 0; }

.stage-board { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stage-row {
  display: grid;
  grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1fr) minmax(13rem, 0.48fr);
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--white);
}
.stage-output { padding: 1rem; border-left: 4px solid var(--lantern); background: var(--paper); }
.stage-output .utility { margin-bottom: 0.35rem; }

.language-matrix { border: 1px solid var(--line); background: var(--white); }
.language-row { display: grid; grid-template-columns: 5rem 1fr 1fr; gap: 1rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.language-row:first-child { background: var(--sage); font-weight: 700; }
.language-row:last-child { border-bottom: 0; }
.language-row span:first-child { font-family: var(--mono); font-weight: 600; }

.responsibility-columns { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 4px solid var(--lantern); }
.responsibility { padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid var(--line); background: var(--white); }
.responsibility:last-child { border-right: 0; }

/* Industries */
.industries-hero .hero-copy { grid-column: 1 / span 7; }
.hero-filmstrip { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; align-self: center; }
.hero-filmstrip img { width: 100%; height: 28rem; object-fit: cover; border-radius: 0.5rem; }
.hero-filmstrip img:first-child { object-position: 61% center; }

.industry-section { overflow: hidden; }
.industry-layout { display: grid; grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.industry-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.125rem; }
.industry-image.wide { aspect-ratio: 16 / 10; object-position: 62% center; }
.use-case-list { margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.use-case-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.example-workflow { margin-top: 2rem; padding: 1.5rem; border-left: 5px solid var(--oxide); background: var(--white); }
.logistics-route { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-block: 2rem; background: var(--line); }
.route-stop { padding: 1rem 0.75rem; background: var(--white); font: 550 0.72rem/1.45 var(--mono); text-align: center; }
.role-matrix { display: grid; grid-template-columns: 1fr 1fr; margin-block: 2rem; border: 1px solid var(--line); }
.role-cell { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.role-cell:nth-child(even) { border-right: 0; }
.role-cell:nth-last-child(-n+2) { border-bottom: 0; }

.fit-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.fit-list { margin: 0; padding: 0; border-top: 4px solid var(--sage); list-style: none; }
.fit-list.nonfit { border-color: var(--oxide); }
.fit-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }

/* LMS */
.lms-page .hero { background: color-mix(in srgb, var(--blueprint) 8%, var(--paper)); }
.lms-hero .hero-copy { grid-column: 1 / span 6; }
.lms-visual { grid-column: 7 / -1; display: grid; align-self: center; }
.lms-visual img { grid-area: 1 / 1; width: 100%; aspect-ratio: 3 / 2; border-radius: 1.125rem; object-fit: cover; }
.lms-visual .manifest { grid-area: 1 / 1; z-index: 2; width: 70%; align-self: end; justify-self: end; margin: 0 -1rem -2rem 0; }

.system-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--blueprint); background: var(--blueprint); }
.system-column { padding: clamp(2rem, 4vw, 3.5rem); background: var(--white); }
.system-column:last-child { background: var(--blueprint); color: var(--white); }
.system-column:last-child .utility { color: var(--lantern); }

.discovery-checklist { display: grid; grid-template-columns: 1fr 1fr; border-top: 4px solid var(--blueprint); }
.check-item { display: flex; gap: 0.8rem; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.check-item:nth-child(even) { border-right: 0; }
.check-item::before { color: var(--blueprint); font-family: var(--mono); content: "□"; }

.handoff-sequence { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--blueprint); }
.handoff-step { padding: 1.5rem; border-right: 1px solid var(--blueprint); }
.handoff-step:last-child { border-right: 0; }
.handoff-step .utility { color: var(--blueprint); }

.compatibility-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(28rem, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.compatibility-copy .lead { max-width: 44rem; }
.compatibility-record {
  border: 1px solid var(--blueprint);
  background: var(--paper);
  box-shadow: .8rem .8rem 0 color-mix(in srgb, var(--blueprint) 16%, transparent);
}
.compatibility-record__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem 1.4rem;
  border-bottom: 4px solid var(--lantern);
  background: var(--blueprint);
  color: var(--white);
}
.compatibility-record__header .utility { margin: 0; color: var(--lantern); }
.compatibility-record__header h3 { margin: 0; font-size: 1.1rem; }
.compatibility-record dl { margin: 0; }
.compatibility-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, .4fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.compatibility-row dt,
.compatibility-row dd { margin: 0; }
.compatibility-row dt { font: 600 .75rem/1.5 var(--mono); text-transform: uppercase; }
.compatibility-owner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.4rem;
  background: color-mix(in srgb, var(--sage) 45%, var(--white));
  font-weight: 700;
}
.compatibility-owner span { font: 600 .72rem/1.6 var(--mono); text-transform: uppercase; }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(18rem, .52fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.faq-heading h2 { margin-top: 0; }
.faq-heading p:last-child { max-width: 29rem; color: var(--muted); }
.faq-layout .faq-list { width: 100%; }

/* Contact */
.contact-desk { align-items: stretch; }
.contact-copy { grid-column: 1 / span 7; padding-right: 2rem; }
.intake-sheet { grid-column: 8 / -1; padding: clamp(1.5rem, 3vw, 2.7rem); border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 45px rgba(36,33,23,.1); }
.intake-sheet .button { width: 100%; }
.prompt-list { margin: 1.5rem 0; padding: 0; list-style: none; }
.prompt-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.privacy-note { padding: 1.25rem; border-left: 5px solid var(--oxide); background: var(--paper); }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: next; }
.next-step { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: var(--white); counter-increment: next; }
.next-step + .next-step { border-left: 0; }
.next-step::before { display: block; margin-bottom: 1rem; color: var(--oxide); font: 600 0.78rem/1 var(--mono); content: "0" counter(next); }

/* FAQ, footer, 404 */
.faq-list { width: 100%; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: flex;
  min-height: 4rem;
  align-items: center;
  padding: 1rem 3rem 1rem 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 670;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: .5rem; font-size: 1.45rem; content: "+"; transition: transform 150ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

.site-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(16rem, 1.2fr) minmax(16rem, .8fr) minmax(13rem, .6fr); gap: clamp(2rem, 6vw, 6rem); }
.site-footer .wordmark,
.site-footer a { color: var(--white); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
.footer-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.footer-meta p,
.footer-brand p { color: #ded8c6; }

.not-found { display: grid; min-height: 68vh; place-items: center; }
.not-found-board { width: min(100%, 50rem); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); background: var(--white); }

@media (max-width: 68rem) {
  .grid-12 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hero-copy,
  .industries-hero .hero-copy { grid-column: 1 / span 5; }
  .source-stack,
  .hero-filmstrip { grid-column: 6 / -1; }
  .platform-copy { grid-column: 1 / span 4; }
  .annotated-source { grid-column: 5 / -1; }
  .lms-hero .hero-copy { grid-column: 1 / span 4; }
  .lms-visual { grid-column: 5 / -1; }
  .contact-copy { grid-column: 1 / span 5; }
  .intake-sheet { grid-column: 6 / -1; }
  .workflow-step { grid-template-columns: 3rem minmax(10rem,.55fr) minmax(0,1fr); }
  .owner-cue { grid-column: 2 / -1; }
  .handoff-sequence { grid-template-columns: repeat(3, 1fr); }
  .handoff-step:nth-child(3) { border-right: 0; }
  .handoff-step:nth-child(n+4) { border-top: 1px solid var(--blueprint); }
}

@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; gap: 0; }
  .js .menu-toggle { display: inline-flex; margin-left: auto; }
  .js .site-nav {
    position: static;
    flex-basis: 100%;
    display: none;
    width: 100%;
    margin-top: -0.4rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .js .site-nav[data-open="true"] { display: block; }
  .site-nav ul { flex-wrap: wrap; padding: 0.5rem 0 1rem; }
  .js .site-nav ul { display: block; }
  .js .site-nav a { width: 100%; min-height: 3.6rem; border-bottom: 1px solid var(--line); }

  .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-copy,
  .industries-hero .hero-copy,
  .source-stack,
  .hero-filmstrip,
  .platform-copy,
  .annotated-source,
  .lms-hero .hero-copy,
  .lms-visual,
  .contact-copy,
  .intake-sheet { grid-column: 1 / -1; grid-row: auto; }

  .contact-copy { padding-right: 0; }

  .source-stack,
  .hero-filmstrip,
  .lms-visual,
  .intake-sheet { margin-top: 2rem; }
  .source-stack { display: block; }
  .source-photo { width: 100%; }
  .source-sheet {
    position: relative;
    width: min(34rem, calc(100% - 2rem));
    margin: -4rem auto 0;
  }
  .hero-filmstrip { order: -1; }
  .hero-filmstrip img { height: 21rem; }
  .annotated-source { min-height: auto; }
  .platform-copy { padding-inline: 0; }
  .annotated-source { grid-template-columns: 1fr; }
  .release-ribbon { grid-template-columns: repeat(3, 1fr); }
  .release-stage:nth-child(3) { border-right: 0; }
  .release-stage:nth-child(n+4) { border-top: 1px solid var(--line); }
  .ruled-sheet,
  .industry-triptych,
  .boundary-handoff,
  .responsibility-columns,
  .system-boundary,
  .fit-split,
  .compatibility-grid,
  .faq-layout,
  .next-steps { grid-template-columns: 1fr; }
  .compatibility-grid,
  .faq-layout { gap: 2.5rem; }
  .closing-question { grid-template-columns: 1fr; align-items: start; }
  .sheet-lane,
  .industry-panel,
  .responsibility,
  .next-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .industry-panel + .industry-panel,
  .next-step + .next-step { border-left: 1px solid var(--line); }
  .industry-layout { grid-template-columns: 1fr; }
  .industry-image { max-height: 38rem; object-position: center; }
  .workflow-step,
  .stage-row { grid-template-columns: 3rem 1fr; }
  .workflow-step p,
  .stage-row > p { grid-column: 2; }
  .owner-cue,
  .stage-output { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 38rem) {
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .interior h1 { font-size: clamp(2.55rem, 12vw, 3.55rem); }
  .release-ribbon { grid-template-columns: 1fr; border-block: 1px solid var(--ink); }
  .release-stage { min-height: 4.5rem; padding-left: 3.7rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .release-stage:last-child { border-bottom: 0; }
  .release-stage::before { position: absolute; left: 1rem; top: 1.25rem; }
  .release-stage:nth-child(n+4) { border-top: 0; }
  .source-sheet {
    width: calc(100% - 1.5rem);
    margin-top: -2.5rem;
    padding: 1.15rem;
  }
  .annotated-source { padding: 1rem; }
  .sop-facts,
  .scene-sequence { grid-template-columns: 1fr; }
  .ruled-sheet { border-bottom: 0; }
  .workflow-step,
  .stage-row { grid-template-columns: 1fr; }
  .workflow-step p,
  .stage-row > p,
  .owner-cue,
  .stage-output { grid-column: auto; }
  .workflow-step::before { margin-bottom: -.25rem; }
  .manifest-row { grid-template-columns: 1fr; gap: .25rem; }
  .manifest-row dd:last-child { text-align: left; }
  .input-ledger,
  .discovery-checklist { grid-template-columns: 1fr; }
  .input-item,
  .check-item { border-right: 0; }
  .language-row { grid-template-columns: 4rem 1fr; }
  .language-row span:last-child { grid-column: 2; }
  .hero-filmstrip { grid-template-columns: 1fr 1fr 1fr; }
  .hero-filmstrip img { height: 15rem; }
  .logistics-route { grid-template-columns: 1fr; }
  .route-stop { text-align: left; }
  .role-matrix { grid-template-columns: 1fr; }
  .role-cell { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .role-cell:last-child { border-bottom: 0 !important; }
  .handoff-sequence { grid-template-columns: 1fr; }
  .handoff-step { border-right: 0; border-bottom: 1px solid var(--blueprint); }
  .handoff-step:nth-child(n+4) { border-top: 0; }
  .lms-visual .manifest { width: 88%; margin-right: 0; }
  .compatibility-record__header,
  .compatibility-owner { display: grid; }
  .compatibility-row { grid-template-columns: 1fr; gap: .25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 24.4rem) {
  .actions { display: grid; }
  .button { width: 100%; }
  .context-links { display: grid; }
  .footer-nav { grid-template-columns: 1fr; }
}

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

@media (forced-colors: active) {
  .release-stage.active,
  .closing-question { border: 2px solid CanvasText; }
  .site-nav a[aria-current="page"] { text-decoration: underline; }
}
