/* do.enterprises — one stylesheet, no framework.
   Palette: bone paper tinted warm, graphite ink, claret accent (the boundary
   line), amber for gated claims, moss for posted claims. OKLCH throughout. */

:root {
  --paper: oklch(97.6% 0.006 80);
  --paper-2: oklch(95.2% 0.008 80);
  --paper-3: oklch(91.5% 0.010 78);
  --ink: oklch(23% 0.012 40);
  --ink-2: oklch(40% 0.012 40);
  --ink-3: oklch(50% 0.012 45);
  --rule: oklch(84% 0.010 75);
  --rule-2: oklch(76% 0.012 70);
  --claret: oklch(41% 0.150 22);
  --claret-2: oklch(50% 0.160 22);
  --claret-tint: oklch(93% 0.030 22);
  --amber: oklch(70% 0.140 70);
  --amber-tint: oklch(94% 0.060 80);
  --amber-ink: oklch(42% 0.110 65);
  --moss: oklch(52% 0.110 150);
  --moss-tint: oklch(93% 0.045 150);
  --moss-ink: oklch(36% 0.090 150);
  --focus: oklch(60% 0.170 240);

  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --measure: 64ch;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
a:hover { color: var(--claret); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--claret-tint); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
small { font-size: 0.875em; }

.mono, .eyebrow, .chip, .label, code, kbd {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.eyebrow {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 0.9rem;
}
.lede {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 38ch;
}

/* ---- wrap + rhythm ---- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }

/* clause layout: label rail on the left, content on the right */
.clause {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
}
@media (min-width: 56rem) {
  .clause { grid-template-columns: 17rem minmax(0, 1fr); }
}
.clause__head { align-self: start; }
@media (min-width: 56rem) { .clause__head { position: sticky; top: 5rem; } }
.clause__head h2 { margin-top: 0.2rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.clause__body > :first-child { margin-top: 0; }
.clause__body .lede { margin-bottom: 1.5rem; }

/* ---- masthead ---- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklch, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 3.75rem;
}
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
.wordmark .dot { color: var(--claret); }
.nav { margin-left: auto; display: flex; gap: 1.25rem; align-items: center; }
.nav a {
  font-family: var(--display); font-size: 0.92rem; text-decoration: none;
  color: var(--ink-2); padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--claret); }
.nav .btn { border-bottom: 0; padding: 0.5rem 0.9rem; font-size: 0.88rem; }
.nav .btn--primary { color: var(--paper); }
.nav .btn--primary:hover { color: var(--paper); }
/* mobile menu: a <details> disclosure, no JS */
.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--ink);
  padding: 0.45rem 0.2rem; border-radius: 3px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__bar { display: block; width: 1.1rem; height: 2px; background: var(--ink); border-radius: 1px; }
.menu__bar + .menu__bar { margin-left: -1.65rem; transform: translateY(0.36rem); }
.menu__label { margin-left: 0.1rem; }
.menu[open] summary .menu__label { color: var(--claret); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 0.6rem); min-width: 14rem;
  display: grid; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 6px;
  box-shadow: 0 10px 30px -12px oklch(23% 0.012 40 / 0.35); padding: 0.4rem;
}
.menu__panel a {
  font-family: var(--display); font-size: 1rem; text-decoration: none; color: var(--ink);
  padding: 0.6rem 0.8rem; border-radius: 4px;
}
.menu__panel a:hover, .menu__panel a[aria-current="page"] { background: var(--paper-2); color: var(--claret); }
.menu__panel a:last-child { color: var(--ink-2); }
@media (max-width: 44rem) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 0.7rem 1.1rem; border-radius: 4px; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--primary { background: var(--claret); border-color: var(--claret); color: var(--paper); }
.btn--primary:hover { background: var(--claret-2); border-color: var(--claret-2); color: var(--paper); }
.btn--ghost { border-color: var(--rule-2); color: var(--ink-2); }
.btn--ghost:hover { background: var(--paper-3); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---- claim chips (the claim discipline, visible) ---- */
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.18rem 0.55rem 0.18rem 0.45rem; border-radius: 999px;
  font-size: 0.7rem; letter-spacing: 0.04em; text-transform: lowercase;
  border: 1px solid var(--rule-2); color: var(--ink-2); background: var(--paper);
  vertical-align: middle; white-space: nowrap;
}
.chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink-3); }
.chip--posted { background: var(--moss-tint); color: var(--moss-ink); border-color: color-mix(in oklch, var(--moss) 40%, var(--rule-2)); }
.chip--posted::before { background: var(--moss); }
.chip--gated { background: var(--amber-tint); color: var(--amber-ink); border-color: color-mix(in oklch, var(--amber) 55%, var(--rule-2)); }
.chip--gated::before { background: var(--amber); }
.chip--design { background: var(--paper-2); }

