/* ==========================================================================
   Ashim Bery — design system
   Signatures: (1) the tone-field circle, (2) liner-note typography,
   (3) slow, breath-paced motion over a grained forest-dark ground.
   ========================================================================== */

:root {
  /* Ground */
  --bg: #0e1410;          /* forest near-black — dominant background */
  --bg-2: #141b16;
  --bg-3: #1b241d;
  --line: rgba(235, 230, 218, 0.14);
  --line-2: rgba(235, 230, 218, 0.28);
  /* Text */
  --text: #ebe6da;        /* limestone */
  --text-2: #b6b09f;      /* sand */
  --text-3: #8f8b7b;
  /* Accents — used sparingly */
  --clay: #cf8259;        /* terracotta */
  --moss: #7d8a5e;
  --steel: #a9aba4;
  /* Paper (inverted feature) */
  --amaltas: #e0ac2e;   /* colour pockets, from the illustration */
  --indigo: #3a55a4;
  --leaf: #4f9a5a;
  --poppy: #c8473f;
  --paper: #e8e2d4;
  --ink: #18201a;
  --ink-2: #4a4f43;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1360px;
  --breath: cubic-bezier(.33, .0, .15, 1);
  --slow: 1100ms;
  --radius: 999px;

  color-scheme: dark;
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; scroll-padding-bottom: calc(var(--dock-h, 0px) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
/* Grain: a fixed, static noise layer. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--clay); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--clay); color: var(--bg); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--bg); }

.label { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 .9em; font-weight: 500; }
.lead { font-family: var(--serif); font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem); line-height: 1.22; color: var(--text); letter-spacing: -.005em; }
.note { font-size: .875rem; color: var(--text-3); border-left: 1px solid var(--clay); padding-left: 12px; }

/* Placeholder system — visible only in draft mode */
.ph { display: inline-flex; align-items: center; gap: .4em; vertical-align: middle; font-family: var(--sans); font-style: normal; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #1a1209; background: #e2b26a; padding: 3px 8px; border-radius: 3px; line-height: 1.3; white-space: nowrap; }
.ph-inline, .ph-link em { color: #e2b26a; font-style: italic; }
.ph-link { color: var(--text-3); }
.draftbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; background: #e2b26a; color: #1a1209; font-size: .8125rem; padding: 6px var(--gutter); text-align: center; line-height: 1.4; }
.draftbar code { font-size: .95em; }
@media (max-width: 700px) { .draftbar__more { display: none; } .draftbar { padding: 4px 16px; } body.draft .dock { bottom: 40px !important; } }
body.draft .dock { bottom: 46px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  transition: background-color .4s var(--breath), color .4s var(--breath), border-color .4s var(--breath);
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { background: var(--clay); color: var(--bg); }
.btn--line { border: 1px solid var(--line-2); }
.btn--line:hover { border-color: var(--text); color: var(--text); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.i-arrow { width: .8em; height: .8em; display: inline-block; vertical-align: -.02em; }

.plinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.plinks a, .plinks .ph-link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; }
.plinks a { border-bottom-color: var(--line-2); min-height: 36px; margin: 4px 0; }
.plinks a:hover { border-bottom-color: var(--clay); }
.plinks--big { gap: 4px 36px; }
.plinks--big a { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 400; min-height: 56px; }

/* --------------------------------------------------------------- header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background-color .6s var(--breath), border-color .6s var(--breath), transform .6s var(--breath);
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { background: rgba(14, 20, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; letter-spacing: .005em; min-height: 44px; }
.top__logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); flex: none; }
.top__nav { margin-left: auto; }
.top__nav ul { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: .9375rem; color: var(--text-2); position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); transform: translateX(-50%) scale(0); transition: transform .5s var(--breath); }
.top__nav a:hover, .top__nav a.is-active { color: var(--text); }
.top__nav a.is-active::after { transform: translateX(-50%) scale(1); }
.top__listen { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-2); font-size: .875rem; font-weight: 500; }
.top__listen svg { width: 12px; height: 12px; }
.top__listen:hover { border-color: var(--clay); color: var(--clay); }
.top__menu { display: none; width: 44px; height: 44px; position: relative; }
.top__menu i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--breath); }
.top__menu i:first-of-type { top: 17px; }
.top__menu i:last-of-type { top: 26px; }
.top__menu[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.top__menu[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 190; background: var(--bg); padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-open .dock, .menu-open .draftbar { display: none; }
.menu ul { display: grid; gap: 2px; }
.menu a { font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 1.15; text-decoration: none; display: block; padding: 2px 0; }
.menu .btn { align-self: flex-start; }

@media (max-width: 860px) {
  .top__nav, .top__listen { display: none; }
  .top__menu { display: block; margin-left: auto; }
}

/* --------------------------------------------------------------- section map (signature 1) */
.map { position: fixed; left: 22px; top: 50%; z-index: 150; transform: translateY(-50%); width: 76px; height: 76px; opacity: 0; transition: opacity .8s var(--breath); }
.map { visibility: hidden; transition: opacity .8s var(--breath), visibility 0s linear .8s; }
.map.is-visible { opacity: 1; visibility: visible; transition: opacity .8s var(--breath), visibility 0s; }
html:not(.js) .map { opacity: 1; visibility: visible; }
.map ol { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 1px solid var(--line); }
.map li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.map a { display: block; width: 13px; height: 17px; border-radius: 50%; border: 1px solid var(--line-2); transform: rotate(var(--r)); transition: background-color .6s var(--breath), border-color .6s var(--breath); }
.map a:hover, .map a:focus-visible { border-color: var(--text); }
.map a.is-active { background: var(--clay); border-color: var(--clay); }
.map .map__ding { left: 50%; top: 50%; }
.map .map__ding a { width: 20px; height: 20px; }
.map__tip { display: none; }
.map__label { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); pointer-events: none; background: rgba(20, 27, 22, .82); padding: 4px 10px; border-radius: 999px; }
.map__label:empty { display: none; }
/* Where the side margin is too narrow, the map floats bottom-left as a small dial, mirroring the Listen dock. */
@media (max-width: 1559px) {
  .map { top: auto; bottom: 20px; left: 20px; transform: none; width: 64px; height: 64px; }
  .map ol { background: rgba(20, 27, 22, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
  .map a { width: 10px; height: 13px; }
  .map .map__ding a { width: 16px; height: 16px; }
  body.draft .map { bottom: 52px; }
}
@media (max-width: 860px) { .map { display: none; } }

/* --------------------------------------------------------------- section scaffolding */
main > section { padding: clamp(88px, 12vw, 180px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; position: relative; }
.sec-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 980px; }
.sec-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.sec-num { font-variant-numeric: tabular-nums; color: var(--clay); }
.sec-num::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 14px; }
.sec-title { font-family: var(--serif); font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6.6rem); line-height: .95; letter-spacing: -.02em; }
.sec-title em { color: var(--text-2); }
.sec-lede { margin-top: 24px; max-width: 46ch; color: var(--text-2); font-size: 1.125rem; }

/* --------------------------------------------------------------- reveal (breath-paced) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--slow) var(--breath), transform var(--slow) var(--breath); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: end; gap: 0 2vw; padding-top: 120px !important; padding-bottom: 48px !important; max-width: none !important; overflow: hidden; }
.hero__text { grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding-bottom: 4vh; }
.hero__descriptor { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: clamp(18px, 3vh, 36px); font-weight: 500; }
.hero__descriptor span[aria-hidden] { color: var(--clay); }
.hero__name { font-family: "Fraunces", var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; font-weight: 400; font-size: clamp(5.2rem, 2rem + 14vw, 17rem); line-height: .8; letter-spacing: -.035em; margin-left: -.04em; }
.hero__name span { display: block; }
.hero__name .l2 { font-style: italic; padding-left: .62em; color: var(--text); }
.hero__headline { font-family: var(--serif); font-size: clamp(1.35rem, 1rem + 1.3vw, 2.1rem); line-height: 1.2; color: var(--text-2); max-width: 22ch; margin: clamp(22px, 4vh, 44px) 0 clamp(24px, 4vh, 40px); }
.hero__headline .accent { color: var(--clay); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Opening stage: the animation in a paper disc. White in the video multiplies away into the paper. */
.hero__stage { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; position: relative; width: min(100%, 70vh, 640px); aspect-ratio: 1; --lvl: 0; margin-bottom: 56px; }
.stage__disc { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: #efe8d8; isolation: isolate; box-shadow: 0 50px 90px -40px rgba(0,0,0,.85); cursor: pointer; transform: scale(calc(1 + var(--lvl) * .012)); }
.stage__video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; transform: scale(1.04); }
.stage__rings { position: absolute; inset: 0; pointer-events: none; }
.stage__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); transform: scale(calc(1 + var(--lvl) * var(--k, .05))); opacity: calc(.45 + var(--lvl) * .9); transition: transform 90ms linear, opacity 90ms linear; }
.stage__rings i:nth-child(1) { inset: 3.5%; --k: .03; }
.stage__rings i:nth-child(2) { inset: 0; border-style: dashed; --k: .06; }
.stage__rings i:nth-child(3) { inset: -4%; border-color: transparent; border-top-color: var(--clay); border-right-color: rgba(207, 130, 89, .3); --k: .1; animation: spin-r 50s linear infinite; }
@keyframes spin-r { to { rotate: 360deg; } }
.hero__stage.is-paused .stage__rings i, .hero__stage.is-paused .stage__chip { animation-play-state: paused; }
.stage__tap { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 9%; }
.stage__chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 13px; border-radius: 999px; background: rgba(14, 20, 16, .78); color: var(--text); font-size: .875rem; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .6s var(--breath), transform .6s var(--breath); animation: chip 3.2s ease-in-out infinite; }
@keyframes chip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hero__stage.has-sound .stage__chip, .hero__stage.was-touched .stage__chip { opacity: 0; transform: translateY(8px); animation: none; }
.stage__chip svg, .stage__btn svg { width: 18px; height: 18px; flex: none; }
.stage__ctl { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); display: flex; gap: 8px; }
.stage__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .875rem; font-weight: 500; white-space: nowrap; transition: border-color .4s var(--breath), background-color .4s var(--breath), color .4s var(--breath); }
.stage__btn:hover { border-color: var(--text); }
.stage__pause { width: 44px; padding: 0; justify-content: center; }
.stage__pause svg { width: 14px; height: 14px; }
.stage__sound.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.hero__stage--credit { margin-bottom: 96px; }
.stage__credit { position: absolute; left: 0; right: 0; top: calc(100% + 60px); text-align: center; font-size: .75rem; color: var(--text-3); margin: 0; }
html:not(.js) .stage__ctl, html:not(.js) .stage__tap, html:not(.js) .inst__mute, html:not(.js) .inst__go { display: none; }
/* Sound + pause icon states */
.i-sound .x { display: none; }
.is-muted .i-sound .w1, .is-muted .i-sound .w2 { display: none; }
.is-muted .i-sound .x { display: inline; }
.i-pause .pl { display: none; }
.hero__stage.is-paused .i-pause .p { display: none; }
.hero__stage.is-paused .i-pause .pl { display: inline; }
.hero__latest { grid-column: 1; grid-row: 2; justify-self: start; display: inline-grid; grid-template-columns: auto auto; column-gap: 14px; align-items: baseline; padding: 14px 20px 14px 0; border-top: 1px solid var(--line-2); text-decoration: none; min-width: min(420px, 100%); }
.hero__latest-k { grid-column: 1 / -1; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 500; }
.hero__latest-t { font-family: var(--serif); font-size: 1.6rem; }
.hero__latest-m { color: var(--text-3); font-size: .875rem; }
.hero__latest:hover .hero__latest-t { color: var(--clay); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.hero__scroll span { width: 1px; height: 14px; background: var(--text-2); position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid var(--text-2); border-bottom: 1px solid var(--text-2); transform: rotate(45deg); }

/* The handpan drawing */
.hp { width: 100%; height: 100%; overflow: visible; }
.hp-body { fill: rgba(169, 171, 164, .035); stroke: var(--line-2); stroke-width: 1; }
.hp-sheen { pointer-events: none; transition: opacity .6s; }
.hp-ticks line { stroke: var(--text-3); stroke-width: .8; opacity: .55; }
.hp-guide { fill: none; stroke: var(--line); stroke-dasharray: 2 6; }
.tf { cursor: pointer; }
.tf-hit { fill: transparent; }
.tf-o { fill: rgba(235, 230, 218, .015); stroke: var(--text-2); stroke-width: 1; transition: stroke .5s var(--breath), fill .5s var(--breath); }
.tf-i { fill: none; stroke: var(--text-3); stroke-width: .8; transition: stroke .5s var(--breath); }
.tf:hover .tf-o, .tf.is-struck .tf-o, .tf.is-hot .tf-o { stroke: var(--text); fill: rgba(207, 130, 89, .08); }
.tf:hover .tf-i, .tf.is-struck .tf-i, .tf.is-hot .tf-i { stroke: var(--clay); }
.tf.is-on .tf-o { stroke: var(--clay); stroke-width: 1.6; fill: rgba(207, 130, 89, .12); }
.tf.is-on .tf-i { stroke: var(--clay); }
.tf.is-struck .tf-o { animation: strike .5s var(--breath); transform-box: fill-box; transform-origin: center; }
@keyframes strike { 30% { transform: scale(.965); } }
.hp.is-breathing .tf-ding.is-struck .tf-o { animation: strike .5s var(--breath), breathe 7s ease-in-out infinite; }
.hp-note { font-family: var(--sans); font-size: 15px; letter-spacing: .08em; fill: var(--text-3); text-anchor: middle; transition: fill .4s var(--breath); }
.hp-note.is-on { fill: var(--clay); }
.hp-ripples circle { fill: none; stroke: var(--clay); stroke-width: 1; animation: ripple 2.6s var(--breath) forwards; transform-box: fill-box; transform-origin: center; }
@keyframes ripple { from { transform: scale(.2); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.hp.is-breathing .tf-ding .tf-o { animation: breathe 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { 0%, 100% { stroke-opacity: .55; } 50% { stroke-opacity: 1; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-items: start; padding-top: 88px !important; min-height: auto; }
  .hero__stage { grid-column: 1; grid-row: 1; width: min(74vw, 360px); justify-self: center; margin: -8px 0 64px; }
  .hero__text { grid-row: 2; padding-bottom: 28px; }
  .hero__latest { grid-row: 3; }
  .hero__scroll { display: none; }
  .hero__name { font-size: clamp(4.2rem, 23vw, 8rem); }
}

/* --------------------------------------------------------------- latest release */
.latest__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
/* Latest release: the cover pressed into a spinning record */
.latest__cover { position: relative; padding: 6% 4% 6% 6%; }
/* An amaltas-yellow sun peeking out behind the record */
.amaltas { position: absolute; left: -3%; top: -9%; width: 40%; z-index: 2; pointer-events: none; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.amaltas .raceme { transform-box: view-box; transform-origin: 46px 0; animation: sway 7s ease-in-out infinite; }
.amaltas .raceme--2 { animation-duration: 8.5s; animation-delay: -3s; }
.amaltas .bloom { transform-box: fill-box; transform-origin: center; animation: bloom 5s ease-in-out infinite; }
.amaltas .petal-fall { animation: fall 9s linear infinite; opacity: 0; }
.amaltas .petal-fall--2 { animation-delay: -4.5s; animation-duration: 11s; }
@keyframes sway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.6deg); } }
@keyframes bloom { 0%, 100% { transform: scale(.95); } 50% { transform: scale(1.04); } }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: .95; } 80% { opacity: .9; } 100% { transform: translate(70px, 420px) rotate(320deg); opacity: 0; } }
.vinyl { position: relative; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .65)); }
.vinyl__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 23%, rgba(255,255,255,.06) 23.4% 24%, transparent 24.4% 60%, rgba(255,255,255,.035) 60.3% 60.8%, transparent 61.2% 78%, rgba(255,255,255,.035) 78.3% 78.8%, transparent 79.2% 96.5%, #3a3a3a 97% 100%),
    repeating-radial-gradient(circle, #121212 0 1.1px, #1b1b1b 1.6px 2.4px),
    #141414;
  box-shadow: 0 0 0 1px rgba(235, 230, 218, .1), inset 0 0 0 1px rgba(255, 255, 255, .04);
  animation: spin 1.8s linear infinite; /* 33⅓ rpm */
}
.vinyl__label { position: absolute; inset: 21.5%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #0c0c0c; }
.vinyl__label img, .vinyl__label .art { width: 100%; height: 100%; object-fit: cover; display: block; }
.vinyl__hole { position: absolute; left: 50%; top: 50%; width: 3%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
@keyframes spin { to { transform: rotate(360deg); } }
/* The light stays put while the record turns under it */
.vinyl__glare { position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 6%, rgba(255,255,255,.16) 10%, transparent 15% 50%, rgba(255,255,255,.11) 59%, transparent 64%);
  -webkit-mask: radial-gradient(circle, transparent 0 21.5%, #000 22%); mask: radial-gradient(circle, transparent 0 21.5%, #000 22%); }
.latest__title { font-family: var(--serif); font-size: clamp(3.2rem, 1.6rem + 6vw, 7.5rem); line-height: .92; letter-spacing: -.025em; margin-bottom: 18px; }
.latest__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-2); font-size: .9375rem; margin-bottom: 28px; }
.latest__meta > *:not(:first-child)::before { content: "·"; margin-right: 18px; color: var(--clay); }
.latest__desc { font-size: 1.125rem; color: var(--text-2); max-width: 48ch; }
.latest__credits { font-size: .9375rem; color: var(--text-3); }
.latest__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 32px 0 40px; }
.latest__video { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.latest__video svg { width: 12px; }
.latest__links { border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 860px) {
  .latest__inner { grid-template-columns: 1fr; }
  .latest__cover { max-width: 460px; width: 100%; margin: 0 auto; }
}

/* Generative placeholder art + photo placeholders */
.art { position: relative; width: 100%; height: 100%; }
.art svg { width: 100%; height: 100%; }
.art-label, .ph-img__label { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: #1a1209; background: #e2b26a; padding: 3px 8px; border-radius: 3px; white-space: nowrap; font-weight: 600; }
.ph-img { position: relative; width: 100%; height: 100%; background: radial-gradient(circle at 35% 30%, #2a3328, var(--bg-3) 60%, var(--bg-2)); overflow: hidden; }
.ph-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-img circle { fill: none; stroke: rgba(235, 230, 218, .1); stroke-width: .3; }
.ph-img__label { bottom: 50%; transform: translate(-50%, 50%); white-space: normal; text-align: center; max-width: 80%; line-height: 1.4; }

/* --------------------------------------------------------------- music index (signature 2: liner notes) */
.idx { border-top: 1px solid var(--line-2); }
.idx__row { border-bottom: 1px solid var(--line); }
.idx summary { list-style: none; display: grid; grid-template-columns: 3.2rem 56px minmax(0, 1fr) 9rem 4rem 32px; align-items: center; gap: 20px; padding: 14px 0; cursor: pointer; min-height: 72px; transition: background-color .4s var(--breath); }
.idx summary::-webkit-details-marker { display: none; }
.idx summary:hover { background: rgba(235, 230, 218, .025); }
.idx summary:hover .idx__title { color: var(--clay); }
.idx__n { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: .875rem; padding-left: 4px; }
.idx__thumb { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: block; }
.idx__thumb img, .idx__thumb .art { width: 100%; height: 100%; object-fit: cover; }
.idx__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1.05; transition: color .4s var(--breath); }
.idx__type, .idx__year { color: var(--text-2); font-size: .875rem; }
.idx__year { font-variant-numeric: tabular-nums; text-align: right; }
.idx__toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; justify-self: end; }
.idx__toggle::before, .idx__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--breath); }
.idx__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .idx__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.idx__panel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 4px 0 24px calc(3.2rem + 56px + 40px); }
.idx__panel p { flex-basis: 100%; margin: 0; color: var(--text-2); max-width: 60ch; }
.idx__credits { flex-basis: 100%; color: var(--text-3); font-size: .9375rem; margin: 0; }
.music__all { margin-top: clamp(56px, 8vw, 110px); }
@media (max-width: 860px) {
  .idx summary { grid-template-columns: 2rem 48px minmax(0, 1fr) 32px; gap: 12px; }
  .idx__thumb { width: 48px; height: 48px; }
  .idx__type { display: none; }
  .idx__year { grid-column: 3; grid-row: 2; text-align: left; margin-top: -10px; font-size: .8125rem; }
  .idx__toggle { grid-column: 4; grid-row: 1 / span 2; }
  .idx__panel { padding-left: 0; }
}

