/* ============================================================
   KET Digital — Mercury
   Clinical white, chrome specimen behind, editorial type.
   Base: war-room/ket-digital-3d/v5-mercury/style.css (2026-04-26)
   Recut for the 2026-09 positioning: AI intake + receptionist.
   ============================================================ */

:root {
  --paper:   #f5f6f8;
  --bone:    #ebece8;
  --slate:   #2c2e33;
  --ink:     #1a1a1d;
  --mid:     #6a6e74;
  --mute:    #a9adb3;
  --hair:    rgba(26, 26, 29, 0.08);
  --hair-2:  rgba(26, 26, 29, 0.16);
  --ice:     #9bb8c4;
  --ember:   #c47a4a;
  --ember-ink: #9a5a33;
  --glass:   rgba(255, 255, 255, 0.55);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- CANVAS + FALLBACK ---------- */

#scene {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
}
/* When the scene is not started (phones, reduced motion, no WebGL) the
   canvas stays empty and this soft chrome wash stands in for it. */
html.no-scene #scene { display: none; }
html.no-scene body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 38%, rgba(216, 219, 223, 0.9) 0%, rgba(216, 219, 223, 0) 70%),
    radial-gradient(35% 30% at 62% 62%, rgba(155, 184, 196, 0.35) 0%, rgba(155, 184, 196, 0) 70%),
    var(--paper);
}

#white-veil {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(245,246,248,0.82) 0%,
      rgba(245,246,248,0.62) 40%,
      rgba(245,246,248,0.28) 64%,
      rgba(245,246,248,0)    86%),
    linear-gradient(180deg,
      rgba(245,246,248,0.55) 0%,
      rgba(245,246,248,0)    14%,
      rgba(245,246,248,0)    82%,
      rgba(245,246,248,0.55) 100%);
}

/* ---------- MASTHEAD ---------- */

.masthead {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  z-index: 50;
  pointer-events: none;
}
.masthead > * { pointer-events: auto; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--ink);
  justify-self: start;
}
.wordmark svg { width: 22px; height: 22px; color: var(--ink); }
.wordmark small { font-size: 11px; letter-spacing: 0.3em; color: var(--mid); font-family: var(--mono); font-weight: 400; }
.folio {
  justify-self: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--mid);
  text-transform: uppercase;
  padding: 6px 12px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  min-width: 90px; text-align: center;
}
.hours {
  justify-self: end;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink);
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.hours:hover { color: var(--ember); }
.hours::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ember);
  margin-right: 12px;
  vertical-align: middle;
  position: relative; top: -1px;
}

/* ---------- LAYOUT / PAGES ---------- */

main { position: relative; z-index: 10; }

.page {
  position: relative;
  padding: 140px 96px 120px;
  display: flex;
  align-items: center;
}
.page-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  gap: 0 120px;
  align-items: start;
}
.page-inner > * { grid-column: 2; }
.page-inner > .caption { grid-column: 1; }

.caption {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mid);
  padding-top: 24px;
  border-top: 1px solid var(--hair-2);
  align-self: start;
  line-height: 1.8;
  position: sticky; top: 96px;
}

/* ---------- HERO ---------- */

.hero { padding-top: 200px; padding-bottom: 160px; min-height: 100vh; }

.page h1 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(42px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 17ch;
  text-wrap: balance;
}
.page h1 em { font-style: italic; font-weight: 300; }

.standfirst {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.45;
  color: var(--mid);
  max-width: 50ch;
  margin-bottom: 48px;
}
.plain {
  font-size: 16px; line-height: 1.65; color: var(--mid); max-width: 60ch; margin-bottom: 20px;
}
.plain strong { color: var(--ink); font-weight: 500; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; margin-bottom: 28px; }
.ghost-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  transition: color 0.3s, border-color 0.3s;
}
.ghost-cta span { width: 6px; height: 6px; background: var(--ember); display: inline-block; }
.ghost-cta::after { content: '↗'; margin-left: 8px; font-family: var(--serif); font-size: 14px; }
.ghost-cta:hover { color: var(--ember); border-color: var(--ember); }
.quiet-cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mid); transition: color 0.25s;
}
.quiet-cta::after { content: ' →'; }
.quiet-cta:hover { color: var(--ember); }
.hero-micro {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mid); line-height: 1.8; max-width: 60ch;
}