/* ---- hero ---- */
.hero { padding-block: clamp(3rem, 9vw, 7.5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .hero__grid--wide { grid-template-columns: 1fr 1.35fr; }
}
.hero--text .wrap { max-width: 56rem; margin-inline: 0; }
.hero h1 { margin-bottom: 1.5rem; }
.h1--narrow { max-width: 16ch; }
.h2--narrow { max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--claret); white-space: nowrap; }
.hero .lede { margin-top: 0; }
.hero__figure { margin: 0; }
.hero__figure figcaption { margin-top: 0.9rem; color: var(--ink-3); display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.hero__figure .halves { background: var(--paper); }

/* diagram primitives (inline SVG); each diagram ships wide + tall variants */
.fig { width: 100%; }
.diagram { width: 100%; height: auto; overflow: visible; }
.diagram--tall { display: none; max-width: 26rem; margin-inline: auto; }
@media (max-width: 44rem) {
  .diagram--wide { display: none; }
  .diagram--tall { display: block; }
}
.diagram rect, .diagram path, .diagram circle { vector-effect: non-scaling-stroke; }
.diagram text { font-family: var(--mono); fill: var(--ink-2); }
.diagram .t-lg { font-family: var(--display); font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; }
.diagram .t-sm { font-size: 10.5px; fill: var(--ink-3); }
.diagram .t-md { font-size: 12px; fill: var(--ink-3); }
.diagram .t-lbl { font-size: 13px; fill: var(--ink-2); }
.diagram .t-claret { fill: var(--claret); }
.diagram .solid { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.diagram .soft { fill: var(--paper-2); stroke: var(--rule-2); stroke-width: 1; }
.diagram .boundary { fill: var(--claret-tint); fill-opacity: 0.45; stroke: var(--claret); stroke-width: 1.6; stroke-dasharray: 6 5; }
.diagram .wire { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }
.diagram .wire--claret { stroke: var(--claret); }
.diagram .wire--faint { stroke: var(--rule-2); }
.diagram .agent { fill: var(--ink); }
.diagram .human { fill: var(--paper); stroke: var(--claret); stroke-width: 1.6; }
.diagram .gate { fill: var(--amber-tint); stroke: var(--amber-ink); stroke-width: 1.2; }
.diagram .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s var(--ease) 0.15s forwards; }
.diagram .boundary.draw { stroke-dasharray: 6 5; stroke-dashoffset: 0; animation: fadein 0.9s var(--ease) 1.2s both; }
.diagram .fade { animation: fadein 0.8s var(--ease) 0.9s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .diagram .draw, .diagram .boundary.draw, .diagram .fade { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* ---- two halves (Rocket proof) ---- */
.halves {
  display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden;
  background: var(--paper);
}
@media (min-width: 48rem) { .halves { grid-template-columns: 1fr 1fr; } }
.halves > div { padding: clamp(1.25rem, 3vw, 2rem); }
.halves > div + div { border-top: 1px solid var(--rule-2); }
@media (min-width: 48rem) { .halves > div + div { border-top: 0; border-left: 1px solid var(--rule-2); } }
.halves h3 { margin-bottom: 0.75rem; }
.halves ul { margin: 0; padding-left: 1.1rem; }
.halves li { margin: 0.25rem 0; }
.halves__foot { grid-column: 1 / -1; border-top: 1px solid var(--rule-2) !important; border-left: 0 !important; background: var(--paper-2); display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; padding-block: 0.9rem !important; }
.halves__foot p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.halves__pull { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.015em; color: var(--ink) !important; line-height: 1.3; text-wrap: balance; }

/* ---- phases ---- */
.phases { list-style: none; margin: 0; padding: 0; counter-reset: phase; display: grid; gap: 0; }
.phase {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--rule);
}
.phase:last-child { border-bottom: 1px solid var(--rule); }
.phase__n { font-family: var(--mono); color: var(--claret); font-size: 0.85rem; padding-top: 0.35rem; }
.phase__name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; }
.phase__what { color: var(--ink-2); margin: 0.2rem 0 0.4rem; grid-column: 2; }
.phase__exit { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); display: flex; gap: 0.6rem; align-items: baseline; grid-column: 2; }
.phase__exit b { color: var(--ink-3); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.66rem; white-space: nowrap; }
@media (min-width: 56rem) {
  .phase { grid-template-columns: 3.25rem 12rem minmax(0, 1fr); align-items: start; }
  .phase__what { grid-column: 3; margin-top: 0.25rem; }
  .phase__exit { grid-column: 3; }
}

