/* MarkForge Craft — Night Bench design system */
:root {
  --pitch: #05060A;
  --iron: #0C0F14;
  --anvil: #141920;
  --brass: #C08A3E;
  --verdigris: #4E9C8A;
  --pewter: #C9CFD6;
  --bone: #EDEAE3;
  --smoke: #99A2AD;
  --ash: #646E79;
  --hairline-b: rgba(255,255,255,.09);
  --glass: rgba(255,255,255,.05);
  --glass-edge: rgba(255,255,255,.12);
  --grad-brass: linear-gradient(120deg,#C08A3E,#D9A85E);
  --grad-edge: linear-gradient(90deg,rgba(192,138,62,0),#C08A3E,rgba(192,138,62,0));
  --grad-field: radial-gradient(circle at 32% 28%,rgba(192,138,62,.24),rgba(78,156,138,.10) 46%,transparent 72%);
  --shadow-panel: 0 1px 2px rgba(0,0,0,.5), 0 14px 44px rgba(0,0,0,.5);
  --shadow-glow: 0 0 0 1px rgba(192,138,62,.35);
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 20px;
  --t-fast: 180ms;
  --t-base: 260ms;
  --t-slow: 320ms;
  --t-reveal: 720ms;
  --ease: cubic-bezier(.16,1,.3,1);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 176px;
  --max-w: 1280px;
  --header-h: 68px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.68;
  color: var(--bone);
  background: var(--pitch);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verdigris); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 2px; }

.surface-pitch { background: var(--pitch); color: var(--bone); }
.surface-iron { background: var(--iron); color: var(--bone); }
.surface-anvil { background: var(--anvil); color: var(--bone); }
.surface-glass {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  color: var(--bone);
  border: 1px solid var(--glass-edge);
}
.surface-brass { background: var(--grad-brass); color: var(--pitch); }

/* Readable text on dark surfaces */
.surface-pitch p,
.surface-iron p,
.surface-anvil p,
.surface-glass p { color: var(--pewter); }
.surface-pitch .lead,
.surface-iron .lead,
.surface-anvil .lead { color: var(--pewter); }
.surface-pitch h1, .surface-pitch h2, .surface-pitch h3,
.surface-iron h1, .surface-iron h2, .surface-iron h3,
.surface-anvil h1, .surface-anvil h2, .surface-anvil h3 { color: var(--bone); }
.surface-pitch .mono-label,
.surface-iron .mono-label,
.surface-anvil .mono-label,
.surface-pitch .eyebrow,
.surface-iron .eyebrow,
.surface-anvil .eyebrow { color: var(--smoke); }
.surface-brass h1, .surface-brass h2, .surface-brass h3,
.surface-brass p, .surface-brass .lead { color: var(--pitch); }

/* Card text on dark surfaces */
.forge-node h3,
.cadence-card h3,
.track-panel h2,
.track-panel h3,
.qual-note h3 { color: var(--bone); }
.forge-node p,
.cadence-card p,
.track-panel p,
.qual-note p { color: var(--pewter); }
.forge-node .mono-label,
.cadence-card .mono-label,
.track-panel .mono-label,
.qual-note .mono-label { color: var(--smoke); }
.matrix-table td { color: var(--pewter); }
.spec-row { color: var(--pewter); }
.spec-row.head { color: var(--smoke); }
.legal-prose p { color: var(--pewter); }
.legal-prose h2, .legal-prose h3 { color: var(--bone); }

/* Card thumbnails */
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.forge-node,
.cadence-card,
.track-panel,
.qual-note { overflow: hidden; }
.forge-node .card-thumb {
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
  width: calc(100% + 2 * var(--space-5));
  max-width: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.cadence-card .card-thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
  width: calc(100% + 2 * var(--space-6));
  max-width: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.track-panel .card-thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-7)) var(--space-5);
  width: calc(100% + 2 * var(--space-7));
  max-width: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.qual-note .card-thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
  width: calc(100% + 2 * var(--space-6));
  max-width: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 10000;
  padding: var(--space-3) var(--space-5);
  background: var(--anvil);
  color: var(--bone);
  border: 1px solid var(--glass-edge);
}
.skip:focus { left: var(--space-4); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 var(--space-5);
}
h1 { font-size: clamp(44px, 6vw, 88px); }
h2 { font-size: clamp(32px, 3.6vw, 54px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0 0 var(--space-5); }
.lead { font-size: 1.125rem; color: var(--pewter); max-width: 540px; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: var(--space-4);
}
.track-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ash);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (max-width: 768px) { .grid-12 { grid-template-columns: 1fr; } }

