/* Inner-page header ------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + var(--space-6));
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero__eyebrow { margin-bottom: var(--space-3); }
.page-hero__title { max-width: 20ch; }
.page-hero__sub {
  margin-top: var(--space-3);
  max-width: 60ch;
  font-size: var(--step-1);
  color: var(--text-2);
  line-height: 1.5;
}

/* Service blocks (what we do) --------------------------------------------- */
.service { border-bottom: 1px solid var(--line); }
.service__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .service__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-7); }
}
.service__title { margin-top: var(--space-3); max-width: 18ch; }
.service__lede > p { max-width: var(--measure); color: var(--text-3); }
.service__lede > p + p { margin-top: 1.1em; }

.included__h {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: var(--space-2);
}
.included {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  border-top: 1px solid var(--line);
}
.included li {
  position: relative;
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
}
.included li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(var(--space-2) + 0.62em);
  width: 8px;
  height: 1px;
  background: var(--steel);
}
.outcome {
  padding: var(--space-3) var(--space-4);
  background: var(--ink-2);
  border-left: 1px solid var(--steel);
  color: var(--text);
}
.outcome__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.35rem;
}
.engagement {
  margin-top: var(--space-3);
  font-size: var(--step--1);
  color: var(--text-4);
  font-style: italic;
}

/* Approach: the progression spine ---------------------------------------- */
.spine-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .spine-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-7); }
}

/* Sticky live state-ladder nav */
.spine-nav__list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.spine-nav__list a {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-4);
  transition: color var(--dur-fast) var(--ease);
}
.spine-nav__list a::before {
  content: ""; width: 1.4em; height: 1px; margin-right: 0.7em;
  background: currentColor; opacity: 0.55;
  transition: width var(--dur-fast) var(--ease);
}
.spine-nav__list a.is-reached { color: var(--text-2); }
.spine-nav__list a[aria-current="step"] { color: var(--steel); }
.spine-nav__list a[aria-current="step"]::before { width: 2.4em; opacity: 1; }

/* The spine */
.spine { position: relative; --line-x: 4.5rem; }
.spine__line { position: absolute; left: var(--line-x); top: 0.5rem; bottom: 0.4rem; width: 2px; background: var(--line); overflow: hidden; }
.spine__fill { display: block; width: 100%; height: 100%; background: var(--steel); transform: scaleY(1); transform-origin: top; }
.js .spine__fill { transform: scaleY(0); transition: transform var(--dur) var(--ease); }

.spine__steps { list-style: none; margin: 0; padding: 0; }
.spine__step {
  position: relative;
  padding: var(--space-5) 0 var(--space-6) calc(var(--line-x) + var(--space-5));
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h-stuck) + var(--space-3));
}
.spine__num {
  position: absolute; left: 0; top: var(--space-5);
  width: var(--line-x); margin: 0; padding-right: var(--space-3);
  text-align: right;
  font-family: var(--font-mono); font-size: var(--step-4); line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text-4);
  transition: color var(--dur-fast) var(--ease);
}
.spine__step.is-current .spine__num { color: var(--steel); }
.spine__node {
  position: absolute; left: var(--line-x); top: calc(var(--space-5) + 0.5em);
  width: 11px; height: 11px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--line-2);
  box-shadow: 0 0 0 4px var(--ink);
  transition: background-color var(--dur-fast) var(--ease);
}
.spine__step.is-passed .spine__node { background: var(--steel); }
.spine__tick { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; color: var(--text-4); }
.spine__tick span { color: var(--steel); }
.spine__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); color: var(--text); margin-top: var(--space-1); line-height: 1.15; }
.spine__text { color: var(--text-3); max-width: var(--measure); margin-top: var(--space-2); }
.spine__involves {
  list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3);
  margin: var(--space-3) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--line);
}
.spine__involves li { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.04em; color: var(--text-4); }

.spine__terminal { position: relative; padding: var(--space-4) 0 0 calc(var(--line-x) + var(--space-5)); scroll-margin-top: calc(var(--header-h-stuck) + var(--space-3)); }
.spine__node--end { top: 0.55rem; }
.spine__terminal.is-lit .spine__node--end { background: var(--steel); }
.spine__endlabel { margin: 0; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); }
.spine__endlabel span { color: var(--steel); }
.spine__terminal.is-lit .spine__endlabel { color: var(--steel-bright); }

