*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: company shell = operating system (quiet grey, mono labels, a register-map hero);
   each product band = its own application world (warm table log / always-dark rain city).
   Two accents carry meaning everywhere: --human (burnt orange) and --machine (cold blue-grey). */
:root {
  --bg: #eceeef;
  --surface: #f7f8f8;
  --ink: #15191c;
  --muted: #59626a;
  --rule: #c9cfd3;
  --human: #b9481a;
  --machine: #44657b;
  --log-bg: #e2e8e5;
  --rune: #2d6b7c;
  --lantern: #85531a;
  --blood: #9a3b2e;
  /* After the Model band is one fixed world: always dark, never theme-switched */
  --atm-bg: #0c0e13;
  --atm-surface: #151922;
  --atm-ink: #dfe3ea;
  --atm-muted: #8c94a4;
  --atm-rule: #262c38;
  --atm-orange: #e2662a;
  --atm-gold: #c9a24e;
  --atm-violet: #9b72ff;
  --atm-white: #e9eef5;
  --display: "Archivo", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --body: "Archivo", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Noto Sans TC", ui-monospace, "Consolas", monospace;
  --hand: "LXGW WenKai TC", "Kaiti TC", "DFKai-SB", "Noto Sans TC", serif;
  /* Promo-frame overlay faces: Cinzel echoes the ADVENTURE TABLE wordmark, Noto Serif TC the promo's Chinese titles */
  --promo-en: "Cinzel", "Trajan Pro", Georgia, serif;
  --promo-zh: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --promo-gold: #c9a45a;
  --promo-brown: #6a4524;
  --promo-red: #e0614f;
  --promo-ink: #f2efe8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101315;
    --surface: #171b1e;
    --ink: #e3e7e9;
    --muted: #8f99a0;
    --rule: #2b3236;
    --human: #ee7a3e;
    --machine: #8fb1c6;
    --log-bg: #182023;
    --rune: #86c1cf;
    --lantern: #d9a45a;
    --blood: #da8373;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101315;
  --surface: #171b1e;
  --ink: #e3e7e9;
  --muted: #8f99a0;
  --rule: #2b3236;
  --human: #ee7a3e;
  --machine: #8fb1c6;
  --log-bg: #182023;
  --rune: #86c1cf;
  --lantern: #d9a45a;
  --blood: #da8373;
}

:root:not([data-lang="zh"]) [data-l="zh"],
:root[data-lang="zh"] [data-l="en"] { display: none !important; }

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--machine); outline-offset: 3px; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: 20px; }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.h { color: var(--human); }
.m { color: var(--machine); }

