/* Picturescape: a gallery wall you walk along sideways.
   Wide screens scroll horizontally (site.js turns the mouse wheel sideways);
   narrow screens stack the same panels vertically. */

:root {
  --wall: #efe7cf;
  --wall-deep: #e4d8b8;
  --ink: #3b302a;
  --ink-soft: #6b5a4f;
  --red: #d63b2f;
  --frame: #2b2421;
  --sky-top: #1b3c6c;
  --sky-bottom: #10284d;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 4.5rem;
  --foot-h: 4rem;
  --k: 1.25; /* how much the 2005 illustrations are enlarged */
}

@media (min-height: 860px) { :root { --k: 1.5; } }
@media (max-height: 720px) { :root { --k: 1.05; --nav-h: 3.75rem; --foot-h: 3.25rem; } }

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--wall); }

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain over everything, like the textured stock in the film */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3.5rem, 9vw, 8.5rem); font-weight: 300; letter-spacing: -.035em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
h2 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); font-weight: 350; letter-spacing: -.02em; }
h3 { font-size: 1.9rem; }
p { margin: 0 0 .9em; text-wrap: pretty; }
cite { font-style: italic; font-family: var(--serif); font-size: 1.05em; }

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--wall); padding: .5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  pointer-events: none;
}
.nav-brand, .nav nav, .nav-toggle {
  pointer-events: auto;
}
.nav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-decoration: none;
}
.nav nav { display: flex; gap: clamp(.9rem, 2vw, 2rem); }
.nav nav a {
  font-size: .82rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav nav a:hover, .nav nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--red); }
.nav-toggle {
  display: none; /* phones only */
  align-items: center;
  gap: .5rem;
  font: 500 .85rem/1 var(--sans);
  letter-spacing: .04em;
  color: var(--ink);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 999px;
  padding: .5rem .9rem;
  cursor: pointer;
}
/* three-line icon, turning into a cross when open */
.nav-toggle::before {
  content: "";
  width: .9rem;
  height: .6rem;
  background: linear-gradient(currentColor 0 0) top / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 1.5px no-repeat;
}
.nav.is-open .nav-toggle::before { height: .9rem; background: linear-gradient(45deg, transparent 46%, currentColor 46% 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, currentColor 46% 54%, transparent 54%); }

/* ---------- Panels ---------- */

.panel { position: relative; padding: calc(var(--nav-h) + 1rem) clamp(1.25rem, 4vw, 4rem) var(--foot-h); }

/* ---------- Framed pieces ----------
   Each 2005 banner holds one or two illustrations on black. A piece shows just
   one illustration: --x/--w are its left edge and width in the 800px banner,
   --h the banner height. Percentages keep the crop exact at any size. */

.piece {
  position: relative;
  flex: none;
  height: calc(var(--h) * 1px * var(--k));
  aspect-ratio: var(--w) / var(--h);
  overflow: hidden;
}
/* The whole banner, scaled so the piece's slice fills the frame */
.piece img {
  position: absolute;
  top: 0;
  left: calc(var(--x) / var(--w) * -100%);
  width: calc(800 / var(--w) * 100%);
  max-width: none;
  height: 100%;
}
/* The frame, shared with the book's cover and spreads */
.piece, .book-art {
  border: 10px solid var(--frame);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 1px 0 rgba(255, 255, 255, .5),
    0 22px 40px -18px rgba(70, 45, 20, .55),
    0 4px 10px -4px rgba(70, 45, 20, .35);
}

/* Museum wall label */
.wall-label {
  flex: none;
  width: 24rem;
  font-size: .95rem;
  line-height: 1.62;
  color: var(--ink);
}
.wall-label h3 { margin-bottom: 1rem; }
.label-no { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-bottom: .35rem; }
.label-based {
  font-size: .9rem;
  color: var(--ink-soft);
  padding-top: .8rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}