/* Build and advise diptych */
.diptych { margin-top: var(--space-5); display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .diptych { grid-template-columns: 1fr auto 1fr; align-items: start; gap: var(--space-5); } }
.diptych__h { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin-bottom: var(--space-2); }
.diptych__h span { color: var(--steel); }
.diptych__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.diptych__list li { padding: var(--space-2) 0; border-bottom: 1px solid var(--line); color: var(--text-3); }
.diptych__hinge { font-family: var(--font-display); font-size: var(--step-2); color: var(--text-4); align-self: center; text-align: center; }
.diptych__advise { color: var(--text-2); font-size: var(--step-1); max-width: 22ch; line-height: 1.4; }

/* Antithesis: the one full-bleed band (iron ground, not the client navy) */
.thesis-band { background: var(--ink-2); border-block: 1px solid var(--line); }
.thesis-band__inner { padding-block: var(--section-y); display: grid; gap: var(--space-5); }
.antithesis { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 900px) { .antithesis { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.antithesis__clause { font-family: var(--font-display); font-weight: 600; font-size: var(--step-3); line-height: 1.14; color: var(--text); max-width: 24ch; }
.antithesis__fail { color: var(--text-3); }
.antithesis__resolve { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1.12; color: var(--text); max-width: 22ch; }

/* Careful: the quietest register on the page */
.careful__lead { color: var(--text-3); margin-top: var(--space-3); }
.careful__list { list-style: none; margin: var(--space-5) 0 0; padding: 0; border-top: 1px solid var(--line-2); max-width: 64ch; }
.careful__list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line-2); color: var(--text-3); font-size: var(--step-0); }
/* The "//" marker that used to open each row is gone; a short steel rule keeps
   the accent and matches the section-label treatment. */
.careful__list li { display: flex; align-items: baseline; gap: 0.9em; }
.careful__list li::before {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1px;
  background: var(--steel);
  transform: translateY(-0.3em);
}

/* Pull arc (reuses .pull / .pull__text / .pull__hi) */
.pull__text--arc { max-width: none; font-size: var(--step-3); }
.pull__sep { color: var(--text-4); padding: 0 0.2em; }

/* Case study (work) ------------------------------------------------------- */
.case__plate {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: end stretch;
}
.case__plate .plate-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: block;
}
.case__plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate-zoom:focus-visible { outline: 2px solid var(--steel); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .plate-zoom img { transition: transform var(--dur) var(--ease); }
  .plate-zoom:hover img { transform: scale(1.02); }
}
.case__plate figcaption {
  position: relative;
  padding: var(--space-5) var(--space-3) var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-4);
  background: linear-gradient(to top, rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.5) 55%, rgba(10, 11, 13, 0));
  pointer-events: none;
}
.case__plate figcaption span { color: var(--steel); }

/* Media beats: the single website spoiler + the two screenshot scenes. */
.case__spoiler-sec { padding-top: var(--space-4); }
.case__scene-sec { padding-block: var(--space-5); }

.case__block { border-top: 1px solid var(--line); }
.case__block-grid {
  display: grid;
  gap: var(--space-3) var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .case__block-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-7); }
  /* Sticky mono spine: the section label pins beside the scrolling prose. */
  .case__label--sticky { position: sticky; top: calc(var(--header-h-stuck) + var(--space-4)); align-self: start; }
}
.case__body > p { max-width: var(--measure); color: var(--text-3); }
.case__body > p + p { margin-top: 1.1em; }

/* At-a-glance meta rail (mirrors the .stats hairline grid). */
.meta-rail-sec { padding-block: var(--space-6) var(--space-5); }
.meta-rail {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.meta-rail__cell { background: var(--ink); padding: var(--space-3) var(--space-4); }
.meta-rail dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.5rem;
}
.meta-rail dd { margin: 0; color: var(--text-2); font-size: var(--step-0); }