/* ---------- FACT STRIP ---------- */

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 24px 0; margin-top: 56px;
}
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts strong { font-family: var(--serif); font-weight: 300; font-size: 30px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mid); }

/* ---------- COMMON H2 ---------- */

.page h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 20ch;
  text-wrap: balance;
}

/* ---------- CATALOG (problem list) ---------- */

.catalog { list-style: none; border-top: 1px solid var(--hair); margin-top: 24px; }
.catalog li {
  display: grid; grid-template-columns: 60px 1fr; gap: 32px;
  padding: 26px 0; border-bottom: 1px solid var(--hair);
}
.cat-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); padding-top: 4px; }
.catalog strong { font-family: var(--serif); font-size: 19px; font-weight: 400; display: block; margin-bottom: 6px; color: var(--ink); }
.catalog div { font-size: 15px; line-height: 1.6; color: var(--mid); font-weight: 300; }
.closing-line { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink); margin-top: 28px; max-width: 40ch; }

/* ---------- THE CALL (demo transcript + alert) ---------- */

.call {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px;
  border-top: 1px solid var(--hair); padding-top: 32px; align-items: start;
}
.call-head {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid);
  display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.call-head b { color: var(--ember); font-weight: 400; }
.transcript { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.transcript li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.transcript .who { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mid); padding-top: 5px; }
.transcript .who.ana { color: var(--ember-ink); }
.transcript .line { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink); font-weight: 300; }
.transcript .line.stage { font-style: italic; color: var(--mid); font-size: 15px; }
.transcript .line .lang { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--mute); margin-left: 8px; vertical-align: middle; }

.alert {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 1px 0 rgba(26,26,29,0.06), 0 24px 48px -32px rgba(26,26,29,0.25);
  padding: 22px 24px;
}
.alert-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); display: flex; justify-content: space-between; margin-bottom: 16px; }
.alert-head b { color: var(--ember-ink); font-weight: 400; }
.alert dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 13px; }
.alert dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); padding-top: 3px; white-space: nowrap; }
.alert dd { font-family: var(--serif); font-size: 15px; color: var(--ink); font-weight: 400; }
.alert dd.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink); }
.alert-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--mid); line-height: 1.7; }

.audio-slot { margin-top: 28px; border-top: 1px solid var(--hair); padding-top: 18px; }
.audio-slot[hidden] { display: none; }
.audio-slot p { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.audio-slot audio { width: 100%; }
.example-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--mute); line-height: 1.7; margin-top: 18px; max-width: 70ch; }

/* ---------- SERVICES (layers) ---------- */

.layers { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.layers article {
  display: grid; grid-template-columns: 140px 1fr; gap: 40px;
  padding: 34px 0; border-bottom: 1px solid var(--hair); align-items: start;
}
.lay-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mid); padding-top: 10px; }
.layers h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.012em; margin-bottom: 12px; color: var(--ink); }
.layers p { font-size: 15px; line-height: 1.6; color: var(--mid); margin-bottom: 16px; max-width: 54ch; font-weight: 300; }
.layers ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.layers li { font-family: var(--mono); font-size: 11px; color: var(--mid); letter-spacing: 0.04em; font-weight: 300; }
.layers li::before { content: '— '; color: var(--ember); }

/* ---------- HOW (a real sequence: numbered) ---------- */

.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--hair); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 60px 1fr; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--hair);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--ember); padding-top: 5px;
}
.steps strong { font-family: var(--serif); font-size: 21px; font-weight: 400; display: block; margin-bottom: 6px; color: var(--ink); }
.steps p { font-size: 15px; line-height: 1.6; color: var(--mid); max-width: 56ch; }

/* ---------- PRICING (tiers, featured one is glass) ---------- */