.section-pad { padding-block: clamp(80px, 12vw, 200px); }
.section-pad-sm { padding-block: clamp(48px, 8vw, 128px); }
.content-narrow { max-width: 680px; margin-inline: auto; padding-inline: var(--space-5); }
.content-wide { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--space-5); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-sticky {
  position: sticky;
  background: var(--anvil);
  border-bottom-color: var(--hairline-b);
  box-shadow: var(--shadow-panel);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
  height: 100%;
  gap: var(--space-5);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--bone);
}
.nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-primary a {
  color: var(--smoke);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] { color: var(--bone); }
.nav-primary a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--grad-edge);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-sm);
  padding: 10px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--bone);
  border-radius: 1px;
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-primary {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--anvil);
    padding: var(--space-5);
    border-bottom: 1px solid var(--hairline-b);
  }
  .nav-primary.is-open { display: flex; }
  .header-cta { display: none; }
}

.btn-primary, .btn-secondary, .btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease), filter var(--t-base) var(--ease);
}
.btn-primary, .btn-mail.header-cta {
  background: var(--grad-brass);
  color: var(--pitch);
  border: none;
}
.btn-primary:hover, .btn-mail.header-cta:hover {
  box-shadow: var(--shadow-glow);
  filter: brightness(1.06);
}
.btn-secondary {
  background: var(--glass);
  color: var(--pewter);
  border: 1px solid var(--glass-edge);
}
.btn-secondary:hover { border-color: var(--brass); color: var(--bone); }
.btn-primary:active, .btn-secondary:active { transform: scale(0.985); }

/* Bench Light hero */
.hero-bench {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (max-width: 768px) { .hero-bench { min-height: 82vh; } }
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-b) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-b) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.04;
  pointer-events: none;
}
.hero-field {
  position: absolute;
  width: 1200px;
  height: 1200px;
  top: -20%;
  left: 10%;
  background: var(--grad-field);
  filter: blur(150px);
  opacity: 0.18;
  pointer-events: none;
}
.hero-photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,6,10,.92) 0%, rgba(5,6,10,.45) 50%, rgba(5,6,10,.75) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  max-width: var(--max-w);
  margin-inline: auto;
  padding: calc(var(--header-h) + var(--space-8)) var(--space-5) var(--space-8);
  width: 100%;
  align-content: end;
}
.track-rail {
  grid-column: 8 / 13;
  justify-self: end;
  align-self: start;
  display: flex;
  gap: var(--space-4);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ash);
}
.track-rail .tick {
  width: 8px;
  height: 8px;
  border: 1px solid var(--glass-edge);
  border-radius: 50%;
  position: relative;
}
.track-rail .tick.is-active {
  border-color: var(--brass);
  background: var(--brass);
  animation: tick-pulse 5s ease-in-out infinite;
}
@keyframes tick-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,138,62,.4); }
  50% { box-shadow: 0 0 0 6px rgba(192,138,62,0); }
}
.edge-panel {
  grid-column: 1 / 8;
  padding: var(--space-7);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  background: rgba(20,25,32,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow-panel);
  border-top-color: rgba(192,138,62,.35);
  color: var(--bone);
}
.edge-panel h1, .edge-panel h2, .edge-panel h3 { color: var(--bone); }
.edge-panel p, .edge-panel .lead { color: var(--pewter); }
.edge-panel .eyebrow { color: var(--smoke); }
.edge-panel-overlay h2, .edge-panel-overlay p { color: var(--bone); }
.edge-panel-overlay p { color: var(--pewter); }
@media (max-width: 900px) {
  .edge-panel { grid-column: 1 / -1; }
  .track-rail { grid-column: 1 / -1; justify-self: start; }
}
.text-gradient {
  background: var(--grad-brass);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-6) 0; }
.trust-strip { font-family: var(--font-mono); font-size: 11px; color: var(--smoke); margin: 0; }

/* Right mono rule */
.has-mono-rule { position: relative; }
.has-mono-rule::after {
  content: attr(data-section-label);
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  writing-mode: vertical-rl;
  opacity: 0.6;
}
@media (max-width: 768px) { .has-mono-rule::after { display: none; } }

/* Forge Map */
.forge-map {
  position: relative;
  padding: var(--space-8) 0;
}
.forge-nodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  position: relative;
}
@media (max-width: 900px) { .forge-nodes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .forge-nodes { grid-template-columns: 1fr 1fr; } }
.forge-node {
  padding: var(--space-5);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  background: var(--anvil);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  position: relative;
}
.forge-node .ghost-code {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-family: var(--font-mono);
  font-size: 48px;
  color: var(--bone);
  opacity: 0.07;
  line-height: 1;
}
.forge-connectors {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline-b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.forge-map.is-visible .forge-connectors { transform: scaleX(1); }

/* Cadence Console */
.cadence-console-wrap { overflow: hidden; }
.cadence-console {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-5) var(--space-5) var(--space-7);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brass) var(--iron);
}
.cadence-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  padding: var(--space-6);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  background: var(--anvil);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.cadence-card.is-active { border-left: 2px solid var(--brass); }
.cadence-nav { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.cadence-nav button {
  min-width: 44px;
  min-height: 44px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-sm);
  color: var(--pewter);
  cursor: pointer;
  font-size: 1rem;
}
.cadence-nav button:hover { border-color: var(--brass); color: var(--bone); }

