/* ============================================================
   LIVING LABS — Working Prototype v0.2
   ============================================================ */

:root {
  --ink: #0A0A09;
  --paper: #F8F7F2;
  --paper-deep: #F1EFE8;
  --paper-deeper: #E9E6DD;
  --signal: #FF3D2E;
  --trace: #7C7A72;
  --trace-soft: #D6D4CC;
  --depth: #2C5B86;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(20px, 5vw, 96px);
  --pad-y: clamp(80px, 14vw, 200px);
  --col-max: 62ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--paper); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  font-feature-settings: "kern", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Type primitives
   ============================================================ */

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--trace);
}
.mono-strong { color: var(--ink); }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--paper) 60%, transparent);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav .left, .nav .right { display: flex; gap: 18px; align-items: center; }
.nav .index { color: var(--trace); }
.nav .index .active { color: var(--ink); }
.nav .cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: background 150ms, transform 150ms;
}
.nav .cta:hover { background: var(--signal); transform: translateY(-1px); }

@media (max-width: 820px) {
  .nav .index { display: none; }
  .nav { padding: 16px 20px; }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */

section {
  padding: var(--pad-y) var(--pad);
  position: relative;
  border-bottom: 1px solid var(--trace-soft);
}
section:last-of-type { border-bottom: none; }

.section-header {
  display: flex;
  gap: 16px;
  margin-bottom: clamp(32px, 7vw, 96px);
  align-items: baseline;
  position: relative;
}
.section-header .num { color: var(--trace); }
.section-header .label { color: var(--ink); }

/* edge marks deprecated — vertical writing-mode broke at narrow widths */
.edge-mark { display: none !important; }

/* ============================================================
   §00 COVER
   ============================================================ */

#cover {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(110px, 14vw, 180px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.cover-top {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: clamp(24px, 5vw, 96px);
  align-items: start;
}

@media (max-width: 820px) {
  .cover-top { grid-template-columns: 1fr; gap: 40px; }
}

.sigil-frame {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.sigil-frame svg { display: block; width: 100%; height: 100%; }

.sigil-meta {
  position: absolute;
  bottom: -28px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
}

.wordmark-line {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
  padding-top: 4px;
}

.wordmark {
  font-family: var(--mono);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wordmark .dot { color: var(--signal); }

.cover-hero {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(42px, 9vw, 168px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 13ch;
  font-variation-settings: "opsz" 96;
}
.cover-hero em {
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
}

.cover-sub {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

.cover-sub .live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--signal);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.cover-make {
  margin-top: clamp(20px, 2.5vw, 32px);
  padding-top: clamp(14px, 1.5vw, 20px);
  border-top: 1px solid var(--trace-soft);
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  align-items: baseline;
}
.cover-make .make-label {
  color: var(--signal);
  font-weight: 500;
}
.cover-make .make-items {
  color: var(--ink);
  letter-spacing: 0.06em;
}

.cover-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.scroll-cue { display: flex; flex-direction: column; gap: 6px; }
.scroll-cue .arrow {
  display: inline-block;
  animation: nudge 2s ease-in-out infinite;
}
@keyframes nudge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

.cover-vertical-mark {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--trace);
  display: none;
}
@media (min-width: 1100px) { .cover-vertical-mark { display: block; } }

/* ============================================================
   §01 NOTE — centered hero with scroll-bold reveal
   ============================================================ */

#note {
  background: var(--paper);
  padding: var(--pad-y) var(--pad);
}

.hero-prose-wrap {
  margin: clamp(40px, 8vw, 140px) auto clamp(40px, 6vw, 120px);
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.hero-prose {
  max-width: 38ch;
  margin: 0 auto;
}

.hero-p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96;
  margin-bottom: 0.7em;
  text-align: center;
}
.hero-p:last-of-type { margin-bottom: 0; }

/* Selective emphasis: only marked phrases bold + shift to signal red
   as they scroll past the focus line. The rest of the prose reads at
   weight 400 ink from the start — fully visible, no dimming. */
.bold-key {
  font-weight: 400;
  font-variation-settings: "opsz" 96, "wght" 400;
  color: var(--ink);
  transition: font-weight 520ms cubic-bezier(.2,.6,.2,1),
              font-variation-settings 520ms cubic-bezier(.2,.6,.2,1),
              color 520ms cubic-bezier(.2,.6,.2,1);
}
.bold-key.lit {
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wght" 700;
  color: var(--signal);
}

.hero-prose em {
  font-weight: 600;
  color: var(--signal);
}

.hero-sig {
  margin: clamp(64px, 10vw, 160px) auto 0;
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--trace);
}

@media (prefers-reduced-motion: reduce) {
  .bold-key {
    font-weight: 700;
    font-variation-settings: "opsz" 96, "wght" 700;
    color: var(--signal);
  }
}

