/* ─────────────────────────────────────────────────────────────
   Hyeseung Kim — personal site
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #ffffff;
  --ink: #0f0f0f;
  --ink-2: #3a3a3a;
  --muted: #8b8b88;
  --line: #e9e8e4;
  --soft: #f5f4f1;
  --accent: #2f4cff;

  --sans: 'Inter Tight', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --topbar: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

/* nothing may poke out sideways (a thrown guitar, a tilted sleeve): on iPhone that lets the page zoom out */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }

.eyebrow, .label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.hint { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 16px; margin: 0; }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--topbar);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 14px;
}
.tabs { display: flex; gap: 4px; margin-left: auto; }
.accent-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-left: -8px; }
.accent-dot i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.accent-wrap { position: relative; flex: none; }
.sound-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-left: 4px; transition: background .2s; }
.sound-btn:hover { background: var(--soft); }
.sound-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .spk { fill: var(--ink); }
.sound-btn .mute { display: none; stroke: var(--accent); }
.sound-btn.is-off .wave { display: none; }
.sound-btn.is-off .mute { display: block; }
.accent-dot:hover i { transform: scale(1.15); }
.accent-dot i { transition: transform .3s var(--ease); }
.swatches {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50;
  display: flex; flex-direction: column; gap: 2px; padding: 8px; min-width: 168px;
  background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -20px rgba(0,0,0,.25);
}
.swatch { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 13px; text-align: left; }
.swatch:hover { background: var(--soft); }
.swatch i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); flex: none; }
.swatch[aria-selected='true'] i { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c); }
.swatch[aria-selected='true'] { font-weight: 600; }
.tab-btn {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: background .25s, color .25s;
}
.tab-btn { display: inline-flex; align-items: center; gap: 6px; }
.tab-btn .num { display: none; }
.tab-ico { width: 22px; height: 22px; margin: -4px 0 -4px -4px; transition: transform .4s var(--ease); }
.tab-ico:not([src]) { display: none; }
.tab-btn:hover .tab-ico { transform: translateY(-2px) rotate(-8deg); }
.tab-btn:hover { background: var(--soft); }
.tab-btn[aria-current='page'] { background: var(--ink); color: #fff; }
.tab-btn[aria-current='page'] .num { color: rgba(255, 255, 255, .5); }

/* ── Tabs ────────────────────────────────────────────────── */
.tab { min-height: 100vh; }
.page-head {
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--topbar) + clamp(48px, 10vw, 120px)) var(--gutter) clamp(40px, 7vw, 80px);
}
.page-title {
  font-size: clamp(64px, 14vw, 200px);
  font-weight: 600; letter-spacing: -.055em; line-height: .9;
  margin: 18px 0 28px;
}
.page-lead {
  max-width: 34ch;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.18;
  margin: 0;
}
.chips { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.chip {
  text-decoration: none; font-size: 14px;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Home / hero ─────────────────────────────────────────── */
.hero { height: 520vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback {
  position: absolute; inset: 0; margin: 0;
  display: none; place-items: center; text-align: center;
  font-size: clamp(40px, 9vw, 120px); letter-spacing: -.05em; font-weight: 600;
}
.no-webgl .hero-fallback { display: grid; }

.chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter {
  position: absolute; left: var(--x); top: var(--y);
  pointer-events: auto;
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  will-change: transform;
}
.chapter-ico { width: clamp(44px, 4.6vw, 64px); height: auto; align-self: center; margin-right: 2px; transition: scale .5s var(--ease); }
.chapter-ico:not([src]) { display: none; }
.chapter:hover .chapter-ico { scale: 1.15; }
.chapter-num { font-size: 11px; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.chapter-word {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1;
  position: relative;
}
.chapter-word::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.chapter:hover .chapter-word::after, .chapter:focus-visible .chapter-word::after { transform: scaleX(1); }
.chapter:hover { color: var(--accent); }
.chapter { touch-action: none; user-select: none; -webkit-user-select: none; }
.chapter img { -webkit-user-drag: none; pointer-events: none; }
.chapter.is-dragging { cursor: grabbing; z-index: 5; }
.chapter.is-dragging .chapter-ico { scale: 1.25; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { width: 1px; height: 36px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after {
  content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

.home-outro {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(80px, 14vw, 180px) var(--gutter) clamp(80px, 12vw, 160px);
  border-top: 1px solid var(--line);
}
.outro-text {
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.01em;
  max-width: 24ch; margin: 22px 0 18px;
}
.outro-tag { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); margin: 0 0 52px; }
.outro-meta { display: flex; flex-wrap: wrap; gap: 28px 72px; align-items: baseline; }
.outro-meta .label { display: block; margin-bottom: 6px; }
.outro-links { display: flex; gap: 22px; flex-wrap: wrap; }
.outro-links a, .footer-links a {
  text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.outro-links a:hover, .footer-links a:hover { border-color: var(--ink); }

/* ── Work ────────────────────────────────────────────────── */
.career {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px;
}
.career-stick { position: sticky; top: calc(var(--topbar) + 28px); }
/* the brick figure that grows younger down the list (desktop only) */
.person-canvas { display: block; width: 100%; max-width: 300px; aspect-ratio: 3 / 4; margin-top: 18px; cursor: grab; touch-action: pan-y; }
.person-canvas:active { cursor: grabbing; }
.person-hint { font-size: 14px; margin-top: 4px; }
/* phones: she rides along in the corner while the career list is on screen */
@media (max-width: 860px) {
  .person-hint { display: none; }
  .person-canvas {
    position: fixed; right: 8px; bottom: 10px; z-index: 20; width: 104px; margin: 0;
    opacity: 0; translate: 0 30px; pointer-events: none; transition: opacity .4s, translate .4s var(--ease);
  }
  .person-canvas.on { opacity: 1; translate: 0 0; pointer-events: auto; }
}
.career-list { list-style: none; margin: 0; padding: 0; }
.career-group { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 34px 0 10px; }
.career-group:first-child { padding-top: 0; }
.career-item {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.career-item:last-child { border-bottom: 1px solid var(--line); }
.career-period { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 6px; }
.career-org { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.career-role { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); margin: 2px 0 12px; }
.career-text { margin: 0; color: var(--ink-2); max-width: 58ch; }
.inline-go { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-go:hover { text-decoration-thickness: 2px; }

.laptop-section {
  background: var(--soft);
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(80px, 12vw, 160px);
  overflow: hidden;
}
.laptop-head {
  max-width: var(--maxw); margin: 0 auto 24px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}

/* the laptop, built in CSS 3D */
.laptop-stage {
  --w: min(820px, 88vw);
  --lidh: calc(var(--w) * .63);
  perspective: 2400px;
  --po: 55%; /* eye height: level with the closed laptop, raised as it opens */
  perspective-origin: 50% var(--po);
  display: flex; justify-content: center;
  padding-top: 20px;
}
.laptop {
  --lid: -90deg; /* closed: flat on the base, so it always reads as a closed lid while you scroll */
  position: relative;
  width: var(--w);
  height: calc(var(--lidh) + var(--w) * .1);
  transform-style: preserve-3d;
}
.laptop .lid {
  position: absolute; left: 4%; right: 4%;
  bottom: calc(var(--w) * .1);
  height: var(--lidh);
  transform-origin: 50% 100%;
  transform: rotateX(var(--lid));
  transform-style: preserve-3d;
}
.lid-front, .lid-back {
  position: absolute; inset: 0;
  border-radius: calc(var(--w) * .022) calc(var(--w) * .022) 4px 4px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.lid-front { background: #161616; padding: 2.2% 2.2% 3.4%; box-shadow: inset 0 0 0 1px #2b2b2b; }
.lid-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #e9e9e6, #cfcfcb);
  display: grid; place-items: center;
}
.lid-back span {
  width: 13%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .55); color: #9a9a96; font-weight: 600; font-size: calc(var(--w) * .03);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 4px; overflow: hidden; background: #fff;
}
.screen-off { position: absolute; inset: 0; z-index: 3; background: #0b0b0b; pointer-events: none; }
.deck {
  position: absolute; left: 0; right: 0;
  bottom: calc(var(--w) * .1);
  height: calc(var(--w) * .62);
  transform-origin: 50% 100%;
  transform: rotateX(90deg) translateZ(0);
  transform-style: preserve-3d;
  background: linear-gradient(#d9d9d5, #e7e7e3);
  border-radius: 6px 6px calc(var(--w) * .03) calc(var(--w) * .03);
  display: none;
}
.base-front {
  position: absolute; left: 0; right: 0; bottom: calc(var(--w) * .1 - var(--w) * .024);
  height: calc(var(--w) * .024);
  background: linear-gradient(#e2e2de, #b9b9b5);
  border-radius: 0 0 calc(var(--w) * .03) calc(var(--w) * .03) / 0 0 calc(var(--w) * .02) calc(var(--w) * .02);
  box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .35);
}
.base-front .notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14%; height: 40%; border-radius: 0 0 8px 8px; background: #c9c9c5;
}
.laptop-hit { position: absolute; inset: 0; z-index: 2; }
/* an iced americano beside the laptop; its ice melts while the laptop is open */
.laptop-stage { position: relative; }
.laptop-prompt {
  position: absolute; left: 0; right: 0; top: 34%; text-align: center; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.05; color: var(--ink);
}
.laptop-prompt small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.laptop[data-open='true'] .laptop-hit { display: none; }
.laptop[data-open='false'] { cursor: pointer; }

/* laptop "OS" */
.os { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: clamp(11px, 1.45vw, 14px); }
.os-bar {
  flex: none; height: 2.6em;
  display: flex; align-items: center; gap: 6px; padding: 0 1em;
  border-bottom: 1px solid var(--line); background: #fafaf8;
}
.os-bar i { width: .8em; height: .8em; border-radius: 50%; background: #e2e2de; }
.os-bar i:first-child { background: #ff6159; }
.os-title { flex: 1; text-align: center; color: var(--muted); font-size: .92em; }
.os-close { position: relative; z-index: 2; font-size: .85em; color: var(--muted); padding: .5em 1em; margin: -.4em -.6em -.4em 0; border-radius: 6px; }
.os-close::after { content: ''; position: absolute; inset: -10px -14px; } /* a bigger target than it looks */
.os-close:hover { background: var(--soft); color: var(--ink); }
.os-body { position: relative; flex: 1; overflow: hidden; }
.os-list, .os-detail {
  /* nothing inside the screen scrolls on its own: the wheel keeps moving the page */
  position: absolute; inset: 0; overflow: hidden;
}
.os-list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-content: safe center;
  gap: 1.2em .4em; padding: 1.2em 1.6em;
}
.os-obj {
  display: flex; flex-direction: column; align-items: center; gap: .5em;
  padding: .4em 0; border-radius: 10px;
}
.os-obj img {
  width: 100%; max-width: 11em; aspect-ratio: 1; object-fit: contain;
  transition: transform .45s var(--ease), filter .45s var(--ease);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .08));
}
.os-obj img:not([src]) { visibility: hidden; }
.os-obj:hover img { transform: translateY(-6%) rotate(-3deg) scale(1.04); filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .12)); }
.os-obj span { font-weight: 600; letter-spacing: -.01em; font-size: 1.05em; line-height: 1.15; text-align: center; text-wrap: balance; }
.os-obj small { color: var(--muted); font-size: .8em; margin-top: -.35em; }
.os-detail { background: #fff; transform: translateX(100%); overflow: hidden; }
.deck-host .proj { overflow-y: auto; } /* the phone version is its own full-screen sheet */
.deck-host { position: relative; width: 100%; height: min(78vh, 640px); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #fff; font-size: 15px; }

/* ── Visual ──────────────────────────────────────────────── */
.v-block { padding: 0 var(--gutter) clamp(80px, 10vw, 140px); max-width: var(--maxw); margin: 0 auto; }
.block-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 28px;
}
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.video-card { text-align: left; display: block; }
.video-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: #111; box-shadow: 0 0 0 1px var(--line);
}
.video-screen img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease), opacity .4s; }
.video-screen .noise {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), radial-gradient(circle at 30% 30%, #2a2a2a, #0b0b0b);
}
.video-card:hover img { transform: scale(1.04); opacity: 1; }
.play {
  /* a little paper sticker with a hand-written "play" */
  position: absolute; left: 10px; bottom: 10px; rotate: -5deg;
  padding: 3px 10px 1px 9px; background: #fbf8f0; color: #2b2b2b;
  font-family: 'Reenie Beanie', var(--serif); font-size: 21px; line-height: 1;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 6px 12px -6px rgba(0,0,0,.4);
  clip-path: polygon(0 4%, 96% 0, 100% 92%, 3% 100%);
  transition: rotate .35s var(--ease), scale .35s var(--ease);
  pointer-events: none;
}
.play::before { content: '▸ play'; }
.video-card:hover .play, .muse:hover .play, .stack:hover .play { rotate: 0deg; scale: 1.06; }
.video-card .soon { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .08em; }
.video-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.video-meta .t { font-weight: 600; letter-spacing: -.01em; }
.video-meta .r { color: var(--muted); font-size: 14px; }

/* ── Frames: photo table + spread ────────────────────────── */
.photo-table {
  max-width: 1440px; margin: 0 auto clamp(70px, 9vw, 120px); padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(44%, 250px), 1fr)); gap: clamp(36px, 5vw, 70px) clamp(18px, 3vw, 44px);
  align-items: end;
}
.stack { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.pile { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.print {
  position: absolute; left: 50%; top: 50%;
  width: calc(min(100%, 100% * var(--r)) * .86); aspect-ratio: var(--r);
  margin-left: calc(min(100%, 100% * var(--r)) * -.43); margin-top: calc(min(100%, 100% * var(--r)) * -.43 / var(--r));
  background: #fff; padding: 1%; box-sizing: border-box; will-change: transform;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 10px 22px -16px rgba(0,0,0,.28);
}
.print img { width: 100%; height: 100%; object-fit: cover; display: block; }
.print .play { font-size: 18px; }
.stack-label { display: flex; flex-direction: column; gap: 2px; }
/* desktop: piles a little larger */
@media (min-width: 861px) {
  .photo-table { max-width: 1760px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 72px); }
  .print {
    width: calc(min(100%, 100% * var(--r)) * .98);
    margin-left: calc(min(100%, 100% * var(--r)) * -.49); margin-top: calc(min(100%, 100% * var(--r)) * -.49 / var(--r));
  }
}
.stack-label b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; transition: color .25s; }
.stack-label span { font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.stack:hover .stack-label b { color: var(--accent); }
.spread { position: fixed; inset: 0; z-index: 58; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.spread-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  padding: 18px var(--gutter); background: linear-gradient(#fff 70%, rgba(255,255,255,0));
}
.spread-back { font-size: 13px; letter-spacing: .08em; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex: none; }
.spread-back:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.spread-title { margin: 0; font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.spread-meta { margin: 6px 0 0; font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 18px; }
.spread-grid { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); padding: 10px var(--gutter) 80px; }
.project { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 18px); }
.project-grid {
  /* always an even number of columns, so landscape frames (two columns wide) sit two to a row */
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 18px);
}
.spread-item { display: flex; flex-direction: column; gap: 8px; text-align: left; will-change: transform; }
.spread-item.wide { grid-column: span 2; }
@media (max-width: 700px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spread-item img, .spread-item .ph { width: 100%; aspect-ratio: var(--r); object-fit: cover; display: grid; place-items: center; transition: transform .8s var(--ease); }
.spread-item:hover img { transform: scale(1.02); }
.spread-cap { font-size: 13px; color: var(--muted); }
.spread-film { width: min(100%, 1100px); aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.spread-film iframe { width: 100%; height: 100%; border: 0; display: block; }
.project-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 18px 0 2px; border-top: 1px solid var(--line); }
.project:first-child .project-head { border-top: 0; padding-top: 0; }
.project-head h4 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3vw, 38px); }
.project-head p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.diary {
  position: relative; align-self: start; rotate: var(--tilt); margin: 14px 6px;
  background: #fbf8f0; padding: 26px 22px 30px; will-change: transform;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 30px -20px rgba(0,0,0,.35);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(47, 76, 255, .12) 31px 32px);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 94% 100%, 86% 97%, 77% 100%, 66% 96.5%, 55% 100%, 44% 97%, 33% 100%, 22% 96.5%, 11% 99.5%, 0 97%);
}
.diary img { width: 100%; display: block; mix-blend-mode: multiply; }
.diary .tape { top: -6px; }
/* Frames: a note folded in half beside the lead; press to unfold (the crease stays) */
.page-head:has(.club-note) { position: relative; }
.club-note {
  --paper: #fbf8f0;
  position: absolute; right: var(--gutter); top: calc(var(--topbar) + 24px); z-index: 5;
  width: min(300px, 26vw); display: grid; grid-template-rows: 1fr 1fr; padding: 0; text-align: left;
  perspective: 900px; rotate: 3deg; cursor: pointer;
  font-family: 'Reenie Beanie', var(--serif); font-size: 23px; line-height: 1.05; color: #2b2b2b;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,.12));
  transition: rotate .5s var(--ease), translate .5s var(--ease);
}
.club-note:hover { rotate: 1deg; translate: 0 -3px; }
.club-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.club-note b { font-weight: 400; color: var(--accent); }
.club-note li span { color: var(--muted); white-space: nowrap; }
.club-note a { color: inherit; font-size: .82em; }
.fold-top, .fold-front, .fold-back { position: relative; display: block; background: var(--paper); padding: 18px 20px 10px; }
/* crumpled paper: soft light and shade over every panel */
.fold-top::after, .fold-front::after, .fold-back::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03' numOctaves='5' seed='7'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='2.6'%3E%3CfeDistantLight azimuth='235' elevation='58'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23c)'/%3E%3C/svg%3E") 0 0 / 300px 300px; mix-blend-mode: multiply; opacity: .42;
}
.fold-top { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; }
.fold-top .tape { top: -9px; z-index: 2; }
.fold-p { display: block; }
.fold-bottom { position: relative; display: grid; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.45, 1.35, .5, 1); }
.fold-front, .fold-back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fold-front { padding-top: 12px; padding-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 93% 100%, 84% 94%, 74% 100%, 62% 95%, 50% 100%, 38% 95%, 26% 100%, 14% 94%, 0 98%); }
/* the crease: a slightly wobbly fold line, a dark hairline with a lit edge under it */
.fold-front::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3.1 L18 2.6 L41 3.4 L63 2.7 L88 3.5 L112 2.8 L139 3.3 L161 2.5 L190 3.4 L214 2.9 L240 3.6 L266 2.7 L300 3.2' fill='none' stroke='%23000' stroke-opacity='.16' stroke-width='.9'/%3E%3Cpath d='M0 4.3 L22 3.8 L47 4.6 L70 3.9 L95 4.7 L119 4 L146 4.5 L168 3.7 L197 4.6 L221 4.1 L247 4.8 L273 3.9 L300 4.4' fill='none' stroke='%23fff' stroke-opacity='.9' stroke-width='1.1'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; z-index: 1; }
.fold-back { transform: rotateX(180deg); display: grid; place-items: center; color: var(--muted); font-size: 30px; background: #f6f1e4; }
/* folded: the lower half is turned up over the upper half */
.club-note[aria-expanded='false'] .fold-bottom { transform: rotateX(180deg) translateY(0); }
/* phones: a small folded slip sitting on the page; tap and it grows and unfolds over the photos */
@media (max-width: 900px) {
  .club-note {
    /* under the lead, over the top of the second pile, so it never covers the text */
    top: calc(100% - 8px); right: var(--gutter); width: min(290px, 84vw);
    transform-origin: 100% 0; scale: .5; transition: scale .6s cubic-bezier(.4, 1.3, .5, 1), rotate .5s var(--ease);
  }
  .club-note[aria-expanded='true'] { scale: 1; rotate: 1deg; z-index: 30; }
  .fold-back { font-size: 42px; } /* shown at half size while folded */
  .club-note:hover { translate: none; }
}
/* Hangul inside the italic serif: upright, in the Korean sans */
.ko { font-family: 'Noto Sans KR', var(--sans); font-style: normal; font-size: .86em; letter-spacing: -.01em; }
.diary-text { margin: 0; font-family: 'Nanum Pen Script', var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 32px; color: #2b2b2b; }
.diary-date { display: block; margin-top: 10px; font-family: 'Nanum Pen Script', var(--serif); font-size: 18px; color: var(--muted); text-align: right; }
.ph em { font-family: var(--serif); color: rgba(0,0,0,.35); font-size: 17px; }

/* ── Muses moodboard ─────────────────────────────────────── */
.muses { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 11vw, 150px); }
.muse-filter { margin: 0 0 34px; }
.muse-board { columns: 4 230px; column-gap: clamp(18px, 2.4vw, 34px); }
.muse { position: relative; display: block; break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 30px); padding-top: 10px; perspective: 1400px; cursor: pointer; rotate: var(--tilt); transition: rotate .5s var(--ease), translate .5s var(--ease); }
.muse:hover { rotate: 0deg; translate: 0 -4px; }
.muse[hidden] { display: none; }
.tape {
  position: absolute; left: 50%; top: 0; z-index: 3; width: 74px; height: 22px; translate: -50% 0; rotate: calc(var(--tilt) * -2);
  background: rgba(240, 232, 214, .78); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.muse-inner { display: grid; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, 1.3, .4, 1); }