.label-more { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; margin: 0; }
.label-more a::after { content: " ↗"; }
/* "All artists": back to the list of twelve, at the foot of each label */
.artist-return {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.2rem;
  padding: .3rem .8rem .3rem .65rem;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .74rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s, border-color .2s, opacity .25s;
}
/* Another exhibit's button is showing (see site.js) */
.artist-return.is-hidden { opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.artist-return:hover { color: var(--red); border-color: var(--red); }
.artist-return-arrow { transition: transform .2s; }
.artist-return:hover .artist-return-arrow { transform: translateX(-.2rem); }
.wall-label--small { width: auto; max-width: 40rem; font-size: .82rem; color: var(--ink-soft); margin-top: 1.4rem; }
.wall-label--small strong { display: block; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1rem; color: var(--ink); }

/* ---------- Hero: the film ---------- */

.hero-text { max-width: 30rem; }
.hero h1 { margin: 0 0 1.5rem -.04em; }
.lede { font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.4; font-weight: 350; color: var(--ink-soft); }
.hint { font-size: .85rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: 2.5rem; }
.hint a { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.hint a:hover { color: var(--ink); border-bottom-color: var(--red); }
.hint-arrow { display: inline-block; color: var(--red); font-size: 1.2rem; animation: nudge 2.4s ease-in-out infinite; }
.hint-narrow { display: none; }
/* "Next: …" rides along beside the balloon and walks you to the next stop (wide screens, after the film) */
.next-stop {
  position: fixed;
  left: 0; /* site.js moves it alongside the balloon */
  bottom: 1.55rem;
  z-index: 41;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 22rem;
  padding: .35rem .85rem;
  font: .74rem/1.2 var(--sans);
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--wall) 85%, transparent);
  backdrop-filter: blur(4px);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s, color .2s, border-color .2s;
}
.next-stop.is-visible { opacity: 1; visibility: visible; transition: opacity .3s, color .2s, border-color .2s; }
.next-stop:hover { color: var(--red); border-color: var(--red); }
.next-stop-label { opacity: .7; }
.next-stop-name { font-family: var(--serif); font-style: italic; font-size: .9rem; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-stop-arrow { color: var(--red); transition: transform .2s; }
.next-stop:hover .next-stop-arrow { transform: translateX(.2rem); }

@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(.5rem); } }