/* Track staircase */
.track-staircase { display: flex; flex-direction: column; gap: var(--space-5); }
.track-panel {
  position: relative;
  padding: var(--space-6) var(--space-7);
  margin-left: 0;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  background: var(--anvil);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.track-panel:nth-child(1) { margin-left: 0; }
.track-panel:nth-child(2) { margin-left: 24px; }
.track-panel:nth-child(3) { margin-left: 48px; }
.track-panel:nth-child(4) { margin-left: 72px; }
.track-panel:nth-child(5) { margin-left: 96px; }
.track-panel:nth-child(6) { margin-left: 120px; }
@media (max-width: 768px) {
  .track-panel:nth-child(n) { margin-left: 0; }
}
.track-panel .ghost-code {
  position: absolute;
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 72px;
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

/* Spec Sheet */
.spec-sheet {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 1fr;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--hairline-b);
}
.spec-row:last-child { border-bottom: none; }
.spec-row.head { background: rgba(255,255,255,.03); color: var(--ash); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; }
@media (max-width: 768px) {
  .spec-row { grid-template-columns: 1fr; gap: var(--space-2); }
  .spec-row.head { display: none; }
  .spec-row span::before { content: attr(data-label) ": "; color: var(--ash); text-transform: uppercase; font-size: 10px; }
}

/* Split layouts */
.split-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-7); align-items: start; }
.split-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .split-7-5, .split-5-7 { grid-template-columns: 1fr; } }
.mask-reveal {
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-edge);
}
.mask-reveal img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}
.mask-reveal.is-visible img { transform: scale(1); }

/* Photo band */
.photo-band {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.photo-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.photo-band .edge-panel-overlay {
  position: absolute;
  bottom: var(--space-7);
  left: var(--space-7);
  max-width: 520px;
  padding: var(--space-6);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  background: rgba(20,25,32,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow-panel);
  border-left: 2px solid var(--brass);
}

/* Mosaic */
.mosaic-band {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3);
  min-height: 320px;
}
.mosaic-band img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 768px) { .mosaic-band { grid-template-columns: 1fr; } }

/* Node timeline */
.node-timeline { position: relative; padding-left: var(--space-7); }
.node-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline-b);
}
.timeline-node {
  position: relative;
  padding-bottom: var(--space-7);
}
.timeline-node .node-thumb {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-edge);
  margin-bottom: var(--space-4);
  display: block;
}
.timeline-node h2 { color: var(--bone); }
.timeline-node p { color: var(--pewter); }
.timeline-node::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-7) + 4px);
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--iron);
}

/* Matrix table */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: var(--space-8);
}
.matrix-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: var(--space-4);
}
.matrix-table th, .matrix-table td {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--hairline-b);
  text-align: left;
  vertical-align: top;
}
.matrix-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  background: rgba(255,255,255,.03);
}
.matrix-table tbody tr:hover { background: rgba(255,255,255,.02); }

/* FAQ two-column */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 768px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-rail {
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
}
.faq-rail ul { list-style: none; padding: 0; margin: 0; }
.faq-rail a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--smoke);
  text-decoration: none;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--hairline-b);
}
.faq-rail a:hover { color: var(--brass); }

/* Accordion */
.accordion-item { border-bottom: 1px solid var(--hairline-b); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
  transition: transform var(--t-slow) var(--ease);
}
.accordion-icon::before { width: 14px; height: 1.5px; top: 9px; left: 3px; }
.accordion-icon::after { width: 1.5px; height: 14px; top: 3px; left: 9px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.accordion-panel.is-open { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-panel-inner > div { padding-bottom: var(--space-5); color: var(--pewter); }

/* Maps */
.map-filter { filter: grayscale(.55) brightness(.72) contrast(1.12); }
.map-primary-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 900px) { .map-primary-split { grid-template-columns: 1fr; } }
.map-plate-primary {
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease);
}
.map-plate-primary:hover { box-shadow: var(--shadow-glow); }
.map-plate-primary .map-frame { aspect-ratio: 600/520; }
.map-caption-panel {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-sm);
  background: rgba(20,25,32,.9);
  font-size: 0.875rem;
  max-width: 280px;
}
.map-plate-primary { position: relative; }