.muse.flipped .muse-inner { transform: rotateY(180deg); }
.muse-front, .muse-back {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 14px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 34px -24px rgba(0,0,0,.35);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.muse-back { transform: rotateY(180deg); padding: 22px 18px; justify-content: center; background: #fbfaf6; }
.muse-media { position: relative; display: block; aspect-ratio: var(--ratio); overflow: hidden; background: var(--soft); }
.muse-media img { width: 100%; height: 100%; object-fit: cover; }
.muse-media.collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #fff; }
.muse-media.collage img:first-child { grid-row: 1 / 3; }
.muse-media.stacked { aspect-ratio: auto; display: grid; gap: 4px; background: #fff; }
.muse-media.stacked img { height: auto; display: block; }
.muse-media.collage img:nth-child(2):last-child { grid-row: 1 / 3; } /* two photos: side by side */
.muse-media.collage:has(img:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.muse-media.ph { display: grid; place-items: center; }
.muse-media.ph em { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); color: rgba(0,0,0,.28); }
.muse-media.dark em { color: rgba(255,255,255,.3); }
.muse-text { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.muse-type { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.muse b { font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.muse-ig { align-self: flex-start; font-size: 12px; color: var(--muted); text-decoration: none; margin-top: 2px; }
.muse-ig:hover { color: var(--accent); }
.muse-credit { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 15px; }
.muse-why { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; margin-top: 8px; }
.muse-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.muse-btn { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.muse-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Music ───────────────────────────────────────────────── */
.room {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 130px);
}
.room .shelf-wrap { max-width: 1040px; }
.shelf-wrap { container-type: inline-size; }
.shelf-wrap .hint { margin-top: 18px; }
.shelf { display: flex; flex-direction: column; gap: 52px; }
.shelf-row {
  position: relative;
  display: flex; align-items: flex-end; gap: 0;
  padding: 0 calc(var(--s-gap, 22px));
}
.shelf-row::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; /* the ledge: a little wider than the five records */
  background: linear-gradient(#efeee9, #e1e0da); border-radius: 2px;
  box-shadow: 0 18px 24px -18px rgba(0,0,0,.25);
}
.sleeve {
  /* five records (overlapping by 8%) always fit on the ledge, with room either side */
  --s: min(200px, calc((100cqw - 44px) / 4.68));
  position: relative; flex: none; width: var(--s); aspect-ratio: 1;
  transform-origin: 50% 100%; will-change: transform;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 24px -14px rgba(0,0,0,.35);
  border-radius: 2px; overflow: hidden; background: var(--soft);
}
.sleeve + .sleeve { margin-left: calc(var(--s) * -0.08); }
.sleeve img { width: 100%; height: 100%; object-fit: cover; }
.sleeve::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 38%); pointer-events: none; }

.guitar-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.guitar-rig { position: relative; width: clamp(260px, 26vw, 360px); aspect-ratio: 3 / 4; }
.amp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.guitar { position: absolute; inset: 0; display: block; border-radius: 16px; z-index: 5; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.guitar.is-held { cursor: grabbing; z-index: 30; }
.guitar-canvas { display: block; width: 100%; height: 100%; }
.guitar-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 28px; }

/* rack footer + shuffle */
.rack-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.shelf-wrap .rack-foot .hint { margin-top: 0; }
.shuffle-btn { flex: none; white-space: nowrap; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.shuffle-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tracks-soon { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0 0 20px; }
.listen-row { display: flex; gap: 18px; }
.listen { font-size: 14px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ── favourite songs: the brick turntable ──────────────── */
.mixtape { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); }
.mix-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.deck-stage { position: sticky; top: calc(var(--topbar) + 30px); aspect-ratio: 4 / 3; }
.tt-canvas { display: block; width: 100%; height: 100%; }
.tt-hit { position: absolute; inset: 8% 14% 14%; border-radius: 50%; cursor: pointer; }
.side-tabs { margin: 0 0 16px; }
.side-tabs .chip span { color: var(--muted); font-size: 12px; margin-left: 4px; }
.side-tabs .chip.is-on span { color: rgba(255,255,255,.6); }
.mix-list { display: grid; gap: 30px; }
.mix-list ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mix-track {
  width: 100%; text-align: left; display: grid; grid-template-columns: 26px 36px minmax(0, 1fr) 18px; gap: 12px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line); transition: background .2s;
}
.mix-track:hover { background: var(--soft); }
.mix-track .n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mix-track .art { width: 36px; height: 36px; border-radius: 3px; background: var(--soft) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.mix-track .tt { display: flex; flex-direction: column; min-width: 0; }
.mix-track .tt b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mix-track .tt .sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mix-track .pl { width: 14px; height: 12px; justify-self: end; background: linear-gradient(var(--muted), var(--muted)) left bottom / 3px 40% no-repeat, linear-gradient(var(--muted), var(--muted)) center bottom / 3px 70% no-repeat, linear-gradient(var(--muted), var(--muted)) right bottom / 3px 50% no-repeat; opacity: 0; }
.mix-track:hover .pl { opacity: .6; }
.mix-track.is-playing .tt b, .mix-track.is-playing .n { color: var(--accent); }
.mix-track.is-playing .pl { opacity: 1; background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)); animation: eq .9s ease-in-out infinite alternate; }
@keyframes eq { 0% { background-size: 3px 30%, 3px 90%, 3px 50%; } 50% { background-size: 3px 90%, 3px 40%, 3px 80%; } 100% { background-size: 3px 50%, 3px 70%, 3px 30%; } }

/* ── How This Was Made ───────────────────────────────────── */
.colophon-link { font-size: inherit; text-decoration: none; border-bottom: 1px solid var(--accent); color: var(--accent); padding-bottom: 2px; }
.outro-links + .colophon-link { display: table; margin-top: 12px; }
.footer-right { display: flex; flex-wrap: wrap; gap: 18px; align-items: baseline; }
.modal.colophon { align-items: flex-start; overflow-y: auto; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.colophon-body { width: min(820px, 100%); margin: 0 auto; padding: 20px 0 60px; }
.colophon-body h2 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -.05em; line-height: .92; margin: 14px 0 26px; font-weight: 600; }
.col-lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; margin: 0 0 40px; max-width: 34ch; }
.col-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 56px; }
.col-stats b { display: block; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.05em; line-height: 1; font-weight: 600; color: var(--accent); }
.col-stats span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.colophon-body section { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.col-no { margin: 4px 0 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.colophon-body h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.02em; }
.colophon-body section p { margin: 0 0 12px; color: var(--ink-2); max-width: 62ch; }
.colophon-body dl { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 10px 22px; margin: 0; }
.colophon-body dt { font-weight: 600; }
.colophon-body dd { margin: 0; color: var(--ink-2); }
.col-sign { margin: 40px 0 0; font-family: 'Reenie Beanie', var(--serif); font-size: 30px; rotate: -2deg; }

/* ── Modals ──────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 72px var(--gutter) 40px;
}
.modal-x {
  position: absolute; right: var(--gutter); top: 18px; z-index: 2;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.modal-x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.lb-figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-media { max-height: calc(100vh - 180px); display: grid; place-items: center; }
.lb-media img { max-height: calc(100vh - 180px); width: auto; border-radius: 4px; }
.lb-media .ph { width: min(80vw, 820px); aspect-ratio: 3 / 2; border-radius: 4px; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: rgba(0,0,0,.4); font-size: 22px; }
.lb-cap { color: var(--ink-2); font-size: 14px; text-align: center; }
.lb-cap em { font-family: var(--serif); color: var(--muted); font-size: 16px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 22px; width: 48px; height: 48px; border-radius: 50%; }
.lb-nav:hover { background: var(--soft); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

.video-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* album */
.album-modal { overflow-y: auto; align-items: flex-start; }
.album-view {
  width: min(1100px, 100%); margin: auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.case-stage { --s: min(320px, 52vw); position: relative; height: calc(var(--s) * 1.08); perspective: 1600px; display: flex; align-items: center; padding-left: calc(var(--s) * .3); }
.case { position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.case-inside {
  position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(135deg, #f4f4f2, #e3e3df);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.06);
}
.case-inside::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); }
.case-cover { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; z-index: 3; }
.cover-face, .cover-back { position: absolute; inset: 0; border-radius: 3px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.cover-face { background: var(--c, #ddd); box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.cover-face img { width: 100%; height: 100%; object-fit: cover; }
.cover-back { transform: rotateY(180deg); background: #fafaf8; box-shadow: inset 0 0 0 1px var(--line); padding: 10%; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15px; }
.gen-cover { width: 100%; height: 100%; padding: 9%; display: flex; flex-direction: column; justify-content: space-between; color: var(--fg); }
.gen-cover .gt { font-size: calc(var(--s) * .12); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.gen-cover .ga { font-family: var(--serif); font-style: italic; font-size: calc(var(--s) * .06); }
.cd {
  position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; border-radius: 50%; z-index: 2;
  background: conic-gradient(from 20deg, #e9e9ec, #c9d6e8, #f2e7f0, #d9efe4, #f0ecd8, #d6dcef, #e9e9ec);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
}
.cd.spin { animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: translateX(var(--cdx, 0)) rotate(360deg); } }
.cd-art {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  -webkit-mask: radial-gradient(circle, transparent 0 17%, #000 17.4% 100%);
  mask: radial-gradient(circle, transparent 0 17%, #000 17.4% 100%);
  opacity: .9;
}
.cd-art img { width: 100%; height: 100%; object-fit: cover; }
.cd-shine { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 10%, rgba(255,255,255,.55) 14%, transparent 20% 60%, rgba(255,255,255,.4) 64%, transparent 70%); mix-blend-mode: screen; }
.cd-hole { position: absolute; left: 50%; top: 50%; width: 15%; height: 15%; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.55), inset 0 0 0 1px rgba(0,0,0,.08); }

.album-info .year { color: var(--muted); font-size: 14px; }
.album-info h3 { font-size: clamp(34px, 5vw, 60px); line-height: .95; letter-spacing: -.045em; margin: 10px 0 6px; }
.album-info .artist { font-family: var(--serif); font-style: italic; font-size: 24px; margin: 0 0 22px; color: var(--ink-2); }
.album-info .why { font-size: 17px; max-width: 46ch; margin: 0 0 28px; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { border-bottom: 1px solid var(--line); }
.track button, .track-row { width: 100%; text-align: left; display: flex; gap: 14px; align-items: baseline; padding: 14px 0; }
.track .n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; width: 22px; }
.track .name { flex: 1; font-weight: 500; }
.track .pm { color: var(--muted); transition: transform .3s var(--ease); }
.track-row .pl { width: 14px; height: 12px; opacity: 0; background: linear-gradient(var(--muted), var(--muted)) left bottom / 3px 40% no-repeat, linear-gradient(var(--muted), var(--muted)) center bottom / 3px 70% no-repeat, linear-gradient(var(--muted), var(--muted)) right bottom / 3px 50% no-repeat; }
.track-row:hover .pl { opacity: .6; }
.track-row:hover .name { color: var(--accent); }
.track-row.is-playing .name, .track-row.is-playing .n { color: var(--accent); }
.track-row.is-playing .pl { opacity: 1; background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)); animation: eq .9s ease-in-out infinite alternate; }
.track.open .pm { transform: rotate(45deg); }
.track .note { overflow: hidden; height: 0; }
.track .note p { margin: 0 0 16px 36px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-2); }

/* album prev / next */
.album-nav {
  position: fixed; top: 50%; z-index: 3; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  font-size: 20px; transition: background .2s, color .2s, scale .3s var(--ease);
}
.album-nav:hover { background: var(--ink); color: #fff; scale: 1.08; }
.album-prev { left: max(12px, calc(var(--gutter) - 20px)); }
.album-next { right: max(12px, calc(var(--gutter) - 20px)); }
.album-count { position: fixed; left: 50%; bottom: 22px; translate: -50% 0; font-size: 12px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .album-nav { top: auto; bottom: 14px; translate: none; width: 44px; height: 44px; }
  .album-prev { left: 16px; } .album-next { right: 16px; }
  .album-modal { padding-bottom: 90px; }
}

/* ── on stage: the guitar and the bands ─────────────────── */
.stage-block { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); }
.stage-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 7vw, 120px); align-items: center; }
.stage-list .intro { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; color: var(--ink-2); margin: 0 0 24px; max-width: 34ch; }
.perf { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.perf > li > a, .perf .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.perf > li > a:hover .t { color: var(--accent); }
.perf .t { font-weight: 600; }
.perf .d { color: var(--muted); font-size: 14px; }
.perf .r { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }
.perf .t small { display: block; font-weight: 400; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); margin-top: 2px; }
.perf .next { grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-size: 12px; letter-spacing: .06em; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; }
.perf-ig { color: inherit; }
.perf-ig:hover { color: var(--accent); }
.sc-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 20px; font-weight: 500;
}
.sc-btn:hover { background: #ff5500; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.footer-links { display: flex; gap: 18px; }

/* ── Transition overlay ──────────────────────────────────── */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
.fx-label {
  position: fixed; inset: 0; z-index: 81; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #fff; opacity: 0; text-align: center; padding: 0 16px;
}
.fx-lead { font-family: var(--sans); font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .02em; color: rgba(255,255,255,.7); }
.fx-lead:empty { display: none; }
.fx-word { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 12vw, 160px); letter-spacing: -.02em; line-height: 1; }
body.is-transitioning { cursor: progress; }
body.lock { overflow: hidden; }

/* ── Reveal helper ───────────────────────────────────────── */
.rv { will-change: transform, opacity; }

/* ── Business card ───────────────────────────────────────── */
.card-wrap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0; visibility: hidden; perspective: 1400px;
}
.bcard {
  position: relative; display: block; user-select: none; -webkit-user-select: none;
  width: min(440px, 82vw); aspect-ratio: 1.75;
  transform-style: preserve-3d; cursor: pointer;
}
.bcard-inner { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, 1.4, .4, 1); }
.bcard.flipped .bcard-inner { transform: rotateY(180deg); }
.bcard-face {
  position: absolute; inset: 0; border-radius: 14px; padding: 7% 7.5%;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.28);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: left;
}
.bcard-back { transform: rotateY(180deg); background: var(--ink); color: #fff; }
.bc-top, .bc-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bc-mark { width: 30px; height: 30px; object-fit: contain; }
/* three tiny brick icons in the corner; they hop when you hover the card */
.bc-icons { display: flex; gap: 2px; }
.bc-icons img { width: 26px; height: 26px; object-fit: contain; }
.bc-mark:not([src]), .bc-icons img:not([src]) { visibility: hidden; }
.bcard:hover .bc-icons img { animation: bc-hop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.bcard:hover .bc-icons img:nth-child(2) { animation-delay: .07s; }
.bcard:hover .bc-icons img:nth-child(3) { animation-delay: .14s; }
@keyframes bc-hop { 40% { transform: translateY(-5px) rotate(-6deg); } 100% { transform: none; } }
.bc-hi { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 18px; color: var(--accent); }
.bc-name { font-size: clamp(26px, 5.4vw, 38px); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-top: auto; }
.bc-nick { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 3.4vw, 24px); color: var(--ink-2); margin-bottom: auto; }
.bc-flip { color: var(--ink); }
.bcard-back .bc-bottom, .bcard-back .bc-flip { color: rgba(255,255,255,.55); }
.bc-backbody { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.bc-rows { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; min-width: 0; }
.bc-row .v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-qr { display: block; width: clamp(60px, 16vw, 80px); background: #fff; padding: 6px; border-radius: 6px; }
.bc-qr svg { display: block; width: 100%; height: auto; }
.bc-actions { display: flex; gap: 8px; }
.bc-row { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; font-size: clamp(13px, 2.4vw, 15px); }
.bc-row .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.bc-row:hover .v { color: #9fb0ff; }
.bc-save {
  font-size: 13px; text-decoration: none; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.9);
}
.bc-save:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Cursor ──────────────────────────────────────────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .25s, opacity .25s;
  opacity: 0;
}
.cursor-label { font-size: 11px; letter-spacing: .08em; text-transform: lowercase; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-big .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0 !important; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── Deck (project slides in the laptop) ─────────────────── */
.deck-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; }
.deck-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .7em 1.2em; border-bottom: 1px solid var(--line); font-size: .9em; color: var(--muted); }
.deck-bar button:hover { color: var(--ink); }
.deck-steps { display: flex; gap: .2em; }
.deck-steps button { padding: .7em .15em; }
.deck-steps i { display: block; width: 2em; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s, transform .3s var(--ease); }
.deck-steps button:hover i { transform: scaleY(2); background: var(--muted); }
.deck-steps .on i { background: var(--ink); }
.proj {
  flex: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 1.6em;
  padding: 1.2em 2.2em; overflow: hidden;
}
.proj-obj { width: 100%; max-width: 15em; justify-self: center; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .1)); }
.proj-meta { color: var(--muted); font-size: .85em; letter-spacing: .04em; margin: 0 0 .5em; display: flex; align-items: center; gap: .8em; }
.proj-now { font-style: normal; color: var(--accent); display: inline-flex; align-items: center; gap: .4em; }
.proj-now::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: currentColor; animation: proj-pulse 1.6s ease-in-out infinite; }
@keyframes proj-pulse { 50% { opacity: .25; } }
.proj h3 { font-size: 2.1em; letter-spacing: -.035em; line-height: 1; margin: 0 0 .3em; }
.proj-about { font-family: var(--serif); font-style: italic; font-size: 1.15em; color: var(--ink-2); margin: 0 0 1em; }
.proj-body { margin: 0; line-height: 1.55; max-width: 44ch; }
.deck-nav { display: flex; gap: .4em; }
.deck-nav button { width: 2.4em; height: 2.4em; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); font-size: 1.05em; transition: background .2s, color .2s; }
.deck-nav button:not(:disabled):hover { background: var(--ink); color: #fff; }
.deck-nav button:disabled { opacity: .3; cursor: default; }

/* ── Ticket book ─────────────────────────────────────────── */
.tickets-block { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); }
.ticket-filter { margin: 0 0 30px; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ticket-book { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 26px 30px; }
.ticket { position: relative; display: flex; height: 168px; text-align: left; perspective: 1200px; }
.ticket[hidden] { display: none; }
.t-main {
  position: relative; flex: 1; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.3, 1.3, .4, 1);
}
.ticket.torn .t-main { transform: rotateY(180deg); }
.t-face, .t-back {
  position: absolute; inset: 0; padding: 16px 20px; border-radius: 10px 0 0 10px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.t-face { background: var(--c); color: var(--fg); }
.t-face::after { content: ''; position: absolute; inset: 8px; border: 1px dashed currentColor; opacity: .25; border-radius: 6px; pointer-events: none; }
.t-back { transform: rotateY(180deg); background: #fbfaf6; box-shadow: inset 0 0 0 1px var(--line); border-radius: 10px; }
.t-type { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.t-name { font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 2px; }
.t-line { display: block; font-family: var(--serif); font-style: italic; font-size: 16px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-meta { display: flex; gap: 14px; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .85; flex-wrap: wrap; }
.t-memo { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.22; color: var(--ink); }
.t-back .t-type { color: var(--muted); }
.t-stub {
  position: relative; flex: none; width: 92px; background: var(--c); color: var(--fg);
  border-radius: 0 10px 10px 0; display: flex; align-items: center; justify-content: center;
  border-left: 2px dashed rgba(255,255,255,.55);
  -webkit-mask: radial-gradient(circle at 0 0, transparent 9px, #000 9.5px) top left / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 9px, #000 9.5px) bottom left / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 9px, #000 9.5px) top left / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 9px, #000 9.5px) bottom left / 100% 51% no-repeat;
}
.t-stub span { writing-mode: vertical-rl; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; opacity: .8; }
.t-stub .admit { position: absolute; top: 10px; font-size: 9px; letter-spacing: .14em; writing-mode: horizontal-tb; }
.ticket:not(.torn):hover .t-stub { transform: rotate(4deg) translateX(3px); transform-origin: 0 100%; transition: transform .3s var(--ease); }
.ticket.light .t-stub { border-left-color: rgba(0,0,0,.25); }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 80; pointer-events: none; }
/* the rating: star-shaped holes punched through the stub */
.t-stub .t-stars { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 3px; writing-mode: horizontal-tb; opacity: 1; }
.t-stars i {
  width: 12px; height: 12px; background: currentColor; opacity: .22;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.t-stars i.punched { background: var(--bg); opacity: 1; }
.ticket:hover .t-stars i.punched { animation: punch .4s var(--ease) both; }
.ticket:hover .t-stars i:nth-child(2) { animation-delay: .05s; } .ticket:hover .t-stars i:nth-child(3) { animation-delay: .1s; }
.ticket:hover .t-stars i:nth-child(4) { animation-delay: .15s; } .ticket:hover .t-stars i:nth-child(5) { animation-delay: .2s; }
@keyframes punch { 50% { transform: scale(1.35) rotate(18deg); } }
.t-stub > span:nth-child(2) { margin-bottom: 18px; }
.t-memo { font-size: 17px; }

/* ── Compact layout (site.layout = 'compact') ────────────── */
.ey-compact { display: none; }
.layout-compact .ey-wordy { display: none; }
.layout-compact .ey-compact { display: inline; color: var(--ink); }
.layout-compact .page-head {
  padding-top: calc(var(--topbar) + clamp(28px, 4vw, 48px)); padding-bottom: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px 28px;
}
.layout-compact .page-title { display: none; }
.layout-compact .page-lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; max-width: 56ch; color: var(--ink-2); }
.layout-compact .chips { margin-top: 0; }
.layout-compact .career { padding-bottom: clamp(48px, 6vw, 80px); }
.layout-compact .laptop-section { padding-top: clamp(40px, 5vw, 72px); }
/* phones: the prompt sits higher, clear of the closed lid */
@media (max-width: 640px) { .laptop-prompt { top: 8%; } }
.layout-compact .laptop-stage { --w: min(800px, 86vw); }
.layout-compact .v-block, .layout-compact .room, .layout-compact .tickets-block { max-width: 1440px; }
@media (max-width: 860px) {
  .layout-compact .page-head { grid-template-columns: 1fr; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .career { grid-template-columns: 1fr; gap: 12px; }
  .career-stick { position: static; }
  .album-view { grid-template-columns: 1fr; justify-items: center; }
  .album-info { width: 100%; }
  .case-stage { --s: min(250px, 54vw); padding-left: calc(var(--s) * .22); }
  .mix-body, .stage-body { grid-template-columns: minmax(0, 1fr); }
  .deck-stage { position: relative; top: 0; width: min(100%, 460px); justify-self: center; }
  .guitar-wrap { justify-self: center; }
  .col-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon-body section { grid-template-columns: 1fr; }
  .colophon-body dl { grid-template-columns: 1fr; gap: 2px; }
  .colophon-body dd { margin-bottom: 10px; }
  .guitar-rig { width: min(300px, 80vw); }
}
@media (max-width: 640px) {
  .proj { grid-template-columns: 1fr; gap: .6em; padding: 1em 1.4em 1.6em; align-content: start; }
  .proj-obj { max-width: 9em; }
  .proj h3 { font-size: 1.8em; }
  :root { --topbar: 56px; }
  .brand-name { display: none; }
  .tab-btn { padding: 7px 9px; font-size: 13px; }
  .tab-btn:not([aria-current]) .lbl { display: none; }
  .tab-ico { width: 24px; height: 24px; margin: -4px 0; }
  .tabs { gap: 2px; }
  .bcard { width: 88vw; aspect-ratio: 1.42; }
  .bcard-face { padding: 6% 6.5%; }
  .bc-row { padding: 4px 0; grid-template-columns: 64px minmax(0, 1fr); font-size: 12.5px; }
  .bc-qr { width: 72px; padding: 4px; }
  .bc-row { grid-template-columns: minmax(0, 1fr); }
  .bc-row .k { display: none; }
  .tab-btn .num { display: none; }
  .career-item { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .career-period { padding-top: 0; }
  .chapter { padding: 8px 6px; }
  .chapter-word { font-size: 30px; }
  .chapter-num { display: none; }
  .chapter-ico { width: 38px; }
  .chapter:nth-child(1) { --x: 5% !important; --y: 15% !important; }
  .chapter:nth-child(2) { --x: 38% !important; --y: 24% !important; }
  .chapter:nth-child(3) { --x: 48% !important; --y: 70% !important; }
  /* phones: both ledges slide sideways together, about three records in view */
  .shelf {
    gap: 30px; overflow-x: auto; overflow-y: hidden; padding: 12px var(--gutter) 18px 0;
    margin-right: calc(-1 * var(--gutter)); scroll-snap-type: x proximity; scrollbar-width: none;
    -webkit-mask: linear-gradient(90deg, #000 82%, transparent); mask: linear-gradient(90deg, #000 82%, transparent);
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf.at-end { -webkit-mask: none; mask: none; }
  .shelf-row { width: max-content; padding: 0 10px; }
  .sleeve { --s: calc((100vw - 2 * var(--gutter)) / 3.1); scroll-snap-align: start; }
  .os-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: .3em .4em; }
  .os-obj { grid-column: span 2; padding: .45em 0; border-radius: 8px; -webkit-tap-highlight-color: transparent; }
  .os-obj:active { background: var(--soft); }
  .os-obj:nth-child(4) { grid-column: 2 / span 2; }
  .os-obj img { max-width: 4em; }
  .os-obj { gap: .25em; }
  .os-obj small { display: none; }
  .os-obj span { font-size: .95em; }
      .laptop-stage { --w: 94vw; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .ticket { height: 150px; }
  .t-stub { width: 70px; }
  .t-stars i { width: 10px; height: 10px; }
  .t-stub .t-stars { gap: 2px; }
  .t-memo { font-size: 15px; }
  .slide { padding: 1.1em 1.2em; }
  .tree { grid-template-columns: 1fr; gap: 1em; }
  .tree-q::after { display: none; }
  .photo-table { gap: 34px 14px; }
  .stack { gap: 14px; }
  .spread-head { flex-wrap: wrap; }
  .muse-board { columns: 2; column-gap: 12px; }
  .muse { margin-bottom: 22px; }
  .muse b { font-size: 14px; }
  .muse-credit { font-size: 13px; }
  .muse-why { font-size: 15px; }
  .muse-back { padding: 14px 12px; }
  .tape { width: 52px; height: 16px; top: 3px; }
  .diary .tape { top: -7px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