.tiers { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.tiers article {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
  padding: 40px 0; border-bottom: 1px solid var(--hair); align-items: start;
}
.tiers article.featured {
  padding: 40px 32px; margin: 0 -32px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 1px 0 rgba(26,26,29,0.06), 0 30px 60px -40px rgba(26,26,29,0.3);
}
.t-name { font-family: var(--serif); font-size: 30px; font-weight: 300; letter-spacing: -0.015em; color: var(--ink); }
.t-name small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember-ink); margin-top: 8px; }
.t-price { font-family: var(--mono); font-size: 16px; color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.t-price span { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); }
.t-line { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.55; color: var(--mid); font-weight: 300; margin-top: -8px; }
.t-body { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; color: var(--mid); max-width: 60ch; }
.t-body strong { color: var(--ink); font-weight: 500; }
.tiers ul {
  grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px;
  font-family: var(--mono); font-size: 11px; font-weight: 300; color: var(--mid); letter-spacing: 0.04em; line-height: 1.5;
}
.tiers li::before { content: '— '; color: var(--ember); }
.t-link { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); padding-top: 4px; transition: color 0.25s; }
.t-link::after { content: ' →'; }
.t-link:hover { color: var(--ember); }
.t-fit { grid-column: 1 / -1; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--mute); }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid var(--hair); }
.tier-grid > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hair); }
.tier-grid > div + div { border-left: 1px solid var(--hair); padding-left: 16px; }
.tier-grid b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ink); }
.tier-grid i { display: block; font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--ink); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.tier-grid i small { color: var(--mid); }
.tier-grid p { font-size: 12px; line-height: 1.55; color: var(--mid); }

/* ---------- REPORT (day-15 artifact) ---------- */

.report-wrap { border-top: 1px solid var(--hair); padding-top: 24px; }
.report-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.report-head b { color: var(--ember-ink); font-weight: 400; }
.report-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.report { border-collapse: collapse; width: 100%; min-width: 760px; font-family: var(--mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.report th { text-align: left; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-size: 9px; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--hair-2); white-space: nowrap; }
.report td { padding: 9px 14px 9px 0; border-bottom: 1px solid var(--hair); color: var(--ink); white-space: nowrap; }
.report td.dim { color: var(--mid); }
.report td .v { display: inline-block; padding: 1px 6px; border: 1px solid var(--hair-2); letter-spacing: 0.08em; font-size: 10px; }
.report td .v.q { border-color: var(--ember); color: var(--ember-ink); }

.pattern { margin-top: 32px; }
.pattern-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); margin-bottom: 12px; }
.heat { display: grid; grid-template-columns: 64px repeat(7, 1fr); gap: 4px; align-items: stretch; }
.heat .lbl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--mute); display: flex; align-items: center; }
.heat .dow { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); text-align: center; padding-bottom: 4px; }
.heat .c { height: 26px; background: rgba(196, 122, 74, calc(var(--n) * 0.13 + 0.03)); border: 1px solid rgba(26,26,29,0.04); }
.heat-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--mute); margin-top: 10px; line-height: 1.7; }

/* ---------- FIT ---------- */

.prov { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 40px; border-top: 1px solid var(--hair); padding-top: 32px; }
.prov-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mid); margin-bottom: 24px; }
.prov-list { list-style: none; }
.prov-list li { font-family: var(--serif); font-size: 17px; font-weight: 300; line-height: 1.5; padding: 14px 0; border-top: 1px solid var(--hair); color: var(--ink); position: relative; padding-left: 28px; }
.prov-list li::before { content: '+'; position: absolute; left: 0; color: var(--ember); font-family: var(--mono); }
.prov-list.muted li { color: var(--mid); }
.prov-list.muted li::before { content: '−'; color: var(--mute); }

/* ---------- FAQ ---------- */

.qa { border-top: 1px solid var(--hair); }
.qa details { border-bottom: 1px solid var(--hair); padding: 22px 0; }
.qa summary { font-family: var(--serif); font-size: 19px; font-weight: 400; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; letter-spacing: -0.005em; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-family: var(--mono); font-size: 18px; font-weight: 300; color: var(--ember); transition: transform 0.3s; flex-shrink: 0; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin-top: 14px; font-family: var(--serif); font-weight: 300; font-size: 16px; line-height: 1.6; max-width: 62ch; color: var(--mid); }