/* --------------------------------------------------------------- the playable handpan */
.music--play { max-width: none !important; background: var(--paper); color: var(--ink); --text: var(--ink); --bg: var(--paper); --text-2: var(--ink-2); --text-3: #5d6155; --line: rgba(24, 32, 26, .14); --line-2: rgba(24, 32, 26, .32); --clay: #a3532d;
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)) !important; padding-right: max(var(--gutter), calc((100% - var(--max)) / 2)) !important; }
.music--play ::selection { background: var(--ink); color: var(--paper); }
.music--play .sec-title em { color: var(--ink-2); }
/* The drawing itself is a dark steel instrument, matching the navigation dial, set on the paper band */
.music--play .hp { --text: #ebe6da; --text-2: #c9c3b3; --text-3: #8f8b7b; --line: rgba(235, 230, 218, .16); --line-2: rgba(235, 230, 218, .3); --clay: #cf8259; }
.music--play .hp-body { fill: #1b221d; stroke: rgba(24, 32, 26, .5); filter: drop-shadow(0 30px 40px rgba(24, 32, 26, .35)); }
.music--play .tf-o { fill: rgba(235, 230, 218, .03); }
.music--play .hp-ticks line { stroke: var(--ink-2); opacity: .45; }
.music--play .hp-note { fill: var(--ink-2); }
.music--play .hp-note.is-on { fill: #a3532d; }
.music--play .hp-note[data-k="ding"] { fill: #8f8b7b; }
.music--play .hp-note[data-k="ding"].is-on { fill: #cf8259; }
.music--play .inst { margin-bottom: 0; }
.music--index { padding-top: clamp(72px, 9vw, 130px) !important; }
.inst { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "pan card" "pan rest"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(80px, 11vw, 150px); }
.inst__card { grid-area: card; }
.inst__rest { grid-area: rest; }
.inst__pan { grid-area: pan; align-self: center; position: relative; max-width: 640px; width: 100%; justify-self: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.inst__pan .hp { aspect-ratio: 1; }
.inst__now { min-height: 168px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.inst__k { color: var(--clay); }
.inst__title { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1; margin: 0 0 12px; }
.inst__meta { color: var(--text-2); margin: 0; }
.inst__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 20px 0 6px; }
.inst__go { min-height: 110px; align-content: flex-start; }
.inst__go[hidden] { display: flex; visibility: hidden; }
.inst__go .plinks { gap: 0 16px; font-size: .9375rem; }
.inst__cover { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.inst__list { margin-top: 28px !important; border-top: 1px solid var(--line); }
.inst__note { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 12px; width: 100%; text-align: left; min-height: 44px; padding: 8px 6px 8px 0; border-bottom: 1px solid var(--line); transition: color .3s var(--breath), background-color .3s var(--breath); }
.inst__note:hover, .inst__note.is-hot { color: var(--clay); background: rgba(235, 230, 218, .02); }
.inst__note[aria-current="true"] { color: var(--clay); }
.inst__n { font-variant-numeric: tabular-nums; font-size: .8125rem; letter-spacing: .08em; color: var(--text-3); }
.inst__note[aria-current="true"] .inst__n { color: var(--clay); }
.inst__t { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.inst__y { font-size: .8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.inst__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 0; font-size: .8125rem; color: var(--text-3); }
.inst__mute { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.inst__mute svg { width: 16px; height: 16px; }
.inst__mute:hover { border-color: var(--text); color: var(--text); }
.music__sub { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1; margin-bottom: 24px; }
.music__sub span { font-family: var(--sans); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 860px) {
  .inst { grid-template-columns: 1fr; grid-template-areas: "card" "pan" "rest"; }
  .inst__now { min-height: 0; padding-top: 18px; }
  .inst__now .inst__meta { min-height: 3em; }
  .inst__pan { max-width: 520px; }
  .hp-note { font-size: 24px; }
  .inst__now { min-height: 150px; }
}

/* --------------------------------------------------------------- live */
.shows { position: relative; border-top: 1px solid var(--line-2); }
.show { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.show__date { display: flex; flex-direction: column; }
.show__day { font-family: var(--serif); font-size: 3.6rem; line-height: .9; }
.show__my { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.show__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.1; }
.show__where { color: var(--text-2); margin: 4px 0 0; }
.show__desc { color: var(--text-3); margin: 6px 0 0; font-size: .9375rem; }
@media (max-width: 700px) { .show { grid-template-columns: 5.5rem 1fr; } .show__cta { grid-column: 2; } .show__day { font-size: 2.8rem; } }
.live__empty { display: grid; gap: 4px; max-width: 760px; border-top: 1px solid var(--line-2); padding-top: 36px; position: relative; }
.live__empty::before { content: ""; position: absolute; right: 0; top: -1px; width: 120px; height: 1px; background: var(--clay); }
.live__empty-big { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.02; margin-bottom: 16px; }
.live__empty-big em { color: var(--text-2); }
.live__empty p:not(.live__empty-big) { color: var(--text-2); max-width: 52ch; }
.live__empty .btn { justify-self: start; margin-top: 12px; }

/* Most recently + selected performances */
.recent { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 8vw, 100px); }
.recent__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; }
.recent__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.recent__title { font-family: var(--serif); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 14px; }
.recent__meta { color: var(--clay); font-size: .9375rem; }
.recent .sec-kicker { background: var(--amaltas); color: var(--ink); padding: 4px 10px; border-radius: 999px; letter-spacing: .12em; }
.recent__body p:not(.sec-meta):not(.recent__meta) { color: var(--text-2); max-width: 46ch; font-size: 1.125rem; }
.recent__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; }
.past { margin-top: clamp(56px, 8vw, 100px); }
.past .strip__title { border-top: 1px solid var(--line-2); padding-top: 24px; margin-bottom: 16px; }
.past__row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) minmax(0, .8fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.past__when { color: var(--text-3); font-size: .875rem; font-variant-numeric: tabular-nums; }
.past__what { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.past__what a { text-decoration-color: var(--line-2); }
.past__where { color: var(--text-2); font-size: .9375rem; }
.case__earlier { margin: 0 0 8px; }
.case__poster { margin: 28px 0 0; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.case__poster img { width: 100%; height: auto; display: block; }
.case__venues { margin: 0; }
.case__venues li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.case__venues span { color: var(--clay); font-variant-numeric: tabular-nums; font-size: .9375rem; }
.case__earlier li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.case__earlier strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--text); margin-right: 8px; }
.case + .case { margin-top: clamp(64px, 9vw, 120px); padding-top: 32px; border-top: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .recent { grid-template-columns: 1fr; }
  .recent__img { max-width: 420px; }
  .past__row { grid-template-columns: 1fr; gap: 2px; }
}

/* Photo strip in Live: a horizontal, snap-scrolling contact sheet */
.strip { margin-top: clamp(64px, 9vw, 120px); }
.strip__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; border-top: 1px solid var(--line-2); padding-top: 24px; margin-bottom: 24px; }
.strip__nav { display: flex; gap: 8px; }
.strip__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1.1rem; }
.strip__btn:hover { border-color: var(--text); }
.strip__list { display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 14px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip__item { flex: 0 0 auto; scroll-snap-align: start; }
.strip__item figure { margin: 0; }
.strip__item img { display: block; height: clamp(280px, 40vw, 480px); width: auto; max-width: 82vw; object-fit: cover; border-radius: 4px; }
.strip__n { color: var(--clay); font-variant-numeric: tabular-nums; margin-right: 4px; }
@media (hover: none) { .strip__nav { display: none; } }

/* --------------------------------------------------------------- about */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__media { position: sticky; top: 110px; }
.frame { margin: 0; overflow: hidden; }
.frame img, .frame .ph-img { width: 100%; height: 100%; object-fit: cover; }
.frame--oval { aspect-ratio: 4 / 5; border-radius: 50% / 40%; }
.frame--circle { aspect-ratio: 1; border-radius: 50%; }
.about__detail { width: 42%; position: absolute; right: -8%; bottom: -10%; border: 6px solid var(--bg); }
.about__text p:not(.lead):not(.note) { color: var(--text-2); max-width: 58ch; font-size: 1.125rem; }
.about__text .lead { margin-bottom: 1.1em; }
.pull { margin: clamp(80px, 10vw, 140px) auto; max-width: 1000px; text-align: center; }
.pull blockquote { margin: 0; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); line-height: 1.08; letter-spacing: -.015em; }
.pull p::before { content: "“"; color: var(--clay); }
.pull p::after { content: "”"; color: var(--clay); }
.pull figcaption { color: var(--text-3); font-size: .9375rem; }
.chaps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); margin-top: clamp(56px, 8vw, 100px); }
.chap { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.chap + .chap { padding-left: 28px; border-left: 1px solid var(--line); }
.chap__n { display: block; color: var(--clay); font-size: .8125rem; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.chap__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.chap__top .chap__n { margin-bottom: 0; }
.chap__icon { width: 64px; height: 64px; overflow: visible; }
.chap__icon .ln { fill: none; stroke: var(--text-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
/* tree: a full canopy turns through the seasons, leaves letting go as each one changes */
.icon-tree .canopy circle { animation: seasons 16s ease-in-out infinite; }
.icon-tree .canopy-line path { fill: none; stroke: var(--text-2); stroke-width: 1.1; stroke-linejoin: round; opacity: .55; }
.icon-tree .leaf { animation: leaf 4s ease-in infinite, seasons 16s ease-in-out infinite; transform-box: fill-box; transform-origin: center; opacity: 0; }
.icon-tree .l2 { animation-delay: 1s, 0s; }
.icon-tree .l3 { animation-delay: 2s, 0s; }
.icon-tree .l4 { animation-delay: 3s, 0s; }
@keyframes seasons { 0%, 20% { fill: #e0ac2e; } 25%, 45% { fill: #5f9a52; } 50%, 70% { fill: #c2662f; } 75%, 95% { fill: #9a9d93; } 100% { fill: #e0ac2e; } }
@keyframes leaf { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: 1; } 55% { transform: translate(5px, 11px) rotate(90deg); } 85% { opacity: 1; } 100% { transform: translate(-2px, 22px) rotate(200deg); opacity: 0; } }
/* chai: steam rises and fades */
.icon-chai .tea { fill: #b8612f; opacity: .55; }
.icon-chai .steam { fill: none; stroke: var(--text-3); stroke-width: 1.2; stroke-linecap: round; opacity: 0; animation: steam 4.5s ease-out infinite; transform-box: fill-box; transform-origin: bottom; }
.icon-chai .s2 { animation-delay: 1.5s; }
.icon-chai .s3 { animation-delay: 3s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px) scaleY(.7); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-6px) scaleY(1.1); } }
/* room: sound ripples out of the arch */
.icon-room .dot { fill: var(--clay); }
.icon-room .ring { fill: none; stroke: var(--clay); stroke-width: 1; opacity: 0; animation: roomring 4.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.icon-room .r2 { animation-delay: 1.4s; }
.icon-room .r3 { animation-delay: 2.8s; }
@keyframes roomring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.chap h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; margin-bottom: 10px; }
.chap p { color: var(--text-2); font-size: .9375rem; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 420px; margin-bottom: 40px; }
  .about__detail { right: 0; bottom: -8%; width: 36%; }
  .chap + .chap { padding-left: 0; border-left: 0; }
}
/* Timeline: a horizontal line of tone-field nodes */
.tl { margin-top: clamp(56px, 8vw, 100px); }
.tl__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 16px; position: relative; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tl__list li { scroll-snap-align: start; display: grid; gap: 6px; padding-right: 24px; position: relative; }
.tl__list li::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--line-2); }
.tl__dot { position: relative; width: 14px; height: 19px; border-radius: 50%; border: 1px solid var(--text-2); background: var(--bg); margin-bottom: 14px; }
.tl__list li:last-child .tl__dot { background: var(--clay); border-color: var(--clay); }
.tl__when { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.tl__what { color: var(--text-2); font-size: .9375rem; line-height: 1.45; max-width: 22ch; }

/* --------------------------------------------------------------- collaborations (case study) */
.collabs { border-top: 1px solid var(--line); }
.case { margin-top: 20px; }
.case__head { display: grid; gap: 10px; margin-bottom: 40px; }
.case__partner { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0; font-weight: 500; }
.case__project { font-family: var(--serif); font-size: clamp(2.4rem, 1.4rem + 4vw, 5.2rem); line-height: .98; letter-spacing: -.02em; }
.case__stills { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: clamp(10px, 1.5vw, 20px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.still { margin: 0; overflow: hidden; }
.still--1 { aspect-ratio: 4 / 3; }
.still--2 { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.still--3 { aspect-ratio: 1; border-radius: 50%; margin-bottom: 8%; }
.still img, .still .ph-img { width: 100%; height: 100%; object-fit: cover; }
.case__stills--1 { grid-template-columns: 1fr; }
.case__stills--1 .still--1 { aspect-ratio: 16 / 8.5; border-radius: 4px; }
.case__stills--1 .still--1 img { object-position: 50% 45%; }
.case__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); }
.case__meta { margin: 0; border-top: 1px solid var(--line-2); }
.case__meta div { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case__meta dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.case__meta dd { margin: 0; color: var(--text); }
.case__text p:not(.lead) { color: var(--text-2); max-width: 58ch; }
.case__text h4 { margin-top: 28px; }
.case__links { list-style: none; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.case--brief { border-top: 1px solid var(--line-2); padding-top: 28px; }
.case__brief { color: var(--text-2); margin-top: 8px; }
/* Shared stages: a masonry of photos with other artists */
.shared { margin-top: clamp(64px, 9vw, 120px); }
.shared__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; border-top: 1px solid var(--line-2); padding-top: 24px; margin-bottom: 28px; }
.shared__title, .strip__title { font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1; }
.shared__head p { color: var(--text-2); margin: 0; }
.mosaic { columns: 3 260px; column-gap: clamp(12px, 1.6vw, 22px); }
.mosaic__tile { margin: 0 0 clamp(12px, 1.6vw, 22px); break-inside: avoid; }
.mosaic__tile img { width: 100%; height: auto; display: block; border-radius: 4px; }
.mosaic__tile--3 img { border-radius: 999px 999px 4px 4px; }
.mosaic__tile figcaption, .strip figcaption { font-size: .8125rem; color: var(--text-3); padding-top: 8px; letter-spacing: .02em; }
.open { margin-top: clamp(64px, 9vw, 120px); padding-top: 32px; border-top: 1px solid var(--line); }
.open__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.open__list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; background: var(--dot, var(--amaltas)); }
.open__list li:nth-child(4n+2) { --dot: var(--indigo); }
.open__list li:nth-child(4n+3) { --dot: var(--poppy); }
.open__list li:nth-child(4n+4) { --dot: var(--leaf); }
.open__list li { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 16px; font-size: .9375rem; color: var(--text-2); }
@media (max-width: 860px) {
  .case__grid { grid-template-columns: 1fr; }
  .case__stills { grid-template-columns: 1fr 1fr; }
  .still--1 { grid-column: 1 / -1; }
  .case__meta div { grid-template-columns: 6.5rem 1fr; }
}

/* --------------------------------------------------------------- videos */
.videos__grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.videos__rest { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.vid { margin: 0; }
.vid__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); border-radius: 4px; }
.vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid__play { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vid__play img, .vid__play .ph-img, .vid__play .art { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.78); transition: filter .8s var(--breath), transform 1.4s var(--breath); }
.vid__play:hover img { filter: saturate(.95) brightness(.9); transform: scale(1.025); }
.vid__btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: rgba(14, 20, 16, .35); border: 1px solid rgba(235, 230, 218, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .5s var(--breath); }
.vid__btn::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(235, 230, 218, .25); }
.vid__btn svg { width: 22px; height: 22px; margin-left: 3px; }
.vid__play:hover .vid__btn { background: var(--clay); }
.vid--big .vid__btn { width: 104px; height: 104px; }
.vid figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 14px; }
.vid__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.vid--big .vid__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.vid__meta { color: var(--text-3); font-size: .875rem; }
.videos__more { margin-top: 40px; }

/* --------------------------------------------------------------- what's next */
.next { max-width: none !important; background: var(--amaltas); color: var(--ink); --text: var(--ink); --bg: var(--amaltas); --text-2: #3b3420; --text-3: #4d4530; --line: rgba(24, 32, 26, .18); --line-2: rgba(24, 32, 26, .35); --clay: #6b2f12;
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)) !important; padding-right: max(var(--gutter), calc((100% - var(--max)) / 2)) !important; }
.next ::selection { background: var(--ink); color: var(--amaltas); }
.next .sec-title em { color: #3b3420; }
.next__card p { color: #3b3420; max-width: 52ch; }
.next__art { box-shadow: 0 24px 50px -24px rgba(24, 32, 26, .6); }
.next__card { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.next__art { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.next__title { font-family: var(--serif); font-size: 2.4rem; margin-bottom: 10px; }
.next__preview { border: 1px dashed var(--line-2); padding: 40px; border-radius: 6px; }
.next__whisper { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--text-2); margin: 16px 0 0; }

/* --------------------------------------------------------------- instrument (paper inversion) */
.ins { max-width: none !important; background: var(--paper); color: var(--ink); --text-2: var(--ink-2); --text-3: #5d6155; --line: rgba(24, 32, 26, .14); --line-2: rgba(24, 32, 26, .3); --clay: #a3532d; }
.ins ::selection { background: var(--ink); color: var(--paper); }
.ins :focus-visible { outline-color: var(--ink); }
.ins a:hover { color: var(--clay); }
.ins__inner { max-width: var(--max); margin: 0 auto; }
.ins .sec-title em { color: var(--ink-2); }
.ins__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.ins__fig { margin: 0; position: sticky; top: 110px; }
.ins__fig figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 18px; max-width: 46ch; }
.xs { width: 100%; height: auto; overflow: visible; }
.xs path, .xs line { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.xs .xs-ding, .xs .xs-field { stroke: var(--clay); stroke-width: 1.6; }
.xs .xs-gu { stroke-dasharray: 3 4; }
.xs .xs-rim { stroke-dasharray: 1 5; stroke: var(--ink-2); }
.xs-lab line { stroke: var(--ink-2); stroke-width: .7; }
.xs-lab text { font-family: var(--sans); font-size: 13px; fill: var(--ink-2); letter-spacing: .06em; }
.ins__parts { border-top: 1px solid var(--line-2); }
.ins__part { display: grid; grid-template-columns: 6.5rem 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.ins__when { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--clay); }
.ins__part h3 { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1.05; margin-bottom: 12px; }
.ins__part p { color: var(--ink-2); max-width: 60ch; }
.ins__sources { margin-top: 40px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.ins__sources summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; }
.ins__sources ul { padding-left: 1.1em; columns: 2 320px; color: var(--ink-2); font-size: .9375rem; }
.ins__sources li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 860px) {
  .ins__grid { grid-template-columns: 1fr; }
  .ins__fig { position: relative; top: 0; }
  .ins__part { grid-template-columns: 1fr; gap: 6px; }
}

/* --------------------------------------------------------------- contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__side p { color: var(--text-2); }
.contact__side .lead { color: var(--text); }
.contact__for { margin: 0 0 32px !important; border-top: 1px solid var(--line); }
.contact__for li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.contact__direct { margin-top: 24px; }
.contact__direct a { color: var(--text); font-weight: 500; }
.contact__social { margin-top: 32px; }
.form { display: grid; gap: 22px; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); border-radius: 6px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend, .field label { font-size: .875rem; font-weight: 500; color: var(--text); margin-bottom: 10px; display: block; padding: 0; }
.opt { color: var(--text-3); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-2); font-size: .875rem; color: var(--text-2); transition: all .4s var(--breath); }
.chip input:checked + span { background: var(--indigo); color: #f4f1ea; border-color: var(--indigo); }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.chip:hover span { border-color: var(--text); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; padding: 12px 14px; min-height: 48px; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.field [aria-invalid="true"] { border-color: #e48a6a; }
.field__err { color: #f0a080; font-size: .875rem; margin: 6px 0 0; min-height: 0; }
.field__err:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form__note { margin: 0; font-size: .875rem; color: var(--text-3); max-width: 36ch; }
.form__status { margin: 0; font-size: .9375rem; }
.form__status:empty { display: none; }
.form__status.is-error { color: #f0a080; }
.form__status.is-ok { color: var(--moss); color: #b9c48f; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 56px var(--gutter) 120px; }
.foot__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px 48px; align-items: start; }
.foot__logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 7px var(--bg), 0 0 0 8px var(--line); }
.foot__name { font-family: var(--serif); font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.foot__desc { color: var(--text-3); font-size: .875rem; }
.foot__nav ul { display: grid; gap: 0; }
.foot__nav a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--text-2); }
.foot__nav a:hover { color: var(--clay); }
.foot__links .plinks { gap: 4px 20px; font-size: .9375rem; }
.foot__legal { grid-column: 1 / -1; font-size: .8125rem; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 22px; margin: 8px 0 0; }
@media (max-width: 860px) { .foot__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- listen dock (persistent player) */
.dock > * { pointer-events: auto; }
.dock { pointer-events: none; position: fixed; right: max(16px, calc(var(--gutter) - 16px)); bottom: 20px; z-index: 220; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dock__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 14px; border-radius: var(--radius); background: var(--text); color: var(--bg); font-weight: 600; font-size: .9375rem; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); transition: background-color .4s var(--breath), transform .6s var(--breath); }
.dock__toggle:hover { background: var(--clay); }
.dock__ring { width: 26px; height: 26px; }
.dock[data-playing="true"] .dock__ring .r2 { animation: ringpulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ringpulse { 0%, 100% { transform: scale(.8); opacity: .5; } 50% { transform: scale(1.12); opacity: 1; } }
.dock__panel { width: min(400px, calc(100vw - 32px)); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85); }
.dock__panel[hidden] { display: none; }
.dock[data-state="min"] .dock__panel { display: none; }
.dock__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dock__now { margin: 0; line-height: 1.3; }
.dock__now .label { display: block; margin-bottom: 4px; }
.dock__title { font-family: var(--serif); font-size: 1.35rem; }
.dock__ctl { display: flex; gap: 4px; }
.dock__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.dock__icon svg { width: 14px; height: 14px; }
.dock__icon:hover { border-color: var(--text); }
.dock__player iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; background: var(--bg-3); }
.dock__player .dock__empty { font-size: .875rem; color: var(--text-2); background: var(--bg-3); border-radius: 10px; padding: 16px; margin: 0; }
.dock__links { margin-top: 10px; font-size: .875rem; }
.dock__links .plinks { gap: 0 16px; }
@media (max-width: 600px) {
  .dock { right: 12px; left: 12px; bottom: 12px; align-items: stretch; }
  .dock__toggle { align-self: flex-end; }
  .dock__panel { width: 100%; }
}

/* --------------------------------------------------------------- 404 + prose pages */
.nf, .prose { min-height: 80vh; padding: 160px var(--gutter) 100px !important; max-width: 900px; margin: 0 auto; position: relative; }
.nf__title { font-family: var(--serif); font-size: clamp(3rem, 2rem + 5vw, 6.5rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 28px; }
.nf__title em { color: var(--text-2); }
.nf > p, .prose p { color: var(--text-2); max-width: 60ch; font-size: 1.125rem; }
.prose h2 { font-family: var(--serif); font-size: 2rem; margin: 40px 0 12px; }
.nf__ring { position: absolute; right: -10vw; top: 100px; width: 50vw; max-width: 560px; aspect-ratio: 1; pointer-events: none; z-index: -1; }
.nf__ring i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.nf__ring i:nth-child(2) { inset: 15%; }
.nf__ring i:nth-child(3) { inset: 30%; border-color: var(--clay); opacity: .5; }

/* --------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hp-ripples circle { display: none; }
  .stage__rings i, .stage__disc { transform: none !important; }
}

/* Forced colours / high contrast */
@media (forced-colors: active) {
  .btn, .chip span, .dock__toggle { border: 1px solid ButtonText; }
  body::after { display: none; }
}

@media print {
  body::after, .top, .dock, .map, .draftbar { display: none !important; }
  body { background: #fff; color: #000; }
}
