/* Newbridge Memo heritage prototype. Warm "paper, coal and brass" palette; all text pairs checked at 4.5:1 or more. */
:root {
  --ink: #1d2230; --coal: #141821; --paper: #f6efe2; --paper2: #ede3cf; --line: #d8cbb0;
  --brass: #e0b04f; --brass-text: #8a5a14; --ember: #9b3a26; --slate: #2e5552; --muted: #4a5060; --muted-light: #c9cfdb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 10px; --focus: 3px solid #1a5fb4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0 .3em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 1.4em 0 .4em; }
h3, .h3 { font-size: 1.2rem; margin: 1em 0 .4em; }
h1:focus { outline: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sec { padding-top: 2.2rem; padding-bottom: 2.6rem; }
.sec > h2:first-child { margin-top: 0; }
.sec-lead { color: var(--muted); max-width: 46rem; margin-top: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-size: .95rem; }
.muted-light { color: var(--muted-light); font-size: .9rem; }
.kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--brass-text); margin: 0 0 .3rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.kicker.light, .kicker.light a { color: var(--brass); }
.lead { font-size: 1.2rem; max-width: 40rem; }
.lead.dark { color: var(--ink); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 8px; }
.skip:focus { top: 0; }

/* sample banner */
.banner { background: #fff3c4; color: var(--ink); border-bottom: 2px solid var(--brass); font-size: .88rem; padding: .5rem 0; }
.banner a { color: var(--ink); font-weight: 700; }

/* header */
.site-head { background: var(--ink); color: var(--paper); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 0 var(--brass); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--paper); text-decoration: none; }
.brand .mark { width: 38px; height: 38px; color: var(--brass); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.brand-sub { font-size: .78rem; color: var(--muted-light); }
.head-tools { display: flex; gap: .5rem; align-items: center; }
.lang-btn, .menu-btn { min-height: 44px; min-width: 44px; border-radius: 999px; border: 2px solid var(--brass); background: transparent; color: var(--paper); font: 700 .95rem var(--sans); padding: 0 1rem; cursor: pointer; }
.lang-btn:hover, .menu-btn:hover { background: var(--brass); color: var(--ink); }
.menu-btn { display: none; align-items: center; gap: .5rem; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.burger::before { position: absolute; top: -6px; } .burger::after { position: absolute; top: 6px; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0 0 .5rem; flex-wrap: wrap; }
.main-nav a { display: block; padding: .55rem .9rem; color: var(--paper); text-decoration: none; border-radius: 6px; font-weight: 600; }
.main-nav a:hover { background: rgba(224, 176, 79, .15); }
.main-nav a[aria-current="page"] { color: var(--brass); box-shadow: inset 0 -3px 0 var(--brass); border-radius: 0; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand .mark { width: 30px; height: 30px; }
  .lang-btn, .menu-btn { padding: 0 .75rem; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding-bottom: 1rem; }
  .main-nav a { padding: .8rem .5rem; font-size: 1.1rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--brass); padding-left: 1rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .55rem 1.25rem; border-radius: 999px; font: 700 1rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #ecc46e; }
.btn-ghost { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2d3448; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: #7f2f1f; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* tags */
.tag { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .32rem .5rem; border-radius: 4px; vertical-align: middle; }
.tag-sample { background: #fff3c4; color: #5c3d00; border: 1px dashed #8a5a14; }
.tag-real { background: #dcebe8; color: #1d3d3a; border: 1px solid #2e5552; }
.content-note { background: var(--paper2); border-left: 4px solid var(--slate); padding: .6rem .9rem; font-size: .95rem; margin: 1rem 0; }

/* hero */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; min-height: 480px; display: flex; align-items: flex-end; }
.hero-art { position: absolute; inset: 0; opacity: .55; }
.hero-art svg { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 33, .1) 0%, rgba(20, 24, 33, .88) 70%); }
.hero-text { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 2.5rem; width: 100%; }
.hero h1 { max-width: 15ch; color: #fff; }
.hero .lead { color: #f1ead9; }

/* cards */
.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { display: flex; flex-direction: column; background: #fffaf0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(29, 34, 48, .15); }
.card-art { aspect-ratio: 400 / 220; overflow: hidden; background: var(--ink); }
.card-art svg { width: 100%; height: 100%; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 { margin: .2rem 0 .4rem; }
.card-body p { margin: .3rem 0; }
.journey-card .card-body h3 { font-size: 1.35rem; }
.band { background: var(--paper2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--paper); border: 0; }
.band-dark .sec-lead { color: var(--muted-light); }
.band-dark .card { border-color: #333a4d; }

/* timeline */
.timeline { list-style: none; padding: 0 0 .5rem; margin: 0; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.timeline li { flex: 0 0 auto; scroll-snap-align: start; position: relative; padding-top: 1.4rem; }
.timeline li::before { content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 3px; background: var(--brass-text); }
.timeline li::after { content: ""; position: absolute; top: .2rem; left: 1rem; width: 14px; height: 14px; border-radius: 50%; background: var(--paper2); border: 3px solid var(--ember); }
.timeline a { display: block; width: 10.5rem; padding: .5rem 1rem 0; color: var(--ink); text-decoration: none; }
.timeline a:hover .ev { text-decoration: underline; }
.timeline .yr { display: block; font: 600 1.6rem var(--serif); color: var(--ember); }
.timeline .ev { font-size: .95rem; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.panel { border-radius: var(--r); padding: 1.6rem; }
.panel h2 { margin-top: 0; }
.panel-research { background: #dcebe8; border: 1px solid #a9c7c2; }
.panel-share { background: #f5dcd3; border: 1px solid #ddb0a2; }

/* journeys */
.j-head { background: var(--ink); color: var(--paper); padding: 1.8rem 0 1.2rem; }
.j-head h1 { color: #fff; margin-bottom: .2rem; }
.j-head .lead { color: #f1ead9; margin-top: .2rem; }
.progress { height: 6px; background: #333a4d; border-radius: 3px; margin: 1.2rem 0 .8rem; }
.progress span { display: block; height: 100%; background: var(--brass); border-radius: 3px; transition: width .3s; }
.steps-nav { list-style: none; padding: 0; margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; counter-reset: s; }
.steps-nav li { counter-increment: s; }
.steps-nav a { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .25rem .7rem; border-radius: 999px; border: 1px solid #4a5370; color: var(--muted-light); text-decoration: none; font-size: .85rem; }
.steps-nav a::before { content: counter(s); font-weight: 700; color: var(--brass); }
.steps-nav a[aria-current="step"] { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.steps-nav a[aria-current="step"]::before { color: var(--ink); }
@media (max-width: 760px) { .steps-nav a > span[lang] { display: none; } .steps-nav a { min-width: 40px; justify-content: center; } }
.j-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 880px) { .j-grid { grid-template-columns: 1fr; } }
.j-text h2 { margin-top: .2rem; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.story { font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; }
.src { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .6rem; }
.rec-link { font-size: .92rem; margin: .6rem 0 0; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.thread-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--sans); color: var(--brass-text); }
.j-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .5rem 0; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .3rem .8rem .3rem .35rem; border-radius: 999px; background: #fffaf0; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .93rem; }
.chip:hover { border-color: var(--ink); }
.chip-type { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: .25rem .45rem; border-radius: 999px; background: var(--paper2); color: var(--ink); }
.chip-place .chip-type { background: #f3dfae; } .chip-person .chip-type, .chip-organisation .chip-type { background: #f5dcd3; }
.chip-event .chip-type { background: #dcebe8; } .chip-theme .chip-type { background: #e4e0f0; } .chip-item .chip-type { background: #e6e6e6; }
.band-dark .chip { background: #262c3d; color: var(--paper); border-color: #3b4357; }

/* media */
.fig-art { border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 400 / 260; }
.fig-art svg { width: 100%; height: 100%; }
.fig-art.small { max-width: 360px; }
.player { background: var(--ink); color: var(--paper); border-radius: var(--r); overflow: hidden; }
.player-art { position: relative; aspect-ratio: 400 / 200; overflow: hidden; }
.player-art svg { width: 100%; height: 100%; }
.player-art:not(.film)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(29, 34, 48, .9)); }
.caption-line { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); width: 90%; margin: 0; text-align: center; background: rgba(0, 0, 0, .82); color: #fff; padding: .3rem .6rem; border-radius: 4px; font-size: .95rem; }
.caption-line:empty { display: none; }
.player-bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; flex-wrap: wrap; }
.btn-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--brass); cursor: pointer; display: grid; place-items: center; flex: none; }
.ico-play { width: 0; height: 0; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.btn-play.playing .ico-play { border: 0; width: 16px; height: 18px; margin: 0; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.btn-play:focus-visible, .btn-cc:focus-visible { outline-color: #fff; }
.pos { flex: 1 1 140px; accent-color: var(--brass); min-height: 32px; }
.time { font-variant-numeric: tabular-nums; font-size: .9rem; }
.btn-cc { min-height: 40px; border-radius: 6px; border: 2px solid var(--paper); background: transparent; color: var(--paper); font-weight: 700; padding: 0 .7rem; cursor: pointer; }
.btn-cc[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.sim-note { font-size: .8rem; color: var(--muted-light); padding: 0 1rem; margin: 0 0 .6rem; }
.transcript { background: #fffaf0; color: var(--ink); }
.transcript summary { cursor: pointer; padding: .7rem 1rem; font-weight: 700; border-top: 3px solid var(--brass); }
.lines { list-style: none; margin: 0; padding: 0 .5rem .6rem; max-height: 300px; overflow-y: auto; }
.lines button { all: unset; display: block; box-sizing: border-box; width: 100%; padding: .45rem .6rem; border-radius: 6px; cursor: pointer; line-height: 1.5; }
.lines button:focus-visible { outline: var(--focus); }
.lines li.now button { background: #fff3c4; box-shadow: inset 4px 0 0 var(--brass-text); }
.ts { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; margin-right: .3rem; }
.who { font-weight: 700; margin-right: .2rem; }
.who::after { content: ":"; }
.turn { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 1rem; }
.turn-stage { perspective: 900px; height: 260px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; }
.turn-obj { width: 220px; height: 150px; position: relative; transform-style: preserve-3d; transition: transform .35s ease; }
.face { position: absolute; inset: 0; border: 2px solid var(--brass); border-radius: 6px; overflow: hidden; backface-visibility: hidden; }
.face svg { width: 100%; height: 100%; }
.front { transform: translateZ(75px); } .back { transform: rotateY(180deg) translateZ(75px); }
.side { width: 150px; left: 35px; transform: rotateY(90deg) translateZ(110px); filter: brightness(.7); } .side2 { width: 150px; left: 35px; transform: rotateY(-90deg) translateZ(110px); filter: brightness(.7); }
.turn-ctl { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.turn-ctl button, .zoom-ctl button { min-height: 44px; min-width: 44px; border-radius: 999px; border: 2px solid var(--brass); background: transparent; color: var(--paper); font-weight: 700; padding: 0 1rem; cursor: pointer; }
.turn .sim-note { padding: 0; margin-top: .7rem; text-align: center; }
.zoom { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.zoom-view { aspect-ratio: 400 / 260; overflow: auto; }
.zoom-view svg { width: 100%; height: 100%; transform-origin: center; transition: transform .25s; }
.zoom-ctl { position: absolute; right: .6rem; bottom: .6rem; display: flex; gap: .4rem; }
.zoom-ctl button { background: rgba(20, 24, 33, .85); font-size: 1.3rem; padding: 0; }
.quote-card { background: var(--ink); color: var(--paper); border-radius: var(--r); overflow: hidden; }
.quote-card .fig-art { border-radius: 0; aspect-ratio: 400 / 150; }
.quote-card blockquote { margin: 0; padding: 1.2rem 1.4rem .4rem; font: italic 1.35rem/1.5 var(--serif); }
.quote-by { padding: 0 1.4rem 1.2rem; color: var(--muted-light); font-size: .92rem; margin: 0; }
.plan svg { background: var(--paper2); border-radius: var(--r); border: 1px solid var(--line); }
.plan .bldg { fill: #fffaf0; stroke: var(--ink); stroke-width: 3; }
.plan .link { fill: var(--line); }
.plan .bl { font: 600 15px var(--serif); fill: var(--ink); }
.plan .bl.small { font: 12px var(--sans); fill: var(--muted); }
.plan .room text { font: 600 14px var(--sans); fill: var(--ink); pointer-events: none; }
.plan .room rect { stroke: var(--ink); stroke-width: 1; transition: filter .15s; }
.plan .room:hover rect, .plan .room:focus rect { filter: brightness(1.12); stroke-width: 3; }
.plan .room:focus { outline: none; }
.plan .room:focus-visible rect { stroke: #1a5fb4; stroke-width: 5; }

/* item & thread */
.item-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: 1rem; }
@media (max-width: 880px) { .item-grid { grid-template-columns: 1fr; } }
.item-side h2:first-child { margin-top: 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; }
.facts dt { font-weight: 700; color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; }
.dates { font: 600 1.2rem var(--serif); color: var(--ember); margin: 0; }
.explore-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; }
.explore-grid h2:first-child { margin-top: .4rem; }
@media (max-width: 880px) { .explore-grid { grid-template-columns: 1fr; } }

/* research */
.research { background: #fbf8f2; }
.r-form { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.r-form .field { margin: 0; }
.field.grow { flex: 1 1 260px; }
label, legend { font-weight: 700; }
input[type=search], input[type=text], input:not([type]), input[type=email], select, textarea { font: inherit; padding: .6rem .7rem; border: 2px solid #6b7182; border-radius: 6px; background: #fff; color: var(--ink); min-height: 46px; width: 100%; }
textarea { min-height: 140px; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--ember); }
.r-filters { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; width: 100%; }
.r-filters legend { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brass-text); margin-bottom: .4rem; }
.r-filters .field { flex: 1 1 150px; }
.clear { padding: .7rem 0; font-weight: 700; }
.r-count { font-weight: 700; margin: 1.2rem 0 .6rem; }
.r-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.r-table th { text-align: left; background: var(--ink); color: var(--paper); padding: .6rem .8rem; font-size: .9rem; }
.r-table td { padding: .6rem .8rem; border-top: 1px solid var(--line); vertical-align: top; }
.r-table tbody tr:nth-child(even) { background: #fbf6ec; }
code { font: .88rem ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
@media (max-width: 700px) {
  .r-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .r-table, .r-table tbody, .r-table tr, .r-table td { display: block; width: 100%; }
  .r-table tr { border-top: 1px solid var(--line); padding: .5rem 0; }
  .r-table td { border: 0; padding: .2rem .8rem; }
  .r-table td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--muted); font-size: .85rem; }
}
.rec-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 880px) { .rec-grid { grid-template-columns: 1fr; } }
.meta { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.meta th { text-align: left; width: 34%; background: var(--paper2); padding: .6rem .8rem; font-size: .92rem; vertical-align: top; border-top: 1px solid var(--line); }
.meta td { padding: .6rem .8rem; border-top: 1px solid var(--line); }
.cite { background: #fff; border: 1px dashed var(--muted); padding: .7rem; font-size: .92rem; word-break: break-word; }

/* share */
.hint { margin: 0; color: var(--muted); font-size: .92rem; }
.err { margin: 0; color: var(--ember); font-weight: 700; }
.req { font-weight: 400; color: var(--muted); font-size: .9rem; }
.form-err { background: #f5dcd3; border-left: 5px solid var(--ember); padding: .8rem 1rem; font-weight: 700; margin-bottom: 1rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; }
label.inline { font-weight: 400; display: inline-flex; gap: .5rem; align-items: flex-start; margin: .3rem 1rem .3rem 0; min-height: 32px; }
label.inline input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--ember); }
.consent { background: var(--paper2); padding: .8rem 1rem; border-radius: 6px; }
.status-steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .5rem; }
.status-steps li { padding: .7rem 1rem .7rem 2.8rem; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.status-steps li::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 3px solid var(--line); }
.status-steps li.done::before { background: var(--slate); border-color: var(--slate); }
.status-steps li.now { border-color: var(--brass-text); font-weight: 700; }
.status-steps li.now::before { border-color: var(--brass-text); background: #fff3c4; }
.staff { border-top: 6px solid var(--slate); }
.mod-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.mod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; }
.mod-card h3 { margin-top: .2rem; }
.editing { outline: 2px dashed var(--brass-text); padding: .3rem; }
.log { padding-left: 1.2rem; }
.prose p, .prose li { max-width: 44rem; }

/* footer */
.site-foot { background: var(--coal); color: var(--paper); padding: 2rem 0; margin-top: 0; border-top: 4px solid var(--brass); }
.site-foot a { color: var(--brass); }
.site-foot p { max-width: 52rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .banner, .site-foot { position: static; } }
