/* Inner pages inside the Version 7 sheet (load after v7-shell.css).
   Generated by build/legacy_css.py from e1.css and e1-pages.css: their content components (tables, prompt blocks,
   contents list, cards, timelines, forms) scoped under .legacy, with the earlier design's tokens mapped to Version 7's.
   The overrides at the end make the page heads, widths and buttons read as Version 7. */

.legacy {
  container-type: inline-size;
  --ink-soft: var(--ink-2); --ink-faint: var(--ink-2); --stamp: var(--ink-2);
  --line: var(--rule); --line-soft: color-mix(in srgb, var(--rule) 55%, var(--paper));
  --red-light: color-mix(in srgb, var(--red) 45%, var(--paper));
  --on-dark: #efebe2; --on-dark-soft: #cfc8b8; --film: #16140f; --gold: #d8b35a;
  font-size: 17px; line-height: 1.6;
}
.legacy a { color: inherit; }
.legacy a:hover { color: var(--red); }
.legacy img { display: block; max-width: 100%; height: auto; }
.legacy .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legacy .mono { font-family: var(--mono); }
.legacy .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.legacy .btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; text-decoration: none; font-size: 15px; border: 1px solid var(--ink); }
.legacy .btn--solid { background: var(--ink); color: var(--paper); }
.legacy .btn--solid:hover { color: #fff; background: var(--red); border-color: var(--red); }
.legacy .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.legacy .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 18px; }
.legacy .swipe-hint { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.legacy .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; }
.legacy .transcript { display: grid; grid-template-columns: 84px 44px minmax(0, 1fr); row-gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); margin: 0; }
.legacy .transcript .t { color: var(--stamp); }
.legacy .transcript .cc { color: var(--red); font-weight: 600; }
.legacy .transcript .rd { color: var(--ink); font-weight: 600; }
@keyframes blink { 50% { opacity: 0; } }
.legacy .caption-row { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--gold); }
.legacy .test { padding: 24px; gap: 12px; }
.legacy .test h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
@container (max-width: 1040px) {
  .legacy .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@container (max-width: 640px) {
  .legacy .grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .legacy .grid > .card { grid-column: 1 / -1; grid-row: auto; }
  .legacy .transcript { display: none; }
  .legacy .swipe-hint { display: block; grid-column: 1 / -1; text-align: center; margin: -4px 0 0; color: var(--ink-faint); }
}
.legacy .caption-row a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(216,179,90,.5); }
.legacy .caption-row a:hover, .legacy .caption-row a:focus-visible { color: #fff; border-color: #fff; }
.legacy .wrap { max-width: 1400px; margin: 0 auto; padding-inline: clamp(16px, 4cqi, 56px); }
.legacy .kicker { color: var(--red); }
.legacy .meta-row { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; color: var(--ink-faint); }
.legacy .starts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; padding-block: 28px 8px; }
.legacy .index-card { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--card); border: 1px solid var(--line); box-shadow: 4px 4px 0 var(--ink); padding: 18px 20px; min-height: 160px; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .legacy .index-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); color: var(--ink); }
}
.legacy .index-card .label { color: var(--red); }
.legacy .index-card .t { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.legacy .index-card .d { font-size: 14px; color: var(--ink-soft); }
.legacy .log-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding-top: 34px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.legacy .log-head h2 { margin: 0; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.legacy .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.legacy .chip-btn { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 0 14px; min-height: 44px; cursor: pointer; }
.legacy .chip-btn span { color: var(--stamp); margin-left: 4px; }
.legacy .chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.legacy .chip-btn[aria-pressed="true"] span { color: #b9b1a0; }
.legacy .thread-blurb { min-height: 1.6em; margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft); }
.legacy .year { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--red); margin: 28px 0 0; }
.legacy .logrows { list-style: none; margin: 0; padding: 0; }
.legacy .logrows li { display: grid; grid-template-columns: 120px 150px minmax(0, 1fr) auto; align-items: baseline; gap: 6px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legacy .logrows .stamp { font-family: var(--mono); font-size: 13px; color: var(--stamp); }
.legacy .logrows .chan { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.legacy .logrows .title { font-family: var(--serif); font-size: 24px; line-height: 1.15; text-decoration: none; }
.legacy .logrows .where { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); text-align: right; }
.legacy .logrows .where a { color: var(--ink-faint); }
@container (max-width: 760px) {
  .legacy .logrows li { grid-template-columns: 1fr; gap: 4px; }
  .legacy .logrows .stamp { display: inline; }
  .legacy .logrows .where { text-align: left; }
}
.legacy .guide-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(24px, 5cqi, 64px); align-items: start; }
.legacy .toc { position: sticky; top: 18px; padding-top: 36px; font-size: 14px; }
.legacy .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legacy .toc li { margin: 0; }
.legacy .toc a { display: block; text-decoration: none; color: var(--ink-soft); padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; }
.legacy .toc a:hover, .legacy .toc a[aria-current="true"] { color: var(--red); border-left-color: var(--red); }
.legacy .toc .num { font-family: var(--mono); font-size: 11px; color: var(--stamp); margin-right: 8px; }
.legacy .guide-body section { padding-block: clamp(32px, 5cqi, 64px); border-bottom: 1px solid var(--line); }
.legacy .guide-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 2.5cqi + 16px, 56px); line-height: 1; margin: 8px 0 18px; }
.legacy .guide-body h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 36px 0 12px; }
.legacy .guide-body h4 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin: 26px 0 8px; }
.legacy .guide-body p, .legacy .guide-body li { max-width: 42rem; font-size: 17px; line-height: 1.65; }
.legacy .guide-body ul, .legacy .guide-body ol { padding-left: 1.2rem; }
.legacy .guide-body li { margin-bottom: .45rem; }
.legacy .guide-body a { text-decoration-color: var(--red); text-underline-offset: .2em; }
.legacy .part-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.legacy .pull { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 1.6cqi + 16px, 38px); line-height: 1.2; max-width: 34rem; margin: 30px 0; padding-left: 20px; border-left: 2px solid var(--red); color: var(--ink); }
.legacy .def { font-size: 15px !important; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 10px; }
.legacy .def b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.legacy .grid-2, .legacy .grid-3, .legacy .grid-4 { display: grid; gap: 14px; margin-block: 22px; }
.legacy .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legacy .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.legacy .grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.legacy .tile { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; transition: box-shadow .25s ease, transform .25s ease; }
@media (hover: hover) {
  .legacy .tile:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
}
.legacy .tile h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 6px 0 8px; }
.legacy .tile p { font-size: 15px !important; color: var(--ink-soft); margin: 0; }
.legacy .tile .q { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.legacy .steps { counter-reset: s; list-style: none; padding: 0 !important; }
.legacy .steps > li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px; }
.legacy .steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 13px; color: var(--paper); background: var(--ink); width: 34px; height: 26px; display: grid; place-items: center; }
.legacy .principles { columns: 2 18rem; gap: 32px; list-style: none; padding: 0 !important; counter-reset: p; }
.legacy .principles li { counter-increment: p; break-inside: avoid; padding: 12px 0 12px 40px; border-top: 1px solid var(--line); position: relative; font-family: var(--serif); font-size: 21px !important; line-height: 1.25 !important; }
.legacy .principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 12px; color: var(--red); }
.legacy .compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 30px; }
.legacy .compare > div { padding: 18px 20px; }
.legacy .compare .weak { border: 1px dashed var(--stamp); }
.legacy .compare .strong { background: var(--card); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--red); }
.legacy .compare .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--stamp); margin: 0 0 8px; }
.legacy .compare .strong .tag { color: var(--red); }
.legacy .compare .prompt { font-family: var(--mono); font-size: 13px !important; line-height: 1.6 !important; color: var(--ink); margin: 0 0 10px; }
.legacy .compare .result { font-size: 15px !important; color: var(--ink-soft); margin: 0; }
.legacy .table-wrap { overflow-x: auto; margin-block: 20px; }
.legacy table.data { border-collapse: collapse; width: 100%; font-size: 15px; }
.legacy table.data th, .legacy table.data td { text-align: left; vertical-align: top; padding: 11px 16px 11px 0; border-top: 1px solid var(--line); }
.legacy table.data th { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stamp); }
.legacy table.data td:first-child { white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.legacy table.data td { color: var(--ink-soft); }
.legacy .agenda { list-style: none; padding: 0 !important; }
.legacy .agenda li { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); max-width: none !important; }
.legacy .agenda time { font-family: var(--mono); font-size: 13px; color: var(--red); padding-top: 3px; }
.legacy .agenda h4 { margin: 0 0 4px; }
.legacy .agenda p { margin: 0; color: var(--ink-soft); font-size: 15px !important; }
.legacy .spectrum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.legacy .spectrum > div { padding: 16px; background: var(--card); border-top: 4px solid; }
.legacy .spectrum > div:nth-child(1) { border-color: #6b7a8f; }
.legacy .spectrum > div:nth-child(2) { border-color: #b8892b; }
.legacy .spectrum > div:nth-child(3) { border-color: var(--red); }
.legacy .spectrum ul { list-style: none; padding: 0 !important; margin: 8px 0 0; }
.legacy .spectrum li { font-size: 15px !important; color: var(--ink-soft); margin: 0 0 4px; }
.legacy .copy-block { position: relative; background: var(--ink); color: var(--on-dark); padding: 20px 22px; margin: 16px 0; max-width: 46rem; }
.legacy .copy-block pre { white-space: pre-wrap; font-family: var(--mono); font-size: 13px; line-height: 1.65; margin: 0; }
.legacy .copy-btn { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; background: transparent; color: var(--on-dark); border: 1px solid #5b5547; padding: 0 12px; min-height: 36px; }
.legacy .copy-btn:hover { border-color: var(--on-dark); }
.legacy .note { font-size: 15px !important; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 16px 20px; max-width: 46rem; }
.legacy .glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 4px 36px; }
.legacy .glossary dt { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; }
.legacy .glossary dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.legacy .refs li { font-size: 15px !important; color: var(--ink-soft); }
.legacy .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.legacy button.btn { background: transparent; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
@container (max-width: 900px) {
  .legacy .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .legacy .toc { position: static; padding-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .legacy .toc ol { columns: 2; border-left: 0; }
  .legacy .toc a { border-left: 0; padding-left: 0; }
}
@container (max-width: 640px) {
  .legacy .grid-2, .legacy .compare, .legacy .spectrum { grid-template-columns: 1fr; }
  .legacy .agenda li { grid-template-columns: 1fr; gap: 4px; }
  .legacy .toc ol { columns: 1; }
}
.legacy .guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; padding-block: 28px 72px; }
.legacy .cv-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4cqi, 56px); padding-block: 28px 72px; align-items: start; }
.legacy .cv-section h2 { margin: 30px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.legacy .timeline { list-style: none; margin: 0; padding: 0; }
.legacy .timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legacy .timeline .dates { font-family: var(--mono); font-size: 13px; color: var(--stamp); padding-top: 6px; }
.legacy .timeline h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.legacy .timeline h3 a { text-decoration: none; }
.legacy .timeline .org { margin: 4px 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.legacy .timeline p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.legacy .bio-card { position: sticky; top: 18px; background: var(--card); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 24px; }
.legacy .bio-card p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
@container (max-width: 900px) {
  .legacy .cv-grid { grid-template-columns: 1fr; }
  .legacy .bio-card { position: static; }
}
@container (max-width: 560px) {
  .legacy .timeline li { grid-template-columns: 1fr; }
  .legacy .timeline .dates { padding-top: 0; }
}
.legacy .case-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.legacy .case-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4cqi, 56px); padding-block: 32px; align-items: start; }
.legacy .case-grid .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.legacy .case-grid .two p { font-size: 16px; line-height: 1.65; margin: 6px 0 0; }
.legacy .summary { background: var(--card); border: 1px solid var(--ink); }
.legacy .summary h2 { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: .1em; }
.legacy .summary dl { margin: 0; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px 14px; padding: 18px; font-family: var(--mono); font-size: 13px; }
.legacy .summary dt { color: var(--red); }
.legacy .summary dd { margin: 0; }
.legacy .flight { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; counter-reset: f; }
.legacy .flight li { counter-increment: f; flex: 1 1 180px; background: var(--card); border: 1px solid var(--ink); padding: 16px; position: relative; }
.legacy .flight li::before { content: counter(f, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 11px; color: var(--stamp); margin-bottom: 6px; }
.legacy .flight li.gate { border: 2px solid var(--red); background: #fff; }
.legacy .flight li.gate::before { content: counter(f, decimal-leading-zero) " · HUMAN GATE"; color: var(--red); }
.legacy .flight li p { margin: 0; font-weight: 500; }
.legacy .ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 72px; }
.legacy .ba > div { padding: 20px; font-family: var(--mono); font-size: 13px; line-height: 1.7; }
.legacy .ba .before { border: 1px dashed var(--stamp); }
.legacy .ba .after { border: 1px solid var(--ink); background: #fff; }
@container (max-width: 900px) {
  .legacy .case-grid, .legacy .ba { grid-template-columns: 1fr; }
  .legacy .case-grid .two { grid-template-columns: 1fr; }
}
.legacy .about-bio p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 42rem; margin: 0 0 18px; }
.legacy .subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legacy .subnav a { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; }
.legacy .subnav a:hover { background: var(--ink); color: var(--paper); }
.legacy .band { padding-block: clamp(36px, 5cqi, 64px); border-top: 1px solid var(--line); }
.legacy .band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: 22px; }
.legacy .band-head h2 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 2.5cqi + 18px, 60px); line-height: 1; }
.legacy .band-head p { margin: 0; max-width: 34rem; color: var(--ink-soft); }
.legacy .award-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.legacy .award-group { background: var(--card); border: 1px solid var(--ink); }
.legacy .award-group h3 { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.legacy .award-group ul { list-style: none; margin: 0; padding: 0; }
.legacy .award-group li { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.legacy .award-group li:last-child { border-bottom: 0; }
.legacy .award-group b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.legacy .award-group span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.legacy .award-group .lead-in { font-size: 14px; color: var(--ink-soft); padding: 14px 18px 0; margin: 0; }
.legacy .iotd { list-style: none; margin: 0; padding: 0; counter-reset: iotd; border-top: 2px solid var(--ink); }
.legacy .iotd li { counter-increment: iotd; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px 22px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legacy .iotd li::before { content: "IOTD " counter(iotd, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--red); }
.legacy .iotd h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.legacy .iotd p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 46rem; }
.legacy .iotd a.out { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.legacy .pub { background: var(--card); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: clamp(20px, 3cqi, 36px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.legacy .pub h3 { margin: 6px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 1.5cqi + 18px, 40px); line-height: 1.08; }
.legacy .pub p { margin: 0; color: var(--ink-soft); }
.legacy .contact-band { background: var(--ink); color: var(--on-dark); }
.legacy .contact-band h2 { color: var(--on-dark); }
.legacy .contact-band p { color: var(--on-dark-soft); }
.legacy .contact-band .btn { border-color: var(--on-dark); color: var(--on-dark); }
.legacy .contact-band .btn--solid { background: var(--on-dark); color: var(--ink); }
.legacy .fine { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-top: 18px; }
@container (max-width: 760px) {
  .legacy .iotd li { grid-template-columns: 1fr; }
  .legacy .pub { grid-template-columns: 1fr; }
}
.legacy .band-head p.kicker { color: var(--red); max-width: none; }
.legacy .caption-row a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(216,179,90,.5); }
.legacy .caption-row a:hover { color: #fff; border-color: #fff; }
.legacy .contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4cqi, 56px); padding-bottom: 72px; align-items: start; }
.legacy .contact-form { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3cqi, 36px); display: grid; gap: 22px; }
.legacy .form-label { color: var(--red); margin: 0; }
.legacy .field { display: grid; gap: 6px; margin: 0; }
.legacy .field > label, .legacy .field legend { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.legacy .field legend { padding: 0; margin-bottom: 10px; }
.legacy fieldset.field { border: 0; padding: 0; }
.legacy .opt { color: var(--ink-faint); text-transform: none; letter-spacing: 0; }
.legacy .field input[type=text], .legacy .field input[type=email], .legacy .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 0; border-bottom: 1.5px solid var(--ink); padding: 12px 12px 10px; min-height: 48px; width: 100%; border-radius: 0; }
.legacy .field textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.legacy .field input:focus-visible, .legacy .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; background: #fff; }
.legacy .field [aria-invalid="true"] { border-bottom-color: var(--red); background: #fbeee9; }
.legacy .hint { font-size: 13px; color: var(--ink-faint); margin: 0; }
.legacy .err { font-size: 14px; color: var(--red); margin: 0; font-weight: 500; }
.legacy .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.legacy .chips label { position: relative; }
.legacy .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.legacy .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-size: 15px; cursor: pointer; background: transparent; }
.legacy .chips input:checked + span { background: var(--ink); color: var(--paper); }
.legacy .chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.legacy .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legacy .form-errors { border-left: 3px solid var(--red); background: #fbeee9; padding: 12px 16px; }
.legacy .form-errors p { margin: 0 0 6px; font-weight: 500; }
.legacy .form-errors ul { margin: 0; padding-left: 18px; }
.legacy .form-errors a { color: var(--red); }
.legacy .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.legacy .form-foot .btn { cursor: pointer; font-family: inherit; }
.legacy .form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.legacy .form-status { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.legacy .form-status.is-ok { color: #2f5d3a; }
.legacy .form-status.is-bad { color: var(--red); }
.legacy .contact-form.sent .field, .legacy .contact-form.sent .form-label { opacity: .45; }
.legacy .contact-aside { display: grid; gap: 18px; }
.legacy .elsewhere { list-style: none; margin: 8px 0 0; padding: 0; }
.legacy .elsewhere li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); align-items: baseline; }
.legacy .elsewhere li span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.legacy .elsewhere a { color: var(--ink); overflow-wrap: anywhere; }
@container (max-width: 820px) {
  .legacy .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
.legacy .award-group li .yr { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--red); margin-bottom: 2px; }
.legacy .case-photo { margin: 40px 0 0; background: var(--film); padding: 12px 12px 10px; }
.legacy .case-photo img { width: 100%; }
.legacy .case-photo .caption-row { padding-top: 10px; flex-wrap: wrap; }
.legacy .criteria { margin: 10px 0 12px; padding-left: 18px; }
.legacy .criteria li { margin: 6px 0; }
.legacy .criteria li::marker { color: var(--red); }
.legacy .case-photo { max-width: 980px; }

/* ---------- Version 7 overrides ---------- */
.legacy .wrap { max-width: none; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.legacy .page-hero { padding: 0 0 var(--s4); margin: 0 0 var(--s6); border-bottom: 2px solid var(--ink); }
.legacy .page-hero .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--red); margin: 0 0 var(--s2); }
.legacy .page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.0; letter-spacing: -.01em; margin: 0 0 var(--s3); max-width: 20ch; }
.legacy .page-hero h1 i { color: var(--red); }
.legacy .page-hero .lede { font-size: 19px; line-height: 1.5; max-width: 60ch; color: var(--ink); margin: 0; }
.legacy .label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.legacy .btn { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: var(--s2); padding: 0 var(--s4); border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); }
.legacy .btn:hover, .legacy .btn--solid { background: var(--ink); color: var(--paper); }
.legacy .btn--solid:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.legacy .index-card { background: var(--card); border: 1px solid var(--ink); text-decoration: none; }
.legacy .index-card:hover { border-color: var(--red); }
/* Version 7 draws with rules, not offset shadows */
.legacy *, .legacy *:hover { box-shadow: none !important; }
.legacy .index-card:hover, .legacy .tile:hover { transform: none !important; }
.legacy .tile:hover, .legacy .pub, .legacy .bio-card { border-color: var(--ink); }
.legacy .index-card:hover .t { color: var(--red); }
.legacy table { color: var(--ink); }
.legacy .guide-layout { align-items: start; }
.legacy .toc { top: 0; }
.legacy .toc a[aria-current] { color: var(--red); }
/* prompt blocks stay film black with paper text in both themes */
.legacy .copy-block { background: var(--film); color: var(--on-dark); border: 1px solid var(--ink); }
.legacy .copy-block pre { color: inherit; background: none; }
.legacy .copy-block .copy-btn { position: absolute; top: 8px; right: 8px; background: var(--film); color: var(--on-dark); border-color: var(--on-dark-soft); }
.legacy .copy-btn { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; min-height: 32px; padding: 0 10px; border: 1px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 2px; cursor: pointer; }
.legacy input, .legacy textarea, .legacy select { color: var(--ink); background: var(--card); border-color: var(--ink); }

/* page meta line (was the strip under the old header) */
.page-meta { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-bottom: var(--s2); margin-bottom: var(--s4); border-bottom: 1px solid var(--rule); }

/* how this page was made */
.made { margin-top: var(--s7); border: 1px solid var(--ink); background: var(--card); padding: var(--s4); max-width: 760px; }
.made .label { color: var(--red); display: block; margin-bottom: var(--s2); }
.made p { margin: 0; font-size: 15px; line-height: 1.55; }
