@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&family=Instrument+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #0e1c21;
  --ink-2: #15282e;
  --ink-3: #1d353c;
  --paper: #eef0ea;
  --card: #fafbf7;
  --gold: #e3bc62;
  --spruce: #1f5148;
  --text-d: #e4ebe7;      /* text on dark */
  --mute-d: #a3b5b2;
  --line-d: #2d444b;
  --text-l: #13242a;      /* text on light */
  --mute-l: #55666a;
  --line-l: #cfd5ca;
  /* one colour per kind of work, used on dots, chips and planets */
  --c-games: #e0a04a;
  --c-ux: #3fa99a;
  --c-research: #8f7fd0;
  --c-film: #d4718f;
  --c-community: #c7a582;
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 64px;
  --gutter: clamp(18px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text-d); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.band-light :focus-visible, dialog :focus-visible { outline-color: var(--spruce); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -.035em; }
p { margin: 0 0 1em; }
.eyebrow { font-size: 13px; color: var(--mute-d); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; top: -100px; left: 16px; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 10px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 8px; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #efcb78; }
.btn-ghost { border-color: #4c666c; color: var(--text-d); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--spruce); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #0e1c21e6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line-d); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { font: 600 17px var(--display); letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold); font-size: 22px; line-height: 1; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--mute-d); padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.site-nav a:hover { color: var(--text-d); }
.site-nav a[aria-current] { color: var(--ink); background: var(--gold); }
.header-contact { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #4c666c; white-space: nowrap; }
.header-contact:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- hero ---------- */
.hero { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gutter) clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero-kicker { font-size: 15px; color: var(--gold); margin-bottom: 22px; }
.hero-intro { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #c6d2ce; max-width: 34em; margin: 28px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.start-here h2 { font: 500 14px var(--sans); letter-spacing: 0; color: var(--mute-d); margin-bottom: 12px; }
.start-list { display: grid; gap: 10px; }
.start-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; width: 100%; padding: 10px 18px 10px 10px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-d); transition: border-color .15s, background .15s; }
.start-item:hover { border-color: var(--gold); background: var(--ink-3); }
.start-item img { width: 92px; height: 64px; object-fit: cover; border-radius: 9px; display: block; background: #20363c; }
.start-item strong { display: block; font: 600 17px/1.25 var(--display); }
.start-item small { display: block; font-size: 13px; color: var(--mute-d); margin-top: 2px; }
.start-item i { font-style: normal; color: var(--gold); font-size: 18px; transition: transform .15s; }
.start-item:hover i { transform: translateX(4px); }

/* ---------- bands and section heads ---------- */
.band-light { background: var(--paper); color: var(--text-l); }
.band-dark { background: var(--ink-2); }
main > section:not(.hero) { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2, .about-copy h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -.03em; }
.section-sub { margin: 12px 0 0; font-size: 16px; max-width: 46em; color: var(--mute-d); }
.band-light .section-sub { color: var(--mute-l); }

/* ---------- chips and toggles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-l); background: var(--card); font-size: 14px; font-weight: 500; color: var(--text-l); transition: border-color .15s, background .15s; }
.chips button:hover { border-color: var(--text-l); }
.chips button small { margin-left: 8px; font-size: 12px; color: var(--mute-l); font-variant-numeric: tabular-nums; }
.chips button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips button.active small { color: #b7c5c1; }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #dfe3d9; flex: none; }
.view-toggle button { min-height: 36px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--mute-l); }
.view-toggle button[aria-pressed="true"] { background: var(--card); color: var(--text-l); box-shadow: 0 1px 3px #0e1c2126; }

/* ---------- project grid ---------- */
#work-filters { margin-bottom: 36px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.project-card.lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0 36px; align-items: center; }
.project-card.lead .image-frame { grid-row: 1 / span 3; }
.project-card.lead .project-meta { align-self: end; margin-top: 0; justify-content: flex-start; gap: 16px; }
.project-card.lead p { align-self: start; font-size: 17px; }
.image-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #d9ddd2; }
.project-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.image-frame:hover .project-image { transform: scale(1.03); }
.project-card .project-image[src*="hydro"], .project-card .project-image[src*="myanimelist"] { object-position: center 30%; }
.project-card .project-image[src*="maybe-is-you-poster"] { object-fit: contain; background: #082c08; image-rendering: pixelated; }
.action-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: #0e1c21e0; color: #f3f5ef; font-size: 12px; font-weight: 600; }
.project-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mute-l); margin: 14px 0 6px; }
.project-meta span { display: inline-flex; align-items: center; }
.project-card h3 { font-size: 24px; line-height: 1.15; }
.project-card.lead h3 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.03em; }
.project-card h3 button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.project-card p { font-size: 15px; line-height: 1.55; color: var(--mute-l); margin: 8px 0 0; max-width: 40em; }
.project-image.diagram { display: flex; align-items: center; justify-content: center; gap: 16px; color: #e3e8dc; background: var(--spruce); font-size: 22px; }
.diagram .route-box { padding: 20px 12px; border: 1px solid #b9cdbb80; border-radius: 10px; font-size: 14px; max-width: 130px; text-align: center; }
.diagram-title { font: 600 30px/1.1 var(--display); padding: 24px; }
.trailer-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(ellipse at center, #28373b, #101b20); color: var(--gold); text-align: center; min-height: 200px; }
.trailer-placeholder strong { font: 600 22px var(--display); }
.trailer-placeholder > span:last-child { font-size: 13px; color: #c3c9c7; }
.trailer-mark { font-size: 40px; line-height: 1; }

.more-wrap { margin-top: 56px; }
.more-wrap h3 { font-size: 22px; margin-bottom: 8px; }
.more-row { display: grid; grid-template-columns: auto minmax(160px, 240px) 1fr auto; gap: 8px 16px; align-items: baseline; width: 100%; padding: 16px 4px; border-top: 1px solid var(--line-l); font-size: 15px; }
.more-row:last-child { border-bottom: 1px solid var(--line-l); }
.more-row strong { font: 600 17px var(--display); }
.more-row span { color: var(--mute-l); }
.more-row small { font-size: 13px; color: var(--mute-l); }
.more-row:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- map ---------- */
.universe-shell { border-radius: 18px; overflow: hidden; background: #111f25; color: var(--text-d); }
.viewport { height: 600px; overflow: hidden; position: relative; touch-action: none; cursor: grab; background: radial-gradient(ellipse at 60% 20%, #1b3033, transparent 65%), #111f25; }
.viewport:active { cursor: grabbing; }
.map-grid { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#b2bfbd .8px, transparent .8px); background-size: 26px 26px; }
.plane { position: absolute; width: 1280px; height: 680px; left: 50%; top: 50%; transform-origin: center; will-change: transform; }
.connections { position: absolute; inset: 0; fill: none; stroke: #91b0a5; stroke-opacity: .24; stroke-width: 1; stroke-dasharray: 4 7; }
.map-note { position: absolute; left: 20px; bottom: 16px; font-size: 13px; color: #94a7a6; pointer-events: none; }
.node { position: absolute; display: flex; align-items: center; flex-direction: column; text-align: center; transform: translate(-50%, -50%); width: 170px; padding: 10px; transition: opacity .2s; }
.node .orb { width: var(--size, 70px); height: var(--size, 70px); border-radius: 50%; display: block; background: radial-gradient(circle at 30% 25%, var(--color), #12242a 80%); box-shadow: inset -6px -6px 15px #0005, 0 0 25px #0005; border: 1px solid #a0c3b443; position: relative; transition: transform .2s; }
.node .orb:after { content: ''; position: absolute; inset: 25% -15%; border: 1px solid var(--color); border-radius: 50%; transform: rotate(-30deg); opacity: .4; }
.node:hover .orb, .node:focus-visible .orb { transform: scale(1.15); }
.node strong { font-size: 13px; margin-top: 12px; text-shadow: 0 2px 5px #000; }
.node small { font-size: 11px; color: #aabdb7; margin-top: 2px; }
.node.dimmed { opacity: .12; }
.node:disabled { cursor: default; }
.zoom-bar { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--mute-d); }
.zoom-bar button { font-size: 18px; min-width: 32px; min-height: 32px; text-align: center; }
#reset-map { margin-left: auto; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
input[type=range] { max-width: 260px; width: 35%; accent-color: var(--gold); }

/* ---------- experience ---------- */
.xp-list { border-top: 1px solid var(--line-d); }
.xp { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line-d); }
.xp-when { font-size: 15px; font-weight: 600; color: var(--gold); }
.xp-when span { display: block; font-weight: 400; font-size: 14px; color: var(--mute-d); margin-top: 2px; }
.xp h3 { font-size: 24px; line-height: 1.2; }
.xp-role { font-size: 15px; color: var(--mute-d); margin: 4px 0 12px; }
.xp-body p:not(.xp-role) { font-size: 16px; color: #cbd6d2; max-width: 44em; margin: 0; }
.xp-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.xp-extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.xp-extras h3 { font-size: 18px; margin-bottom: 8px; }
.xp-extras ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: #cbd6d2; }
.xp-extras li + li { margin-top: 6px; }

/* ---------- library ---------- */
.library-tools { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 8px 0 20px; }
.library-tools label { font-size: 14px; font-weight: 500; display: block; color: var(--mute-l); }
.library-tools input { display: block; width: 320px; max-width: 100%; margin-top: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-l); border-radius: 999px; background: var(--card); color: var(--text-l); font: 15px var(--sans); }
.library-tools input:focus { border-color: var(--spruce); outline: none; }
.library-count { font-size: 14px; color: var(--mute-l); margin: 0; padding: 0 0 10px; }
.library-items { border-top: 1px solid var(--line-l); }
.library-entry { display: grid; grid-template-columns: 130px minmax(0, 1fr) 170px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-l); align-items: start; }
.entry-meta { font-size: 14px; line-height: 1.5; color: var(--mute-l); }
.library-entry h3 { font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.library-entry p { font-size: 15px; color: var(--mute-l); max-width: 46em; margin: 0; }
.library-entry .entry-detail { font-size: 14px; margin-top: 8px; color: #6c7a78; }
.entry-link { text-align: right; }
.entry-link a, .entry-link button { font-size: 14px; font-weight: 600; color: var(--spruce); text-decoration: underline; text-underline-offset: 4px; }
.library-empty { padding: 28px 0; color: var(--mute-l); }
#library-more { margin-top: 28px; }

/* ---------- about ---------- */
.about-section.band-dark { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 80px); align-items: start; }
.portrait-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 75% 90%; border-radius: 16px; display: block; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { font-size: 18px; line-height: 1.6; color: #cbd6d2; max-width: 36em; }
.about-copy .about-small { font-size: 15px; color: var(--mute-d); }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.journey { grid-column: 1 / -1; margin-top: 24px; }
.journey > h3 { font-size: 26px; margin-bottom: 14px; }
.timeline { border-top: 1px solid var(--line-d); }
.timeline-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.timeline-year { font: 600 22px var(--display); color: var(--gold); }
.timeline-row h4 { font-size: 19px; margin-bottom: 4px; }
.timeline-row p { font-size: 15px; margin: 0; color: var(--mute-d); max-width: 46em; }
.timeline-row button { font-size: 14px; font-weight: 600; color: var(--gold); margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-d); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; font-size: 14px; color: var(--mute-d); }
footer nav { display: flex; gap: 20px; }
footer nav a:hover { color: var(--gold); }
footer .brand { color: var(--text-d); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 15; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: 20px; font-weight: 700; box-shadow: 0 6px 20px #0006; }

/* ---------- project dialog ---------- */
dialog { color: var(--text-l); background: var(--paper); padding: 0; width: min(960px, 94vw); max-height: 92dvh; border: 0; border-radius: 20px; overscroll-behavior: contain; }
dialog::backdrop { background: #071113dd; backdrop-filter: blur(6px); }
.dialog-top, .dialog-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 28px; background: var(--paper); position: sticky; z-index: 3; }
.dialog-top { top: 0; border-bottom: 1px solid var(--line-l); }
.dialog-bottom { bottom: 0; border-top: 1px solid var(--line-l); }
.dialog-top button, .dialog-bottom button { font-size: 14px; font-weight: 600; min-height: 40px; padding: 0 14px; border-radius: 999px; }
.dialog-top button:hover, .dialog-bottom button:hover { background: #dfe3d9; }
.dialog-label { font-size: 14px; color: var(--mute-l); display: inline-flex; align-items: center; }
.dialog-position { font-size: 13px; color: var(--mute-l); font-variant-numeric: tabular-nums; }
#dialog-content { padding: 32px clamp(22px, 5vw, 48px) 40px; }
.dialog-date { font-size: 14px; color: var(--mute-l); margin: 0; }
.dialog-title { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin: 8px 0 14px; }
.dialog-deck { font-size: 19px; line-height: 1.5; color: #3d5054; max-width: 34em; }
.play-action { margin: 24px 0 0; }
.play-action p { font-size: 14px; color: var(--mute-l); max-width: 44em; margin: 12px 0 0; }
.dossier-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; border-block: 1px solid var(--line-l); padding: 18px 0; margin: 26px 0; }
.dossier-facts dt { font-size: 13px; color: var(--mute-l); }
.dossier-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.dossier-media { margin: 26px 0; }
.dossier-media img { width: 100%; height: auto; display: block; border-radius: 12px; background: #d9ddd2; }
.dossier-media img + img { margin-top: 16px; }
.dossier-media img[src*="portrait"] { max-height: 500px; object-fit: cover; object-position: 75% 90%; }
.dossier-media .project-image.diagram, .dossier-media .trailer-placeholder { min-height: 300px; border-radius: 12px; }
.dossier-media figcaption { font-size: 13px; line-height: 1.5; margin-top: 10px; color: var(--mute-l); }
.project-video { display: block; width: 100%; max-height: 70vh; background: #071014; border-radius: 12px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; }
.story-block h3 { font-size: 21px; margin: 0 0 8px; }
.story-block h3:not(:first-child) { margin-top: 24px; }
.story-block p { font-size: 16px; color: #3d5054; line-height: 1.65; margin: 0; }
.source-note { padding: 18px 20px; background: #e1e5db; border-radius: 12px; font-size: 14px; color: #3d5054; margin-top: 30px; }
.source-note h3 { font: 600 14px var(--sans); letter-spacing: 0; margin-bottom: 6px; color: var(--text-l); }
.source-note p { margin: 0 0 4px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .start-list { grid-template-columns: repeat(3, 1fr); }
  .start-item { grid-template-columns: 1fr; gap: 10px; padding: 10px 10px 14px; align-content: start; }
  .start-item img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .start-item i { display: none; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp, .timeline-row { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
  .library-entry { grid-template-columns: 110px minmax(0, 1fr); }
  .entry-link { grid-column: 2; text-align: left; }
  .viewport { height: 480px; }
}
@media (max-width: 700px) {
  :root { --header-h: 100px; }
  .header-inner { flex-wrap: wrap; gap: 0 12px; align-content: center; }
  .site-nav { order: 3; width: 100%; margin: 0 -8px; overflow-x: auto; }
  .site-nav a { padding: 6px 12px; }
  .header-contact { margin-left: auto; padding: 5px 14px; }
  .section-head { flex-direction: column; align-items: start; }
  .start-list { grid-template-columns: 1fr; }
  .start-item { grid-template-columns: 92px 1fr auto; gap: 16px; padding: 10px 18px 10px 10px; }
  .start-item img { width: 92px; height: 64px; aspect-ratio: auto; }
  .start-item i { display: block; }
  .projects { grid-template-columns: 1fr; gap: 36px; }
  .project-card.lead { display: block; }
  .project-card.lead .project-meta { margin-top: 14px; justify-content: space-between; }
  .project-card.lead h3 { font-size: 26px; }
  .project-card.lead p { font-size: 15px; }
  .more-row { grid-template-columns: auto 1fr auto; }
  .more-row span { grid-column: 2 / -1; grid-row: 2; }
  .xp, .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .xp-when span { display: inline; margin-left: 8px; }
  .xp-extras { grid-template-columns: 1fr; gap: 24px; }
  .library-entry { grid-template-columns: 1fr; gap: 8px; }
  .entry-meta br { display: none; }
  .entry-meta { display: flex; gap: 10px; }
  .entry-link { grid-column: 1; }
  .library-tools input { width: 100%; }
  .library-tools label { width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 260px; }
  .viewport { height: 420px; }
  .zoom-bar { gap: 8px; padding: 10px 12px; }
  .zoom-bar input { flex: 1; }
  .dossier-facts, .story-grid { grid-template-columns: 1fr; }
  .dialog-top, .dialog-bottom { padding: 10px 14px; }
  dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, footer, .hero-actions, .start-here, .chips, .view-toggle, #map-view, .to-top, dialog, #library-more, .library-tools { display: none !important; }
  body, .band-light, .band-dark, .about-section.band-dark { background: #fff; color: #000; }
  .xp-body p, .about-copy p, .timeline-row p, .xp-extras ul, .section-sub, .hero-intro { color: #222 !important; }
  .project-card, .xp, .library-entry { break-inside: avoid; }
}