/* Mockup strip */
.mock {
  border-bottom: 1px dashed var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.mock .wrap { padding-block: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; }
.ph {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed currentColor;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Top bar */
.top { border-bottom: 1px solid var(--rule); background: var(--bg); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  letter-spacing: 0.04em;
  font-size: 15px;
  text-decoration: none;
  margin-right: auto;
}
.wordmark .w { color: var(--human); }
.wordmark .a { color: var(--machine); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--mono); font-size: 13px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.lang a {
  font: 500 12px var(--mono);
  padding: 4px 10px;
  color: var(--muted);
  text-decoration: none;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* Hero: an assembly listing that defines the name, then the thesis */
.hero { padding-block: 64px 56px; border-bottom: 1px solid var(--rule); }
.listing {
  margin: 0 0 36px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 28px;
  overflow-x: auto;
}
.listing .c { color: var(--muted); }
.listing .op { font-weight: 500; letter-spacing: 0.06em; }
.hero h1 {
  margin: 0;
  max-width: 17em;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 88;
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
:root[data-lang="zh"] .hero h1 { line-height: 1.25; letter-spacing: 0.02em; max-width: 13em; }
.index { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.index li { border-bottom: 1px solid var(--rule); }
.index a {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: baseline;
  padding-block: 16px;
  text-decoration: none;
}
.index a:hover .pname { color: var(--human); }
.pname { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 100; font-size: 1.35rem; }
.pline { color: var(--muted); }
.state {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.state.beta { background: color-mix(in srgb, var(--machine) 16%, transparent); color: var(--machine); }
.state.dev { background: color-mix(in srgb, var(--human) 14%, transparent); color: var(--human); }
.state.next { border: 1px dashed var(--muted); color: var(--muted); }

/* Generic section */
.sec { padding-block: 72px; border-bottom: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 8px 32px; margin-bottom: 40px; }
.sec h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 92;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  text-wrap: balance;
}
.sec h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
  text-wrap: balance;
}
.lede { margin: 0; max-width: 40em; font-size: 1.08rem; color: var(--muted); }

/* Adventure Table: demo + log */
.demo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.slot {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--machine) 8%, transparent) 14px 15px),
    var(--surface);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  text-align: center;
}
.slot .inner { display: grid; justify-items: center; gap: 10px; padding: 16px; }
.play {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
}
.play::after { content: ""; border-left: 15px solid var(--ink); border-block: 9px solid transparent; margin-left: 4px; }
.slot p { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.slot .ph { color: var(--human); }
.under { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.log {
  background: var(--log-bg);
  border-radius: 4px;
  padding: 20px 22px 18px;
  font-family: var(--hand);
  font-size: 15.5px;
  line-height: 1.75;
}
.log-head { font-family: var(--body); margin-bottom: 14px; }
.log-title { font-family: var(--hand); font-size: 1.3rem; font-weight: 400; margin: 2px 0 2px; }
.log-meta { margin: 0; font-size: 13px; color: var(--muted); }
.entry { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0 12px; margin: 0 0 10px; }
.who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; padding-top: 5px; text-transform: uppercase; }
.who.dm { color: var(--rune); font-weight: 500; }
.who.pc { color: var(--lantern); font-weight: 500; }
.entry p { margin: 0; }
.entry.pc p { color: var(--lantern); }
.entry .tr { display: block; font-family: var(--body); font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 2px; }
.entry.pc .tr { color: var(--muted); }
.fight {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--blood);
}
.fight::before, .fight::after { content: ""; flex: 1; border-top: 1px solid color-mix(in srgb, var(--blood) 45%, transparent); }
.rolls { list-style: none; margin: 0 0 12px 5.35rem; padding: 0; display: grid; gap: 4px; }
.roll { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-family: var(--mono); font-size: 12px; }
.die { width: 12px; height: 12px; background: var(--rune); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.roll .f { color: var(--muted); font-variant-numeric: tabular-nums; }
.roll .t { font-weight: 500; padding: 0 6px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); font-variant-numeric: tabular-nums; }
.log-foot {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--rune) 30%, transparent);
  font-family: var(--body); font-size: 13px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}
.log-foot a { color: var(--rune); font-family: var(--mono); font-size: 12px; }

/* Promo frames: Chinese text was removed from the pixels and is re-set here as live text,
   so it switches with the language toggle. Positions are % of the frame; sizes use cqw. */