/* ============================================================
   §02 PROOF — filmstrip
   ============================================================ */

#proof { padding-left: 0; padding-right: 0; }
#proof .section-header { padding: 0 var(--pad); }

.filmstrip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--trace-soft) transparent;
}
.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-track { background: transparent; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--trace-soft); }

.frame {
  flex: 0 0 clamp(280px, 36vw, 520px);
  aspect-ratio: 3/4;
  background: var(--paper-deep);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--trace-soft);
}
.frame:nth-child(3n+1) { aspect-ratio: 4/5; }
.frame:nth-child(4n) { aspect-ratio: 1/1; }
.frame:nth-child(5n+2) { aspect-ratio: 3/4; }

.frame-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(14,14,12,0.04), transparent 60%),
    var(--paper-deep);
}
.frame-image svg { width: 100%; height: 100%; display: block; opacity: 0.55; }
.frame-image img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}

/* Typographic editorial cards — replace sigil placeholders */
.frame-type {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 1.6vw, 24px);
  background: var(--paper-deep);
}
.frame-type.signal { background: var(--signal); color: var(--paper); }
.frame-type.ink { background: var(--ink); color: var(--paper); }
.frame-type .ft-top {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
.frame-type .ft-display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
}
.frame-type .ft-display em { font-weight: 600; color: var(--signal); font-style: normal; }
.frame-type .ft-mono-bottom {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.frame-type.signal .ft-mono-bottom,
.frame-type.ink .ft-mono-bottom { opacity: 0.85; }

.frame-caption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--trace-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
}
.frame-caption .tag { color: var(--trace); }

.filmstrip-note {
  padding: 16px var(--pad) 0;
  max-width: var(--col-max);
}

/* ============================================================
   §01 THE EVALUATION SPRINT
   ============================================================ */

/* Modern big-title block — replaces magazine-cover opener */
.big-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
  margin-bottom: clamp(20px, 2.5vw, 40px);
  max-width: 16ch;
}
.big-title em {
  font-weight: 600;
  color: var(--signal);
  font-style: normal;
}

.how-intro {
  max-width: 56ch;
  margin-bottom: clamp(48px, 6vw, 96px);
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.sprint-deliverables {
  margin-top: clamp(48px, 5vw, 72px);
  padding: 24px 0;
  border-top: 1px dashed var(--trace-soft);
  border-bottom: 1px dashed var(--trace-soft);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}
.sprint-deliverables .deliv-label { color: var(--trace); padding-top: 2px; }
.sprint-deliverables .deliv-list { color: var(--ink); line-height: 1.8; }

@media (max-width: 720px) {
  .sprint-deliverables { grid-template-columns: 1fr; gap: 8px; }
}

/* Services block — what comes after the sprint says go */
.services-block {
  margin-top: clamp(72px, 9vw, 144px);
  padding-top: clamp(40px, 4vw, 64px);
  border-top: 1px solid var(--ink);
}
.services-heading {
  color: var(--ink);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 3vw, 48px);
  font-family: var(--mono);
  font-weight: 500;
}
.services-heading em {
  font-family: var(--display);
  font-weight: 600;
  color: var(--signal);
  font-style: normal;
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: clamp(20px, 2vw, 30px);
  margin-left: 8px;
  font-variation-settings: "opsz" 36;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--trace-soft);
  border: 1px solid var(--trace-soft);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-row {
  background: var(--paper);
  padding: clamp(20px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 200ms;
  min-height: clamp(180px, 16vw, 240px);
}
.service-row:hover { background: var(--paper-deep); }
.service-num {
  color: var(--trace);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 36;
  margin-top: auto;
}
.service-desc {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  color: var(--trace);
  max-width: 34ch;
}

.movements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 900px) {
  .movements { grid-template-columns: 1fr; gap: 56px; }
}

.movement {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.movement .step-num { color: var(--trace); }
.movement .title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 6.2vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 96;
}
.movement .desc {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 34ch;
}
.movement .desc .sub {
  display: block;
  margin-top: 10px;
  color: var(--trace);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.repeat-loop {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px dashed var(--trace-soft);
  display: flex;
  gap: 12px;
  align-items: center;
}
.repeat-loop .arrow {
  font-family: var(--mono);
  color: var(--signal);
  font-size: 18px;
}

/* ============================================================
   §04 WORLDS — editorial entries, alternating L/R
   ============================================================ */

.worlds-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}

.world-entry {
  position: relative;
  padding: clamp(40px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  transition: background 240ms ease;
  cursor: default;
}

.world-entry:hover { background: var(--paper-deep); }

.world-num {
  font-family: var(--mono);
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--trace);
  align-self: start;
  padding-top: clamp(12px, 1.2vw, 22px);
  min-width: 56px;
}