.film { position: relative; margin: 0; }
.film-glow {
  position: absolute;
  inset: 8% 6%;
  width: 88%;
  height: 84%;
  filter: blur(48px) saturate(1.3);
  opacity: 0;
  transform: scale(1.18);
  transition: opacity 1.2s;
  z-index: 0;
}
.film.is-playing .film-glow { opacity: var(--glow, 0); }
.film-frame {
  position: relative;
  z-index: 1;
  width: min(54vw, 920px, calc((100svh - var(--nav-h) - var(--foot-h) - 9rem) * 1.83));
  aspect-ratio: 622 / 340;
  background: #000;
  border: 14px solid var(--frame);
  box-shadow: 0 30px 60px -25px rgba(60, 35, 15, .6), 0 6px 14px -6px rgba(60, 35, 15, .4);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-controls {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: flex;
  gap: .5rem;
}
.film-btn {
  font: 600 .75rem/1 var(--sans);
  letter-spacing: .06em;
  color: var(--ink);
  background: color-mix(in srgb, var(--wall) 88%, transparent);
  backdrop-filter: blur(6px);
  border: 0;
  border-radius: 999px;
  padding: .55rem .9rem .55rem 2rem;
  cursor: pointer;
  position: relative;
  transition: background .2s, color .2s;
}
.film-btn:hover { background: var(--wall); color: var(--red); }
.film-btn::before {
  content: "";
  position: absolute;
  left: .85rem;
  top: 50%;
  width: .7rem;
  height: .7rem;
  transform: translateY(-50%);
  background: currentColor;
}
/* play ▶ / pause ❚❚ */
.film-btn[data-action="play"]::before { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.film-btn[data-action="play"][aria-pressed="true"]::before { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
/* speaker, with sound waves when on */
.film-btn[data-action="sound"]::before { clip-path: polygon(0 30%, 30% 30%, 65% 0, 65% 100%, 30% 70%, 0 70%); }
.film-btn[data-action="sound"][aria-pressed="true"] { background: var(--red); color: #fff; }

/* ---------- The artists ---------- */

.intro h2 { margin-bottom: 1.5rem; }
.intro-text { max-width: 26rem; color: var(--ink-soft); }
.artist-index {
  list-style: none;
  counter-reset: a;
  margin: 1.5rem 0 0;
  padding: 0;
  columns: 2;
  column-gap: 2.5rem;
}
.artist-index li { counter-increment: a; break-inside: avoid; }
.artist-index a {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .32rem 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  text-decoration: none;
}
.artist-index a::before {
  content: counter(a, decimal-leading-zero);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--red);
}

/* ---------- The author ---------- */

.author-head h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.author-text { font-size: .98rem; line-height: 1.68; }
.author-text p:first-child::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: .8;
  padding: .08em .1em 0 0;
  color: var(--red);
}

/* Deep pine green wall, with cream text. The red balloon stands out against it. */
.author { --pine: #2f4a3c; --sand: #f2c9a0; background: var(--pine); color: #f6ecdc; }
.author .eyebrow, .author-text p:first-child::first-letter { color: var(--sand); }
.author a { text-decoration-color: color-mix(in srgb, var(--sand) 70%, transparent); }
.author a:hover { color: #fff; }
.author :focus-visible { outline-color: var(--sand); }
/* Menu items over the dark author and sky walls (site.js) */
.nav-brand.on-dark, .nav nav a.on-dark { color: #f6ecdc; transition: color .2s; }
.nav nav a.on-dark:hover, .nav nav a.on-dark[aria-current="true"] { color: #fff; border-bottom-color: #f2c9a0; }

/* ---------- The book: cover and spreads ---------- */

.book-text { max-width: 24rem; }
.book-text h2 { margin-bottom: 1.25rem; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.book-lede { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; font-weight: 350; color: var(--ink-soft); }
.book-facts { margin: 1.4rem 0 1rem; padding-top: .9rem; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
/* Author and publisher across the full width; the two editions side by side */
.book-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.book-facts div { grid-column: 1 / -1; margin-bottom: .45rem; }
.book-facts .book-edition { grid-column: auto; }
.book-facts dt { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.book-facts dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; }
.book-honours { font-size: .85rem; color: var(--ink-soft); }
.book-links { font-size: .9rem; line-height: 1.8; margin: 0; }
.book-figure { flex: none; margin: 0; }
.book-art { display: block; width: 100%; height: auto; background: var(--frame); }
.book-figure .wall-label--small { margin-top: 1rem; }

/* ---------- Finding the book & credits, under the film's closing sky ---------- */

/* Deep blue to match the pine author wall, with the same cream text and sand accents. */
.sky { background: linear-gradient(var(--sky-top), var(--sky-bottom)); color: #f6ecdc; }
.sky .eyebrow { color: #f2c9a0; }
.sky a { text-decoration-color: color-mix(in srgb, #f2c9a0 70%, transparent); }
.sky a:hover { color: #fff; }
.sky :focus-visible { outline-color: #f2c9a0; }
.order { max-width: 26rem; }
.order h2 { margin-bottom: 1.5rem; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.order p { font-size: 1.05rem; }
.back {
  display: inline-flex;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .85rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .15rem;
}
.credits { display: grid; grid-template-columns: repeat(2, minmax(12rem, 15rem)); gap: 1.2rem 2.5rem; align-content: center; font-size: .85rem; }
.credits-eyebrow { grid-column: 1 / -1; margin-bottom: -.4rem; }
.credits-title { grid-column: 1 / -1; font-size: 1.6rem; margin-bottom: .5rem; }
/* Same face and size as the "Credits" heading */
.special-thanks-title { font-size: 1.6rem; margin: 1.6rem 0 .7rem; }
.credit-heading { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .6rem; }

.credit-group dl { margin: 0; }
.credit-group dl div { margin-bottom: .45rem; }
.credit-group dt { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.credit-group dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; }
.credit-thanks p { margin-bottom: .5rem; line-height: 1.5; }
.copyright { grid-column: 1 / -1; opacity: .7; font-size: .78rem; margin: .5rem 0 0; }

/* ---------- The balloon (scroll progress) ---------- */

.balloon-track {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--foot-h);
  z-index: 40;
  cursor: pointer;
  touch-action: none;
}
.balloon-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 1rem;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent);
  transition: border-color .2s;
}
.balloon-track:hover::before { border-bottom-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.balloon {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  width: 1.7rem;
  height: 3.3rem;
  transform: translateX(var(--bx, 0px));
  cursor: grab;
  touch-action: none;
  border-radius: 50% 50% 40% 40%;
}
/* A larger, invisible area to grab */
.balloon::after { content: ""; position: absolute; inset: -.6rem -.75rem -.4rem; }
.balloon.is-dragging { cursor: grabbing; }
.is-dragging-balloon, .is-dragging-balloon * { user-select: none; cursor: grabbing !important; }
.balloon-body {
  display: block;
  width: 1.7rem;
  height: 2rem;
  border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 34% 30%, #ff9a8a 0 8%, var(--red) 34%, #9e2219 100%);
  box-shadow: 0 6px 12px -6px rgba(120, 20, 10, .6);
  animation: bob 3.2s ease-in-out infinite;
  position: relative;
  transition: scale .2s;
}
.balloon:hover .balloon-body, .balloon.is-dragging .balloon-body { scale: 1.12; }
.balloon-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 6px;
  height: 5px;
  transform: translateX(-50%);
  background: #9e2219;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.balloon-string {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 1.3rem;
  background: var(--ink);
  opacity: .55;
  transform-origin: bottom;
  animation: sway 3.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
@keyframes sway { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }

/* ================= Wide screens: one long horizontal wall ================= */

@media (min-width: 761px) and (min-height: 480px) {
  /* Only the root scrolls. (Overflow set on body as well would turn body into
     its own scroll box and window.scrollX would stay at 0.) */
  html { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }

  .gallery { display: flex; height: 100svh; width: max-content; }

  .panel {
    flex: none;
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
  }

  .hero { padding-left: clamp(2rem, 7vw, 8rem); padding-right: 6rem; gap: clamp(2.5rem, 5vw, 5.5rem); }
  .hero-text { flex: none; max-width: none; width: max-content; }
  .hero h1 { font-size: clamp(3.5rem, min(8.2vw, 14svh), 8.5rem); }
  .hero .lede { width: 26rem; }
  .film-frame { width: min(44vw, 900px, calc((100svh - var(--nav-h) - var(--foot-h) - 9rem) * 1.83)); }
  .intro { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; width: min(44rem, 70vw); padding-left: 2rem; }
  .exhibit { padding-inline: 4.5rem; }
  .exhibit + .exhibit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 7rem;
    transform: translateY(-50%);
    border-left: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  }
  .author { padding-left: 8rem; padding-right: 8rem; align-items: center; }
  .author-text {
    height: min(30rem, calc(100svh - var(--nav-h) - var(--foot-h) - 4rem));
    column-width: 20rem;
    column-gap: 3rem;
    column-fill: auto;
    width: 20rem; /* site.js widens this to fit every column */
  }
  .author-text p { break-inside: avoid-column; }
  /* The cover hangs as large as the wall allows; the spreads a little smaller */
  .book { --art-h: min(30rem, calc(100svh - var(--nav-h) - var(--foot-h) - 8rem)); padding-left: 7rem; padding-right: 7rem; gap: clamp(3rem, 5vw, 5.5rem); }
  .book-text { flex: none; width: 22rem; }
  .book-art { width: auto; height: var(--art-h); }
  .book-figure:not(.book-figure--cover) .book-art { height: calc(var(--art-h) * .82); }
  .sky { padding-left: 8rem; padding-right: 10rem; gap: 6rem; min-width: 100vw; } /* end the wall fully in the sky */
}

/* ================= Narrow screens: the same wall, stacked ================= */

@media (max-width: 760px), (max-height: 479px) {
  :root { --k: 1; --nav-h: 3.5rem; }
  /* Section links become a dropdown behind the Menu button */
  .nav-toggle { display: inline-flex; }
  .nav nav {
    display: none;
    position: absolute;
    top: calc(100% - .25rem);
    right: 1rem;
    flex-direction: column;
    gap: 0;
    min-width: 11rem;
    padding: .4rem 0;
    background: var(--wall);
    border-radius: .75rem;
    box-shadow: 0 18px 36px -16px rgba(40, 25, 15, .45), 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent);
  }
  .nav.is-open nav { display: flex; }
  .nav nav a { font-size: 1rem; padding: .7rem 1.1rem; border-bottom: 0; color: var(--ink); }
  .nav nav a[aria-current="true"] { color: var(--red); }
  .nav { background: color-mix(in srgb, var(--wall) 92%, transparent); backdrop-filter: blur(8px); }
  .panel { padding: 2.5rem 1.25rem; }
  .hero { padding-top: calc(var(--nav-h) + 2rem); }
  .hint-wide { display: none; }
  .hint-narrow { display: inline; }
  .hint-arrow { transform: rotate(90deg); animation: none; }
  .next-stop { display: none; }
  .film { margin-top: 2.5rem; }
  .film-frame { width: 100%; border-width: 8px; }
  .exhibit { display: flex; flex-direction: column; gap: 1.75rem; padding-block: 3rem; }
  .piece { width: 100%; max-width: calc(var(--w) * 1.4px); height: auto; border-width: 7px; }
  .wall-label { width: auto; }
  .book { display: flex; flex-direction: column; gap: 2.5rem; padding-block: 3.5rem; }
  .book-art { border-width: 7px; }
  .author-text { margin-top: 1.5rem; }
  .credits { grid-template-columns: 1fr; margin-top: 3rem; }
  .sky { padding-bottom: 6rem; }
  .balloon-track { height: 3rem; pointer-events: none; }
  .balloon-track::before { display: none; }
  .balloon { pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hint-arrow, .balloon-body, .balloon-string { animation: none; }
  .film-glow { transition: none; }
}