/* Brand identity band: the one full-bleed moment, on the client's own navy. */
.brand-band { background: #0b2545; border-block: 1px solid var(--line); }
.brand-band__inner {
  padding-block: var(--section-y);
  display: grid;
  justify-items: start;
  gap: var(--space-5);
}
.brand-band__eyebrow { color: rgba(255, 255, 255, 0.6); }
.brand-band__eyebrow span { color: rgba(255, 255, 255, 0.55); }
.brand-band__logo { width: min(440px, 78%); height: auto; }

.palette {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.swatch {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.swatch__chip { display: block; aspect-ratio: 16 / 10; background: var(--sw); }
.swatch--paper .swatch__chip { box-shadow: inset 0 0 0 1px var(--line); }
.swatch__meta {
  display: block;
  padding: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
}
.swatch__hex { color: rgba(255, 255, 255, 0.5); }
.swatch:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .swatch { transition: transform var(--dur-fast) var(--ease); }
  .swatch:is(:hover, :focus-visible) { transform: translateY(-4px); }
}
.palette__status {
  min-height: 1.3em;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}
.brand-pills { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.brand-pills li {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 0.5em 1em;
}
@media (max-width: 560px) { .palette { grid-template-columns: repeat(2, 1fr); } }

/* Pull statement: the quiet peak before the CTA. */
.pull__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-4);
  line-height: 1.12;
  max-width: 20ch;
  color: var(--text);
}
.pull__hi { color: var(--steel); }

/* Screenshot lightbox (native <dialog>). */
.lightbox {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text);
  max-width: min(1200px, 92vw);
  max-height: 92vh;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 11, 13, 0.86); }
.lightbox__fig { margin: 0; display: block; }
.lightbox__img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; background: var(--ink); }
.lightbox__cap {
  padding: var(--space-2) var(--space-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-4);
}
.lightbox__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 1;
  padding: 0.5em 0.9em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(14, 15, 18, 0.72);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--steel); color: var(--steel-bright); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in var(--dur-fast) var(--ease); }
  .lightbox[open]::backdrop { animation: lb-bd var(--dur-fast) var(--ease); }
}
@keyframes lb-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lb-bd { from { opacity: 0; } to { opacity: 1; } }

/* Contact ----------------------------------------------------------------- */
.contact__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--space-7); }
}

.form__row {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.5rem; margin-bottom: var(--space-3); }
.field__label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.field__label .req { color: var(--steel); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  color: var(--text);
  font: inherit;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2389919c' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: var(--ink-3);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }

/* Honeypot: off-screen, never announced to AT, never tabbable. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.form__reassure {
  margin-top: var(--space-3);
  font-size: var(--step--1);
  color: var(--text-4);
  max-width: 52ch;
}
.cf-turnstile { margin-top: var(--space-2); }

.contact-aside__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--text);
  margin-bottom: var(--space-3);
}
.contact-aside dl { display: grid; gap: var(--space-3); margin: 0; }
.contact-aside dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.3rem;
}
.contact-aside dd { margin: 0; color: var(--text-2); }
.contact-aside a { color: var(--steel); text-decoration: none; }
.contact-aside a:hover { color: var(--steel-bright); }

/* Centred message pages (thank-you, form fallback) ------------------------ */
.message-page {
  min-height: 70svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-7) var(--gutter);
}
.message-page__inner { max-width: 44ch; margin: 0 auto; }
.message-page h1 { margin-bottom: var(--space-3); }
.message-page p { color: var(--text-2); margin-bottom: var(--space-4); }
.message-page .label { justify-content: center; margin-bottom: var(--space-4); }

.service__ico {
  display: inline-flex;
  color: var(--steel);
  margin: var(--space-3) 0 0;
}
.service__ico .ico { width: 30px; height: 30px; }

/* Legal / prose pages ---------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 {
  font-size: var(--step-1);
  margin: var(--space-5) 0 var(--space-2);
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-3); margin-bottom: var(--space-2); }
.prose ul { color: var(--text-3); margin: 0 0 var(--space-2) 0; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--steel); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--steel-bright); }
.prose__updated {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-4);
  margin-bottom: var(--space-5);
}

/* About: identity dossier + positioning axis ----------------------------- */
.meta-rail__sub { display: block; margin-top: 0.35rem; font-size: var(--step--1); color: var(--text-4); letter-spacing: 0.02em; }