/* ---- comparables table ---- */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule-2); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 44rem; font-size: 0.95rem; }
@media (max-width: 48rem) {
  .tablewrap { overflow: visible; border: 0; border-radius: 0; }
  table.comparables { min-width: 0; display: block; }
  table.comparables colgroup, table.comparables thead { display: none; }
  table.comparables tbody, table.comparables tr, table.comparables td { display: block; }
  table.comparables tr { border: 1px solid var(--rule-2); border-radius: 6px; padding: 0.25rem 0; margin-bottom: 0.9rem; background: var(--paper); }
  table.comparables td { border-top: 0; padding: 0.55rem 1rem; }
  table.comparables td:first-child { font-size: 1.15rem; letter-spacing: -0.015em; padding-top: 0.9rem; }
  table.comparables td + td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 0.2rem; }
  table.comparables td:last-child { padding-bottom: 0.9rem; }
}
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1rem; border-top: 1px solid var(--rule); }
thead th { border-top: 0; background: var(--paper-2); font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 500; }
td:first-child { font-family: var(--display); font-weight: 600; }
table col.c-who { width: 18%; } table col.c-model { width: 22%; } table col.c-rec { width: 32%; } table col.c-diff { width: 28%; }
td a { color: var(--ink-2); }
.cite { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.cite a { color: inherit; }

/* ---- doors ---- */
.doors { display: grid; gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; }
@media (min-width: 48rem) { .doors { grid-template-columns: 1fr 1fr; } }
.door { background: var(--paper); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; gap: 0.9rem; text-decoration: none; transition: background 0.3s var(--ease); }
.door:hover { background: var(--paper-2); color: inherit; }
.door h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.door p { color: var(--ink-2); }
.door .go { margin-top: auto; font-family: var(--display); font-weight: 600; color: var(--claret); }

/* ---- plays (corporate door) ---- */
.plays { display: grid; gap: 0; }
.play { display: grid; gap: 0.5rem 2rem; padding: 1.75rem 0; border-top: 1px solid var(--rule); grid-template-columns: minmax(0, 1fr); }
.play:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 56rem) { .play { grid-template-columns: 11rem minmax(0, 1fr); } }
.play__name { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.025em; }
.play__name small { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.35rem; }
.play--lead .play__name { color: var(--claret); }