/* ---------- ABOUT / COLOPHON ---------- */

.colophon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--hair); padding-top: 32px; margin-top: 8px; }
.colophon p { font-family: var(--mono); font-size: 12px; font-weight: 300; color: var(--ink); line-height: 1.6; }
.colophon span { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.about-list { list-style: none; border-top: 1px solid var(--hair); }
.about-list li { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.about-list strong { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink); }
.about-list p { font-size: 15px; line-height: 1.6; color: var(--mid); max-width: 52ch; }

/* ---------- FORM (apparatus) ---------- */

.apparatus {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 32px 0; margin-bottom: 64px; align-items: end;
}
.apparatus label { display: flex; flex-direction: column; gap: 10px; }
.apparatus label.wide { grid-column: 1 / -1; }
.apparatus label > span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mid); }
.apparatus input, .apparatus select, .apparatus textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--hair-2);
  color: var(--ink); padding: 8px 0; font-family: var(--serif); font-size: 17px; font-weight: 300;
  outline: none; transition: border-color 0.25s; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.apparatus select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%236a6e74' d='M5 7L1 3h8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px; }
.apparatus textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.apparatus input:focus, .apparatus select:focus, .apparatus textarea:focus { border-bottom-color: var(--ember); }
.apparatus input::placeholder, .apparatus textarea::placeholder { color: var(--mute); }
.apparatus button {
  grid-column: 1 / -1; justify-self: start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); padding: 18px 28px; transition: background 0.3s, opacity 0.3s;
}
.apparatus button:hover { background: var(--ember); }
.apparatus button[disabled] { opacity: 0.6; cursor: default; }
.form-note { grid-column: 1 / -1; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--mid); line-height: 1.7; }
.form-note strong { color: var(--ink); font-weight: 400; }

/* ---------- FOOTER ---------- */

.exhibition-end { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; border-top: 1px solid var(--hair); padding: 48px 0 16px; }
.exhibition-end > div { display: flex; flex-direction: column; gap: 12px; }
.end-mark { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: 0.16em; color: var(--ink); margin-bottom: 4px; }
.end-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.exhibition-end p { font-family: var(--serif); font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--mid); }
.exhibition-end a { color: var(--ink); transition: color 0.25s; }
.exhibition-end a:hover { color: var(--ember); }
.closing { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); padding: 16px 0; line-height: 2; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1080px) {
  .page { padding: 110px 28px 72px; }
  .hero { padding-top: 130px; padding-bottom: 90px; min-height: auto; }
  .page-inner { grid-template-columns: 1fr; gap: 20px; }
  .page-inner > * { grid-column: 1; }
  .caption { position: static; padding-top: 0; border-top: none; border-left: 1px solid var(--hair-2); padding-left: 16px; }
  .layers article, .tiers article, .catalog li, .steps li, .about-list li { grid-template-columns: 1fr; gap: 10px; }
  .steps li::before, .cat-num { padding-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .call, .prov, .colophon, .apparatus, .exhibition-end { grid-template-columns: 1fr; }
  .tiers ul { grid-template-columns: 1fr; }
  .tiers article.featured { margin: 0; padding: 28px 20px; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-grid > div + div { border-left: none; padding-left: 0; }
  .masthead { padding: 0 16px; }
  .folio { display: none; }
  .wordmark small { display: none; }
  #white-veil { background: linear-gradient(180deg, rgba(245,246,248,0.9) 0%, rgba(245,246,248,0.75) 100%); }
}
@media (max-width: 600px) {
  .page h1 { font-size: 34px; }
  .page h2 { font-size: 28px; }
  .standfirst { font-size: 17px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .transcript li { grid-template-columns: 1fr; gap: 4px; }
  .heat { grid-template-columns: 48px repeat(7, 1fr); }
}