.gap-truths__cue { color: var(--text-2); margin-top: var(--space-4); font-size: var(--step-1); }
.gap-truths { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-top: var(--space-3); }
@media (min-width: 640px) { .gap-truths { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.gap-truths__side { border-top: 1px solid var(--line); padding-top: var(--space-2); }
.gap-truths__side .label { margin-bottom: var(--space-2); }
.gap-truths__clause { color: var(--text-3); }

.case__mech { color: var(--text-3); max-width: var(--measure); margin-top: var(--space-4); }
.hl { color: var(--text); }
.case__resolve { color: var(--text); font-size: var(--step-1); max-width: var(--measure); margin-top: var(--space-4); line-height: 1.5; }

/* Positioning axis: a Marketing <-> Defence spectrum, Ironpeak at the middle. */
.axis { position: relative; display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
.axis__cell { position: relative; }
.axis__cell--a, .axis__cell--b, .axis__cell--centre { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.axis__polelabel { margin-bottom: var(--space-2); }
.axis__pole { color: var(--text-3); max-width: 42ch; }
.axis__resolve { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1.06; letter-spacing: -0.01em; color: var(--text); margin-top: var(--space-1); }
.axis__support { color: var(--text-2); max-width: 48ch; margin-top: var(--space-3); }
.axis__rule, .axis__node { display: none; }
@media (min-width: 900px) {
  .axis { grid-template-columns: 1fr 1.5fr 1fr; column-gap: var(--space-6); align-items: start; padding-top: var(--space-6); }
  .axis__rule { display: block; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: var(--line); }
  .axis__node {
    display: block; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; border-radius: var(--radius); background: var(--steel);
    box-shadow: 0 0 0 5px var(--ink-2);
  }
  .axis__cell--a { grid-column: 1; grid-row: 1; }
  .axis__cell--centre { grid-column: 2; grid-row: 1; text-align: center; }
  .axis__cell--b { grid-column: 3; grid-row: 1; text-align: right; }
  .axis__cell--a, .axis__cell--b, .axis__cell--centre { border-top: 0; padding-top: 0; }
  .axis__cell--centre .axis__resolve { font-size: var(--step-5); }
  .axis__cell--centre .axis__pole, .axis__cell--centre .axis__support { margin-inline: auto; }
  .axis__cell--b .axis__pole { margin-left: auto; }
  .axis__cell--centre .label { justify-content: center; }
  .axis__cell--b .label { justify-content: flex-end; }
}

/* Doctrine list (Our standards) */
.doctrine { list-style: none; margin: 0; padding: 0; }
.doctrine__row { display: grid; grid-template-columns: 1fr; gap: var(--space-1); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.doctrine__row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .doctrine__row { grid-template-columns: 4rem 1fr; gap: var(--space-4); } }
.doctrine__key { color: var(--text-4); align-self: start; padding-top: 0.2em; }
.doctrine__lead { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--text); line-height: 1.25; }
.doctrine__sub { color: var(--text-3); margin-top: var(--space-2); max-width: var(--measure); }

/* What we do: the Ascent stage explorer --------------------------------- */
.ascent .spine-grid { align-items: start; }
.ascent .ico { stroke-width: 2; }

/* Rail is enhancement-only: hidden until JS adds .is-explorer */
.ascent__rail { display: none; }
.ascent__ridge, .ascent__indicator { display: none; }
.ascent.is-explorer .ascent__rail {
  display: flex; flex-direction: column; gap: var(--space-2);
  position: sticky; top: calc(var(--header-h-stuck) + var(--space-4)); align-self: start;
}
.ascent.is-explorer .ascent__ridge {
  display: block; position: absolute; left: 0; top: var(--space-3); bottom: var(--space-3); width: 2px; background: var(--line);
}
.ascent.is-explorer .ascent__indicator {
  display: block; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--steel);
}
@media (prefers-reduced-motion: no-preference) {
  .ascent.is-explorer .ascent__indicator { transition: transform var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease); }
}

/* Stage tabs */
.stage-tab {
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3);
  width: 100%; text-align: left; cursor: pointer; font: inherit;
  background: none; border: 0; border-radius: var(--radius);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  color: var(--text-3);
  box-shadow: inset 0 0 0 1px transparent;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.stage-tab:hover, .stage-tab:focus-visible { color: var(--text); box-shadow: inset 0 0 0 1px var(--steel); }
.stage-tab:focus-visible { outline: 2px solid var(--steel-bright); outline-offset: 2px; }
.stage-tab[aria-selected="true"] { color: var(--text); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.stage-tab__ico { grid-row: 1 / -1; align-self: center; color: var(--text-4); transition: color var(--dur-fast) var(--ease); }
.stage-tab__ico .ico { width: 30px; height: 30px; display: block; }
.stage-tab[aria-selected="true"] .stage-tab__ico { color: var(--steel); }
.stage-tab__meta { grid-column: 2; display: grid; gap: 2px; }
.stage-tab__num { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; color: var(--text-4); transition: color var(--dur-fast) var(--ease); }
.stage-tab[aria-selected="true"] .stage-tab__num { color: var(--steel); }
.stage-tab__name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.1; }
.stage-tab__tag { grid-column: 2; margin-top: var(--space-1); font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; color: var(--steel); }

/* Panels: stacked by default (no-JS / mobile), one-at-a-time under .is-explorer */
.ascent__panels { position: relative; }
.stage-panel {
  padding: var(--space-5);
  background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-h-stuck) + var(--space-3));
}
.stage-panel + .stage-panel { margin-top: var(--space-4); }
.ascent.is-explorer .stage-panel { margin-top: 0; }
.ascent.is-explorer .stage-panel[hidden] { display: none; }
.ascent.is-explorer .stage-panel:not([hidden]) { background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.ascent.is-explorer .ascent__panels { min-height: 34rem; }
@media (prefers-reduced-motion: no-preference) {
  .ascent.is-explorer .stage-panel:not([hidden]) { animation: stage-in var(--dur-fast) var(--ease) both; }
}
@keyframes stage-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.stage-panel__label { margin-bottom: var(--space-3); }
.stage-panel__ico { display: inline-block; color: var(--text-3); margin-bottom: var(--space-3); transition: color var(--dur-fast) var(--ease); }
.stage-panel__ico .ico { width: 48px; height: 48px; display: block; }
.stage-panel__ico .ico * { vector-effect: non-scaling-stroke; }
.ascent.is-explorer .stage-panel:not([hidden]) .stage-panel__ico { color: var(--steel); }
.stage-panel__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-3); color: var(--text); max-width: 22ch; line-height: 1.12; }
.stage-panel__body { margin: var(--space-3) 0 var(--space-4); }
.stage-panel__body > p { max-width: var(--measure); color: var(--text-2); }
.stage-panel__body > p + p { margin-top: 1.1em; }