.world-body {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 18px);
}

.world-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 144px);
  line-height: 0.93;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}

.world-line {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  opacity: 0.72;
  max-width: 32ch;
  font-variation-settings: "opsz" 36;
}

.world-sigil-wrap {
  width: clamp(80px, 11vw, 168px);
  height: clamp(80px, 11vw, 168px);
  flex: 0 0 auto;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.world-entry:hover .world-sigil-wrap { transform: rotate(45deg); }
.world-sigil-wrap svg { width: 100%; height: 100%; display: block; }

/* Alternating layout: even entries flip horizontally */
.world-entry.reverse {
  grid-template-columns: auto 1fr auto;
  direction: rtl;
}
.world-entry.reverse > * { direction: ltr; }
.world-entry.reverse .world-body { align-items: flex-end; text-align: right; }
.world-entry.reverse .world-line { max-width: 32ch; }

@media (max-width: 800px) {
  .world-entry,
  .world-entry.reverse {
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
    direction: ltr;
    padding: clamp(36px, 6vw, 56px) 0;
  }
  .world-entry.reverse .world-body { align-items: flex-start; text-align: left; }
  .world-name { font-size: clamp(40px, 10vw, 72px); }
  .world-sigil-wrap {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 64px; height: 64px;
  }
  .world-entry .world-body { grid-column: 1 / span 2; }
  .world-entry.reverse .world-sigil-wrap { justify-self: end; }
}

/* Ticker below the stack — "currently exploring" */
.worlds-ticker {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px dashed var(--trace-soft);
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  align-items: baseline;
}
.worlds-ticker .ticker-label { color: var(--trace); margin-right: 8px; }
.worlds-ticker .ticker-item { color: var(--ink); }
.worlds-ticker .ticker-item::before {
  content: "→ ";
  color: var(--signal);
  margin-right: 2px;
}

/* ============================================================
   §05 FOUNDER
   ============================================================ */

#founder .founder-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  #founder .founder-grid { grid-template-columns: 1fr; }
}

.founder-photo {
  aspect-ratio: 4/5;
  background: var(--paper-deep);
  border: 1px solid var(--trace-soft);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
}
.founder-photo svg { width: 100%; height: 100%; display: block; opacity: 0.4; }
.founder-photo .photo-caption {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--paper);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.founder-photo .photo-caption.over-placeholder {
  color: var(--trace);
  text-shadow: none;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.founder-bio .bio-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.3;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.008em;
}
.founder-bio .bio-text em { font-weight: 600; color: var(--signal); font-style: normal; }

.founder-stat {
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.founder-stat .label { color: var(--trace); }
.founder-stat .nums {
  font-family: var(--mono);
  font-size: clamp(13px, 1vw, 15px);
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* ============================================================
   §06 NOW
   ============================================================ */

#now { background: var(--paper-deep); }
#now .status-line {
  font-family: var(--mono);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  max-width: 66ch;
  color: var(--ink);
}
#now .status-line .signal { color: var(--signal); }

/* ============================================================
   §07 FORM
   ============================================================ */

#form-section .form-wrap { max-width: 920px; }

#form-section .prompt-label {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.8vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 96;
  margin-bottom: clamp(32px, 4vw, 64px);
  max-width: 16ch;
}
#form-section .prompt-label em { font-weight: 600; color: var(--signal); font-style: normal; }

form { display: flex; flex-direction: column; gap: 24px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--trace);
}
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink);
  width: 100%;
  resize: none;
  outline: none;
  transition: border-color 150ms;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--trace);
  opacity: 0.75;
}
.field input:focus, .field textarea:focus { border-color: var(--signal); }
.field textarea {
  min-height: 160px;
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.45;
  font-variation-settings: "opsz" 24;
  padding: 14px 0;
}

.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 560px) { .fields-row { grid-template-columns: 1fr; } }

.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

button[type=submit] {
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 150ms, transform 150ms;
}
button[type=submit]:hover { background: var(--signal); transform: translateY(-1px); }
button[type=submit]:disabled { opacity: 0.4; cursor: progress; }

.form-meta { color: var(--trace); max-width: 36ch; }

.confirmation {
  padding: 32px;
  border: 1px dashed var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  display: none;
}
.confirmation.show { display: block; }

/* ============================================================
   FOOTER §08
   ============================================================ */

footer {
  padding: clamp(48px, 6vw, 96px) var(--pad);
  border-top: 1px solid var(--ink);
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: end;
}
@media (max-width: 720px) {
  footer .footer-grid { grid-template-columns: 1fr; gap: 12px; }
}
footer .line { color: var(--trace); }
footer .line .strong { color: var(--ink); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

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

.hidden { display: none; }
