/* Calina Zhang — personal site
   Black and white, with a little concert red where something should catch the eye.
   Fonts: Bodoni Moda (display) + Inter (text), from Google Fonts */

:root {
  --black: #0a0a0a;
  --ink: #111111;
  --paper: #faf9f7;
  --white: #ffffff;
  --surface: #f1efec;
  --line: #dcd9d4;
  --muted: #5f5c57;          /* small text on paper */
  --on-black: #f4f2ee;
  --muted-on-black: #b3aea6;
  --line-on-black: #2b2a28;

  --red: #d7191f;            /* on paper — the red of the A Loving Concert poster */
  --red-bright: #ff3b3b;     /* on black */

  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Small uppercase labels, the house style for meta text */
.eyebrow, .nav, .hint, .sound, .string-row .what, .case-meta .k, .split .label,
.timeline .when, .next-case .k, .facts .k, .btn, .section-head .note, .footer-row,
.strand-kicker, .act-role, .act-when, .act-go, .now-tag, .crumbs, .back-strand, .ov-foot, .menu-btn {
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}

/* Display type */
.name, .display, .section-head h2, .say, .stat .n, .next-case .t,
.strand, .brand, .strand-title, .ph-letter, .ov-top {
  font-family: var(--display); font-weight: 700; font-optical-sizing: auto;
}
/* the first letter of each string's word, in red */
.cap { color: var(--red); }
.tone-dark .cap, .stage-section .cap, .case-top .cap, .overlay .cap, .site-header .cap { color: var(--red-bright); }

/* Draft banner — remove before launch */
.draft-banner {
  background: var(--surface); color: var(--ink); font-size: 12px; text-align: center;
  padding: 7px var(--gutter); letter-spacing: .02em;
}

/* Page transitions between pages (Chrome, Edge, Safari 18.2+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; }

/* ---------- Header ---------- */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--bar, 72px); gap: 16px;
}
.brand { font-size: 28px; text-decoration: none; letter-spacing: .01em; }
.brand:hover { color: inherit; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: inherit; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; color: inherit; }
.nav .pill { border: 1px solid currentColor; padding: 8px 16px; opacity: 1; transition: background .25s, color .25s; }
.site-header.on-dark { color: var(--on-black); }
.site-header.on-dark .pill:hover { background: var(--on-black); color: var(--black); }