.frame { position: relative; margin: 0; container-type: inline-size; max-width: 100%; }
.frame img { display: block; width: 100%; height: auto; }
.ov { position: absolute; margin: 0; pointer-events: none; }
.ov [data-l="en"] { font-family: var(--promo-en); }
.ov [data-l="zh"] { font-family: var(--promo-zh); }
.src { margin: 6px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

.banner { margin: 0 0 40px; border-radius: 4px; overflow: hidden; }
.ov.tagline {
  left: 20%; right: 20%; top: 82%;
  display: flex; align-items: center; gap: 2cqw;
  color: var(--promo-brown); font-weight: 700; white-space: nowrap;
}
.ov.tagline::before, .ov.tagline::after { content: ""; flex: 1; border-top: 1px solid color-mix(in srgb, var(--promo-brown) 55%, transparent); }
.ov.tagline [data-l="zh"] { font-size: 2cqw; letter-spacing: 0.3em; }
.ov.tagline [data-l="en"] { font-size: 1.75cqw; letter-spacing: 0.12em; }

.slot.poster { background: #05070a; border-color: transparent; }
.slot.poster .frame { width: 100%; }
.ov.warn { left: 10%; top: 27%; max-width: 42%; color: var(--promo-ink); line-height: 1.25; font-weight: 900; }
.ov.warn span[data-l] { display: block; }
.ov.warn .l1 { font-size: 3.6cqw; opacity: 0.86; margin-bottom: 1.6cqw; }
.ov.warn .l2[data-l="zh"] { font-size: 6.6cqw; letter-spacing: 0.04em; }
.ov.warn .l1[data-l="en"] { font-size: 3cqw; font-weight: 700; }
.ov.warn .l2[data-l="en"] { font-size: 4.2cqw; font-weight: 700; }
.poster-ui { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.poster-ui .play { width: 40px; height: 40px; border-color: var(--promo-ink); }
.poster-ui .play::after { border-left-color: var(--promo-ink); border-left-width: 11px; border-block-width: 7px; }
.poster-ui p { margin: 0; font-family: var(--mono); font-size: 12px; color: #c6ccd4; text-align: left; }
.poster-ui .ph { color: var(--promo-gold); }

.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.stills .frame { border-radius: 3px; overflow: hidden; }
.ov.combat {
  left: 8%; right: 8%; bottom: 7%;
  display: flex; align-items: center; gap: 2.5cqw;
  color: var(--promo-red); font-weight: 900; white-space: nowrap;
}
.ov.combat::before, .ov.combat::after { content: ""; flex: 1; border-top: 1px solid color-mix(in srgb, var(--promo-red) 70%, transparent); }
.ov.combat [data-l="zh"] { font-size: 5.4cqw; letter-spacing: 0.3em; }
.ov.combat [data-l="en"] { font-size: 4.4cqw; letter-spacing: 0.14em; }
.ov.atk { left: 73.6%; top: 25.4%; color: #dcd8cc; font-weight: 700; white-space: nowrap; }
.ov.atk [data-l="zh"] { font-size: 2.1cqw; letter-spacing: 0.08em; }
.ov.atk [data-l="en"] { font-size: 1.75cqw; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 28px; }
.tile { margin: 0; }
.tile .frame { border-radius: 4px; overflow: hidden; }
.tile .num { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.tile .tt { margin: 2px 0 2px; font-size: 1.3rem; line-height: 1.2; font-weight: 900; }
.tile .tt[data-l="zh"] { font-family: var(--promo-zh); letter-spacing: 0.06em; }
.tile .tt[data-l="en"] { font-family: var(--promo-en); font-weight: 700; font-size: 1.15rem; }
.tile .ts { margin: 0; font-size: 14px; color: var(--muted); }

/* Adventure Table: the seat diagram */
.seat-block { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 32px 48px; align-items: start; }
.claim {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 90;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.18;
  text-wrap: balance;
}
.claim em { font-style: normal; color: var(--machine); }
.seat-block p.body { margin: 0 0 12px; color: var(--muted); max-width: 34em; }
.diagram-scroll { overflow-x: auto; }
.diagram {
  min-width: 36rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1.05fr) 2rem minmax(0, 1fr);
  align-items: center;
  font-size: 14px;
}
.col { display: grid; gap: 8px; }
.col .label { margin-bottom: 2px; }
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--surface);
  line-height: 1.3;
}
.chip small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.h { background: var(--human); }
.dot.m { background: var(--machine); }
.chip.soon { border-style: dashed; background: transparent; color: var(--muted); }
.chip.soon .dot { background: transparent; border: 1.5px dashed var(--machine); }
.arrow { text-align: center; color: var(--muted); font-family: var(--mono); }
.core {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: var(--surface);
}
.core .layer { padding: 6px 8px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.core .layer.filter { background: color-mix(in srgb, var(--machine) 18%, transparent); font-weight: 600; }
.recv { padding: 8px 10px; border-radius: 3px; border: 1px solid var(--rule); background: var(--surface); line-height: 1.4; }
.recv b { display: block; font-size: 13px; }
.recv span { font-size: 12.5px; color: var(--muted); }
.recv .secret { color: var(--blood); }
.recv .cut { text-decoration: line-through; text-decoration-color: var(--blood); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

.caps { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 48px; }
.caps ul { margin: 8px 0 0; padding: 0; list-style: none; columns: 2 16rem; column-gap: 32px; }
.caps li { break-inside: avoid; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.next-box { border: 1px dashed var(--machine); border-radius: 4px; padding: 14px 16px; }
.next-box p { margin: 6px 0 0; font-size: 15px; }
.fine { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* After the Model band */
.atm { background: var(--atm-bg); color: var(--atm-ink); border-bottom: 0; }
.atm .label { color: var(--atm-muted); }
.atm .lede { color: var(--atm-muted); }
.atm h2 { color: var(--atm-white); }
.atm-hero { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 7; max-width: 100%; background: var(--atm-surface); }
.atm-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atm-hero .badge {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(12, 14, 19, 0.78);
  border: 1px solid var(--atm-rule);
  border-radius: 3px;
  font-family: var(--mono); font-size: 12px; color: var(--atm-ink);
}
.atm-hero .badge .ph { color: var(--atm-orange); }
.atm-hero .tri { width: 0; height: 0; border-left: 10px solid var(--atm-ink); border-block: 6px solid transparent; }
.atm-meta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; margin-top: 28px; }
.atm-meta p { margin: 0 0 12px; }
.facts { margin: 0; display: grid; gap: 0; font-family: var(--mono); font-size: 13px; }
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--atm-rule); }
.facts dt { color: var(--atm-muted); }
.facts dd { margin: 0; }
.notai { color: var(--atm-orange); }

.zones-head { margin: 72px 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.zones-head h3 { color: var(--atm-white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.zones-head p { margin: 0; color: var(--atm-muted); font-size: 15px; }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zone { background: var(--atm-surface); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.zone img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zone .txt { padding: 14px 16px 16px; display: grid; gap: 6px; }
.zone .zn { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.swatch { display: inline-flex; gap: 3px; }
.swatch i { width: 10px; height: 10px; border-radius: 1px; display: block; }
.zone .pal { margin: 0; font-size: 14px; color: var(--atm-muted); }
.zone q { font-size: 15.5px; color: var(--atm-white); quotes: "“" "”" "「" "」"; }
:root[data-lang="zh"] .zone q { quotes: "「" "」"; }
.rule-card {
  margin-top: 16px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 20px; align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--atm-rule);
  border-radius: 4px;
}
.rule-card .mark { width: 4px; height: 38px; background: var(--atm-orange); border-radius: 1px; }
.rule-card p { margin: 0; font-size: 14.5px; color: var(--atm-muted); }
.rule-card b { color: var(--atm-ink); font-weight: 600; }

/* Status */
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.status-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 18px 20px; }
.status-card .row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.status-card h3 { margin: 0; }
.kv { margin: 0; display: grid; gap: 0; font-size: 14.5px; }
.kv div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); }
.kv dt { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.kv dd { margin: 0; }

/* Notes */
.notes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.notes li { display: grid; grid-template-columns: 7.5rem 9.5rem minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.notes time { font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.notes .proj { font-family: var(--mono); font-size: 12px; }
.notes a { text-decoration: none; font-weight: 500; }
.notes a:hover { text-decoration: underline; text-decoration-color: var(--human); }

/* Philosophy */
.why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; }
.why p { margin: 0 0 14px; font-size: 1.08rem; max-width: 36em; }
.name-def { border-left: 2px solid var(--rule); padding-left: 18px; display: grid; gap: 14px; }
.name-def dt { font-family: var(--mono); font-weight: 500; letter-spacing: 0.06em; }
.name-def dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* Footer */
.foot { padding-block: 48px 56px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.foot .wordmark { font-size: 14px; display: inline-block; margin-bottom: 8px; }
.foot p { margin: 0 0 6px; color: var(--muted); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.email { font-family: var(--mono); user-select: all; color: var(--ink); }
.srd { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--muted); max-width: 60em; }

@media (max-width: 820px) {
  .sec { padding-block: 56px; }
  .sec-head, .demo, .seat-block, .caps, .atm-meta, .zones-head, .why, .foot-grid, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .zones { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index a { grid-template-columns: minmax(0, 1fr) auto; }
  .index .label { grid-column: 1 / -1; }
  .pline { grid-column: 1 / -1; }
  .notes li { grid-template-columns: minmax(0, 1fr) auto; }
  .notes li a { grid-column: 1 / -1; }
  .atm-hero { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .hero { padding-block: 44px 40px; }
  .listing { font-size: 12.5px; gap: 0 16px; }
  .entry { grid-template-columns: minmax(0, 1fr); }
  .who { padding-top: 0; }
  .rolls { margin-left: 0; }
  .log { padding: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .index a .pname, .nav a { transition: color 0.15s ease; }
}
