:root {
  color-scheme: dark;
  --ink: #101010;
  --paper: #f0efe9;
  --mute: #b6b5ae;
  --line: #41413c;
  --accent: #ff4943;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --edge: clamp(20px, 4.2vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, dialog:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { touch-action: manipulation; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-weight: 400; }
.wrap { width: min(calc(100% - var(--edge) * 2), 1730px); margin-inline: auto; }
.skip, .sr-only { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 9; top: 10px; left: 10px; clip-path: none; width: auto; height: auto; padding: 10px 20px; background: var(--paper); color: var(--ink); }
.pixel-mark { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); width: 23px; height: 23px; flex: none; transform: rotate(0deg); transition: transform .4s; }
.brand:hover .pixel-mark { transform: rotate(90deg); }
.pixel-mark i { background: var(--accent); }
.pixel-mark i:nth-child(1) { grid-area: 1/2/3/3; }
.pixel-mark i:nth-child(2) { grid-area: 1/4/2/5; }
.pixel-mark i:nth-child(3) { grid-area: 2/3/3/4; }
.pixel-mark i:nth-child(4) { grid-area: 2/1/3/2; }
.pixel-mark i:nth-child(5) { grid-area: 3/2/4/4; }
.pixel-mark i:nth-child(6) { grid-area: 4/1/5/2; }
.pixel-mark i:nth-child(7) { grid-area: 4/3/5/4; }
.topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: var(--ink);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
section[id] { scroll-margin-top: 80px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; letter-spacing: -.015em; color: var(--mute); }
.brand strong { color: var(--paper); font-weight: 600; }
nav { display: flex; gap: clamp(16px, 3vw, 50px); }
nav a { position: relative; padding: 3px 0; color: #fff; font-size: 14px; white-space: nowrap; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s; }
nav a:hover::after, nav a[aria-current]::after { transform: scaleX(1); }
nav a[aria-current] { color: var(--accent); }
.section-label, .back, .foot { font-family: var(--mono); }
.section-label { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.5; letter-spacing: .10em; }
.rule-dash { width: 21px; height: 3px; background: var(--accent); flex-shrink: 0; }
.hero-intro { padding-top: clamp(40px, 4.8vw, 86px); }
.masthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 11px 0 clamp(28px, 3.1vw, 58px); }
.masthead h1 { font-size: clamp(68px, 9.9vw, 188px); line-height: 1.05; letter-spacing: -.085em; font-weight: 500; white-space: nowrap; }
.masthead h1 em { letter-spacing: -.085em; }
.masthead p { max-width: 38ch; margin-bottom: .45vw; color: #e0ded7; font: italic clamp(16px, 1.39vw, 25px)/1.35 var(--serif); }
.slice small, .mode-switch { font-family: var(--mono); }
.strip { display: grid; grid-template-columns: 1.12fr .95fr 1.13fr .91fr; gap: 2px; border-block: 1px solid #58564e; background: #292925; }
.slice { position: relative; height: clamp(320px, 31vw, 530px); overflow: hidden; background: #272725; }
.visual, .visual img, .visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual { overflow: hidden; cursor: crosshair; }
.visual img { object-fit: cover; }
.slice .visual { transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.visual .mono { image-rendering: pixelated; }
.visual .color { opacity: 0; transition: opacity .25s; }
.slice[data-cover="aether"] .color,
.slice[data-cover="aether"] canvas { filter: saturate(1.25) brightness(1.18); }
.strip.full-color .color { opacity: 1; }
.strip.full-color canvas { visibility: hidden; }
.slice figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 58px clamp(13px, 1.6vw, 30px) 20px; background: linear-gradient(transparent,rgba(0,0,0,.83)); pointer-events: none; }
.slice figcaption { display: flex; align-items: flex-start; }
.slice:not([data-cover="aether"]) figcaption { block-size: var(--cover-caption-height, auto); }
.slice figcaption a { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; pointer-events: auto; gap: 3px; color: #faf9f5; transition: transform .3s ease-out; }
.slice small { min-block-size: var(--cover-label-height, 0px); text-transform: uppercase; font-size: 11px; letter-spacing: .09em; color: #e1e0da; }
.slice figcaption span { font: italic clamp(20px, 1.8vw, 34px)/1.12 var(--serif); letter-spacing: -.055em; }
.slice[data-cover="aether"] figcaption a { max-width: 100%; }
.slice figcaption .aether-subtitle {
  display: block;
  margin-top: .18em;
  font-size: .86em;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.slice a:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.strip-control { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: clamp(16px,3vw,45px); padding: 13px 0; border-bottom: 1px solid var(--line); }
.strip-meta { display: grid; gap: 5px; }
.strip-control p { color: var(--mute); font-size: 12px; }
.strip-control .strip-count { color: var(--paper); font-family: var(--mono); letter-spacing: .05em; }
.strip-hint { display: flex; align-items: center; gap: 8px; }
.scroll-cue { font: 12px/1.5 var(--mono); color: var(--mute); text-decoration: underline; text-underline-offset: 5px; }
.scroll-cue:hover { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .slice:hover .visual { transform: scale(1.025); }
  .slice:hover figcaption a { transform: translateY(-4px); }
  .about-photo:hover .portrait-print img { transform: scale(1.02); }
}
.slice:focus-within .visual { transform: scale(1.025); }
.slice:focus-within figcaption a { transform: translateY(-4px); }
.crosshair { color: var(--accent); font: 24px/1 var(--mono); }
.mode-switch { display: inline-flex; border: 1px solid #54544d; border-radius: 6px; background: transparent; font-size: 12px; padding: 3px; line-height: 1.5; }
.mode-switch span { padding: 2px 10px; border-radius: 3px; }
.mode-switch[aria-pressed=false] .mode-mono, .mode-switch[aria-pressed=true] .mode-color { background: var(--paper); color: var(--ink); }
.home { padding-bottom: clamp(58px, 6vw, 110px); }

.reveal { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #252522; appearance: none; cursor: pointer; touch-action: manipulation; }
.reveal img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reveal .reveal-mono { image-rendering: pixelated; }
.reveal .reveal-color { position: absolute; inset: 0; opacity: 0; transition: opacity 200ms ease-out; }
.reveal[aria-pressed="true"] .reveal-color { opacity: 1; }
.reveal-hint { color: var(--mute); font-size: 13px; }
.reveal-hint { display: inline-flex; align-items: center; gap: 8px; }
.reveal-hint i { width: 7px; height: 7px; background: var(--accent); }
.text-link, .plate figcaption a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.plate figcaption a:hover { color: var(--accent); }
.band { background: var(--paper); color: var(--ink); }
.about, .works, .case-process, .case-overview, .boards { padding-block: clamp(62px, 7.5vw, 140px); }
.about { background: var(--ink); padding-top: clamp(2.5rem, 4.3vw, 5rem); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
}
.about-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.about-text .rule-dash { width: 2.75rem; height: 2px; transform-origin: left; }
.bio-greeting {
  margin: clamp(1.15rem, 2vw, 2.35rem) 0 .5rem;
  font: 400 clamp(.875rem, 1.1vw, 1.125rem)/1.3 var(--mono);
  letter-spacing: .11em; text-transform: uppercase; color: var(--mute);
}
.bio-heading {
  font: 500 clamp(3.25rem, 7.65vw, 9rem)/.96 var(--sans);
  letter-spacing: -.065em; text-transform: uppercase;
}
.bio-heading em { font-weight: 400; letter-spacing: -.055em; }
.bio-mask { display: block; overflow: hidden; }
.bio-mask > * { display: block; padding: .025em .12em .045em 0; }
.bio-details {
  margin-top: clamp(.75rem, 1.4vw, 1.65rem); color: var(--mute);
  font-size: clamp(1rem, 1.12vw, 1.2rem); line-height: 1.55;
}
.bio-interests { margin-top: auto; padding-top: clamp(1.65rem, 3vw, 3.5rem); }
.bio-interest-label { margin-bottom: .75rem; color: var(--accent); font: .75rem/1.5 var(--mono); letter-spacing: .09em; }
.bio-disciplines {
  font-size: clamp(1.375rem, 2.85vw, 3.4rem); line-height: 1.12; letter-spacing: -.045em;
}
.bio-disciplines > span { display: block; }
.interest-term { display: inline-block; white-space: nowrap; }
.bio-disciplines i { color: var(--accent); font-weight: 400; font-style: normal; }
.about-photo { position: relative; align-self: end; aspect-ratio: 4 / 5; }
.portrait-grade { position: absolute; }
.portrait-print { position: absolute; inset: 0; overflow: hidden; }
.portrait-print img { width: 100%; height: 100%; object-fit: cover; filter: url("#portrait-tone"); transition: transform .45s ease-out; }
.portrait-print::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-conic-gradient(rgba(0,0,0,.16) 0% 25%, rgba(255,255,255,.08) 0% 50%) 0 0 / 3px 3px;
}

@keyframes about-rule { from { transform: scaleX(0); } }
@keyframes about-name {
  from { letter-spacing: .035em; transform: translateY(.16em); opacity: .35; }
}
@keyframes about-gather {
  from { transform: translate(var(--gather-x, 0px), .28em); opacity: .2; }
}
@keyframes about-fade { from { opacity: 0; } }
@media screen {
  .about-grid[data-intro="waiting"] { --text-state: paused; }
  .about-grid[data-intro] .rule-dash {
    animation: about-rule .3s ease-out both var(--text-state, running);
  }
  .about-grid[data-intro] .bio-heading .bio-mask > * {
    animation: about-name .9s cubic-bezier(.19,.75,.22,1) var(--line-delay) both var(--text-state, running);
  }
  .bio-heading .bio-mask:first-child { --line-delay: .2s; }
  .bio-heading .bio-mask:last-child { --line-delay: .35s; }
  .about-grid[data-intro] :is(.about-label, .bio-greeting, .bio-details, .bio-interest-label) {
    animation: about-fade .4s ease-out var(--fade-delay, 0s) both var(--text-state, running);
  }
  .bio-greeting { --fade-delay: .15s; }
  .bio-details { --fade-delay: .8s; }
  .bio-interest-label { --fade-delay: .95s; }
  .interest-line { --interest-delay: 1s; }
  .interest-line:nth-child(2) { --interest-delay: 1.15s; }
  .interest-term:first-child { --gather-x: -.08em; }
  .interest-term:last-child { --gather-x: .55em; }
  .about-grid[data-intro] .interest-term {
    animation: about-gather .75s cubic-bezier(.19,.75,.22,1) var(--interest-delay) both var(--text-state, running);
  }
}
.works { border-top: 1px solid var(--line); padding-top: clamp(40px,4vw,76px); padding-bottom: clamp(20px,1.6vw,32px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 15px 0 35px; }
.section-heading h2, .contact h2 { font-size: clamp(47px, 7.4vw, 136px); font-weight: 450; letter-spacing: -.079em; line-height: 1.05; }
.section-heading p, .contact p { color: var(--mute); }
.works .section-heading { margin-top: 0; }
.works[data-entry="waiting"] > .section-heading, .works[data-entry="waiting"] > .project-accordion { opacity: 0; }
.works[data-entry="entered"] > .section-heading { animation: works-enter .45s ease-out both; }
.works[data-entry="entered"] > .project-accordion { animation: works-enter .5s .12s ease-out both; }
@keyframes works-enter { from { opacity: 0; } to { opacity: 1; } }
.project-accordion { --rail: 64px; --closed-rail: 70px; position: relative; height: clamp(460px,39vw,720px); border: 1px solid var(--line); background: #181818; overflow: hidden; }
.project-tabs { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.project-tab { position: absolute; top: 0; bottom: 0; left: var(--rail-x,0px); width: var(--closed-rail); padding: 22px 10px; display: flex; flex-direction: column; align-items: center; gap: 25px; background: #191919; color: var(--mute); border: 0; border-inline: 1px solid var(--line); pointer-events: auto; transition: left .5s cubic-bezier(.22,.7,.3,1), background .3s, color .3s; }
.project-tab[aria-selected="true"] { width: var(--rail); background: #482021; color: var(--paper); box-shadow: inset 3px 0 var(--accent); }
.project-tab:hover { background: #2b2424; color: var(--paper); }
.project-tab[aria-selected="true"]:hover { background: #482021; }
.project-tab:focus-visible { outline-offset: -5px; }
.project-number { font: italic 32px/1 var(--serif); color: var(--accent); }
.project-short { writing-mode: vertical-rl; transform: rotate(180deg); margin: auto 0; font: 13px/1.2 var(--mono); letter-spacing: .12em; }
.project-stage { position: absolute; top: 0; bottom: 0; left: var(--rail); right: calc(3 * var(--closed-rail)); overflow: hidden; background: #161616; }
.project-panel { position: absolute; inset: 0; }
.project-panel[hidden] { display: none; }
.project-art { position: absolute; inset: 0; display: block; overflow: hidden; }
.project-art img { width: 100%; height: 100%; object-fit: cover; }
.project-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 30%,rgba(0,0,0,.16) 55%,rgba(0,0,0,.92)); }
.project-body { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px 25px; align-items: end; padding: clamp(22px,2.7vw,48px); pointer-events: none; }
.project-body .section-label { grid-column: 1 / -1; font-size: 12px; color: #e3e0d9; letter-spacing: .07em; }
.project-body h3 { grid-column: 1 / -1; font: italic clamp(42px,4.9vw,88px)/1.03 var(--serif); letter-spacing: -.05em; }
.project-body h3 span { display: block; font-size: .56em; letter-spacing: -.03em; margin-top: .12em; }
.project-summary { max-width: 42ch; font-size: 17px; line-height: 1.5; color: #d5d2cb; }
.project-open { position: relative; justify-self: end; pointer-events: auto; white-space: nowrap; font: 14px/1.5 var(--mono); letter-spacing: .04em; padding-bottom: 4px; transition: color .25s; }
.project-open::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .25s ease-out; }
.project-open:hover, .project-open:focus-visible { color: var(--accent); }
.project-open:hover::after, .project-open:focus-visible::after { transform: scaleX(1); }
.project-footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; color: var(--mute); font: 12px/1.5 var(--mono); letter-spacing: .04em; }
@media (max-width: 1100px) { .project-accordion { --rail: 54px; --closed-rail: 60px; } }
@media (max-width: 850px) {
  .project-accordion { height: auto; }
  .project-tabs { position: relative; display: flex; overflow-x: auto; pointer-events: auto; }
  .project-tab { position: relative; inset: auto; width: auto; min-width: 76px; flex: 1; padding: 15px 8px; gap: 8px; border-inline: 0; border-right: 1px solid var(--line); }
  .project-tab:last-child { border-right: 0; }
  .project-tab[aria-selected="true"] { width: auto; box-shadow: inset 0 -3px var(--accent); }
  .project-number { font-size: 24px; }
  .project-short { writing-mode: horizontal-tb; transform: none; margin: 0; font-size: 11px; letter-spacing: .06em; }
  .project-stage { position: relative; inset: auto; height: calc(clamp(230px,65vw,340px) + 300px); }
  .project-art { bottom: auto; height: clamp(230px,65vw,340px); }
  .project-art::after { background: linear-gradient(transparent 70%,rgba(0,0,0,.4)); }
  .project-body { top: clamp(230px,65vw,340px); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; background: #181818; }
  .project-body h3 { font-size: clamp(37px,7vw,55px); }
  .project-body .section-label { font-size: 11px; gap: 9px; }
  .project-summary { font-size: 16px; }
  .project-open { margin-top: auto; align-self: flex-start; }
}
@media (max-width: 400px) { .project-footer { font-size: 10px; letter-spacing: 0; gap: 10px; } }
.mail .signoff { flex-basis: 100%; margin: 4px 0 0; font-size: 19px; color: var(--mute); }
.case h2 { font-size: clamp(30px, 4.4vw, 76px); font-weight: 500; line-height: 1.13; letter-spacing: -.065em; }
.case-hero .reveal { height: clamp(320px, 45vw, 820px); }
.case-image-hint { display: flex; justify-content: flex-end; padding-top: 9px; background: var(--ink); }
.plate .reveal { aspect-ratio: 2/.96; }
.plate .reveal img { object-fit: contain; }
.plate .reveal-mono { image-rendering: auto; filter: grayscale(1); }
.plate figcaption { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.plate .board-link { display: inline-block; background: none; color: var(--paper); }
.boards h2 span { color: var(--accent); }
.contact { border-top: 1px solid var(--line); padding-block: clamp(55px,6vw,100px); }
.contact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 20px; }
.contact h2 { font-size: clamp(58px, 8.6vw, 150px); }
.contact p { margin-top: 20px; }
.mail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 13px; max-width: 38em; }
.mail a, .text-link { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.mail a { font-size: clamp(16px,1.6vw,28px); letter-spacing: -.035em; overflow-wrap: anywhere; }
.mail a:hover, .text-link:hover, .foot a:hover { color: var(--accent); }
.mail button, .lightbox button { background: transparent; border: 1px solid var(--line); padding: 7px 11px; font-size: 13px; border-radius: 3px; }
.foot { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); }
.case-intro { padding-top: 25px; }
.back { display: inline-block; color: var(--mute); font-size: 14px; margin-bottom: clamp(38px, 5vw, 85px); text-decoration: underline; text-underline-offset: 5px; }
.case-intro h1 { margin: 18px 0 12px; font: italic clamp(58px, 8.5vw, 145px)/.98 var(--serif); letter-spacing: -.074em; }
.project-subtitle { display: block; font-size: .54em; letter-spacing: -.055em; margin-top: .2em; }
.case-deck { font-size: clamp(17px, 1.5vw, 26px); color: var(--mute); }
.case-hero { margin-top: 32px; background: #20201e; }
.case-overview { display: grid; grid-template-columns: .86fr 1.14fr; gap: 7vw; }
.case-overview h2 { margin-top: 22px; font-size: clamp(31px, 3.6vw, 60px); }
.intro-copy { font-size: clamp(19px, 2vw, 32px); line-height: 1.65; }
dl { display: flex; gap: 28px; flex-wrap: wrap; margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--line); }
dt { color: var(--mute); font-size: 13px; margin-bottom: 5px; }
dd { margin: 0; }
.text-link span { font-family: var(--serif); font-style: italic; }
.case-process h2 { margin-top: 20px; }
.note-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,4vw,70px); margin-top: 38px; }
.note-grid article { border-top: 1px solid #a8a8a0; padding-top: 17px; }
.note-grid h3 { font-size: 22px; font-weight: 550; }
.note-grid p { margin-top: 12px; line-height: 1.9; color: #494943; }
.board-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.board-link { display: block; background: #282825; cursor: zoom-in; }
.board-grid figcaption { margin-top: 8px; color: var(--mute); font-size: 14px; }
.next-wrap { padding-bottom: 70px; }
.next-project { display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px 16px; border-block: 1px solid var(--line); padding: 24px 0; margin-bottom: 18px; }
.next-project strong { font: italic clamp(34px, 5.5vw, 92px)/1.05 var(--serif); letter-spacing: -.055em; }
.lightbox { width: min(96vw,1800px); max-width: 96vw; height: min(92dvh,1050px); max-height: 92dvh; padding: 17px; border: 1px solid var(--line); background: #181817; color: var(--paper); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: #000c; }
.lightbox-bar, .lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lightbox-scroll { flex: 1; min-height: 0; overflow: auto; display: grid; align-items: center; margin-block: 12px; }
.lightbox-scroll img { width: 100%; }
.lightbox-controls span { font: 13px var(--mono); color: var(--mute); }
@view-transition { navigation: auto; }

@media (max-width: 900px) {
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 650px) {
  .topbar-inner { gap: 9px; padding-block: 12px; }
  .brand { gap: 8px; font-size: 12px; line-height: 1.25; }
  .brand strong { display: block; font-size: 14px; }
  .pixel-mark { width: 19px; height: 19px; }
  nav { gap: clamp(10px, 2.5vw, 17px); }
  nav a { font-size: 13px; }
  .about-grid, .case-overview, .note-grid, .board-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 2.5rem; }
  .bio-heading { font-size: clamp(2.75rem, 14.1vw, 5.75rem); }
  .bio-disciplines { font-size: clamp(1.125rem, 5.8vw, 2.2rem); }
  .section-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 23px; }
  .case-hero .reveal { height: clamp(245px, 78vw, 470px); }
  .board-grid { gap: 24px; }
  .lightbox-scroll img { min-width: 800px; }
  .foot { font-size: 12px; }
}
@media (max-width: 380px) {
  .topbar-inner { flex-wrap: wrap; }
  nav { margin-left: auto; }
  .brand { gap: 5px; }
  .brand .pixel-mark { width: 14px; height: 14px; }
}
@media (max-width: 850px) {
  .masthead { flex-wrap: wrap; gap: 6px; }
  .masthead h1 { font-size: 12.5vw; }
  .masthead p { margin: 0; }
}
@media (max-width: 650px) {
  .hero-intro { padding-top: 35px; }
  .masthead { margin: 13px 0 22px; gap: 12px; }
  .masthead h1 { font-size: 13.25vw; }
  .masthead p { max-width: 34ch; }
  .strip { grid-template-columns: 1fr 1fr; }
  .slice { height: clamp(150px, 43vw, 242px); }
  .slice figcaption { padding: 30px 10px 12px; }
  .slice small { font-size: 10px; }
  .strip-control { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .strip-control .scroll-cue { grid-column: 1; grid-row: 2; justify-self: start; }
  .strip-control .mode-switch { grid-column: 2; grid-row: 1 / span 2; }
  .strip-hint { font-size: 11px; gap: 5px; }
  .mode-switch span { padding: 1px 6px; }
}

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

.project-title-link { display: inline-block; color: inherit; pointer-events: auto; text-decoration: none; }
.project-title-link:hover, .project-title-link:focus-visible { color: var(--accent); }
.project-title-link:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }

.slice-image-link { position: absolute; inset: 0; display: block; color: inherit; }
.slice-image-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; z-index: 2; }

.masthead h1 .hero-title-sub { display: block; font-size: .46em; line-height: .9; letter-spacing: -.055em; margin-top: .12em; }

.masthead { flex-wrap: wrap; }
.masthead h1 { flex: 1 0 100%; font-size: clamp(48px, 6.8vw, 160px); white-space: nowrap; }
.masthead h1 .hero-title-sub { display: inline; font-size: 1em; line-height: inherit; letter-spacing: inherit; margin: 0; }
.masthead p { margin-left: auto; }
@media (max-width: 700px) { .masthead h1 { font-size: clamp(30px, 8.2vw, 58px); } }