/* ---------- 1. Stage: the name and the four strings, on black ---------- */
.stage-section {
  position: relative; isolation: isolate; padding: 0;
  background: var(--black); color: var(--on-black);
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.stage-section > .wrap { width: 100%; }
.stage-section > :not(.hero-photo) { position: relative; z-index: 1; }
.stage-section > .site-header, .case-top > .site-header { position: relative; z-index: 20; }
/* fine film grain over the photo */
.stage-section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-photo {
  position: absolute; top: var(--bar, 72px); left: 0; right: 0; z-index: 0; pointer-events: none;
  height: min(calc(100svh - var(--bar, 72px)), 1100px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 74%, transparent 100%);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; opacity: .95;
}
/* a gentle darkening on the left and at the bottom, so the name reads over the wall */
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, #0a0a0a8c 0%, #0a0a0a33 38%, transparent 62%),
    linear-gradient(to bottom, transparent 46%, #0a0a0a99 100%);
}

.stage-intro { padding-top: clamp(250px, 56svh, 640px); }
.status {
  display: inline-flex; align-items: center; gap: 12px; color: var(--muted-on-black);
  border: 1px solid #ffffff26; padding: 8px 16px 8px 14px; margin: 0 0 26px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); flex: none; box-shadow: 0 0 0 4px #ef3b4f2e; }
.name {
  margin: 0; color: var(--on-black);
  font-size: clamp(56px, 11vw, 172px); line-height: 1; letter-spacing: -0.025em;
  padding-bottom: .06em;
}
.name span { display: inline-block; animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.name span + span { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(.3em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.strings {
  position: relative; flex: 1; min-height: 620px;
  margin-top: clamp(8px, 2vh, 24px); padding: 72px 0 84px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: crosshair; touch-action: pan-y;
}
.strings-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wire { fill: none; stroke: #ece8e1; stroke-linecap: round; stroke-linejoin: round; transition: stroke 1.2s ease; }
.wire.hot { stroke: var(--red-bright); transition: stroke .08s; }
.w-e { stroke-width: 1; opacity: .85; }
.w-a { stroke-width: 1.4; opacity: .85; }
.w-d { stroke-width: 1.9; opacity: .9; }
.w-g { stroke-width: 2.5; opacity: .9; }

/* labels sit on the strings, lined up with the name */
.string-row { position: relative; height: 0; pointer-events: none; --left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.string-row .strand {
  position: absolute; left: var(--left); bottom: 8px;
  pointer-events: auto; cursor: pointer; background: none; border: 0; padding: 0;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: var(--on-black);
  white-space: nowrap; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.string-row .strand .note { color: var(--red-bright); font-style: italic; font-weight: 800; }
.string-row .what { position: absolute; left: calc(var(--left) + var(--word, 180px)); bottom: 14px; color: #d4cfc7; white-space: nowrap; }
.string-row .why {
  position: absolute; left: calc(var(--left) + 1px); top: 12px;
  font-size: 15px; color: var(--muted-on-black); white-space: nowrap;
  transition: color .4s;
}
.string-row.ringing .strand { transform: translateY(-3px); }
.string-row.ringing .why { color: var(--on-black); }

.strings-note p {
  margin: 0 0 26px; max-width: 40em;
  font-size: 18px; line-height: 1.75; color: #dcd8d1;
}
.strings-note em { font-style: normal; font-weight: 600; color: var(--red-bright); }

.stage-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 32px; color: var(--muted-on-black);
}
.hint { margin: 0; }
.hint .pizz { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--red-bright); margin-left: 8px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.sound {
  background: transparent; border: 1px solid #ffffff33; padding: 9px 16px; color: var(--on-black); cursor: pointer;
  transition: background .25s, border-color .25s;
}
.sound:hover { border-color: var(--on-black); }
.sound[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Paper sections ---------- */
section { padding: 96px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-bottom: 36px; border-top: 1px solid var(--ink); padding-top: 22px;
}
.section-head h2 { font-size: clamp(36px, 4vw, 52px); margin: 0; letter-spacing: -0.015em; line-height: 1.05; }
.section-head .note { color: var(--muted); }

/* Honors */
.honors { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 56px; }
.honors li {
  break-inside: avoid; display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.honors .year { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.about-grid .big { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; margin: 0 0 24px; font-weight: 600; letter-spacing: -0.01em; }
.about-grid p { margin: 0 0 16px; color: #3a3835; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; font-size: 15px; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 20px; align-items: baseline; }
.facts .k { color: var(--muted); width: 120px; flex: none; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; max-width: 460px; background: var(--surface); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; filter: grayscale(1) contrast(1.05); }
.portrait .caption { position: absolute; left: 0; bottom: -30px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 15px 22px; text-decoration: none; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.btn.solid { background: var(--ink); color: var(--paper); }

/* Footer */
.site-footer { padding: 120px 0 44px; background: var(--black); color: var(--on-black); }
.site-footer .say { font-size: clamp(56px, 10vw, 150px); line-height: .95; margin: 0 0 44px; letter-spacing: -0.02em; }
.site-footer .say i { font-style: normal; color: var(--red-bright); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links .btn { border-color: #f4f2ee55; color: var(--on-black); }
.footer-links .btn.solid { background: var(--on-black); color: var(--black); border-color: var(--on-black); }
.footer-links .btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 96px; padding-top: 22px; border-top: 1px solid var(--line-on-black); color: var(--muted-on-black);
}

/* ---------- Case study pages ---------- */
.display { margin: 0; letter-spacing: -0.02em; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.04; }
.case-top { background: var(--black); color: var(--on-black); padding-bottom: 72px; }
.case-top .site-header { color: inherit; }
.case-top .site-header .pill:hover { background: var(--on-black); color: var(--black); }
.case-hero { padding: 44px 0 0; }
.back { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--muted-on-black); }
.back:hover { color: var(--on-black); }
.case-hero .display { margin-top: 22px; font-size: clamp(60px, 11vw, 160px); line-height: .95; }
.case-hero .lede { font-size: 20px; max-width: 34em; margin: 26px 0 0; color: #dcd8d1; }
.case-meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-on-black); font-size: 15px;
}
.case-meta .k { display: block; color: var(--muted-on-black); margin-bottom: 6px; }
.case-cover {
  margin-top: 52px; overflow: hidden; aspect-ratio: 21 / 9; position: relative; background: #161616;
  view-transition-name: var(--vt, none);
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.case-cover img.keep-color, .act-media img.keep-color { filter: none; }

.case-cover .word { position: absolute; left: 34px; bottom: 28px; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; }
.case-cover::after { content: ""; position: absolute; left: 34px; bottom: 18px; width: 32px; height: 2px; background: var(--red-bright); }
.case-cover .ph-note { position: absolute; top: 20px; right: 22px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-black); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.stat { padding: 26px 24px 8px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat .n { font-size: clamp(34px, 3.4vw, 50px); line-height: 1; display: block; white-space: nowrap; }
/* Bodoni's large optical size turns the 4's diagonal into a hairline (744 read as 711).
   The smallest optical size keeps the same face with sturdier thin strokes. */
.stat .n { font-weight: 800; font-variation-settings: "opsz" 6; }
.stat .n .dec { font-size: .5em; vertical-align: .8em; margin-left: .04em; }
.stat .n .plus { font-family: var(--sans); font-weight: 700; font-size: .5em; vertical-align: .62em; margin-left: .08em; color: var(--red); }
.stat .l { font-size: 14px; color: var(--muted); display: block; margin-top: 12px; }

.prose { max-width: 680px; }
.prose p { color: #3a3835; margin: 0 0 16px; }
.prose ul { padding-left: 1.1em; color: #3a3835; margin: 0; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--red); }
.split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
.split .label { color: var(--muted); padding-top: 6px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li::before {
  content: ""; position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.timeline .when { color: var(--muted); }
.timeline h3 { margin: 4px 0 6px; font-weight: 600; font-size: 20px; line-height: 1.25; }
.timeline p { margin: 0; color: #3a3835; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery .ph {
  aspect-ratio: 4 / 3; background: var(--surface);
  display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 12px;
}
.gallery .ph-img { margin: 0; }
.gallery .ph-frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.gallery .ph-img img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05);
  transition: filter .6s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
/* black and white at rest; the real colours come back on hover */
.gallery .ph-img:hover img, .gallery .ph-img.keep-color img { filter: none; }
.gallery .ph-img:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.video { overflow: hidden; background: var(--black); aspect-ratio: 16 / 9; position: relative; color: var(--on-black); }
.video video { width: 100%; height: 100%; display: block; background: var(--black); object-fit: contain; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play span {
  width: 68px; height: 68px; border-radius: 50%; border: 1px solid #ffffff66; display: grid; place-items: center;
  font-size: 18px; padding-left: 4px;
}
.video-cap { margin-top: 14px; font-weight: 600; font-size: 17px; line-height: 1.35; }
.video-cap .sub { font-weight: 400; color: var(--muted); font-size: 14px; display: block; margin-top: 4px; }

.next-case {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 44px 0; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink);
}
.next-case:hover { color: var(--ink); }
.next-case:hover .t:last-child { color: var(--red); transform: translateX(6px); }
.next-case .k { color: var(--muted); display: block; margin-bottom: 6px; }
.next-case .t { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; transition: color .25s, transform .25s; display: inline-block; }

/* ---------- Menu: level 1 in the bar, level 2 in a dropdown ---------- */
.nav .menu-item { position: relative; }
.menu-top { display: inline-flex; align-items: center; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 260px; z-index: 30;
  background: var(--black); border: 1px solid var(--line-on-black); padding: 16px 18px 12px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.menu-item:hover .dropdown, .menu-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-why {
  font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.5;
  color: var(--muted-on-black); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-on-black);
}
.dropdown a {
  font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--on-black);
  text-decoration: none; padding: 6px 0; opacity: 1; display: flex; justify-content: space-between;
}
.dropdown a::after { content: "→"; color: var(--red-bright); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.dropdown a:hover::after { opacity: 1; transform: none; }
.menu-btn { display: none; background: transparent; border: 1px solid currentColor; color: inherit; padding: 8px 14px; cursor: pointer; }

/* Phone menu: everything at once, full screen */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: var(--black); color: var(--on-black);
  overflow-y: auto; padding: 0 0 40px;
}
.ov-bar { display: flex; align-items: center; justify-content: space-between; height: 70px; margin-bottom: 20px; }
.ov-bar .brand { color: var(--on-black); }
.menu-close { background: transparent; border: 1px solid currentColor; color: var(--on-black); padding: 8px 14px; cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.overlay[hidden] { display: none; }
.overlay-inner { display: grid; gap: 34px; }
.ov-top { display: flex; align-items: baseline; gap: 10px; font-size: 40px; line-height: 1; text-decoration: none; color: var(--on-black); }

.ov-col ul { list-style: none; margin: 12px 0 0; padding: 0 0 0 4px; }
.ov-col li a { font-size: 18px; font-weight: 500; text-decoration: none; color: #dcd8d1; line-height: 2.1; }
.ov-foot { display: flex; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line-on-black); }
.ov-foot a { text-decoration: none; color: var(--muted-on-black); }
body.menu-open { overflow: hidden; }


/* ---------- Level 1: the four sections ---------- */
.strand-section { padding: 120px 0 112px; }
.tone-dark { background: var(--black); color: var(--on-black); }
.tone-light { background: var(--paper); color: var(--ink); }
.strand-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: end;
  padding-bottom: 36px; margin-bottom: 48px; border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 22%, transparent);
}
.strand-title { margin: 0; font-size: clamp(72px, 12vw, 190px); line-height: .9; letter-spacing: -0.03em; }
.strand-title .cap { font-style: italic; font-weight: 800; }
.strand-side { padding-bottom: 14px; }
.strand-why { margin: 0; font-size: 17px; line-height: 1.6; opacity: .85; }
.strand-kicker { margin: 14px 0 0; opacity: .65; }

/* ---------- Level 2: activity cards ---------- */
.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.acts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.acts-4 .act h3 { font-size: clamp(20px, 1.7vw, 24px); }
.act { display: block; text-decoration: none; color: inherit; position: relative; }
.act:hover { color: inherit; }
.act-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); color: var(--on-black);
  view-transition-name: var(--vt, none);
}
.acts-2 .act-media { aspect-ratio: 16 / 11; }
.tone-dark .act-media { background: #181818; box-shadow: inset 0 0 0 1px var(--line-on-black); }
.act-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.act:hover .act-media img { transform: scale(1.04); }
.ph-letter {
  position: absolute; right: 22px; bottom: -0.12em; font-style: italic; line-height: 1;
  font-size: clamp(160px, 18vw, 260px); -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.2px currentColor; opacity: .38;
  transition: opacity .4s, transform .8s cubic-bezier(.2,.7,.2,1);
}
.act:hover .ph-letter { opacity: .65; transform: translateY(-6px); }
.act-media::after { content: ""; position: absolute; left: 22px; bottom: 20px; width: 28px; height: 2px; background: var(--red-bright); transition: width .4s; }
.act:hover .act-media::after { width: 56px; }
.act-body { padding-top: 18px; }
.act-n { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.tone-dark .act-n { color: var(--red-bright); }
.act h3 { margin: 6px 0 8px; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.act-role { margin: 0; opacity: .85; }
.act-when { margin: 6px 0 0; opacity: .65; }
.act-desc { margin: 14px 0 0; font-size: 15px; line-height: 1.55; opacity: .8; max-width: 34em; }
.act-go { position: absolute; top: 16px; left: 16px; padding: 6px 10px; background: var(--paper); color: var(--ink); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.act-go::after { content: " →"; color: var(--red); letter-spacing: 0; }
.act:hover .act-go, .act:focus-visible .act-go { opacity: 1; transform: none; }
.now-tag { font-size: 11px; padding: 3px 8px 2px; background: var(--red); color: var(--white); line-height: 1.4; }
.tone-dark .now-tag { background: var(--red-bright); color: var(--black); }

/* ---------- Level 3: activity pages ---------- */
.crumbs { display: flex; align-items: center; gap: 12px; color: var(--muted-on-black); flex-wrap: wrap; }
.crumbs a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--on-black); }
.crumbs a:hover { color: var(--red-bright); }
.case-cover .ph-letter { font-size: clamp(200px, 26vw, 380px); right: 34px; color: var(--on-black); -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .3; }
.slot { font-size: 19px; line-height: 1.6; color: #3a3835; }
.prose .mine { font-size: 19px; line-height: 1.65; color: var(--ink); }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-1 { grid-template-columns: minmax(0, 1fr); }
.pager { padding-top: 40px; }
.back-strand { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; text-decoration: none; color: var(--muted); }
.back-strand:hover { color: var(--red); }

/* ---------- The exhibition: a dark room to walk through ---------- */
.exhibition-page .exh { background: var(--black); color: var(--on-black); }
.exh-kicker { margin: 26px 0 0; color: var(--muted-on-black); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.exh-hero .display { margin-top: 10px; }
.exh-no { font-style: italic; font-weight: 800; color: var(--red-bright); font-size: .32em; margin-left: .35em; vertical-align: .9em; letter-spacing: 0; }
.exh-scroll { margin: 40px 0 0; color: var(--muted-on-black); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

.exh-note { padding: 140px 0 120px; text-align: center; }
.note-label, .exh .pl, .exh .who {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.note-label { color: var(--red-bright); margin: 0 0 30px; }
.exh-note blockquote {
  margin: 0 auto; max-width: 30em;
  font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.5; color: var(--on-black);
}
.note-sign { margin: 34px 0 0; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--muted-on-black); }

.chapter { padding: 150px 0 40px; border-top: 1px solid var(--line-on-black); }
.chapter-head { text-align: center; margin: 0 auto 90px; max-width: 980px; }
.ch-num { display: block; font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1; color: var(--red-bright); font-size: clamp(64px, 9vw, 130px); }
.ch-title { margin: 22px auto 0; max-width: 15em; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -0.015em; }

.plate { margin: 110px auto; text-align: center; }
.plate img {
  display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: 86vh;
  box-shadow: 0 40px 80px -40px #000;
}
.plate figcaption { max-width: 34em; margin: 26px auto 0; }
.plate .pl { display: block; color: var(--muted-on-black); }
.plate .cap {
  display: block; margin-top: 12px;
  font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; color: var(--on-black);
}

.talk { max-width: 640px; margin: 0 auto; }
.talk .line { margin: 0 0 24px; font-size: 18px; line-height: 1.75; color: #cfcac2; }
.talk .line.c { color: var(--on-black); }
.talk .who { display: block; margin-bottom: 4px; color: var(--muted-on-black); }
.talk .line.c .who { color: var(--red-bright); }

.exh-end { padding: 150px 0 110px; text-align: center; border-top: 1px solid var(--line-on-black); }
.end-1 { margin: 0; font-size: 18px; color: #cfcac2; }
.end-2 { margin: 18px 0 0; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(40px, 6.4vw, 96px); line-height: 1.05; }
.motion { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 110px; }
.motion .plate { margin: 0; }
.motion .plate figcaption { margin-top: 14px; }
/* The four centrepieces are one work: hung edge to edge like prints on a wall,
   and sized so all four fit on one screen at once. Each one opens its phase. */
.exh-phases { padding: 130px 0 110px; text-align: center; border-top: 1px solid var(--line-on-black); }
.phases-wrap { max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.exh-phases .note-label { margin: 0 0 48px; }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: min(100%, 182vh); margin: 0 auto; }
.quad figure { margin: 0; }
.quad img { display: block; width: 100%; height: auto; box-shadow: 0 40px 80px -40px #000; }
.quad figcaption { margin-top: 18px; padding: 0 6px; }
.q-num { display: block; font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1; color: var(--red-bright); font-size: clamp(22px, 2vw, 30px); }
.q-t { display: block; margin-top: 10px; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.4; color: #cfcac2; }
.q-open {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-black); text-decoration: none; border: 1px solid #45433f; transition: border-color .2s, color .2s, background .2s;
}
.q-open:hover, .q-open:focus-visible { border-color: var(--red-bright); color: var(--red-bright); }
.q-open:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
.q-short { display: none; }

/* One phase: its centrepiece beside the title, then the conversation */
.phase-hero { padding: 6px 0 90px; }
.phase-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-top: 34px; }
.phase-img { margin: 0; }
.phase-img img { display: block; width: auto; max-width: 100%; height: min(76svh, 820px); box-shadow: 0 40px 80px -40px #000; }
.phase-text .exh-kicker { margin: 0 0 22px; }
.phase-text .ch-title { margin: 22px 0 0; max-width: 12em; text-wrap: balance; }
.phase-back {
  display: inline-block; margin-top: 40px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-on-black); text-decoration: none;
}
.phase-back:hover { color: var(--red-bright); }
.phase-page .chapter { padding-top: 110px; border-top: 0; }
.phase-nav { padding: 70px 0 110px; border-top: 1px solid var(--line-on-black); }
.pn-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; }
.phase-nav a { color: var(--on-black); text-decoration: none; }
.phase-nav .k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-black); }
.phase-nav .t { display: block; margin-top: 10px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
.pn-next { text-align: right; }
.pn-all { align-self: center; padding: 12px 18px; border: 1px solid #45433f; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.phase-nav a:hover .t, .phase-nav a:hover .k, .pn-all:hover { color: var(--red-bright); }
.pn-all:hover { border-color: var(--red-bright); }
.exh-credit { margin: 90px auto 0; max-width: 40em; color: var(--muted-on-black); font-size: 14px; line-height: 1.8; }

.exh .pager { padding-top: 60px; }
.exh .next-case { color: var(--on-black); border-top-color: var(--line-on-black); }
.exh .next-case:hover { color: var(--on-black); }
.exh .next-case .k { color: var(--muted-on-black); }
.exh .back-strand { color: var(--muted-on-black); }
.exh .back-strand:hover { color: var(--red-bright); }

/* Reveal on scroll */
.js .reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }

/* ---------- Photo viewer: click a photo to see it large and zoom in ---------- */
img.zoomable { cursor: zoom-in; }
img.zoomable:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--black); color: var(--on-black); overscroll-behavior: contain;
  animation: lb-in .22s ease;
}
.lb[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-bar { display: flex; align-items: center; gap: 20px; padding: 12px clamp(16px, 3vw, 28px); }
.lb-count, .lb-hint, .lb-cap .lb-k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted-on-black); }
.lb-count { min-width: 64px; }
.lb-hint { flex: 1; text-align: center; }
.lb-hint-touch { display: none; }
.lb-tools { display: flex; gap: 8px; margin-left: auto; }
.lb-btn, .lb-nav {
  height: 44px; min-width: 44px; padding: 0 16px; cursor: pointer;
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-black); background: rgba(255, 255, 255, .06); border: 1px solid #3a3936;
  transition: color .15s, border-color .15s;
}
.lb-btn.lb-z, .lb-nav { padding: 0; font-size: 20px; letter-spacing: 0; }
.lb-btn:hover, .lb-nav:hover { color: var(--red-bright); border-color: var(--red-bright); }
.lb-btn:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.lb-stage { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.lb-img {
  position: absolute; inset: 0; margin: auto; max-width: calc(100% - 180px); max-height: calc(100% - 12px);
  transform-origin: 50% 50%; cursor: zoom-in; -webkit-user-drag: none; filter: none;
}
.lb-img.lb-anim { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.lb.zoomed .lb-img { cursor: grab; }
.lb.zoomed.dragging .lb-img { cursor: grabbing; }
.lb-cap { margin: 0 auto; max-width: 46em; min-height: 64px; padding: 12px 16px 20px; text-align: center; }
.lb-cap .lb-k { display: block; }
.lb-cap .lb-t { display: block; margin-top: 6px; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 18px; line-height: 1.45; }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.lb-prev { left: clamp(16px, 2.4vw, 36px); }
.lb-next { right: clamp(16px, 2.4vw, 36px); }
.lb.single .lb-nav { display: none; }
@media (hover: none) and (pointer: coarse) {
  .lb-hint-mouse { display: none; }
  .lb-hint-touch { display: inline; }
}
@media (hover: none) and (pointer: coarse), (max-width: 640px) {
  .lb-nav { display: none; }
  .lb-img { max-width: 100%; }
}
@media (max-width: 640px) {
  .lb-hint { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .lb { animation: none; }
  @view-transition { navigation: none; }
  .js .reveal, .js .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
  .name span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-item, .nav-plain { display: none; }
  .menu-btn { display: inline-block; }
  .acts, .acts-2, .acts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strand-head { gap: 22px; }
  .about-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .stats, .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .chapter { padding: 100px 0 20px; }
  .chapter-head { margin-bottom: 56px; }
  .plate { margin: 70px auto; }
  .plate img { max-height: none; }
  .exh-no { display: block; margin: 10px 0 0; font-size: .38em; vertical-align: baseline; }
  .exh-phases { padding: 90px 0 80px; }
  .exh-phases .note-label { margin-bottom: 32px; }
  .q-open { margin-top: 10px; padding: 9px 4px; width: 100%; justify-content: center; gap: 4px; letter-spacing: .08em; font-size: 11px; }
  .q-long { display: none; }
  .q-short { display: inline; }
  .phase-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
  .phase-img img { width: auto; height: min(60svh, 560px); max-width: 100%; margin: 0 auto; }
  .phase-page .chapter { padding-top: 70px; }
  .pn-row { grid-template-columns: 1fr 1fr; }
  .pn-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .phase-nav .t { font-size: 18px; }
  .quad { gap: 3px; }
  .quad figcaption { margin-top: 10px; padding: 0; }
  .q-num { font-size: 18px; }
  .q-t { display: none; }
  .talk .line { font-size: 17px; }
  .motion { grid-template-columns: 1fr; gap: 28px; margin-top: 70px; }
  .exh-note { padding: 90px 0 80px; }
  .acts, .acts-2, .acts-4 { grid-template-columns: 1fr; gap: 44px; }
  .act-media, .acts-2 .act-media { aspect-ratio: 4 / 3; }
  .strand-section { padding: 80px 0 72px; }
  .strand-head { grid-template-columns: 1fr; gap: 0; }
  .stats-3 { grid-template-columns: 1fr 1fr; }
  .nav .pill { display: none; }
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  :root { --bar: 64px; }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .stage-intro { padding-top: 52svh; }
  .hero-photo {
    height: 60svh;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 60%, transparent 100%);
  }
  .hero-photo img { object-position: 52% 10%; }
  .hero-photo::after { background: linear-gradient(to bottom, transparent 50%, #0a0a0a99 100%); }
  .strings { min-height: 480px; margin-top: 16px; padding: 56px 0 44px; }
  .string-row .strand { font-size: 32px; }
  .string-row .what { left: calc(var(--left) + 1px); right: var(--gutter); bottom: auto; top: 12px; white-space: normal; letter-spacing: .14em; line-height: 1.6; transition: opacity .3s; }
  .string-row .why { font-size: 15px; top: 10px; opacity: 0; transition: opacity .3s, color .3s; }
  .string-row.ringing .what { opacity: 0; }
  .string-row.ringing .why { opacity: 1; }
  .stage-foot { flex-wrap: wrap; }
  section { padding: 64px 0; }
  .honors { columns: 1; }
  .case-cover { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
}
