@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #202820;
  --green: #244939;
  --muted: #525b50;
  --rule: #c9ccc0;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --gutter: clamp(1.2rem, 5vw, 6rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, p, figure, dd, dl { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; }
button { color: inherit; }
a, button, summary, select, input { -webkit-tap-highlight-color: #cad6bf85; }
:focus-visible { outline: 2px solid #9b481d; outline-offset: 4px; }
main:focus { outline: none; }
::selection { background: #d8dfc6; color: #142a20; }
.shell { width: min(86rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; transform: translateY(-180%); z-index: 4; padding: .65rem 1.1rem; color: white; background: var(--green); }
.skip:focus { transform: none; color: white; }
.site-header, .case-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header { min-height: clamp(4.3rem, 6vw, 6rem); border-bottom: 1px solid var(--rule); }
.brand { font-family: var(--serif); font-size: 2.1rem; line-height: .98; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; gap: clamp(1.1rem, 3vw, 2.7rem); }
.site-header nav a { font-size: .92rem; font-weight: 550; padding-block: .75rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.case-intro { padding-block: clamp(2.1rem, 4vw, 4.4rem) clamp(1.4rem, 2.3vw, 2.5rem); }
.case-path { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; font-size: .8rem; color: var(--muted); }
.case-path a { font-weight: 550; }
.case-path span[aria-hidden] { color: #72796e; }
.title-line { display: grid; grid-template-columns: minmax(0, 1.46fr) minmax(0, .82fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); margin-block: clamp(1rem, 2.5vw, 2.7rem) clamp(1.5rem, 3vw, 3rem); }
h1 { font-size: clamp(4.1rem, 8.2vw, 8.8rem); line-height: .89; letter-spacing: -.048em; }
.case-peak-picker h1 { font-size: clamp(3.5rem, 6.6vw, 7.1rem); }
.case-taiwan-shaved-snow h1 { max-width: 9ch; }
.lead { max-width: 37ch; font-weight: 450; line-height: 1.5; font-size: clamp(1.03rem, 1.27vw, 1.28rem); text-wrap: pretty; }
.credits { display: flex; flex-wrap: wrap; gap: .58rem 2rem; padding-top: .88rem; border-top: 1px solid var(--rule); }
.credits > div { display: flex; align-items: baseline; gap: .5rem; line-height: 1.4; }
.credits dt { color: var(--muted); font-size: .77rem; }
.credits dd { font-size: .87rem; font-weight: 550; }
.instrument { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .82fr); gap: clamp(1.5rem, 5.4vw, 5.6rem); align-items: start; }
.instrument-side { padding-block: clamp(.5rem, 1.8vw, 2rem); }
h2 { font-size: clamp(2.55rem, 4.3vw, 4.7rem); letter-spacing: -.04em; line-height: .99; }
.instrument-side p, .reading p, .workspace-copy p { color: var(--muted); line-height: 1.62; text-wrap: pretty; }
.instrument-side p { margin-top: .9rem; max-width: 42ch; }
.stage { position: relative; overflow: hidden; }
figure figcaption { display: block; margin-top: .65rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
figcaption a { font-weight: 550; }
.tour-choices { display: flex; flex-wrap: wrap; gap: .35rem; margin-block: 1.5rem 1.1rem; }
.tour-choices button { appearance: none; cursor: pointer; background: transparent; min-height: 2.8rem; padding: .55rem .9rem; border: 1px solid #9aa497; border-radius: 100rem; font-size: .91rem; font-weight: 550; }
.tour-choices button:hover { background: #e9ebe1; }
.tour-choices button[aria-pressed="true"] { color: var(--paper); background: var(--green); border-color: var(--green); }
.instrument-side .tour-note { color: var(--ink); }
.stage-snow { display: grid; place-items: center; padding: clamp(1.1rem, 2.65vw, 3rem); background: #ded8c8; }
.stage-snow img { width: 100%; height: clamp(17rem, 31vw, 28rem); object-fit: contain; }
.snow-choices { display: grid; margin-bottom: .8rem; gap: 0; border-top: 1px solid var(--rule); }
.snow-choices button { display: flex; align-items: center; gap: .85rem; min-height: 3rem; width: 100%; padding: .43rem .6rem; text-align: left; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.snow-choices button img { width: 2.5rem; height: 2.5rem; object-fit: cover; }
.snow-choices button[aria-pressed="true"] { border-color: var(--green); }
.measure-frame { background: #dde3d8; padding: clamp(.7rem, 2.3vw, 2.3rem); }
.case-cardroom-lab .measure-frame { background: #234233; }
.measure-frame .pd-panel { border: 0; background: #fbfaf4; font-size: 1rem; padding: clamp(1rem, 2.4vw, 2.5rem); }
.pd-panel .pd-intro strong { font-size: clamp(1.7rem, 2.6vw, 2.8rem); line-height: 1.05; }
.pd-intro > span, .pd-panel .pd-label, .pd-panel .pd-axis-label { font-size: .8rem; }
.pd-controls input[type="range"] { min-height: 2.8rem; }
.pd-panel .pd-choice select { min-height: 2.8rem; font-size: 1rem; }
.pd-panel .pd-explanation, .pd-panel .pd-actions, .pd-panel .pd-situation, .pd-panel .pd-choice, .pd-panel .pd-controls label { font-size: .93rem; }
.pd-panel .pd-review { font-size: .85rem; }
.pd-panel .pd-card { min-width: 2.4rem; min-height: 3rem; }
.pd-panel .pd-mix { height: .6rem; }
.release-panel { margin-top: 1.3rem; }
.release-panel summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: .23em; font-size: .91rem; font-weight: 550; }
.release-panel figure { margin-top: .85rem; }
.release-panel img, .evidence img { width: 100%; height: auto; }
.reading, .workspace-feature { display: grid; gap: clamp(2rem, 6.5vw, 7rem); margin-block: clamp(3rem, 6.5vw, 7rem); padding-top: clamp(2rem, 4.4vw, 4.8rem); border-top: 1px solid var(--rule); }
.reading { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); }
.reading h2, .workspace-copy h2 { max-width: 14ch; }
.reading p, .workspace-copy p { max-width: 54ch; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink); }
.reading p + p, .workspace-copy p + p { margin-top: 1em; }
.reading p strong, .workspace-copy p strong { color: var(--green); font-weight: 650; }
.prose-link { display: inline-block; margin-top: 1em; padding-block: .35rem; color: var(--green); font-weight: 600; }
.evidence { max-width: 58rem; margin: clamp(-2rem, -1vw, -.5rem) auto clamp(3.2rem, 7vw, 7rem); }
.evidence-image { display: block; background: #e5e7dc; padding: clamp(.65rem, 2.2vw, 2rem); }
.workspace-feature { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); align-items: center; }
.workspace-copy h2 { margin-bottom: 1.5rem; }
.stage-river { padding: clamp(.8rem, 1.7vw, 1.8rem); background: #24362d; }
.stage-river a { display: block; width: fit-content; max-width: 100%; margin: auto; }
.stage-river img { width: auto; max-width: 100%; max-height: 31rem; height: auto; }
.next-work { background: var(--green); color: #f1efdf; }
.next-inner { display: flex; gap: 2rem; justify-content: space-between; align-items: center; padding-block: clamp(1.65rem, 4.3vw, 4.4rem); text-decoration: none; }
.next-inner:hover { color: #fff; }
.next-inner:hover .next-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .11em; }
.next-label { display: block; margin-bottom: .48rem; color: #d1dacd; font-size: .85rem; }
.next-title { display: block; font-family: var(--serif); letter-spacing: -.045em; line-height: .97; font-size: clamp(2.65rem, 5.2vw, 5.6rem); text-wrap: balance; }
.next-thumb { height: clamp(4.5rem, 8.6vw, 8rem); width: clamp(6rem, 12.8vw, 12rem); object-fit: cover; }
.case-footer { flex-wrap: wrap; padding-block: clamp(1.5rem, 3vw, 2.9rem); }
.case-footer .brand { font-size: 1.8rem; }
.profile-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.15rem; }
.case-footer .profile-links { font-size: .9rem; font-weight: 550; }
.case-footer .profile-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.missing-page {
  padding-block: clamp(3rem, 10vw, 8rem);
}
.missing-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6rem);
}
.missing-page .lead { margin-bottom: 1.25rem; }
.missing-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.missing-links a { padding-block: .4rem; font-weight: 550; }
@media (max-width: 55rem) {
  .title-line { grid-template-columns: 1.08fr 1fr; gap: 1.75rem; }
  h1 { font-size: clamp(3.7rem, 8.6vw, 5rem); }
  .case-peak-picker h1 { font-size: clamp(3rem, 7.2vw, 4.3rem); }
  .instrument { grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 1.45rem; }
  .instrument-side { padding: 0; }
  h2 { font-size: clamp(2.3rem, 4.6vw, 3.2rem); }
  .tour-choices button { padding-inline: .7rem; }
  .snow-choices button { padding-inline: .5rem; }
}
@media (max-width: 43.75rem) {
  .site-header { min-height: 4.2rem; }
  .brand { font-size: 1.85rem; }
  .title-line, .instrument, .reading, .workspace-feature { grid-template-columns: minmax(0,1fr); gap: 1.3rem; }
  .title-line { margin-block: 1.2rem 1.45rem; }
  h1 { font-size: clamp(3.65rem, 13vw, 5.7rem); }
  .case-taiwan-shaved-snow h1 { max-width: 100%; }
  .case-peak-picker h1 { font-size: clamp(3.4rem, 11.8vw, 5.2rem); }
  .lead { max-width: 52ch; font-size: 1.04rem; }
  .case-intro { padding-block: 1.65rem 1.35rem; }
  .instrument-side p { max-width: 52ch; }
  .tour-choices { margin-block: 1.1rem .9rem; }
  .stage-snow img { height: clamp(15rem, 62vw, 24rem); }
  .workspace-feature, .reading { gap: 1.2rem; }
  .reading h2, .workspace-copy h2 { max-width: 18ch; }
  .workspace-copy h2 { margin-bottom: 1rem; }
  .next-inner { gap: .9rem; }
  .next-thumb { width: clamp(4.2rem, 18vw, 7rem); height: clamp(3.7rem, 16vw, 6rem); }
}
@media (max-width: 23rem) {
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .85rem; }
  .credits { gap: .4rem 1rem; }
  .pd-panel .pd-card { min-width: 2rem; min-height: 2.6rem; }
}
