/* ════════════════════════════════════════════════════════════════════════
   STUDIO PANIC ATTACK — site.css
   One typeface (Geist Mono), white paper, hairlines, ultramarine + one red dot.
   Sections: tokens · base · header · shared bits · home · projects shell ·
   the ten panels · highlights · vocabulary · about · contact · viewer · small screens
   ════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Typewriter face for running text */
@font-face { font-family: 'Courier Prime'; src: url('../fonts/courier-prime-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url('../fonts/courier-prime-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url('../fonts/courier-prime-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* Script face for the big handwritten titles, carried over from the previous site */
@font-face { font-family: 'Quiet Attempt'; src: url('../fonts/quiet-attempt.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #0b0b0b;
  --soft: #5c5c5c;
  --mute: #8a8a8a;
  --faint: #c4c4c4;
  --line: rgba(0, 0, 0, 0.14);
  --ultra: #1c1ce6;            /* ultramarine: hovers, focus, links */
  --red: #d42b2b;              /* the single red dot */
  --card: #f3f1ec;
  --tape: #ece5c9;
  --postit: #f6ef9c;
  --top: 72px;
  /* THE FONTS — change these three lines to restyle the whole site.
     mono = labels, headings, the big numbers · type = menu + running text (typewriter)
     script = big handwritten titles                                         */
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --type: 'Courier Prime', 'Courier New', Courier, monospace;
  --script: 'Quiet Attempt', 'Snell Roundhand', 'Brush Script MT', cursive;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 12px/1.6 var(--mono); letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 2px; }
::selection { background: var(--ultra); color: #fff; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; text-transform: uppercase; }
.skip:focus { top: 8px; }

/* Running text is set on the typewriter; labels and headings stay mono. */
.event__text, .event__list, .ux__about p:not(.meta), .col__sum, .td__text, .td__note p, .td__head .lede, .proj__text .lede,
.digital__foot p, .note figcaption, .note--text p, .entry__copy p:last-child, .post__text, .orbit__desc, .object__card span,
.contact .lede, .page__head .lede, .panel__head .lede, .rail__lead .lede, .objects__head .lede,
.video__left .lede, .digital__stack .lede {
  font-family: var(--type); text-transform: none; letter-spacing: 0;
}
.page__head .lede, .panel__head .lede, .rail__lead .lede, .objects__head .lede, .video__left .lede, .digital__stack .lede, .contact .lede { font-size: 14px; line-height: 1.6; color: #2a2a2a; }
.event__text, .ux__about p:not(.meta), .td__head .lede, .proj__text .lede, .post__text, .entry__copy p:last-child { font-size: 14px; }
.col__sum, .td__text, .td__note p, .digital__foot p, .event__list, .note--text p, .object__card span { font-size: 13px; }

/* "Explore ——>" style links */
.go { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--type); font-size: 15px; white-space: nowrap; transition: color 0.2s; }
.arrow { display: inline-block; letter-spacing: -0.12em; transition: transform 0.25s var(--ease); }
.go:hover { color: var(--ultra); }
.go:hover .arrow, .orbit__more:hover .arrow { transform: translateX(7px); }
.script { font-family: var(--script); font-weight: 400; line-height: 0.95; letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 28px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(0, 0, 0, 0.9); font-size: clamp(54px, 7.4vw, 124px); }

/* the mouse cursor: a four-pointed star with a tiny companion that twinkles */
html.has-star, html.has-star * { cursor: none !important; }
html.has-star input, html.has-star textarea { cursor: text !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 900; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-text { opacity: 0; }
.cursor svg { position: absolute; max-width: none; overflow: visible; fill: var(--ultra); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; paint-order: stroke; }
.cursor__big { left: -15px; top: -15px; width: 30px; height: 30px; animation: twinkle 2.8s ease-in-out infinite; transition: scale 0.25s var(--ease); }
.cursor__small { left: 9px; top: -20px; width: 11px; height: 11px; animation: twinkle 1.9s ease-in-out -0.8s infinite; transition: translate 0.25s var(--ease); }
@keyframes twinkle { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(12deg) scale(0.78); } }
@keyframes whirl { to { transform: rotate(180deg); } }
.cursor.is-over .cursor__big { scale: 1.7; animation: whirl 1.8s linear infinite; }
.cursor.is-over .cursor__small { translate: 9px -9px; }
.cursor.is-down .cursor__big { scale: 0.7; }

/* ── header ─────────────────────────────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 54px; width: auto; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.nav { display: flex; gap: 28px; }
.nav__link { font-family: var(--type); text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--soft); padding: 6px 0 4px; border-bottom: 1px solid transparent; transition: color 0.2s; }
.nav__link:hover { color: var(--ultra); }
.nav__link.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.top__toggle { display: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; padding: 8px 10px; border: 1px solid var(--ink); }

.view { padding-top: var(--top); min-height: 100vh; min-height: 100dvh; outline: none; }
/* Projects behaves like an app window: fixed height, panels scroll inside. */
body[data-view="projects"] .view { height: 100vh; height: 100dvh; overflow: hidden; }

/* ── shared bits ────────────────────────────────────────────────────────── */
.eyebrow, .meta, .hint { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); }
.hint { color: var(--faint); }
.lede { font-size: 11px; line-height: 1.75; text-transform: uppercase; letter-spacing: 0.07em; color: var(--soft); max-width: 62ch; }
.panel__title, .page__title, .side__title {
  font-weight: 300; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.02;
  font-size: clamp(26px, 3.1vw, 44px);
}
.panel__title--xl { font-size: clamp(34px, 5vw, 64px); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 9px 14px; border: 1px solid var(--ink); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--ultra); border-color: var(--ultra); color: #fff; }
.btn--solid { background: var(--ink); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tags span { border: 1px solid var(--faint); padding: 1px 7px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; align-content: start; }
.facts dt { color: var(--mute); }
.vlabel { writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: 0.28em; font-size: 10px; color: var(--mute); border-right: 1px solid var(--ink); padding: 4px 12px 0 0; }

.shot { display: block; width: 100%; overflow: hidden; background: #f2f2f2; cursor: zoom-in; }
.shot img { width: 100%; transition: transform 0.6s var(--ease), filter 0.3s; }
.shot:hover img { transform: scale(1.025); }

.pager { position: absolute; right: 18px; bottom: 16px; z-index: 20; display: flex; gap: 6px; }
.pager__btn { width: 34px; height: 34px; border: 1px solid var(--ink); background: var(--paper); text-align: center; font-size: 14px; transition: background 0.2s, color 0.2s; }
.pager__btn:hover { background: var(--ink); color: #fff; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 80px; padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); }
.foot a:hover { color: var(--ultra); }

/* ── HOME: the orbit ────────────────────────────────────────────────────── */
.orbit { position: relative; height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); min-height: 540px; -webkit-user-select: none; user-select: none; }
.orbit__intro { position: absolute; left: 28px; top: 26px; z-index: 210; pointer-events: none; }
.orbit__sub { margin-top: 8px; max-width: 200px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.7; color: var(--faint); }
.orbit__cloud { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.orbit__cloud:active { cursor: grabbing; }
.orbit__item { position: absolute; left: 0; top: 0; width: 150px; will-change: transform, opacity; transition: opacity 0.3s; cursor: pointer; }
.orbit__pic { display: block; overflow: hidden; background: #f0f0f0; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); }
.orbit__item.is-wide .orbit__pic { aspect-ratio: 4 / 3; }
.orbit__item.is-tall .orbit__pic { aspect-ratio: 3 / 4; }
.orbit__pic img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.4s, transform 0.5s var(--ease); }
.orbit__item[data-tone="mid"] img { filter: grayscale(0.45); }
.orbit__item[data-tone="far"] img { filter: grayscale(0.85) blur(0.6px); }
.orbit__item:hover img { transform: scale(1.03); }
.orbit__name { display: block; margin-top: 8px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--soft); opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.orbit__item:hover .orbit__name, .orbit__item:focus-visible .orbit__name { opacity: 1; }
.orbit__item.is-selected {
  left: 36%; top: 48%; width: clamp(260px, 36vw, 470px) !important; transform: translate(-50%, -50%) !important;
  transition: width 0.5s var(--ease), left 0.5s var(--ease), opacity 0.3s; cursor: zoom-out;
}
.orbit__item.is-selected .orbit__pic { aspect-ratio: auto; max-height: 74vh; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2); }
.orbit__item.is-selected .orbit__pic img { height: auto; max-height: 74vh; object-fit: contain; filter: none; }
.orbit__item.is-selected .orbit__name { display: none; }
.orbit__status { position: absolute; left: 28px; bottom: 26px; z-index: 210; display: flex; align-items: center; gap: 10px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); }
.orbit__status .dot { width: 6px; height: 6px; }
.orbit.has-selection .orbit__status { display: none; }
.orbit__crumb { position: absolute; left: 28px; bottom: 26px; z-index: 210; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.orbit__crumb[hidden] { display: none; }
.orbit__crumb a:hover { color: var(--ultra); }
/* the description card that sits beside the focused image */
.orbit__caption {
  position: absolute; z-index: 210; top: 50%; left: calc(36% + clamp(130px, 18vw, 235px) + 44px);
  transform: translateY(-50%); width: min(340px, calc(100% - 36% - clamp(130px, 18vw, 235px) - 72px));
  display: grid; gap: 0; animation: rise 0.45s var(--ease) both;
  background: rgba(255, 255, 255, 0.95); padding: 22px 24px 24px; margin: -22px -24px; box-shadow: 0 0 24px 12px rgba(255, 255, 255, 0.95);
}
@keyframes rise { from { opacity: 0; transform: translate(14px, -50%); } }
.orbit__caption[hidden] { display: none; }
/* the black X that closes the focused image */
.orbit__close { position: absolute; top: 4px; right: 8px; width: 38px; height: 38px; transition: transform 0.3s var(--ease); }
.orbit__close::before, .orbit__close::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); transition: background 0.2s; }
.orbit__close::before { transform: rotate(45deg); }
.orbit__close::after { transform: rotate(-45deg); }
.orbit__close:hover { transform: rotate(90deg); }
.orbit__close:hover::before, .orbit__close:hover::after { background: var(--ultra); }
.orbit__caption .meta { margin-bottom: 12px; }
.orbit__title { font-size: clamp(24px, 2.6vw, 38px); font-weight: 650; line-height: 1.04; letter-spacing: -0.01em; text-transform: none; }
.orbit__cat { margin-top: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: 0.06em; color: var(--soft); }
.orbit__desc { margin-top: 18px; font-size: 12.5px; line-height: 1.7; }
.orbit__more { justify-self: start; margin-top: 20px; font-family: var(--type); font-size: 15px; white-space: nowrap; transition: color 0.2s; }
.orbit__more span { display: inline-block; margin-left: 4px; letter-spacing: -0.12em; transition: transform 0.25s var(--ease); }
.orbit__more:hover { color: var(--ultra); }
.orbit__more:hover span { transform: translateX(6px); }
/* the motto: large, centred, at the top of the sphere */
.orbit__motto { position: absolute; left: 50%; top: 14px; z-index: 210; width: clamp(250px, 31vw, 480px); transform: translateX(-50%); pointer-events: none; transition: opacity 0.35s;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #fff) drop-shadow(0 0 22px rgba(255, 255, 255, 0.9)); }
.orbit__motto img { width: 100%; }
.orbit.has-selection .orbit__motto, .orbit.has-selection .orbit__down { opacity: 0; pointer-events: none; }
.orbit__down { position: absolute; left: 50%; bottom: 20px; z-index: 210; transform: translateX(-50%); padding: 9px 16px; border: 1px solid var(--ink); background: var(--paper); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.3s; }
.orbit__down span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.orbit__down:hover { background: var(--ultra); border-color: var(--ultra); color: #fff; }

/* ── HOME: below the sphere ─────────────────────────────────────────────── */
.home { position: relative; overflow-x: clip; }
.floor { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; }
.home > section { position: relative; z-index: 1; }

/* flying pictures */
.sky { position: relative; min-height: 84vh; perspective: 1100px; }
.fly { position: absolute; display: block; background: #fff; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2); cursor: zoom-in; will-change: transform, opacity; }
.fly img { width: 100%; }
.fly__fx { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: opacity 0.45s; }
.fly:hover .fly__fx, .fly:focus-visible .fly__fx { opacity: 0; }
.fly--cut { background: none; box-shadow: none; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.2)); }

/* the statement and the knot */
.manifesto { min-height: 100vh; display: flex; align-items: center; justify-content: flex-end; padding: 10vh 4vw 4vh 0; }
.manifesto__stage { position: absolute; left: 0; top: 6vh; width: 43%; height: calc(100% - 12vh); min-height: 0; }
.manifesto__copy { position: relative; width: 55%; }
.manifesto__lockup { position: relative; }
.manifesto__big { font-weight: 300; font-size: clamp(34px, 5.5vw, 94px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; color: #d6d6d6; }
.manifesto__knot { position: absolute; right: -3%; top: 50%; width: min(36vw, 520px); transform: translateY(-50%); }
.knot-move { will-change: transform; }
.knot { display: block; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
.knot:active { cursor: grabbing; }
.manifesto__hint { margin-top: -12%; text-align: center; white-space: nowrap; font-size: 11px; letter-spacing: 0.42em; color: var(--red); pointer-events: none; }
.no-webgl .knot, .no-webgl .manifesto__hint { display: none; }
.manifesto__say { margin-top: 12vh; max-width: 42ch; font-family: var(--type); font-size: 16px; line-height: 1.6; }

/* the four kinds of work */
.cat { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 4vw; align-items: center; padding: 3vh 6vw; }
.cat__text { position: relative; z-index: 3; max-width: 560px; }
.cat--flip .cat__text { order: 2; justify-self: end; }
.cat__no { display: block; font-family: var(--mono); font-weight: 200; font-size: clamp(120px, 15.5vw, 240px); line-height: 0.86; letter-spacing: -0.06em; color: var(--ultra); user-select: none; margin-left: -0.05em; }
.cat__title { font-family: var(--script); font-weight: 400; font-size: clamp(46px, 6.2vw, 92px); line-height: 0.95; letter-spacing: 0.02em; color: #fff; margin: 0.04em 0 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 28px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(0, 0, 0, 0.9); }
.cat__title--long { font-size: clamp(38px, 4.6vw, 68px); }
.cat__card { position: relative; max-width: 520px; padding: 22px 24px 20px; background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(0, 0, 0, 0.16); border-radius: 4px 20px 4px 20px; }
.cat__card::before { content: ''; position: absolute; top: -1px; left: 20px; width: 40px; height: 3px; background: var(--ink); }
.cat__card p { font-family: var(--type); font-size: 15.5px; line-height: 1.65; color: #1c1c1c; margin-bottom: 16px; }

/* featured pieces */
.featured { padding: 16vh 6vw 6vh; }
.featured__stage { position: absolute; right: 3vw; top: -6vh; width: 36vw; height: 62vh; min-height: 0; z-index: 0; }
.featured__head { position: relative; z-index: 2; display: grid; gap: 4px; margin-bottom: 34px; }
.featured__head .eyebrow { letter-spacing: 0.36em; color: var(--ink); }
.featured__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0b0b; cursor: zoom-in; }
.feat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.feat:hover img { transform: scale(1.045); }
.feat::after { content: ''; position: absolute; inset: 45% 0 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.62)); pointer-events: none; }
.feat__cap { position: absolute; z-index: 2; left: 20px; bottom: 16px; display: grid; gap: 4px; text-align: left; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.feat__cap i { font-family: var(--type); font-size: 22px; }
.feat__cap span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.32em; }
.featured__more { position: relative; z-index: 2; margin-top: 26px; text-align: right; }

/* closing invitation */
.outro { padding: 14vh 6vw 0; text-align: center; }
.outro .script { font-size: clamp(64px, 10vw, 170px); }
.outro__text { margin: 18px auto 0; max-width: 40ch; font-family: var(--type); font-size: 17px; line-height: 1.6; }
.outro__links { margin-top: 26px; display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; }
.outro .foot { margin-top: 14vh; text-align: left; }

/* ── PROJECTS shell ─────────────────────────────────────────────────────── */
.projects { display: flex; height: 100%; }
.side { width: 290px; flex: none; border-right: 1px solid var(--line); padding: 34px 26px 22px 30px; display: flex; flex-direction: column; overflow-y: auto; }
.side__title { margin-bottom: 26px; }
.side__title a:hover { color: var(--ultra); }
.index { display: grid; gap: 4px; }
.index__link { display: block; padding: 6px 8px; margin: 0 -8px; font-size: 10.5px; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute); transition: color 0.15s, background 0.15s; }
.index__num { margin-right: 5px; font-weight: 600; }
.index__link:hover, .index__link.is-hot { color: var(--ultra); }
.index__link.is-open { background: var(--ink); color: #fff; }
.side__foot { margin-top: auto; padding-top: 40px; display: grid; gap: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.side__foot a:hover { color: var(--ultra); }
.side__foot p { margin-top: 12px; color: var(--mute); }
.stage { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

/* the desk of folders */
.desk { overflow: hidden auto; }
.folder { position: absolute; width: clamp(84px, 9.5vw, 132px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.folder__icon { display: block; width: 100%; transition: transform 0.25s var(--ease), filter 0.25s; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08)); }
.folder__label { width: 146px; text-align: center; font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); transition: color 0.2s; }
.folder__label b { color: var(--ultra); font-weight: 600; }
.folder:hover .folder__icon, .folder.is-hot .folder__icon, .folder:focus-visible .folder__icon { transform: translateY(-5px) scale(1.08); filter: drop-shadow(0 14px 20px rgba(28, 28, 230, 0.28)) saturate(1.5); }
.folder:hover .folder__label, .folder.is-hot .folder__label, .folder:focus-visible .folder__label { color: var(--ink); }

.panel { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.panel--scroll { overflow-y: auto; padding: 30px 34px 60px; display: block; }
.panel__head { margin-bottom: 26px; display: grid; gap: 12px; }

/* ── 1 · EVENTS (and the shared sideways rail) ──────────────────────────── */
.panel--rail { overflow: hidden; }
.rail, .cols { flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.rail__track { display: flex; height: 100%; min-width: max-content; padding: 0 70px 0 0; }
.rail__lead .panel__title { font-size: clamp(24px, 2.4vw, 34px); overflow-wrap: anywhere; hyphens: auto; }
.rail__lead { width: 300px; flex: none; padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; }
.rail__lead .hint { margin-top: auto; padding-bottom: 20px; }
.event { width: 400px; flex: none; display: flex; flex-direction: column; border-left: 1.5px solid var(--ink); overflow-y: auto; scrollbar-width: thin; }
.event:nth-child(odd) { width: 440px; }
.event__no { font-size: 84px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--faint); padding: 22px 0 0 18px; }
.event__body { padding: 8px 26px 60px 18px; }
.event__title { font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; }
.event__tag { margin: 6px 0 18px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ultra); }
.event__pics { margin-bottom: 18px; }
.event__pics--many { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.event__pics--many .shot:nth-child(even) { margin-top: 44px; }
.event__pics--many .shot:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.event__pics--many .shot:first-child:nth-last-child(odd) ~ .shot:nth-child(even) { margin-top: 0; }
.event__pics--many .shot:first-child:nth-last-child(odd) ~ .shot:nth-child(odd) { margin-top: 44px; }
.event__text { font-size: 12px; line-height: 1.75; color: #2a2a2a; margin-bottom: 12px; letter-spacing: 0.01em; }
.event__list { display: grid; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.6; color: var(--soft); }
.event__list li { padding-left: 18px; position: relative; }
.event__list li::before { content: '—'; position: absolute; left: 0; color: var(--ink); }
.event .btn { white-space: normal; line-height: 1.5; }

/* ── 2 · INSTALLATIONS ──────────────────────────────────────────────────── */
.panel--objects { overflow: auto; }
.objects__defs { position: absolute; }
.objects__canvas { position: relative; min-width: 900px; width: 100%; aspect-ratio: 16 / 11.2; }
.objects__head { position: absolute; left: 34px; top: 30px; width: min(64%, 700px); display: grid; gap: 12px; z-index: 5; }
.objects__index { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.7; }
.objects__head .lede { max-width: 46ch; }
.object { position: absolute; z-index: 10; cursor: pointer; }
.object:hover, .object:focus-visible, .object.is-lit { z-index: 30; }
.object__pic { position: relative; display: block; }
.object__pic img { width: 100%; }
.object__grain { position: absolute; inset: 0; filter: url(#grain); transition: opacity 0.5s ease; }
.object:hover .object__grain, .object:focus-visible .object__grain, .object.is-lit .object__grain { opacity: 0; }
.object--photo .object__pic { padding: 6px 6px 20px; background: #fff; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16); transform: rotate(2.5deg); }
.object--photo .object__grain { inset: 6px 6px 20px; width: calc(100% - 12px); }
.object__card {
  position: absolute; top: 30%; width: 220px; padding: 12px 16px 14px; background: rgba(243, 241, 236, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 3px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  display: grid; gap: 7px; text-align: left; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.object--card-right .object__card { left: calc(100% + 10px); }
.object--card-left .object__card { right: calc(100% + 10px); }
.object:hover .object__card, .object:focus-visible .object__card, .object.is-lit .object__card { opacity: 1; }
.object__card b { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.object__card span { font-size: 10.5px; line-height: 1.7; color: var(--soft); }
.object__card i { font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ultra); }

/* ── 3 · UX/UI ──────────────────────────────────────────────────────────── */
.ux__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 16px; }
.ux__card { display: grid; gap: 3px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.ux__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0b; margin-bottom: 8px; border: 1px solid var(--line); }
.ux__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s var(--ease); }
.ux__card:hover img { transform: scale(1.03); }
.ux__card b { font-weight: 500; }
.ux__card span { color: var(--mute); }
.ux__card.is-on .ux__thumb { outline: 2px solid var(--ultra); outline-offset: 3px; }
.ux__strip { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(240px, 1.1fr) 1.2fr minmax(180px, 0.8fr); gap: 30px; align-items: start; }
.ux__feature { border: 1px solid var(--line); }
.ux__about h3 { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.ux__about .meta { margin: 6px 0 12px; }
.ux__about p:not(.meta) { font-size: 11.5px; line-height: 1.75; color: #2a2a2a; margin-bottom: 10px; }
.ux__strip .facts { grid-template-columns: 1fr; border-left: 1px solid var(--line); padding-left: 22px; }
.ux__strip .facts dd { margin-bottom: 12px; }

/* ── 4 · GRAPHIC DESIGN columns ─────────────────────────────────────────── */
.cols__track { display: flex; height: 100%; min-width: max-content; padding-right: 70px; }
.cols__lead { width: 230px; flex: none; padding: 22px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.cols__lead .panel__title { margin-top: 12px; font-size: 38px; }
.cols__lead .hint { max-width: 170px; line-height: 1.7; padding-bottom: 20px; }
.col { width: 372px; flex: none; height: 100%; overflow-y: auto; border-right: 1px solid var(--ink); scrollbar-width: thin; }
.col__head { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 16px; }
.col__row { display: flex; justify-content: space-between; font-size: 9.5px; letter-spacing: 0.16em; color: var(--mute); }
.col__name { margin-top: 14px; font-size: 28px; font-weight: 300; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.col__kind { margin-top: 5px; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ultra); }
.col__sum { margin-top: 14px; font-size: 11px; line-height: 1.7; color: #2a2a2a; }
.col__scope { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.7; color: var(--mute); }
.col__item { border-bottom: 1px solid var(--ink); }
.col__item p { padding: 7px 12px; font-size: 9.5px; letter-spacing: 0.14em; color: var(--mute); }

/* ── 5 · 3D rows ────────────────────────────────────────────────────────── */
.td { max-width: 1040px; margin: 0 auto; }
.td__head { text-align: center; display: grid; gap: 10px; justify-items: center; margin-bottom: 40px; }
.td__title { font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; }
.td__head .lede { text-transform: none; letter-spacing: 0.01em; font-size: 12px; color: #2a2a2a; }
.td__row { display: grid; grid-template-columns: 52px 1fr; gap: 12px 16px; align-items: center; margin-bottom: 46px; }
.td__no { text-align: right; font-size: 10px; letter-spacing: 0.14em; }
.td__main { display: grid; grid-template-columns: 1fr 210px; align-items: center; }
.td__hero { position: relative; display: block; width: 100%; height: clamp(240px, 36vw, 400px); background: #0b0b0b; overflow: hidden; cursor: zoom-in; }
.td__hero img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); }
.td__hero:hover img { transform: scale(1.025); }
.td__count { position: absolute; left: 12px; bottom: 12px; background: #000; color: #fff; padding: 3px 8px; font-size: 9.5px; letter-spacing: 0.14em; }
.td__spec { border: 1px solid var(--ink); border-left: 0; padding: 14px; background: var(--paper); }
.td__kind { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); }
.td__spec h3 { margin-top: 8px; font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
.td__spec dl { margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--ink); }
.td__spec dt { font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); }
.td__spec dd { margin-top: 2px; font-size: 10.5px; line-height: 1.5; }
.td__text { margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 10.5px; line-height: 1.65; color: var(--soft); }
.td__strip { grid-column: 2; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.td__strip button { flex: none; width: 74px; height: 54px; background: #0b0b0b; opacity: 0.5; border: 1px solid transparent; transition: opacity 0.2s; }
.td__strip button img { width: 100%; height: 100%; object-fit: cover; }
.td__strip button:hover, .td__strip button.is-on { opacity: 1; }
.td__strip button.is-on { border-color: var(--ultra); outline: 1px solid var(--ultra); }
.td__note { margin: 20px 0 0 68px; padding: 18px 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.td__note h3 { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
.td__note p { font-size: 11.5px; line-height: 1.75; color: #2a2a2a; }

/* ── 6 · VIDEO & MOTION ─────────────────────────────────────────────────── */
.panel--video { overflow-y: auto; }
.video__top { flex: 1; display: flex; gap: 20px; padding: 30px 34px 10px; min-height: 480px; }
.video__left { flex: 1.25; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.video__left header { display: grid; gap: 12px; }
.video__left .lede { max-width: 34ch; }
.video__pile { position: relative; flex: 1; min-height: 400px; }
.polaroid { position: absolute; width: 33%; max-width: 190px; background: #f5f2ec; padding: 6px 6px 8px; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16); transform: rotate(var(--tilt, 0deg)); transition: transform 0.2s, box-shadow 0.2s; }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ccc; filter: brightness(0.9) saturate(0.85); transition: filter 0.2s; }
.polaroid__cap { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #444; }
.polaroid__cap span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.polaroid__cap span:last-child { color: var(--mute); }
.polaroid:hover, .polaroid.is-on { transform: rotate(var(--tilt, 0deg)) scale(1.05); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); z-index: 5; }
.polaroid:hover img, .polaroid.is-on img { filter: none; }
.polaroid.is-on { outline: 1.5px solid var(--ultra); }
.video__right { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding-top: 30px; }
.tv { width: min(100%, 380px); user-select: none; }
.tv__box { background: linear-gradient(160deg, #2d2d2d, #1a1a1a); border-radius: 14px; padding: 14px 14px 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.tv__screen { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: #000; border: 8px solid #080808; border-radius: 10px; overflow: hidden; box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.9); }
.tv__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.tv__lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.13) 2px 4px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%); }
.tv__brand, .tv__time, .tv__osd { position: absolute; color: #fff; pointer-events: none; text-shadow: 0 0 8px rgba(0, 0, 0, 0.8); }
.tv__brand { left: 12px; top: 8px; font-size: 9px; letter-spacing: 0.18em; opacity: 0.6; }
.tv__time { left: 12px; bottom: 8px; font-size: 11px; letter-spacing: 0.14em; }
.tv__osd { inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 700; letter-spacing: 0.12em; }
.tv__deck { display: flex; align-items: center; gap: 10px; margin-top: 3px; background: linear-gradient(160deg, #242424, #161616); border-radius: 0 0 10px 10px; padding: 10px 14px 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.tv__slot { flex: 1; min-width: 0; background: #090909; border: 1px solid #333; border-radius: 4px; padding: 5px; }
.tv__tape { display: flex; justify-content: space-between; gap: 8px; background: linear-gradient(#f5f0e5, #ede8d8); border-radius: 2px; padding: 4px 8px; font-size: 9px; letter-spacing: 0.1em; color: #111; }
.tv__tape-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv__tape span:last-child { color: #666; }
.tv__eject { background: #2e2e2e; border: 1px solid #444; border-radius: 3px; padding: 5px 8px; font-size: 9px; letter-spacing: 0.1em; color: #aaa; }
.tv__eject:hover { color: #fff; border-color: #888; }
.tv__led { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red); }
.tv .hint { text-align: center; margin-top: 14px; color: var(--mute); }
.video__info { flex: none; display: grid; grid-template-columns: 150px minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 26px; align-items: start; padding: 20px 34px 24px; border-top: 1px solid var(--line); }
.video__still { width: 150px; height: 100px; object-fit: cover; background: #ccc; }
.video__info h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.video__info .meta { margin-top: 6px; }
.video__info .btn { margin-top: 0; }

/* ── 7 · PROJECTION ─────────────────────────────────────────────────────── */
.panel--proj { display: grid; grid-template-columns: 34px 132px minmax(0, 1.5fr) minmax(200px, 0.8fr); gap: 22px; padding: 26px 30px; overflow: hidden; }
.proj__thumbs { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; scrollbar-width: thin; }
.proj__thumbs button { position: relative; flex: none; height: 112px; overflow: hidden; background: #0b0b0b; border: 1px solid transparent; opacity: 0.55; transition: opacity 0.2s; }
.proj__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.proj__thumbs button span { position: absolute; left: 0; bottom: 0; background: #000; color: #fff; padding: 3px 6px; font-size: 9px; letter-spacing: 0.14em; }
.proj__thumbs button:hover, .proj__thumbs button.is-on { opacity: 1; }
.proj__thumbs button.is-on { border-color: var(--ink); outline: 1px solid var(--ink); }
.proj__main { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.monitor { background: #0a0a0a; padding: 14px 14px 10px; }
.monitor__screen { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 62vh; overflow: hidden; background: #000; }
.monitor__view, .monitor__view > * { width: 100%; height: 100%; }
.monitor__view > * { object-fit: contain; }
.monitor__lines { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.1) 50%); background-size: 100% 4px; }
.monitor__rec { position: absolute; left: 14px; top: 12px; font-size: 10px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.8); }
.monitor__rec::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--red); }
.monitor__ctrl { display: flex; align-items: center; gap: 12px; padding-top: 10px; color: #fff; font-size: 10px; letter-spacing: 0.08em; }
.monitor__play, .monitor__full { width: 26px; height: 26px; text-align: center; color: #fff; font-size: 12px; }
.monitor__play:disabled { opacity: 0.3; cursor: default; }
.monitor__play:hover:not(:disabled), .monitor__full:hover { color: #9c9cff; }
.monitor__bar { flex: 1; height: 14px; display: flex; align-items: center; cursor: pointer; background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)) center / 100% 1px no-repeat; }
.monitor__bar div { height: 3px; width: 0; background: #fff; }
.proj__cap { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.monitor__title { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.proj__cap > .meta { text-align: right; max-width: 30ch; line-height: 1.7; }
.proj__text { overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-left: 20px; border-left: 1px solid var(--ink); }
.proj__text .panel__title { font-size: 26px; }
.proj__text .lede { text-transform: none; letter-spacing: 0.01em; font-size: 12px; color: #2a2a2a; }

/* ── 8 · DIGITAL ART ────────────────────────────────────────────────────── */
.panel--digital { display: grid; grid-template-columns: 34px minmax(0, 1.5fr) minmax(250px, 1fr); padding: 24px 30px 0; overflow: hidden; }
.digital__field, .digital__stack { min-height: 0; display: flex; flex-direction: column; }
.digital__field { border-right: 1px solid var(--ink); padding: 0 16px; }
.field__scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; background-image: radial-gradient(#cfcfcf 1px, transparent 1px); background-size: 22px 22px; scrollbar-width: thin; }
.field__wrap { container-type: inline-size; }
.field { position: relative; }
.pin { position: absolute; background: #fff; cursor: grab; touch-action: pan-y; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: box-shadow 0.2s; }
.pin img { width: 100%; pointer-events: none; }
.pin span { position: absolute; right: 4px; bottom: 4px; background: #fff; padding: 0 4px; font-size: 9px; letter-spacing: 0.12em; }
.pin:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); }
.pin.is-dragging { cursor: grabbing; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); }
.digital__foot { flex: none; border-top: 1px solid var(--ink); padding: 12px 0 16px; }
.digital__foot b { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.digital__foot p { margin-top: 4px; font-size: 10.5px; line-height: 1.65; color: var(--soft); }
.digital__stack { padding-left: 18px; }
.digital__stack header { display: grid; gap: 10px; padding-bottom: 14px; }
.digital__stack .panel__title { font-size: 24px; }
.stack { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 12px; align-content: start; padding: 4px 10px 14px 0; scrollbar-width: thin; }
.stack__row { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; font-size: 9.5px; letter-spacing: 0.12em; }
.stack__row .shot img { filter: grayscale(1); }
.stack__row .shot:hover img { filter: none; }

/* ── 9 · PHOTOGRAPHY ────────────────────────────────────────────────────── */
.photos .panel__head { margin-bottom: 18px; }
.photos__wall { columns: 4 200px; column-gap: 8px; }
.photos__wall .shot { margin-bottom: 8px; break-inside: avoid; }
.photos__wall .shot:hover img { filter: contrast(1.1); }

/* ── 10 · MARKETING board ───────────────────────────────────────────────── */
.board__track { display: flex; height: 100%; min-width: max-content; padding-right: 70px; }
.board__col { width: 380px; flex: none; display: flex; flex-direction: column; border-left: 1.5px solid var(--ink); margin-right: 6px; }
.board__wall { flex: 1; min-height: 0; overflow-y: auto; display: flex; gap: 12px; padding: 26px 18px 10px; align-items: flex-start; scrollbar-width: thin; }
.board__sub { flex: 1; min-width: 0; display: grid; gap: 14px; }
.board__sub--low { margin-top: 38px; }
.note { background: #fff; padding: 6px; border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1); transform: rotate(var(--tilt, 0deg)); }
.note figcaption { padding: 7px 3px 2px; font-size: 9.5px; line-height: 1.5; letter-spacing: 0.04em; color: var(--soft); }
.note--text { background: var(--postit); padding: 14px; border: 0; }
.note--text p { font-size: 11px; line-height: 1.7; }
.board__foot { flex: none; padding: 12px 18px 22px; border-top: 1px solid var(--line); margin: 0 18px; padding-left: 0; padding-right: 0; }
.board__foot > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.board__foot b { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── pages (Highlights, Vocabulary, About, Contact) ─────────────────────── */
.page, .highlights { max-width: 1280px; margin: 0 auto; padding: 44px 34px 0; }
.page__head { display: grid; gap: 12px; margin-bottom: 40px; }
.page__title { font-size: clamp(34px, 5.4vw, 72px); }

/* HIGHLIGHTS */
.highlights { position: relative; max-width: none; padding-bottom: 90px; }
.highlights > .pager { position: fixed; right: 22px; bottom: 20px; z-index: 250; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.highlights > .pager .pager__btn { width: 44px; height: 44px; font-size: 16px; }
.wall__hint { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ultra); }
.wall { overflow-x: auto; cursor: grab; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.wall__track { display: flex; gap: 18px; min-width: max-content; align-items: flex-start; }
.wall__col { position: relative; isolation: isolate; width: 300px; flex: none; padding: 14px 20px 120px; display: grid; gap: 46px; }
.wall__col::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 4px 4px 0 0;
  background: #f1f1f2 radial-gradient(#bfc0c5 1px, transparent 1.3px) 0 0 / 15px 15px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 150px), transparent); mask-image: linear-gradient(#000 calc(100% - 150px), transparent); }
.wall__name { display: flex; gap: 10px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: -14px; }
.wall__name span { color: var(--ultra); font-size: 10px; }
.pile { position: relative; display: block; width: 100%; transform: rotate(var(--tilt, 0deg)); transition: transform 0.3s var(--ease); cursor: zoom-in; }
.pile__top, .pile__under { display: block; background: #fff; padding: 8px 8px 0; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14); }
.pile__top { position: relative; z-index: 3; }
.pile__top img { width: 100%; max-height: 330px; object-fit: cover; }
.pile__cap { display: flex; justify-content: space-between; gap: 8px; padding: 8px 2px 9px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.pile__under { position: absolute; inset: 0; overflow: hidden; padding-bottom: 30px; transition: transform 0.35s var(--ease); }
.pile__under img { width: 100%; height: 100%; object-fit: cover; }
.pile__under--1 { z-index: 2; transform: rotate(4deg) translate(8px, 4px); }
.pile__under--2 { z-index: 1; transform: rotate(-5deg) translate(-9px, 6px); }
.pile:hover { transform: rotate(0deg) translateY(-4px); }
.pile:hover .pile__under--1 { transform: rotate(9deg) translate(34px, 8px); }
.pile:hover .pile__under--2 { transform: rotate(-10deg) translate(-34px, 10px); }
.tape {
  position: absolute; z-index: 4; left: -12px; top: -14px; max-width: 86%; padding: 6px 14px;
  background: var(--tape); color: #1d1d1d; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.35;
  transform: rotate(-4deg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); opacity: 0.94;
  clip-path: polygon(0 12%, 3% 0, 7% 10%, 12% 0, 100% 4%, 98% 30%, 100% 62%, 97% 100%, 6% 96%, 2% 100%, 0 70%, 2% 40%);
}

/* VOCABULARY */
.entry { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 34px; align-items: center; padding: 44px 0; border-top: 1px solid var(--ink); }
.entry__letter { font-size: clamp(120px, 20vw, 280px); font-weight: 200; line-height: 0.8; letter-spacing: -0.04em; }
.entry__pic { background: none; max-width: 420px; justify-self: center; }
.entry__pic img { max-height: 420px; width: auto; margin: 0 auto; }
.entry__copy h2 { margin: 8px 0 12px; font-size: 26px; font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; }
.entry__copy p:last-child { font-size: 12.5px; line-height: 1.8; color: #2a2a2a; max-width: 44ch; }
.entry--flip .entry__letter { order: 3; text-align: right; }
.entry--flip .entry__copy { order: 1; }
.entry--flip .entry__pic { order: 2; }
.vocab__outro { padding: 30px 0 0; border-top: 1px solid var(--ink); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); }

/* ABOUT */
/* dark opening: portrait, script title, scattering letters, embers */
.about { color: var(--ink); }
.about__hero { position: relative; min-height: calc(100vh - var(--top)); min-height: calc(100dvh - var(--top)); display: flex; align-items: center; overflow: hidden; background: #000; color: #f5f5f5; }
.about__bg { position: absolute; inset: 0; background: #000 url('../../media/about/portrait.webp') right center / auto 100% no-repeat; }
.about__bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, #000 22%, rgba(0, 0, 0, 0) 52%); }
.about__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 55% 40%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.6) 100%); }
.about__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.about__inner { position: relative; z-index: 2; width: min(760px, 100%); margin-left: clamp(20px, 8vw, 140px); padding: 34px 24px 44px; display: flex; flex-direction: column; gap: 14px; }
.about__hi { width: clamp(130px, 13vw, 190px); margin: 0 0 -4px -6px; transform: rotate(-3deg); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55)); pointer-events: none; user-select: none; }
.about__words { position: relative; display: flex; flex-direction: column; gap: 14px; }
.about__title { font-family: var(--script); font-weight: 400; font-size: clamp(72px, 10.5vw, 152px); line-height: 0.92; letter-spacing: -0.02em; white-space: nowrap; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55); }
.about__sub { font-family: var(--script); font-size: clamp(19px, 2vw, 26px); color: rgba(255, 255, 255, 0.8); letter-spacing: 0.01em; }
.about__say { font-family: var(--type); font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 60ch; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.about__say--lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55; color: rgba(255, 255, 255, 0.94); max-width: 56ch; }
.dword { display: inline-block; white-space: nowrap; }
.dchar { display: inline-block; will-change: transform; cursor: default; }
.about__card { align-self: flex-start; margin-top: 12px; padding: 18px 22px; display: grid; gap: 6px; justify-items: start; background: linear-gradient(180deg, #1c1c1c, #141414); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 32px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04); transform: rotate(-1.2deg); }
.about__card-name { font-family: var(--script); font-size: 24px; color: #fff; }
.about__card a { font-size: 13px; color: rgba(255, 255, 255, 0.8); border-bottom: 1px dotted rgba(255, 255, 255, 0.4); }
.about__card a:hover { color: #fff; border-bottom-color: #fff; }
.about__card-links { display: flex; gap: 16px; margin-top: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.about__rest { max-width: 1280px; margin: 0 auto; padding: 56px 34px 0; }
.about__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 640px; padding-top: 18px; border-top: 1px solid var(--ink); }
.about__lists ul { margin-top: 10px; display: grid; gap: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.about__knife { position: relative; margin: 70px 0 30px; display: grid; place-items: center; }
.knife { width: min(100%, 1040px); height: auto; overflow: visible; }
.knife text { font-family: var(--mono); fill: var(--ink); font-weight: 400; }
.about__tagline { position: absolute; width: min(34%, 320px); pointer-events: none; }
.about__strip { margin-top: 40px; overflow: hidden; background: #0b0b0b; }
.about__strip img { width: 100%; }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr minmax(300px, 440px); gap: 40px 70px; align-items: start; position: relative; }
.contact__copy { display: grid; gap: 14px; padding-top: 20px; }
.contact__mail a { font-size: 14px; border-bottom: 1px solid var(--ink); }
.contact__mail a:hover { color: var(--ultra); border-color: var(--ultra); }
.contact .foot { grid-column: 1 / -1; }
.contact__star { position: absolute; left: 4%; top: 330px; width: 170px; opacity: 0.9; pointer-events: none; animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
body[data-view="contact"] .view { overflow-x: clip; }      /* the tilted note must not widen the page */
/* The sticky note. It is stuck along its top edge and lifts at the bottom:
   .postit__paper is the sheet, the two pseudo-elements are the shadows its
   free corners throw, .postit__tape is the strip of masking tape.           */
.postit { position: relative; isolation: isolate; margin-top: 34px; padding: 64px 34px 30px; display: grid; gap: 14px; color: #2b2710;
  transform: rotate(-1.7deg); transform-origin: 50% 0; transition: transform 0.45s var(--ease); }
.postit:hover, .postit:focus-within { transform: rotate(-0.5deg) translateY(-3px); }
.postit__paper { position: absolute; inset: 0; z-index: -1;
  border-radius: 1px 2px 78px 2px / 1px 2px 11px 2px;      /* the bottom-right corner curls up */
  background:
    linear-gradient(104deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.24) 46%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(200, 170, 0, 0.14) 0, rgba(200, 170, 0, 0.08) 44px, rgba(200, 170, 0, 0) 62px),
    radial-gradient(130% 80% at 100% 100%, rgba(150, 120, 0, 0.16), rgba(150, 120, 0, 0) 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .42  0 0 0 0 .05  0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6  0 0 0 0 .5  0 0 0 0 0  0 0 0 .2 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    #fff384;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 1px rgba(140, 115, 0, 0.18), inset 1px 0 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.16); }
.postit::before, .postit::after { content: ''; position: absolute; z-index: -2; bottom: 15px; width: 46%; height: 28%; transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease); }
.postit::before { left: 10px; bottom: 17px; transform: rotate(-3.5deg); box-shadow: 0 19px 13px rgba(0, 0, 0, 0.32); }
.postit::after { right: 14px; bottom: 21px; transform: rotate(5.5deg) skewX(-8deg); box-shadow: 0 24px 16px rgba(0, 0, 0, 0.42); }
.postit:hover::before, .postit:focus-within::before { box-shadow: 0 22px 18px rgba(0, 0, 0, 0.28); }
.postit:hover::after, .postit:focus-within::after { box-shadow: 0 32px 22px rgba(0, 0, 0, 0.4); transform: rotate(7deg) skewX(-8deg); }
.postit__tape { position: absolute; left: 50%; top: -23px; width: 138px; height: 46px; transform: translateX(-44%) rotate(-4.5deg);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 2%, rgba(255, 255, 255, 0.42) 14%, rgba(255, 255, 255, 0) 27%, rgba(255, 255, 255, 0) 49%, rgba(255, 255, 255, 0.3) 61%, rgba(255, 255, 255, 0) 76%),
    repeating-linear-gradient(92deg, rgba(110, 100, 70, 0.07) 0 1.5px, rgba(255, 255, 255, 0) 1.5px 4.5px),
    linear-gradient(180deg, rgba(120, 110, 80, 0.12), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 72%, rgba(120, 110, 80, 0.14)),
    rgba(238, 233, 216, 0.88);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  clip-path: polygon(2% 0, 0 13%, 3% 25%, 0.5% 39%, 3.5% 52%, 0 66%, 3% 79%, 0.5% 91%, 2.5% 100%, 97.5% 100%, 100% 88%, 97% 76%, 99.5% 62%, 96.5% 49%, 100% 35%, 97% 22%, 99.5% 9%, 98% 0); }
.postit__field { display: grid; gap: 1px; }
.postit__field span { font-family: var(--type); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em; color: #6d611b; }
.postit__field input, .postit__field textarea { width: 100%; font-family: var(--type); font-size: 15.5px; line-height: 1.5; color: #1d1a08; background: transparent; border: 0; border-bottom: 1.2px solid rgba(70, 58, 0, 0.42); border-radius: 0; padding: 5px 0 4px; resize: vertical; }
.postit__field textarea { min-height: 120px; background: repeating-linear-gradient(transparent 0 22.2px, rgba(70, 58, 0, 0.16) 22.2px 23.2px); background-position: 0 5px; border-bottom: 0; }
.postit__field input:focus, .postit__field textarea:focus { outline: none; border-bottom-color: var(--ultra); box-shadow: 0 1.5px 0 var(--ultra); }
.postit__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.postit__row .btn { margin-top: 0; font-family: var(--type); font-size: 13px; padding: 8px 18px; }
.postit__row a { font-family: var(--type); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid rgba(70, 58, 0, 0.5); }
.postit__row a:hover { color: var(--ultra); border-color: var(--ultra); }
.postit__status { min-height: 18px; font-family: var(--type); font-size: 13px; }
.postit__status.is-error { color: #a01414; }

/* ── the post viewer ────────────────────────────────────────────────────── */
/* Sizes come from the window (dvh), never from the picture, so tall posters fit. */
.post { position: fixed; inset: 0; z-index: 500; background: rgba(8, 8, 8, 0.78); display: flex; align-items: center; justify-content: center; padding: 28px; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } }
.post__frame {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr);
  width: min(1180px, 100%); height: min(780px, calc(100vh - 56px)); height: min(780px, calc(100dvh - 56px)); /* 56 = the padding around it */
  background: var(--paper); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}
.post__media { position: relative; background: #0b0b0b; min-height: 0; min-width: 0; overflow: hidden; touch-action: pan-y; }
.post__stage { position: absolute; inset: 0; }
.post__stage > img, .post__stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.post__arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; background: #fff; border: 1px solid var(--ink); text-align: center; font-size: 16px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.post__arrow--prev { left: 14px; }
.post__arrow--next { right: 14px; }
.post__arrow:hover { background: var(--ultra); border-color: var(--ultra); color: #fff; }
.post__count { position: absolute; left: 14px; top: 14px; z-index: 2; background: #000; color: #fff; padding: 4px 9px; font-size: 10px; letter-spacing: 0.14em; }
.post__side { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); }
.post__head { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.post__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink) url('../../media/logo/panicattacklogo.t.webp') center / 82% no-repeat; flex: none; }
.post__handle { flex: 1; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.post__close { width: 30px; height: 30px; font-size: 22px; line-height: 1; text-align: center; }
.post__close:hover { color: var(--ultra); }
.post__body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 16px; display: grid; gap: 10px; align-content: start; }
.post__title { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; }
.post__cat { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ultra); }
.post__text { font-size: 12px; line-height: 1.8; color: #2a2a2a; }
.post__thumbs { flex: none; display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px 12px; border-top: 1px solid var(--line); scrollbar-width: thin; }
.post__thumbs button { flex: none; width: 54px; height: 54px; background: #0b0b0b; opacity: 0.5; border: 1px solid transparent; transition: opacity 0.2s; }
.post__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.post__thumbs button:hover, .post__thumbs button.is-on { opacity: 1; }
.post__thumbs button.is-on { border-color: var(--ultra); outline: 1px solid var(--ultra); }
.post.is-single .post__arrow, .post.is-single .post__count, .post.is-single .post__thumbs { display: none; }

/* ── small screens: everything becomes one calm column ──────────────────── */
@media (max-width: 880px) {
  :root { --top: 62px; }
  .brand img { height: 44px; }
  .top { padding: 0 16px; }
  .top__toggle { display: block; }
  .nav { position: fixed; inset: var(--top) 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px 16px 16px; display: none; }
  .nav-open .nav { display: flex; }
  .nav__link { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  body[data-view="projects"] .view { height: auto; overflow: visible; }

  .orbit__intro, .orbit__status { left: 16px; }
  .orbit__sub { display: none; }
  .orbit__motto { top: 44px; width: min(70vw, 300px); }
  .orbit__status { display: none; }
  .manifesto { display: block; min-height: 0; padding: 4vh 16px 6vh; }
  .manifesto__stage { position: relative; left: auto; top: auto; width: 100%; height: 96vw; }
  .manifesto__copy { width: 100%; margin-top: 8vh; }
  .manifesto__big { font-size: 13vw; }
  .manifesto__big { white-space: normal; }
  .manifesto__knot { position: relative; right: auto; top: auto; width: 86vw; margin: -12vw auto 0; transform: none; }
  .manifesto__say { margin-top: 30px; }
  .cat { display: block; min-height: 0; padding: 8vh 16px 4vh; }
  .cat--flip .cat__text { justify-self: start; }
  .cat__no { font-size: 36vw; }
  .cat__title { font-size: 13vw; }
  .cat__title--long { font-size: 10vw; }
  .sky { min-height: 0; height: 118vw; margin-top: 30px; }
  .featured { padding: 8vh 16px 4vh; }
  .featured__stage { position: relative; right: auto; top: auto; width: 100%; height: 64vw; margin: 0 0 10px; }
  .featured__grid { grid-template-columns: 1fr; }
  .outro { padding: 10vh 16px 0; }
  .about__inner { margin-left: 0; padding: 30px 16px 44px; }
  .about__bg { background-position: 78% center; opacity: 0.55; }
  .about__bg::before { display: none; }
  .about__title { font-size: 25vw; }
  .about__rest { padding: 40px 16px 0; }
  .orbit__crumb { left: 16px; }
  .orbit__item.is-selected { left: 50%; top: 32%; width: 64vw !important; }
  .orbit__item.is-selected .orbit__pic, .orbit__item.is-selected .orbit__pic img { max-height: 42vh; }
  .orbit__caption { left: 16px; right: 16px; top: auto; bottom: 56px; width: auto; transform: none; margin: 0; padding: 12px 0 0; box-shadow: 0 -16px 20px rgba(255, 255, 255, 0.95); animation: none; }
  .orbit__title { font-size: 22px; padding-right: 40px; }
  .orbit__close { top: 4px; right: -6px; }
  .orbit__caption .meta { margin-bottom: 6px; }
  .orbit__cat { margin-top: 6px; padding-bottom: 10px; }
  .orbit__desc { margin-top: 10px; }
  .orbit__more { margin-top: 10px; }

  .projects { display: block; height: auto; }
  .side { width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 16px 14px; overflow: visible; }
  .side__title { margin-bottom: 14px; }
  .side__foot { display: none; }
  .projects--open .index { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .projects--open .index__link { white-space: nowrap; margin: 0; border: 1px solid var(--line); }
  .projects--desk .index { display: none; }
  .stage { overflow: visible; }
  .desk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 12px; padding: 26px 16px 50px; }
  .folder { position: static; transform: none; width: auto; }
  .folder__icon { width: 62%; }
  .folder__label { width: auto; }

  .panel, .panel--scroll, .panel--video, .panel--objects { overflow: visible; }
  .panel--scroll { padding: 22px 16px 50px; }
  .pager { display: none; }
  .rail, .cols { overflow: visible; cursor: auto; }
  .rail__track, .cols__track, .board__track { display: block; min-width: 0; height: auto; padding: 0; }
  .rail__lead, .cols__lead { width: auto; padding: 22px 16px; border-right: 0; }
  .rail__lead .hint, .cols__lead .hint { display: none; }
  .event, .event:nth-child(odd), .col, .board__col { width: auto; height: auto; overflow: visible; border-left: 0; border-right: 0; border-top: 1.5px solid var(--ink); margin: 0; }
  .event__no { font-size: 60px; padding-left: 16px; }
  .event__body { padding: 8px 16px 34px; }
  .col__head { position: static; }
  .board__wall { overflow: visible; padding: 22px 16px 10px; }
  .board__foot { margin: 0 16px; }

  .objects__canvas { min-width: 0; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 22px 16px 50px; align-items: end; }
  .objects__head { position: static; width: auto; grid-column: 1 / -1; }
  .object { position: static; width: auto !important; display: grid; gap: 8px; justify-items: center; }
  .object__pic { max-width: 200px; }
  .object__card, .object--card-left .object__card, .object--card-right .object__card { position: static; width: auto; opacity: 1; background: none; border: 0; box-shadow: none; padding: 0; text-align: center; }
  .object__card i { display: none; }

  .ux__strip { grid-template-columns: 1fr; }
  .ux__strip .facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }

  .td__row { grid-template-columns: 1fr; }
  .td__no { text-align: left; }
  .td__main { grid-template-columns: 1fr; }
  .td__spec { border-left: 1px solid var(--ink); border-top: 0; }
  .td__strip { grid-column: 1; }
  .td__note { margin-left: 0; grid-template-columns: 1fr; }

  .video__top { flex-direction: column; padding: 22px 16px 10px; }
  .video__right { padding-top: 0; order: -1; }
  .video__pile { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .polaroid { position: static; width: auto; max-width: none; }
  .video__info { grid-template-columns: 1fr; padding: 18px 16px 40px; gap: 14px; }
  .video__still { display: none; }

  .panel--proj { display: flex; flex-direction: column; padding: 22px 16px 50px; }
  .panel--proj .vlabel, .panel--digital .vlabel { display: none; }
  .proj__text { order: -1; border-left: 0; padding-left: 0; overflow: visible; }
  .proj__thumbs { flex-direction: row; overflow-x: auto; order: 3; }
  .proj__thumbs button { width: 110px; height: 82px; }
  .proj__cap { flex-direction: column; gap: 8px; }
  .proj__cap > .meta { text-align: left; }

  .panel--digital { display: flex; flex-direction: column; padding: 22px 16px 40px; }
  .digital__stack { order: -1; padding-left: 0; }
  .digital__field { border-right: 0; padding: 0; margin-top: 26px; }
  .field__scroll, .stack { overflow: visible; }
  .field { height: auto !important; columns: 2; column-gap: 10px; padding: 10px; }
  .pin { position: relative; left: auto !important; top: auto !important; width: 100% !important; margin-bottom: 10px; break-inside: avoid; display: block; }

  .page, .highlights { padding: 30px 16px 0; }
  .wall__col { width: 78vw; max-width: 320px; }
  .entry, .entry--flip { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .entry--flip .entry__letter { order: 0; text-align: left; }
  .entry--flip .entry__pic { order: 1; }
  .entry--flip .entry__copy { order: 2; }
  .entry__pic { justify-self: start; }
  .contact { grid-template-columns: 1fr; }
  .about__tagline { width: 46%; }
  .contact__star { display: none; }

  .post { padding: 0; }
  .post__frame { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100vh; height: 100dvh; }
  .post__side { border-left: 0; max-height: 42vh; max-height: 42dvh; }
  .post__arrow { width: 38px; height: 38px; margin-top: -19px; }
  .post__arrow--prev { left: 8px; }
  .post__arrow--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