/* =========================================================================
   EXPO READY: show stamp, gate ladder, deliverables schedule and the bleed
   diagram. All static by construction: no pin, no scrub, no JS, no motion.
   ========================================================================= */

/* ---- SHOW STAMP ---------------------------------------------------------
   This page names a third party's event more often than any other page on the
   site, so the name gets weight and size and never a container. A box, pill,
   plate or reversed panel is what turns a name into a mark. The non affiliation
   line sits close to the name, because proximity does the compliance work
   rather than the footer. */
.show-stamp {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}
.show-stamp__meta {
  margin: var(--space-1) 0 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: var(--text-4);
  font-variant-numeric: tabular-nums lining-nums;
}
.show-stamp__meta span { color: var(--steel); }
.show-stamp__note {
  margin: var(--space-3) 0 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--text-4);
  max-width: 56ch;
}
.show-stamp__note + .meta-rail { margin-top: var(--space-5); }

/* The queued show. The capacity section has always promised to offer the next
   show when this one is too close; this names it. A plain steel rule, the same
   marker the tight lists use, because a directional glyph on a single standing
   statement would read as decoration. Absent entirely when shows.js has no NEXT
   queued, so it can never render as an empty promise.

   Colour is --text-3, matching the body copy around it rather than dimming to
   --text-4. This is a forward offer and a conversion path, not a footnote, so
   the mono face, the smaller step and the rule carry the distinction on their
   own. Stated explicitly rather than inherited: .case__body > p already sets
   --text-3 and outweighs a single class, so a --text-4 here would be dead code
   that reads as intent. Verified live 2026-09-03: 8.4:1 on --ink, the show name
   9.8:1, the rule 7.1:1. */