.map-band-secondary {
  position: relative;
  border-top: 1px solid var(--hairline-b);
  border-bottom: 1px solid var(--hairline-b);
}
.map-band-secondary .map-frame { aspect-ratio: 600/180; }
.map-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-5);
  align-items: center;
}
@media (max-width: 768px) { .map-band-inner { grid-template-columns: 1fr; } }
.map-frame { width: 100%; background: var(--anvil); }
.map-placeholder {
  padding: var(--space-6);
  border: 1px solid var(--glass-edge);
  background: var(--anvil);
  font-size: 0.875rem;
  color: var(--pewter);
}
.map-placeholder p { margin-bottom: var(--space-3); color: var(--pewter); }
.map-placeholder strong { color: var(--bone); }

/* Footer two-tier */
.site-footer { border-top: 1px solid var(--hairline-b); }
.footer-upper {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-7);
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-8) var(--space-5);
}
@media (max-width: 768px) { .footer-upper { grid-template-columns: 1fr; } }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}
.footer-meta { font-size: 0.875rem; color: var(--smoke); line-height: 1.7; }
.footer-lower {
  border-top: 1px solid var(--hairline-b);
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: var(--smoke);
}
.footer-lower a { color: var(--pewter); }
.back-top { color: var(--verdigris); text-decoration: none; }
.back-top:hover { color: var(--brass); }

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: var(--space-5);
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ash);
  max-width: var(--max-w);
  margin-inline: auto;
}
.breadcrumb a { color: var(--smoke); text-decoration: none; }
.breadcrumb li:not(:last-child)::after { content: "→"; margin-left: var(--space-2); color: var(--ash); }

/* Consent — Site B sheet geometry */
.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  pointer-events: none;
}
.consent.is-visible { pointer-events: auto; }
.consent.is-hidden { display: none; }
.consent-panel-sheet {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: var(--iron);
  border-top: 1px solid var(--glass-edge);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
  opacity: 0;
}
.consent-panel-sheet.is-open {
  max-height: 420px;
  opacity: 1;
}
.consent-panel-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-6) var(--space-5);
}
.consent-strip {
  background: var(--anvil);
  border-top: 1px solid rgba(192,138,62,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.consent.is-visible .consent-strip { transform: translateY(0); opacity: 1; }
.consent-strip p { margin: 0; flex: 1; min-width: 200px; font-size: 0.8125rem; color: var(--smoke); font-family: var(--font-mono); }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.consent-actions button {
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: var(--font-mono);
  border: 1px solid var(--glass-edge);
  background: var(--glass);
  color: var(--pewter);
}
.consent-actions .consent-accept {
  background: var(--grad-brass);
  color: var(--pitch);
  border: none;
}
.consent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--hairline-b);
  font-size: 0.875rem;
  color: var(--smoke);
}
.consent-switch {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  border: 1px solid var(--glass-edge);
  background: var(--pitch);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.consent-switch[aria-checked="true"] { background: var(--verdigris); border-color: var(--verdigris); }
.consent-switch[disabled] { opacity: 0.5; cursor: not-allowed; }
.consent-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bone);
  transition: transform var(--t-fast) var(--ease);
}
.consent-switch[aria-checked="true"]::after { transform: translateX(18px); }

/* Reveal — keep content visible; animate position only */
.js .reveal,
.js .forge-map,
.js .mask-reveal {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-visible),
  .js .forge-map:not(.is-visible),
  .js .mask-reveal:not(.is-visible) {
    transform: translateY(18px);
    transition: transform var(--t-reveal) var(--ease);
  }
  .js .reveal.is-visible,
  .js .forge-map.is-visible,
  .js .mask-reveal.is-visible {
    transform: translateY(0);
  }
}

/* Utilities */
.prose-list { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.prose-list li { margin-bottom: var(--space-3); color: var(--pewter); }
.notch-divider {
  height: 1px;
  background: var(--hairline-b);
  position: relative;
  margin: var(--space-7) 0;
}
.notch-divider::after {
  content: "MC";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ash);
  background: var(--iron);
  padding: 0 var(--space-3);
}
.qual-note {
  padding: var(--space-6);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  background: var(--anvil);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  border-left: 2px solid var(--brass);
}
.legal-prose h2 { margin-top: var(--space-8); }
.disclaimer { font-size: 0.8125rem; color: var(--smoke); font-style: italic; margin-top: var(--space-6); }
.contact-block address { font-style: normal; line-height: 1.8; margin-bottom: var(--space-5); }
.error-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-5); margin: var(--space-6) 0; }
.cta-photo-block { position: relative; min-height: 420px; }
.cta-photo-block img { width: 100%; min-height: 420px; object-fit: cover; }
.cta-photo-block .edge-panel-overlay {
  position: absolute;
  bottom: var(--space-7);
  left: var(--space-7);
  max-width: 520px;
  padding: var(--space-6);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  background: rgba(20,25,32,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow-panel);
  border-left: 2px solid var(--brass);
}
