:root {
  --ink: #151713;
  --paper: #f2f0e9;
  --paper-deep: #e8e5dc;
  --line: rgba(21, 23, 19, 0.18);
  --muted: #696b64;
  --acid: #d8ff42;
  --blue: #214cf0;
  --orange: #ff5b3b;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", "Arial", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", "Roboto Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 76px; display: grid; grid-template-columns: minmax(280px, 1fr) auto minmax(240px, 1fr); align-items: center; gap: 28px; padding: 12px clamp(18px, 3vw, 48px); background: rgba(242,240,233,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.project-mark { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.project-mark strong, .project-mark small { display: block; }
.project-mark strong { font-size: 11px; letter-spacing: .12em; }
.project-mark small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.mark-glyph { width: 31px; height: 31px; display: block; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.mark-glyph::before, .mark-glyph::after { content: ""; position: absolute; background: currentColor; transform: rotate(-35deg); }
.mark-glyph::before { width: 1px; height: 25px; left: 14px; top: 2px; }
.mark-glyph::after { width: 17px; height: 1px; left: 7px; top: 15px; }
.site-header nav { display: flex; gap: 26px; font-size: 11px; letter-spacing: .04em; }
.site-header nav a { padding: 10px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-color: currentColor; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.edit-mode-button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 100px; background: transparent; cursor: pointer; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.edit-mode-button:hover { border-color: var(--ink); }
.edit-mode-button[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.save-state { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.save-state span, .privacy-note span { width: 6px; height: 6px; display: inline-block; background: #45a66b; border-radius: 50%; box-shadow: 0 0 0 4px rgba(69,166,107,.12); }
.save-state.saving span { background: #df9636; }
.edit-toolbar { position: sticky; top: 76px; z-index: 45; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 11px clamp(18px, 3vw, 48px); color: var(--ink); background: var(--acid); border-bottom: 1px solid rgba(0,0,0,.2); font-size: 10px; }
.edit-toolbar[hidden] { display: none; }
.edit-toolbar b { margin-right: 10px; font: 9px var(--mono); letter-spacing: .07em; }
.edit-toolbar button { flex: 0 0 auto; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 9px; }
.edit-mode [data-edit-key][contenteditable="true"] { outline: 1px dashed rgba(33,76,240,.55); outline-offset: 4px; border-radius: 1px; background: rgba(33,76,240,.055); cursor: text; }
.edit-mode [data-edit-key][contenteditable="true"]:hover, .edit-mode [data-edit-key][contenteditable="true"]:focus { outline: 2px solid var(--blue); background: rgba(33,76,240,.09); }

.section-shell { padding: 90px clamp(18px, 4.5vw, 76px); border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.foundation { padding-top: 72px; background: linear-gradient(180deg, #f4f2eb 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: clamp(36px, 7vw, 120px); align-items: end; min-height: 460px; }
.kicker { display: flex; gap: 16px; margin-bottom: 48px; font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.kicker span { border: 1px solid var(--line); padding: 7px 9px; border-radius: 100px; }
h1 { max-width: 1050px; margin: 0; font-size: clamp(47px, 6.5vw, 104px); line-height: .88; letter-spacing: -.065em; font-weight: 600; }
h1 em { font-family: var(--serif); font-weight: 400; }
.hero-lede { max-width: 760px; margin: 36px 0 0; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.45; letter-spacing: -.02em; }
.status-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; align-items: center; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.status-row > span:not(.status)::before { content: "•"; margin-right: 10px; }
.status { padding: 7px 10px; border-radius: 100px; }
.status.confirmed { color: #1d5530; background: #d8eadc; }
.brief-card { background: var(--ink); color: var(--paper); padding: 26px; min-height: 410px; display: flex; flex-direction: column; }
.brief-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.22); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.brief-card dl { margin: 8px 0 0; }
.brief-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.brief-card dt { color: #aaa9a2; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.brief-card dd { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.needs-input { margin-top: auto; padding-top: 24px; color: #c9c8c1; font-size: 11px; line-height: 1.45; }
.needs-input span, .input-flag { display: inline-block; margin-right: 8px; color: var(--ink); background: var(--acid); padding: 4px 6px 3px; font: 9px var(--mono); letter-spacing: .07em; }

.confirmed-brief { margin-top: 92px; }
.confirmed-brief > .section-label { margin-bottom: 20px; }
.brief-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); }
.brief-grid article { min-width: 0; padding: 24px 20px 28px; }
.brief-grid article + article { border-left: 1px solid var(--line); }
.brief-grid article > span { color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.brief-grid h3 { margin: 26px 0 12px; font-family: var(--serif); font-size: 21px; line-height: 1.1; font-weight: 400; }
.brief-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.foundation-board { display: grid; grid-template-columns: 1.05fr 1fr 1fr; margin-top: 100px; border: 1px solid var(--line); }
.board-column { min-width: 0; padding: 26px; }
.board-column + .board-column { border-left: 1px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.section-label > span { font: 10px var(--mono); }
.section-label h2, .section-label h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.field-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.position-builder textarea, .route-feedback textarea, .final-note-label textarea { width: 100%; resize: vertical; border: 0; border-radius: 0; color: var(--ink); background: transparent; outline: 0; }
.position-builder textarea { min-height: 158px; padding: 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
textarea:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.prompt-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: 20px; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }
.support-copy { margin: -10px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.choice-list { display: grid; gap: 9px; }
.choice-card { display: grid; grid-template-columns: 26px 1fr; gap: 1px 10px; width: 100%; padding: 13px; text-align: left; background: transparent; border: 1px solid var(--line); cursor: pointer; transition: .2s ease; }
.choice-card > span { grid-row: span 2; color: var(--muted); font: 9px var(--mono); }
.choice-card strong { font-size: 12px; }
.choice-card small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.choice-card:hover { border-color: var(--ink); }
.choice-card[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.choice-card[aria-pressed="true"] small, .choice-card[aria-pressed="true"] > span { color: #bcbdb8; }
.slider-stack { display: grid; gap: 24px; }
.slider-stack label > span { display: flex; justify-content: space-between; margin-bottom: 11px; color: var(--muted); font-size: 10px; }
.slider-stack b { font-weight: 500; }
input[type="range"] { width: 100%; height: 2px; appearance: none; background: var(--line); border-radius: 0; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; background: var(--ink); border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--ink); cursor: grab; }

.routes { padding-left: 0; padding-right: 0; background: #e5e2d8; }
.routes > .section-intro, .routes > .compare-tools { margin-left: clamp(18px, 4.5vw, 76px); margin-right: clamp(18px, 4.5vw, 76px); }
.section-intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-intro > div { display: flex; align-items: baseline; gap: 18px; }
.section-number { font: 11px var(--mono); }
.section-intro h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: .95; letter-spacing: -.05em; }
.section-intro > p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.compare-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.view-toggle { display: flex; gap: 8px; }
.view-toggle button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 100px; background: transparent; cursor: pointer; font-size: 10px; }
.view-toggle button.active { background: var(--ink); color: white; border-color: var(--ink); }
.compare-tools p { color: var(--muted); font-size: 10px; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(320px, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; }
.route-card { min-width: 320px; background: var(--paper); transition: opacity .25s ease, transform .25s ease; }
.route-card + .route-card { border-left: 1px solid var(--line); }
.route-card.is-dimmed { opacity: .22; }
.route-card.is-lead { box-shadow: inset 0 5px 0 var(--ink); }
.route-topline { min-height: 54px; padding: 13px 18px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font: 9px var(--mono); letter-spacing: .06em; border-bottom: 1px solid var(--line); }
.pin-route { border: 1px solid var(--line); background: transparent; padding: 7px 8px; cursor: pointer; font: 8px var(--mono); letter-spacing: .05em; }
.pin-route[aria-pressed="true"] { background: var(--ink); color: white; }
.route-hero { position: relative; height: 250px; overflow: hidden; border-bottom: 1px solid var(--line); }
.route-hero svg { width: 100%; height: 100%; }
.art-code { position: absolute; left: 16px; bottom: 14px; font: 9px var(--mono); letter-spacing: .08em; }
.custom-asset { display: block; object-fit: cover; }
.custom-asset[hidden], .asset-controls [hidden] { display: none !important; }
.custom-hero, .custom-photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.route-hero.has-custom-asset > svg, .route-hero.has-custom-asset > .art-code,
.photo-sim.has-custom-asset::before, .photo-sim.has-custom-asset::after,
.photo-sim.has-custom-asset > i, .photo-sim.has-custom-asset > b { display: none; }
.asset-controls { display: flex; align-items: center; gap: 5px; }
.asset-controls-overlay { position: absolute; right: 8px; bottom: 8px; z-index: 4; opacity: 0; transform: translateY(3px); transition: opacity .18s ease, transform .18s ease; }
[data-asset-slot]:hover > .asset-controls, [data-asset-slot]:focus-within > .asset-controls, .edit-mode [data-asset-slot] > .asset-controls { opacity: 1; transform: translateY(0); }
.asset-controls label, .asset-controls button { min-height: 27px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.72); background: rgba(17,22,26,.88); color: white; cursor: pointer; font: 7px var(--mono); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; backdrop-filter: blur(7px); }
.asset-controls label:hover, .asset-controls button:hover, .asset-controls label:focus-within, .asset-controls button:focus-visible { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.precision-art { color: var(--acid); background: #101519; }
.precision-art .grid-line { fill: none; stroke: rgba(216,255,66,.16); stroke-width: 1; }
.precision-art .motion-line { fill: none; stroke: var(--acid); stroke-width: 9; }
.precision-art .motion-node { fill: var(--acid); }
.heritage-art { color: #f2e9dc; background: #5b1f29; }
.heritage-art .crest-ring, .heritage-art .crest-mark, .heritage-art .crest-line { fill: none; stroke: currentColor; }
.heritage-art .crest-ring { stroke-width: 1; }
.heritage-art .crest-mark { stroke-width: 4; }
.heritage-art .crest-line { stroke-width: 1; }
.culture-art { color: #161616; background: #ff583f; }
.culture-art .club-panel { fill: #2150ef; }
.culture-art .club-type { fill: none; stroke: #f4eedf; stroke-width: 12; }
.culture-art .club-cross { fill: none; stroke: currentColor; stroke-width: 9; }
.route-heading { padding: 24px 20px 28px; min-height: 200px; }
.route-heading > div { display: flex; align-items: baseline; gap: 10px; }
.route-heading span { font: 10px var(--mono); }
.route-heading h3 { margin: 0; font-size: clamp(27px, 2.4vw, 40px); letter-spacing: -.045em; }
.route-heading p { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.route-block { padding: 20px; border-top: 1px solid var(--line); }
.block-label { display: block; margin-bottom: 16px; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.strategy-block { min-height: 172px; }
.strategy-block p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-row span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 100px; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.naming-block { min-height: 162px; }
.naming-block p { margin: 0 0 16px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.name-options { display: flex; flex-wrap: wrap; gap: 7px; }
.name-options button { padding: 8px 10px; background: transparent; border: 1px solid var(--line); cursor: pointer; font: 10px var(--mono); }
.name-options button:hover { border-color: var(--ink); }
.name-options button.selected { background: var(--ink); color: white; border-color: var(--ink); }
.identity-block { min-height: 236px; }
.logo-stage { min-height: 86px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; }
.wordmark { display: flex; min-height: 72px; align-items: center; justify-content: center; position: relative; }
.wordmark[hidden] { display: none !important; }
.wordmark small { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 7px; letter-spacing: .18em; }
.precision-wordmark { font-size: clamp(29px, 3vw, 48px); font-weight: 800; letter-spacing: -.07em; transform: scaleX(.85); }
.precision-wordmark > span { color: #719800; }
.heritage-wordmark { font: clamp(24px, 2.6vw, 42px) var(--serif); letter-spacing: .08em; }
.culture-wordmark { font-size: clamp(27px, 3vw, 45px); font-weight: 900; letter-spacing: -.07em; }
.culture-wordmark > span { color: var(--blue); transform: skew(-10deg); margin-right: 6px; }
.logo-placeholder { width: 100%; border: 1px dashed var(--line); color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; }
.logo-placeholder small { color: var(--muted); font-size: 6px; }
.custom-logo { display: block; width: auto; max-width: 88%; height: auto; max-height: 76px; object-fit: contain; }
.custom-logo[hidden] { display: none !important; }
.logo-controls { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 7px; margin-top: 12px; }
.upload-logo, .remove-logo { padding: 7px 9px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 8px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.upload-logo:hover, .remove-logo:hover { border-color: var(--ink); }
.remove-logo { color: var(--muted); }
.logo-controls small { justify-self: end; color: var(--muted); font: 6px var(--mono); letter-spacing: .04em; text-align: right; }
.type-spec { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }
.color-block { min-height: 162px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.swatches button { height: 100px; padding: 7px; display: flex; align-items: end; background: var(--swatch); border: 1px solid rgba(0,0,0,.12); cursor: pointer; overflow: hidden; }
.swatches button.selected { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatches span { font: 7px var(--mono); color: white; mix-blend-mode: difference; writing-mode: vertical-rl; transform: rotate(180deg); }
.photo-block { min-height: 215px; }
.photo-frame { display: grid; grid-template-columns: 42% 1fr; min-height: 120px; border: 1px solid var(--line); }
.photo-sim { position: relative; min-height: 120px; overflow: hidden; background: #343a3d; }
.photo-sim::before, .photo-sim::after, .photo-sim i { content: ""; position: absolute; display: block; }
.photo-sim b { position: absolute; top: 8px; left: 8px; color: white; font: 9px var(--mono); z-index: 2; }
.photo-motion { background: linear-gradient(145deg, #1e2628, #8e9799); }
.photo-motion::before { width: 150%; height: 38px; background: rgba(216,255,66,.85); transform: rotate(-25deg); left: -30%; top: 50%; filter: blur(5px); }
.photo-motion::after { width: 60px; height: 95px; right: 17px; bottom: -18px; border: 12px solid rgba(10,15,17,.75); border-radius: 50% 50% 30% 30%; transform: rotate(-20deg); }
.photo-craft { background: linear-gradient(145deg, #8e603e, #2b241e); }
.photo-craft::before { width: 100px; height: 100px; border: 14px solid rgba(238,231,218,.32); border-radius: 50%; left: 28%; top: 30%; }
.photo-craft::after { width: 10px; height: 140%; background: #d0b08e; left: 60%; top: -20%; transform: rotate(28deg); }
.photo-community { background: linear-gradient(145deg, #2050e8 0 45%, #ff5b3b 45%); }
.photo-community::before { width: 78px; height: 110px; background: #251a14; left: 35%; bottom: -20px; border-radius: 48% 48% 20% 20%; transform: rotate(9deg); }
.photo-community::after { width: 70px; height: 70px; border: 9px solid #e8dfd0; border-radius: 50%; right: -22px; top: 5px; }
.photo-notes { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 14px; }
.photo-notes strong { font: 15px var(--serif); }
.photo-notes span { color: var(--muted); font-size: 9px; line-height: 1.3; }
.source-flag { display: block; margin-top: 10px; color: #927100; font: 7px var(--mono); letter-spacing: .05em; }
.application-block { min-height: 210px; }
.application-preview { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.application-preview p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.application-visual { position: relative; width: 120px; height: 130px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.custom-apparel { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.application-visual.has-custom-asset .jersey { visibility: hidden; }
.application-visual .asset-controls-overlay { right: 3px; bottom: 3px; gap: 3px; }
.application-visual .asset-controls label, .application-visual .asset-controls button { min-height: 23px; padding: 5px; font-size: 6px; }
.jersey { width: 116px; height: 130px; position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 36px; background: #202526; clip-path: polygon(22% 0, 39% 9%, 61% 9%, 78% 0, 100% 17%, 86% 38%, 78% 31%, 78% 100%, 22% 100%, 22% 31%, 14% 38%, 0 17%); color: white; }
.jersey span { font: 8px var(--mono); }
.jersey b { margin-top: 9px; font-size: 10px; }
.jersey i { width: 65%; height: 2px; margin-top: 5px; background: currentColor; }
.jersey-tech { background: #171c1e; color: var(--acid); }
.jersey-heritage { background: #eee7da; color: #5a2028; }
.jersey-culture { background: var(--blue); color: white; }
.route-feedback { padding: 22px 20px 26px; background: var(--paper-deep); border-top: 1px solid var(--line); }
.route-feedback label { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.route-feedback label + label { margin-top: 18px; }
.route-feedback select { width: 100%; margin-top: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); }
.route-feedback textarea { display: block; margin-top: 9px; padding: 12px; border: 1px solid var(--line); font-size: 11px; line-height: 1.45; }

.decision { background: var(--ink); color: var(--paper); }
.decision .section-intro > p, .decision .support-copy { color: #a8aaa3; }
.decision-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 9vw, 150px); align-items: start; }
.open-questions { padding-top: 10px; }
.checklist { border-top: 1px solid rgba(255,255,255,.2); }
.checklist label { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.checklist input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--acid); }
.checklist b, .checklist small { display: block; }
.checklist b { font-size: 13px; font-weight: 500; }
.checklist small { margin-top: 5px; color: #959790; font-size: 10px; }
.checklist input:checked + span { opacity: .48; }
.checklist input:checked + span b { text-decoration: line-through; }
.summary-card { background: var(--paper); color: var(--ink); }
.summary-head { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.summary-head > div:first-child { display: flex; justify-content: space-between; align-items: center; font: 9px var(--mono); letter-spacing: .07em; }
.summary-head strong { font-size: 17px; }
.progress-track { height: 5px; margin-top: 15px; background: var(--paper-deep); }
.progress-track i { display: block; width: 0; height: 100%; background: var(--blue); transition: width .25s ease; }
.summary-body { padding: 24px 22px 10px; }
.summary-line { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-line > span { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.summary-line p { margin: 0; font-size: 12px; line-height: 1.45; }
.summary-line .pending { color: #997000; }
.final-note-label { display: block; margin: 22px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.final-note-label textarea { display: block; margin-top: 10px; padding: 12px; border: 1px solid var(--line); font-size: 12px; line-height: 1.45; }
.review-handoff { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 0 22px 20px; padding: 14px; border: 1px solid var(--line); background: #ece9df; }
.review-handoff span { font: 8px var(--mono); letter-spacing: .08em; }
.review-handoff p { max-width: 440px; margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.review-handoff p b { color: var(--ink); font-weight: 600; }
.handoff-actions { display: flex; gap: 6px; }
.handoff-actions button, .handoff-actions label { padding: 9px 10px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font: 8px var(--mono); text-transform: uppercase; white-space: nowrap; }
.handoff-actions button { color: white; background: var(--ink); }
.summary-actions { display: flex; gap: 8px; padding: 0 22px 22px; }
.summary-actions button { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); cursor: pointer; font-size: 10px; }
.primary-action { flex: 1; color: white; background: var(--ink); }
.secondary-action { background: transparent; }
.reset-action { margin-left: auto; color: var(--muted); background: transparent; border-color: var(--line) !important; }
.privacy-note { margin: 0; padding: 14px 22px; display: flex; align-items: center; gap: 9px; background: var(--paper-deep); color: var(--muted); font-size: 9px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px clamp(18px, 4.5vw, 76px); background: var(--ink); color: #777970; border-top: 1px solid rgba(255,255,255,.12); font: 9px var(--mono); letter-spacing: .06em; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; padding: 12px 16px; background: var(--acid); color: var(--ink); font-size: 11px; transform: translateY(90px); opacity: 0; transition: .25s ease; box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.toast.show { transform: translateY(0); opacity: 1; }
.print-banner { display: none; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .foundation-board { grid-template-columns: 1fr 1fr; }
  .brief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-grid article { border-bottom: 1px solid var(--line); }
  .brief-grid article:nth-child(odd) { border-left: 0; }
  .brief-grid article:last-child { grid-column: span 2; border-bottom: 0; }
  .personality-panel { grid-column: span 2; border-left: 0 !important; border-top: 1px solid var(--line); }
  .slider-stack { grid-template-columns: 1fr 1fr; }
  .route-grid { grid-template-columns: repeat(3, minmax(370px, 1fr)); }
}

@media (max-width: 740px) {
  .site-header { min-height: 64px; padding: 10px 16px; }
  .project-mark small { display: none; }
  .save-state { font-size: 0; }
  .header-actions { gap: 9px; }
  .edit-toolbar { top: 64px; align-items: flex-start; padding: 10px 16px; }
  .edit-toolbar button { max-width: 80px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .kicker { margin-bottom: 34px; }
  h1 br { display: none; }
  .brief-card { min-height: 360px; }
  .confirmed-brief { margin-top: 64px; }
  .brief-grid { grid-template-columns: 1fr; }
  .brief-grid article, .brief-grid article:nth-child(odd) { border-left: 0; border-bottom: 1px solid var(--line); }
  .brief-grid article:last-child { grid-column: auto; border-bottom: 0; }
  .section-shell { padding: 64px 16px; scroll-margin-top: 64px; }
  .routes { padding-left: 0; padding-right: 0; }
  .routes > .section-intro, .routes > .compare-tools { margin-left: 16px; margin-right: 16px; }
  .foundation-board { grid-template-columns: 1fr; margin-top: 64px; }
  .board-column + .board-column { border-left: 0; border-top: 1px solid var(--line); }
  .personality-panel { grid-column: auto; }
  .slider-stack { grid-template-columns: 1fr; }
  .section-intro { display: block; }
  .section-intro > p { margin-top: 18px; }
  .compare-tools { align-items: flex-start; }
  .compare-tools > p { display: none; }
  .route-grid { display: flex; scroll-snap-type: x mandatory; padding-left: 16px; gap: 10px; border: 0; }
  .route-card { flex: 0 0 min(90vw, 390px); scroll-snap-align: start; border: 1px solid var(--line) !important; }
  .decision-grid { grid-template-columns: 1fr; }
  .summary-line { grid-template-columns: 90px 1fr; }
  .summary-actions { flex-wrap: wrap; }
  .primary-action { flex-basis: 100%; }
  .review-handoff { grid-template-columns: 1fr; }
  .asset-controls-overlay { opacity: 1; transform: none; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html { scroll-behavior: auto; }
  body { background: white; }
  .print-banner { display: flex; justify-content: space-between; padding: 0 0 8mm; border-bottom: 1px solid var(--ink); font: 8pt var(--mono); letter-spacing: .06em; }
  .site-header { position: static; display: block; min-height: 0; padding: 7mm 0; background: white; border-bottom: 1px solid var(--line); backdrop-filter: none; }
  .site-header nav, .header-actions, .edit-toolbar, .compare-tools, .pin-route, .summary-actions, .review-handoff, .privacy-note, .toast, .text-button, .logo-controls, .asset-controls { display: none !important; }
  .edit-mode [data-edit-key][contenteditable="true"] { outline: 0; background: transparent; }
  .section-shell { padding: 14mm 0; scroll-margin-top: 0; }
  .foundation { background: white; }
  .hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 10mm; min-height: 0; align-items: start; }
  .kicker { margin-bottom: 12mm; }
  h1 { font-size: 42pt; }
  .hero-lede { margin-top: 8mm; font-size: 12pt; }
  .brief-card { min-height: 0; padding: 7mm; }
  .brief-card dl div { padding: 5mm 0; }
  .foundation-board { display: block; margin-top: 14mm; border: 1px solid var(--line); }
  .confirmed-brief { margin-top: 14mm; }
  .brief-grid { grid-template-columns: repeat(2, 1fr); break-inside: avoid; page-break-inside: avoid; }
  .brief-grid article { padding: 5mm; }
  .brief-grid article:last-child { grid-column: span 2; }
  .board-column, .personality-panel { border: 0 !important; border-bottom: 1px solid var(--line) !important; break-inside: avoid; page-break-inside: avoid; }
  .slider-stack { grid-template-columns: 1fr 1fr; }
  input[type="range"]::-webkit-slider-thumb { border-color: white; }
  .routes { background: white; }
  .routes > .section-intro { margin: 0 0 10mm; }
  .section-intro { display: block; }
  .section-intro > p { margin-top: 5mm; }
  .route-grid { display: block; margin: 0; border: 0; overflow: visible; }
  .route-card { min-width: 0; margin: 0; border: 1px solid var(--line) !important; break-before: page; page-break-before: always; box-shadow: none !important; }
  .route-card.is-dimmed { opacity: 1; }
  .route-topline { padding: 4mm 5mm; }
  .route-hero { height: 56mm; }
  .route-heading, .route-block { min-height: 0 !important; padding: 5mm; break-inside: avoid; page-break-inside: avoid; }
  .route-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
  .route-heading p { margin: 0; }
  .strategy-block, .naming-block { width: 50%; float: left; }
  .identity-block { width: 33.333%; float: left; }
  .naming-block + .identity-block { clear: both; }
  .color-block { width: 100%; clear: both; }
  .photo-block, .application-block, .route-feedback { clear: both; break-inside: avoid; page-break-inside: avoid; }
  .swatches button { height: 25mm; }
  .route-feedback select, .route-feedback textarea, .final-note-label textarea { border: 1px solid var(--line); background: white; }
  .decision { color: var(--ink); background: white; break-before: page; page-break-before: always; }
  .decision .section-intro > p, .decision .support-copy { color: var(--muted); }
  .decision-grid { display: block; }
  .open-questions, .summary-card { break-inside: avoid; page-break-inside: avoid; }
  .checklist { margin-bottom: 12mm; }
  .checklist label { border-color: var(--line); }
  .checklist small { color: var(--muted); }
  .summary-card { border: 1px solid var(--line); }
  footer { color: var(--muted); background: white; border-top: 1px solid var(--line); padding: 7mm 0 0; }
}