.next-show {
  margin: var(--space-4) 0 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--steel);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 56ch;
}
.next-show b { color: var(--text-2); font-weight: 500; }

/* ---- GATE LADDER --------------------------------------------------------
   The exhibitor's own deadline stack as a ruled index. The device is the
   ladder, the owner column and the Fixed or Indicative stamp, never a date,
   because the dates belong to the organiser, the stand contractor, the printer
   and the freight forwarder. Degrades to a plain ordered list. */
.gates { border-top: 1px solid var(--line); }
.gates__lead {
  margin-top: var(--space-3);
  max-width: var(--measure);
  color: var(--text-3);
}
.gates__list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.gates__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-2);
}
.gates__n {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  color: var(--text-4);
  font-variant-numeric: tabular-nums lining-nums;
}
.gates__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.2;
  color: var(--text);
}
.gates__note {
  margin: var(--space-1) 0 0;
  max-width: 54ch;
  color: var(--text-3);
}
.gates__owner {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: var(--text-4);
}
.gates__owner span { color: var(--steel); }
.gates__stamp {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
}

@media (min-width: 900px) {
  .gates__row {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 14rem);
    gap: var(--space-5);
    align-items: baseline;
  }
  .gates__owner { text-align: right; }
}

/* The last row is the one that cannot move. */
.gates__row--fixed .gates__name { color: var(--steel-bright); }
.gates__row--fixed .gates__stamp { color: var(--steel); }

.gates__caveat {
  margin-top: var(--space-4);
  max-width: 62ch;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--text-4);
}

/* ---- DELIVERABLES SCHEDULE ----------------------------------------------
   A parts schedule, not a sales list. No hover, no sort, no expansion, because
   a schedule does not respond to a cursor. */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-4);
  font-size: var(--step-0);
  font-variant-numeric: tabular-nums lining-nums;
}
.spec-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
}
.spec-table th {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  text-align: left;
  vertical-align: bottom;
  white-space: nowrap;
  padding: 0 var(--space-4) var(--space-2) 0;
  border-bottom: 1px solid var(--line-2);
}
.spec-table td {
  padding: var(--space-3) var(--space-4) var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: baseline;
}
.spec-table th:last-child, .spec-table td:last-child { padding-right: 0; }
.spec-table__name { color: var(--text); font-weight: 600; }
.spec-table__note {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-4);
  font-size: var(--step--1);
  max-width: 46ch;
}
.spec-table__mono {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* Leader running across to the supplied format, the way a parts schedule sets
   out a list. Dashed rather than dotted, because a dotted leader at this rule
   colour disappears at 1x. */
.spec-table__lead { display: flex; align-items: baseline; gap: 0.7rem; }
.spec-table__lead::before {
  content: "";
  flex: 1 1 auto;
  align-self: flex-end;
  height: 1px;
  margin-bottom: 0.42em;
  background-image: repeating-linear-gradient(
    to right, var(--line-2) 0 2px, transparent 2px 6px);
}

/* Below 720px the schedule stacks. Table roles are declared in the markup,
   because display block strips native table semantics in every engine. */
@media (max-width: 719px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td {
    display: block; width: 100%;
  }
  .spec-table thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .spec-table tr { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  .spec-table td { border: 0; padding: 0 0 0.5rem; }
  .spec-table td[data-key]::before {
    content: attr(data-key);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-4);
  }
  .spec-table__lead::before { display: none; }
}

/* ---- BLEED, TRIM AND SAFE AREA ------------------------------------------
   Sits inside the Built to the specification block, where the copy already
   argues that these are three different things. Deliberately NOT on the stand
   drawing: at the size it needs in order to be legible it crowded the set out,
   and the set out is the page's signature. */
.bleed-fig {
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.bleed-fig svg { display: block; width: 100%; max-width: 400px; height: auto; }
.bleed-fig figcaption {
  margin: var(--space-3) 0 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: var(--text-4);
  max-width: 52ch;
}
.bleed-fig figcaption b { color: var(--text-3); font-weight: 400; }