/* adjacency ledger */
.adjacency { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 48rem) { .adjacency { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.adjacency li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem; padding: 0.6rem 0; border-top: 1px solid var(--rule); font-family: var(--display); font-size: 0.98rem; }
.adjacency li span:last-child { color: var(--claret); }
.adjacency li span:last-child small { display: block; font-family: var(--body); font-size: 0.86rem; color: var(--ink-3); margin-top: 0.15rem; }
.adjacency .arrow { color: var(--ink-3); font-family: var(--mono); }

/* ---- function ledger (business-as-code) ---- */
.ledger { border-top: 1px solid var(--rule-2); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .ledger__row { grid-template-columns: 11rem minmax(0, 1fr) 16rem; } }
.ledger__type { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.ledger__type code { display: block; color: var(--ink-3); font-size: 0.7rem; margin-top: 0.2rem; }
.ledger__ex { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }
.ledger__row--human .ledger__type { color: var(--claret); }

.notation {
  font-family: var(--mono); font-size: clamp(1.3rem, 3.6vw, 2.4rem); letter-spacing: -0.01em;
  padding: 1.5rem 0; color: var(--ink); overflow-x: auto; white-space: nowrap;
}
.notation .s { color: var(--ink-3); } .notation .p { color: var(--claret); }

/* ---- prose (long-form) ---- */
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.5em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 2em; }
.prose blockquote {
  margin: 1.75em 0; padding: 1.25rem 1.5rem; border: 1px solid var(--rule-2); border-radius: 6px; background: var(--paper-2);
  font-size: 1.05em;
}
.prose blockquote p { max-width: none; }
.prose ul, .prose ol { padding-left: 1.2rem; max-width: var(--measure); }
.prose li + li { margin-top: 0.35em; }
.prose hr { border: 0; border-top: 1px solid var(--rule-2); margin: 2.5em 0; }

.findings { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.findings li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.5rem; padding: 1rem 0; border-top: 1px solid var(--rule); counter-increment: f; }
.findings li::before { content: counter(f); font-family: var(--mono); color: var(--claret); padding-top: 0.2rem; }
.findings li:last-child { border-bottom: 1px solid var(--rule); }
.findings b { font-family: var(--display); font-weight: 600; display: block; margin-bottom: 0.2rem; }

/* ---- contact form ---- */
.form { display: grid; gap: 1.5rem; max-width: 46rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.field .hint { color: var(--ink-3); font-size: 0.92rem; margin: 0; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule-2); border-radius: 4px; padding: 0.7rem 0.85rem; width: 100%;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink-2); outline: 2px solid var(--focus); outline-offset: 1px; }
.field--lead label { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--claret); }
.form__split { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form__split { grid-template-columns: 1fr 1fr; } }
.notice {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: 6px;
  border: 1px solid color-mix(in oklch, var(--amber) 55%, var(--rule-2)); background: var(--amber-tint); color: var(--amber-ink);
  font-size: 0.95rem;
}
.notice p { margin: 0; max-width: none; }

.field--trap { position: absolute; left: -200vw; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* brief spine (contact hero figure) */
.spine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); max-width: 30rem; }
.spine li { border-bottom: 1px solid var(--rule); }
.spine a, .spine__reply { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; gap: 0.5rem; padding: 0.85rem 0.25rem; text-decoration: none; font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--ink); transition: background 0.25s var(--ease); }
.spine a:hover { background: var(--paper-2); color: var(--claret); }
.spine__n { font-family: var(--mono); color: var(--claret); font-size: 0.85rem; }
.spine__reply { color: var(--ink-2); font-size: 0.95rem; font-weight: 400; font-family: var(--body); }

/* the one drenched band: the two paths */
.section--band { background: var(--claret); color: var(--paper); }
.section--band .eyebrow { color: oklch(88% 0.04 22); }
.section--band h2 { color: var(--paper); }
.section--band .doors { background: oklch(60% 0.12 22); border-color: oklch(60% 0.12 22); }
.section--band .door { background: var(--claret); color: var(--paper); }
.section--band .door:hover { background: var(--claret-2); color: var(--paper); }
.section--band .door p { color: oklch(90% 0.03 22); }
.section--band .door .go { color: var(--paper); }
.section--band ::selection { background: var(--claret-2); }
.section--band + .section { border-top: 0; }

/* who runs this */
.section--who { background: var(--paper-2); }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--rule-2); padding-block: 2.5rem 3rem; color: var(--ink-3); font-size: 0.9rem; }
.footer .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--claret); }
.footer p { margin: 0.25rem 0 0; max-width: 52ch; }
.footer .legend { max-width: none; grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 0.5rem; }
.footer .wordmark { font-size: 1rem; }

.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; color: var(--ink-3); font-size: 0.85rem; }

/* utilities */
.muted { color: var(--ink-3); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.max { max-width: var(--measure); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
