/* ============================================================
   Menna Eid · Portfolio
   ============================================================ */

@font-face { font-family: 'Inter Tight'; src: url('../assets/fonts/InterTight-Var.woff2') format('woff2'); font-weight: 300 600; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../assets/fonts/InstrumentSerif-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../assets/fonts/InstrumentSerif-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0a09;
  --bg-2: #12100e;
  --bg-3: #1a1714;
  --ink: #efe8dd;
  --ink-2: rgba(239, 232, 221, .66);
  --ink-3: rgba(239, 232, 221, .38);
  --line: rgba(239, 232, 221, .13);
  --accent: #d9b47e;
  --accent-2: #f3d6a8;
  --paper: #ebe4d8;
  --paper-ink: #16130f;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --pad: clamp(18px, 3.2vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 350; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
strong { font-weight: 500; color: var(--ink); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.container { width: 100%; padding-inline: var(--pad); margin-inline: auto; max-width: 1760px; }
.label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 22px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.display { font-family: var(--sans); font-weight: 300; font-size: clamp(44px, 7.4vw, 128px); line-height: .92; letter-spacing: -.045em; margin: 0; }
.display em { letter-spacing: -.02em; padding-right: .04em; }
.display sup { font-size: .16em; letter-spacing: 0; vertical-align: top; position: relative; top: .4em; margin-left: .3em; color: var(--accent); font-family: var(--sans); }
.mini { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin: 0 0 16px; }

/* ── Grain */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

/* ── Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; }
.cursor__ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(239,232,221,.35);
  display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s; }
.cursor__label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bg); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent-2); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--accent); }
.cursor.is-down .cursor__ring { transform: scale(.85); }
.cursor.is-hidden { opacity: 0; }
.cursor.is-light .cursor__dot { background: var(--paper-ink); mix-blend-mode: normal; }
.cursor.is-light .cursor__ring { border-color: rgba(22,19,15,.45); }
.cursor.is-light.is-hover .cursor__ring { border-color: var(--paper-ink); }
.cursor.is-light.is-label .cursor__ring { background: var(--paper-ink); }
.cursor.is-light .cursor__label { color: var(--paper); }

/* Custom scrollbar (fine pointers only; touch keeps the native overlay bar) */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  .project__scroll { scrollbar-width: none; }
  .project__scroll::-webkit-scrollbar { display: none; }
}
.sbar { position: fixed; top: 0; right: 0; bottom: 0; width: 14px; z-index: 150; opacity: 0; transition: opacity .5s; touch-action: none; }
.sbar.is-active, .sbar:hover, .sbar.is-drag { opacity: 1; }
.sbar__track { position: absolute; top: 10px; bottom: 10px; right: 5px; width: 2px; border-radius: 2px; background: rgba(239,232,221,.1); transition: width .35s var(--ease), right .35s var(--ease); }
.sbar__thumb { position: absolute; left: 0; right: 0; top: 0; min-height: 36px; border-radius: 3px; background: linear-gradient(to bottom, var(--accent-2), var(--accent)); will-change: transform; }
.sbar:hover .sbar__track, .sbar.is-drag .sbar__track { width: 5px; right: 4px; }
.sbar.is-light .sbar__track { background: rgba(22,19,15,.14); }
.sbar.is-light .sbar__thumb { background: var(--paper-ink); }
.sbar--project { z-index: 160; }
@media (hover: none), (pointer: coarse) { .sbar { display: none; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; } }

/* ── Preloader */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; align-content: center; row-gap: clamp(36px, 6vh, 60px); }
.loader__enter { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.enter-btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px 18px 26px; border-radius: 60px; font-size: 16px; background: var(--ink); color: var(--bg); transition: background .4s, transform .6s var(--ease); }
.enter-btn:hover { background: var(--accent-2); }
.enter-btn .eq i { animation: eq 1.1s ease-in-out infinite; }
.enter-quiet { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; padding: 6px 2px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.enter-quiet:hover { color: var(--ink); border-color: var(--line); }
.loader__inner { display: flex; align-items: center; gap: 22px; }
.loader__mark { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 28px; letter-spacing: -.04em; position: relative; overflow: hidden; }
.loader__mark::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent); clip-path: inset(0 0 calc(100% - var(--p, 0%)) 0); transition: clip-path .2s; }
.loader__mark span { font-weight: 300; }
.loader__mark em { font-size: 32px; margin-left: 1px; color: var(--accent-2); }
.loader__name { display: flex; flex-direction: column; }
.loader__line { overflow: hidden; display: block; }
.loader__line > span { display: block; font-size: 28px; font-weight: 300; letter-spacing: -.03em; transform: translateY(110%); }
.loader__line--sub > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.loader__count { position: absolute; right: var(--pad); bottom: calc(var(--pad) + 8px); font-family: var(--serif); font-style: italic; font-size: clamp(80px, 14vw, 220px); line-height: .8; color: var(--ink); letter-spacing: -.03em; }
.loader__count sup { font-size: .22em; font-family: var(--sans); font-style: normal; vertical-align: top; color: var(--ink-3); }
.loader__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); height: 1px; background: var(--line); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); }

.curtain { position: fixed; inset: 0; z-index: 150; background: var(--bg-3); pointer-events: none; transform: translateY(100%); }

/* ── Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: transform .7s var(--ease), background .4s; mix-blend-mode: normal; }
.header.is-hidden { transform: translateY(-110%); }
.header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,10,9,.72), rgba(11,10,9,0)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.header.is-scrolled::before { opacity: 1; }
.brand { display: flex; align-items: flex-start; gap: 6px; position: relative; font-size: 24px; letter-spacing: -.045em; font-weight: 350; line-height: 1; }
.brand em { font-size: 1.12em; margin-left: .06em; letter-spacing: -.02em; }
.brand__tag { font-size: 10px; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 20px; padding: 2px 6px; color: var(--ink-2); margin-top: -4px; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); position: relative; }
.nav a { font-size: 14px; position: relative; color: var(--ink-2); transition: color .3s; }
.nav a sup { font-size: 9px; margin-right: 4px; color: var(--ink-3); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 18px; position: relative; }
.status { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.status i, .dot { width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgba(126,226,168,.6); animation: pulse 2.4s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(126,226,168,.55); } 70% { box-shadow: 0 0 0 9px rgba(126,226,168,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,168,0); } }
.pill { font-size: 14px; padding: 10px 18px; border-radius: 40px; background: var(--ink); color: var(--bg); transition: background .3s, transform .5s var(--ease); display: inline-block; }
.pill:hover { background: var(--accent-2); }
.sound-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); padding: 9px 15px; border-radius: 40px; border: 1px solid var(--line); transition: color .3s, border-color .3s; }
.sound-toggle:hover, .sound-toggle.is-on { color: var(--ink); border-color: rgba(239,232,221,.38); }
.sound-toggle .eq { height: 11px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 99; background: var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 30px) var(--pad) var(--pad); clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-size: clamp(40px, 11vw, 76px); font-weight: 300; letter-spacing: -.045em; line-height: 1.05; border-bottom: 1px solid var(--line); padding: 6px 0; }
.menu__nav a sup { font-size: 12px; letter-spacing: 0; margin-right: 10px; color: var(--accent); vertical-align: top; position: relative; top: 1.2em; }
.menu__foot { display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); font-size: 14px; }
.socials { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 60px; font-size: 15px; transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease); will-change: transform; }
.btn__arrow { display: inline-block; transition: transform .6s var(--ease); }
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: var(--accent-2); }
.btn--ghost { border: 1px solid rgba(239,232,221,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(11,10,9,.2); }
.btn--ghost:hover { border-color: var(--ink); }

/* ── Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 80% at 50% 45%, rgba(11,10,9,0) 40%, rgba(11,10,9,.65) 100%),
  linear-gradient(to right, rgba(11,10,9,.62), rgba(11,10,9,.28) 34%, rgba(11,10,9,0) 56%),
  linear-gradient(to bottom, rgba(11,10,9,.35), rgba(11,10,9,0) 22%, rgba(11,10,9,0) 70%, rgba(11,10,9,.85)); }
.hero__content { position: absolute; left: var(--pad); right: var(--pad); top: 50%; transform: translateY(-44%); pointer-events: none; }
.hero__title, .hero__lede { text-shadow: 0 2px 40px rgba(11,10,9,.35); }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__eyebrow { margin-bottom: clamp(18px, 2.4vw, 30px); }
.hero__eyebrow span { color: var(--accent); margin: 0 6px; }
.hero__title { margin: 0; font-weight: 300; font-size: clamp(60px, 10.2vw, 196px); line-height: .84; letter-spacing: -.06em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
.hero__title .line--indent { padding-left: 1.05em; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__title em { letter-spacing: -.03em; color: var(--accent-2); padding-right: .05em; }
.hero__lede { max-width: 420px; margin: clamp(22px, 2.6vw, 36px) 0 0 .08em; font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-2); line-height: 1.5; }
.hero__ctas { display: flex; gap: 12px; justify-content: flex-start; margin-top: 26px; flex-wrap: wrap; }
.hero__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) - 6px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.hero__scroll { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.hero__scroll-line { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.hero__disc { position: relative; height: 18px; overflow: hidden; text-align: center; min-width: 220px; }
.hero__disc span { position: absolute; inset: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; opacity: 0; }
.hero__loc { text-align: right; line-height: 1.5; }
.hero__loc span { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__hint { position: absolute; right: var(--pad); top: calc(var(--header-h) + 14px); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0; }

/* ── Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--bg); position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-size: clamp(26px, 3.4vw, 54px); font-weight: 300; letter-spacing: -.035em; white-space: nowrap; color: var(--ink-2); }
.marquee__item:nth-child(odd) { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; color: var(--ink); }
.marquee__star { width: .38em; height: .38em; color: var(--accent); flex: none; }

/* ── Manifesto */
.manifesto { padding: clamp(110px, 16vw, 240px) 0 clamp(90px, 12vw, 180px); position: relative; z-index: 2; background: var(--bg); }
.manifesto__text { font-size: clamp(30px, 4.1vw, 72px); line-height: 1.06; letter-spacing: -.035em; font-weight: 300; margin: 0; max-width: 18em; text-indent: 2.4em; }
.manifesto__text .w { opacity: .14; transition: none; }
.manifesto__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(70px, 9vw, 140px); border-top: 1px solid var(--line); padding-top: 28px; }
.stat__num { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 8vw, 136px); line-height: .85; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__plus { font-family: var(--serif); font-size: clamp(36px, 4vw, 64px); color: var(--accent); vertical-align: top; }
.stat p { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }

/* ── Selected work rail */
.work { position: relative; z-index: 2; background: var(--bg); padding-top: clamp(40px, 5vw, 80px); overflow: hidden; }
.work__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 30px; }
.work__head .label { grid-column: 1 / -1; }
.work__note { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; max-width: 220px; text-align: right; }
.rail { height: 100vh; height: 100svh; display: flex; align-items: center; perspective: 1400px; perspective-origin: 50% 50%; }
.rail__track { display: flex; gap: clamp(28px, 4vw, 70px); padding-inline: var(--pad) 30vw; will-change: transform; transform-style: preserve-3d; align-items: center; }
.card { flex: none; width: clamp(300px, 46vw, 820px); position: relative; transform-style: preserve-3d; will-change: transform; }
.card__link { display: block; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--bg-3); transform: translateZ(0); }
/* Photos fade in once loaded instead of popping in over their placeholder colour (main.js
   adds .is-loaded). An animation, so it doesn't replace each image's own transitions. */
img[data-fade]:not(.is-loaded) { opacity: 0; }
img[data-fade].is-loaded { animation: img-in .9s var(--ease) backwards; }
@keyframes img-in { from { opacity: 0; } }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter .8s; will-change: transform; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,10,9,.55), rgba(11,10,9,0) 45%); pointer-events: none; }
.card__num { position: absolute; left: 20px; top: 18px; z-index: 2; font-size: 12px; letter-spacing: .1em; color: var(--ink); mix-blend-mode: difference; }
.card__tag { position: absolute; right: 18px; top: 16px; z-index: 2; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 20px; background: rgba(11,10,9,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(239,232,221,.14); }
.card__info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 20px; }
.card__title { font-size: clamp(30px, 3.4vw, 58px); font-weight: 300; letter-spacing: -.045em; line-height: .95; margin: 0; white-space: nowrap; }
.card__title em { color: var(--accent-2); }
.card__sub { font-size: clamp(18px, 1.5vw, 26px); color: var(--accent-2); margin: 6px 0 0; line-height: 1.1; }
.card__meta { text-align: right; font-size: 12px; color: var(--ink-3); line-height: 1.6; white-space: nowrap; }
.card--end { width: clamp(260px, 30vw, 520px); }
.card--end .card__media { display: grid; place-items: center; background: transparent; border: 1px dashed rgba(239,232,221,.22); }
.card--end .card__media::after { display: none; }
.card__end-text { text-align: center; font-size: clamp(32px, 3.4vw, 60px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.card__end-text small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 18px; }
.rail__progress { display: flex; align-items: center; gap: 18px; padding-bottom: 40px; margin-top: -90px; position: relative; z-index: 3; font-size: 12px; color: var(--ink-2); letter-spacing: .08em; }
.rail__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.rail__bar i { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ── Disciplines */
.disc { position: relative; z-index: 2; background: var(--bg); padding: clamp(100px, 13vw, 200px) 0; }
.disc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.disc__item { border-bottom: 1px solid var(--line); }
.disc__btn { width: 100%; display: grid; grid-template-columns: 70px 1fr minmax(0, 360px) 60px; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 42px) 0; text-align: left; position: relative; }
.disc__idx { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.disc__name { font-size: clamp(36px, 6.4vw, 112px); font-weight: 300; letter-spacing: -.05em; line-height: .92; transition: transform .8s var(--ease), color .5s; }
.disc__name em { color: var(--accent-2); }
.disc__name sup { font-family: var(--sans); font-size: .2em; letter-spacing: 0; color: var(--accent); vertical-align: top; position: relative; top: .5em; margin-left: .3em; }
.disc__blurb { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; transition: color .5s; }
.disc__arrow { justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .5s, color .5s, transform .8s var(--ease); }
.disc__btn:hover .disc__name { transform: translateX(28px); }
.disc__btn:hover .disc__arrow { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
.disc__list:hover .disc__btn:not(:hover) .disc__name { color: var(--ink-3); }
.disc__float { position: fixed; left: 0; top: 0; width: 300px; height: 380px; pointer-events: none; z-index: 50; }
.disc__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; opacity: 0; transform: scale(.7) rotate(-6deg); box-shadow: 0 30px 80px rgba(0,0,0,.5); }

/* ── Archive */
.archive { position: relative; z-index: 2; background: var(--bg); padding: clamp(60px, 8vw, 120px) 0 clamp(100px, 12vw, 180px); }
.archive__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.archive__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; padding: 5px; border: 1px solid var(--line); border-radius: 40px; }
.filters button, .g3d__filters button { font-size: 13px; padding: 8px 14px; border-radius: 30px; color: var(--ink-2); transition: background .4s, color .4s; white-space: nowrap; }
.filters button sup, .g3d__filters button sup { font-size: 9px; margin-left: 3px; color: var(--ink-3); }
.filters button.is-active, .g3d__filters button.is-active { background: var(--ink); color: var(--bg); }
.filters button.is-active sup, .g3d__filters button.is-active sup { color: var(--bg); opacity: .6; }
.filters button:hover:not(.is-active) { color: var(--ink); }
.views { display: flex; gap: 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.views button { padding: 6px 10px; color: var(--ink-3); border-radius: 20px; transition: color .3s; }
.views button.is-active, .views button:hover { color: var(--ink); }
.views button[data-open-gallery] { border: 1px solid var(--line); }

.archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 48px) clamp(18px, 2vw, 32px); }
.tile { perspective: 900px; }
.tile.is-hidden { display: none; }
.tile__link { display: block; transform-style: preserve-3d; transition: transform .9s var(--ease); will-change: transform; }
.tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5px; background: var(--bg-3); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .8s; opacity: 0; }
.tile__media img.is-loaded { opacity: 1; }
.tile__link:hover .tile__media img { transform: scale(1.06); }
.tile__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,240,215,.16), transparent 45%); opacity: 0; transition: opacity .5s; }
.tile__link:hover .tile__shine { opacity: 1; }
.tile__count { position: absolute; right: 12px; bottom: 12px; font-size: 11px; padding: 5px 9px; border-radius: 20px; background: rgba(11,10,9,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink-2); }
.tile__badge { position: absolute; left: 12px; top: 12px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 20px; background: var(--accent-2); color: var(--bg); }
.tile__info { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
.tile__title { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.tile__title em { color: var(--ink-2); font-size: 1.05em; }
.tile__sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.tile__cat { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; padding-top: 5px; }

.archive__list { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 60px 1.4fr 1.1fr 1fr 70px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: padding .6s var(--ease), color .4s; }
.row.is-hidden { display: none; }
.row:hover { padding-left: 16px; }
.row__n { color: var(--ink-3); font-size: 12px; }
.row__t { font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.03em; font-weight: 350; }
.row__t em { color: var(--ink-2); }
.row__c, .row__k { color: var(--ink-2); font-size: 14px; }
.row__y { text-align: right; color: var(--ink-3); font-size: 13px; }
.archive__list:hover .row:not(:hover) { color: var(--ink-3); }
.list-preview { position: fixed; left: 0; top: 0; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 50; overflow: hidden; border-radius: 6px; opacity: 0; transform: scale(.8); }
.list-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Motion */
.motion { position: relative; z-index: 2; background: var(--bg-2); padding: clamp(100px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.motion__head { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 0 40px; margin-bottom: clamp(40px, 5vw, 70px); }
.motion__head .label { grid-column: 1 / -1; }
.motion__note { color: var(--ink-2); font-size: 15px; margin: 0; }
.motion__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 26px); }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--bg-3); transform-style: preserve-3d; will-change: transform; }
.reel:nth-child(even) { margin-top: clamp(40px, 6vw, 110px); }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: linear-gradient(to top, rgba(11,10,9,.75), rgba(11,10,9,0) 40%, rgba(11,10,9,0) 80%, rgba(11,10,9,.35)); }
.reel__top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.reel__title { display: block; font-size: clamp(22px, 2vw, 32px); font-weight: 300; letter-spacing: -.035em; line-height: 1; margin: 0; }
.reel__title em { color: var(--accent-2); }
.reel__play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(239,232,221,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(239,232,221,.25); margin-bottom: 14px; transition: transform .6s var(--ease), background .4s; }
.reel:hover .reel__play { transform: scale(1.12); background: var(--accent-2); color: var(--bg); }

/* ── About */
.about { position: relative; z-index: 2; background: var(--paper); color: var(--paper-ink); padding: clamp(110px, 13vw, 200px) 0 clamp(80px, 9vw, 140px); }
.about .label, .about .mini { color: rgba(22,19,15,.5); }
.about strong { color: var(--paper-ink); font-weight: 550; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); }
.about__title { font-size: clamp(56px, 8.4vw, 150px); }
.about__title em { color: #9b6b2e; }
.about__stage { margin-top: clamp(30px, 4vw, 60px); height: clamp(360px, 36vw, 580px); position: relative; user-select: none; -webkit-user-select: none; }
.about__canvas { position: absolute; inset: 0 0 34px; width: 100%; height: calc(100% - 34px); display: block; touch-action: pan-y; }
.about__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 12px; font-size: 15px; color: var(--paper-ink); pointer-events: none; white-space: nowrap; }
.about__cap span { font-size: 11px; letter-spacing: .12em; color: rgba(22,19,15,.45); }
.about__cap strong { font-weight: 500; letter-spacing: -.01em; }
.about__cap em { color: #9b6b2e; font-size: 18px; }
.about__hint { position: absolute; top: 4px; right: 0; margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(22,19,15,.42); }
.about__right { font-size: 17px; line-height: 1.6; color: rgba(22,19,15,.75); padding-top: 34px; }
.about__right p { margin: 0 0 1.1em; max-width: 36em; }
.about__lead { font-size: clamp(26px, 2.4vw, 38px) !important; line-height: 1.18 !important; letter-spacing: -.03em; color: var(--paper-ink) !important; font-weight: 350; margin-bottom: 1.2em !important; }
.about__lead .w { opacity: .16; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 54px; padding-top: 34px; border-top: 1px solid rgba(22,19,15,.15); }
.xp { list-style: none; margin: 0; padding: 0; }
.xp li { padding: 14px 0; border-bottom: 1px solid rgba(22,19,15,.12); display: flex; flex-direction: column; gap: 2px; }
.xp li:first-child { padding-top: 0; }
.xp strong { font-size: 16px; font-weight: 500; }
.xp span { font-size: 14px; color: rgba(22,19,15,.6); }
.tags { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 7px 13px; border-radius: 30px; border: 1px solid rgba(22,19,15,.2); color: var(--paper-ink); }
.tags--dim li { background: rgba(22,19,15,.06); border-color: transparent; }
.clients { margin-top: clamp(80px, 9vw, 140px); }
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(22,19,15,.15); border-left: 1px solid rgba(22,19,15,.15); }
.clients__grid li { border-right: 1px solid rgba(22,19,15,.15); border-bottom: 1px solid rgba(22,19,15,.15); aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 12px; font-size: clamp(16px, 1.5vw, 24px); letter-spacing: -.03em; transition: background .5s, color .5s; }
.clients__grid li:nth-child(3n+2) { font-family: var(--serif); font-style: italic; letter-spacing: 0; }
.clients__grid li:hover { background: var(--paper-ink); color: var(--paper); }

/* ── Contact & footer */
.contact { position: relative; z-index: 2; background: var(--bg); padding-top: clamp(110px, 13vw, 200px); overflow: hidden; }
.contact__title { margin: 0; font-weight: 300; font-size: clamp(56px, 10.5vw, 196px); line-height: .88; letter-spacing: -.06em; }
.contact__title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.16em; }
.contact__title .line > * { display: inline-block; }
.contact__title .line:nth-child(2) { padding-left: 1.2em; }
.contact__title em { color: var(--accent-2); letter-spacing: -.03em; }
.contact__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: clamp(50px, 6vw, 90px); padding-top: 34px; border-top: 1px solid var(--line); align-items: start; }
.contact__mail { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.contact__mail-text { font-size: clamp(22px, 3.1vw, 52px); letter-spacing: -.035em; font-weight: 300; line-height: 1.05; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .8s var(--ease); padding-bottom: 6px; word-break: break-all; }
.contact__mail:hover .contact__mail-text { background-size: 100% 1px; }
.contact__mail-hint { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact__mail-hint.is-done { color: #7ee2a8; }
.contact__meta { color: var(--ink-2); font-size: 15px; }
.contact__meta p { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.socials--big { margin-top: 24px; gap: 10px; }
.socials--big a { padding: 10px 16px; border-radius: 30px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; transition: background .4s, color .4s, border-color .4s; }
.socials--big a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.footer { margin-top: clamp(90px, 10vw, 160px); }
.footer__word { display: flex; justify-content: center; align-items: baseline; gap: .04em; font-size: 25.5vw; line-height: .74; letter-spacing: -.075em; font-weight: 300; white-space: nowrap; color: var(--ink); overflow: hidden; padding-top: .06em; user-select: none; }
.footer__word em { color: var(--accent-2); letter-spacing: -.04em; }
.footer__word > * { display: inline-block; will-change: transform; }
.footer__bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }
.footer__bar a:hover { color: var(--ink); }

/* ── Project view */
.project { position: fixed; inset: 0; z-index: 120; background: var(--bg); visibility: hidden; clip-path: inset(100% 0 0 0); }
.project.is-open { visibility: visible; }
.project__scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.project__bar { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--header-h) + 18px); padding: 0 var(--pad) 18px; display: flex; align-items: center; justify-content: space-between; z-index: 3; pointer-events: none; background: linear-gradient(to bottom, rgba(11,10,9,.94), rgba(11,10,9,.78) 55%, rgba(11,10,9,0)); }
.project__bar > * { pointer-events: auto; }
.project__back { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 10px 18px; border-radius: 30px; background: rgba(11,10,9,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(239,232,221,.16); transition: background .4s; }
.project__back:hover { background: var(--ink); color: var(--bg); }
.project__index { font-size: 12px; letter-spacing: .1em; color: var(--ink-2); padding: 8px 14px; border-radius: 30px; background: rgba(11,10,9,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.project__x { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 15px; transition: transform .6s var(--ease); }
.project__x:hover { transform: rotate(90deg); }
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.p-hero__img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.p-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,10,9,.92), rgba(11,10,9,.15) 50%, rgba(11,10,9,.35)); }
.p-hero__txt { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 10px); z-index: 2; }
.p-hero__cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; display: flex; gap: 12px; align-items: center; }
.p-hero__cat span { padding: 5px 10px; border: 1px solid rgba(239,232,221,.3); border-radius: 20px; }
.p-hero__title { margin: 0; font-weight: 300; font-size: clamp(56px, 10vw, 190px); line-height: .86; letter-spacing: -.06em; }
.p-hero__title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.15em; }
.p-hero__title .line > span { display: inline-block; }
.p-hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 48px); color: var(--accent-2); margin: 10px 0 0; letter-spacing: -.01em; line-height: 1.1; }
.p-body { padding: clamp(70px, 9vw, 140px) 0; }
.p-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 110px); }
.p-summary { font-size: clamp(26px, 2.7vw, 46px); line-height: 1.12; letter-spacing: -.035em; font-weight: 300; margin: 0 0 40px; }
.p-text p { font-size: 17px; color: var(--ink-2); max-width: 38em; margin: 0 0 1.1em; }
.p-meta { margin: 0; border-top: 1px solid var(--line); }
.p-meta div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.p-meta dt { color: var(--ink-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.p-meta dd { margin: 0; }
.p-meta a { border-bottom: 1px solid var(--accent); }
.p-hl { margin-top: 36px; }
.p-hl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-hl li { font-size: 13px; padding: 7px 13px; border-radius: 30px; border: 1px solid var(--line); color: var(--ink-2); }
.p-note { margin-top: 28px; font-size: 13px; color: var(--ink-3); border-left: 2px solid var(--accent); padding-left: 14px; }
.p-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.4vw, 22px); padding-inline: var(--pad); }
.p-fig { margin: 0; position: relative; overflow: hidden; border-radius: 5px; background: var(--bg-3); cursor: zoom-in; }
.p-fig img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.p-fig img.is-loaded { opacity: 1; transform: none; }
.p-fig--full { grid-column: span 12; }
.p-fig--half { grid-column: span 6; }
.p-fig--third { grid-column: span 4; }
.p-fig--wide { grid-column: span 8; }
.p-fig--narrow { grid-column: span 4; }
.p-video { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: clamp(50px, 7vw, 110px); }
.p-video h3 { font-size: clamp(36px, 4.4vw, 76px); font-weight: 300; letter-spacing: -.045em; line-height: .95; margin: 0 0 18px; }
.p-video h3 em { color: var(--accent-2); }
.p-video p { color: var(--ink-2); max-width: 30em; }
.p-next { display: block; position: relative; margin-top: clamp(80px, 10vw, 160px); height: 70vh; min-height: 420px; overflow: hidden; }
.p-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease), filter 1s; filter: brightness(.5) saturate(.8); }
.p-next:hover img { transform: scale(1); filter: brightness(.7) saturate(1); }
.p-next__txt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 2; padding: var(--pad); }
.p-next__txt small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.p-next__txt strong { font-weight: 300; font-size: clamp(48px, 8vw, 150px); letter-spacing: -.055em; line-height: .9; }
.p-next__txt em { font-size: clamp(22px, 2.4vw, 40px); color: var(--accent-2); margin-top: 12px; }

/* Project page: generous side margins for the reading column */
.p-wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: clamp(24px, 8vw, 150px); }

/* Series: sibling directions of one brief */
.p-series { padding-bottom: clamp(10px, 2vw, 30px); }
.p-series__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px clamp(30px, 5vw, 80px); align-items: end; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 70px); margin-bottom: clamp(26px, 3vw, 44px); }
.p-series__head .label { grid-column: 1 / -1; margin: 0; color: var(--accent); }
.p-series__head h3 { margin: 0; font-weight: 300; font-size: clamp(30px, 3.2vw, 54px); letter-spacing: -.04em; line-height: 1.04; }
.p-series__head p:last-child { margin: 0; color: var(--ink-2); max-width: 34em; }
.p-series__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); }
.p-series__card { position: relative; display: block; }
.p-series__media { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--bg-3); outline: 1px solid transparent; outline-offset: 6px; transition: outline-color .5s; }
.p-series__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: brightness(.72) saturate(.8); transition: transform 1.4s var(--ease), filter .7s; }
.p-series__card:hover .p-series__media img, .p-series__card.is-current .p-series__media img { transform: scale(1.06); filter: none; }
.p-series__card.is-current .p-series__media { outline-color: var(--accent); }
.p-series__n { position: absolute; top: 12px; left: 12px; font-size: 11px; letter-spacing: .12em; padding: 6px 10px; border-radius: 20px; background: rgba(11,10,9,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.p-series__card strong { display: block; margin-top: 18px; font-weight: 300; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.03em; line-height: 1.1; }
.p-series__card em { display: block; margin-top: 4px; font-size: 17px; color: var(--ink-3); transition: color .4s; }
.p-series__card:hover em, .p-series__card.is-current em { color: var(--accent-2); }

/* On-site photography */
.p-site { margin-top: clamp(90px, 11vw, 170px); }
.p-site__head { display: grid; grid-template-columns: 1fr 1fr; gap: 14px clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.p-site__head .label { grid-column: 1 / -1; margin: 0; color: var(--accent); }
.p-site__head h3 { margin: 0; font-weight: 300; font-size: clamp(42px, 5.6vw, 100px); letter-spacing: -.05em; line-height: .98; padding-bottom: .06em; }
.p-site__head h3 em { color: var(--accent-2); letter-spacing: -.02em; }
.p-site__head p { margin: 0; color: var(--ink-2); max-width: 30em; font-size: 17px; }
.p-site__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(12px, 1.4vw, 22px); padding-inline: var(--pad); }
.p-site__fig.is-land { grid-column: span 5; }
.p-site__fig.is-port { grid-column: span 2; }

/* Film player */
.film { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; isolation: isolate; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ''; position: absolute; inset: auto 0 0; height: 26%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); pointer-events: none; }
.film__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(239,232,221,.14); z-index: 2; }
.film__bar i { display: block; height: 100%; background: var(--accent-2); transform-origin: left; transform: scaleX(0); }
.film__sound { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; z-index: 2; display: inline-flex; align-items: center; gap: 11px; padding: 12px 20px 12px 17px; border-radius: 40px; font-size: 13px; letter-spacing: .02em; white-space: nowrap; color: var(--ink); background: rgba(11,10,9,.5); border: 1px solid rgba(239,232,221,.24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .4s, color .4s, border-color .4s; }
.film__sound:hover, .film.has-sound .film__sound { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 100%; border-radius: 1px; background: currentColor; transform-origin: bottom; transform: scaleY(.3); transition: transform .4s; }
.has-sound .eq i, .is-on > .eq i { animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.75s; } .eq i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.lightbox__stage .film { width: auto; height: calc(100svh - 140px); max-width: 100%; }

/* ── Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(8,7,6,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: 100%; height: 100%; display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; padding: 70px clamp(16px, 7vw, 120px); }
.lightbox__stage video { max-width: 100%; max-height: calc(100svh - 140px); border-radius: 8px; background: #000; }
.lightbox__stage img { max-width: 100%; max-height: calc(100svh - 140px); object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.lightbox__btn { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .4s, color .4s; }
.lightbox__btn:hover { background: var(--ink); color: var(--bg); }
.lightbox__prev { left: var(--pad); } .lightbox__next { right: var(--pad); }
.lightbox__close { position: absolute; right: var(--pad); top: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.lightbox__count { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }

/* ── 3D gallery */
.g3d { position: fixed; inset: 0; z-index: 140; background: #070605; visibility: hidden; opacity: 0; transition: opacity .8s var(--ease), visibility .8s; }
.g3d.is-open { visibility: visible; opacity: 1; }
.g3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.g3d__top { position: absolute; left: 0; right: 0; top: 0; padding: 20px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 2; }
.g3d__brand { font-size: 20px; letter-spacing: -.04em; }
.g3d__brand small { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; margin-left: 6px; }
.g3d__filters { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 40px; background: rgba(7,6,5,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.g3d__close { font-size: 14px; padding: 10px 18px; border-radius: 30px; background: var(--ink); color: var(--bg); }
.g3d__caption { position: absolute; left: 50%; bottom: 74px; translate: -50% 0; text-align: center; pointer-events: none; z-index: 2; width: min(90vw, 900px); }
.g3d__num { font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.g3d__title { margin: 6px 0 4px; font-weight: 300; font-size: clamp(34px, 5vw, 84px); letter-spacing: -.05em; line-height: .95; }
.g3d__title em { color: var(--accent-2); }
.g3d__sub { margin: 0; font-size: 14px; color: var(--ink-2); }
.g3d__hint { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0; white-space: nowrap; z-index: 2; }

.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); color: var(--ink); z-index: 999; padding: 40px; text-align: center; }

/* ── Responsive */
@media (max-width: 1100px) {
  .archive__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .disc__btn { grid-template-columns: 50px 1fr 52px; }
  .disc__blurb { display: none; }
  .row { grid-template-columns: 44px 1.4fr 1fr 60px; }
  .row__k { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav, .status { display: none; }
  .menu-btn { display: block; }
  .sound-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .sound-toggle__txt { display: none; }
  .about__hint { position: static; text-align: center; margin-bottom: 6px; }
  .about__cap em { display: none; }
  .about__stage { height: clamp(290px, 80vw, 380px); }
  .header__right .pill { display: none; }
  .hero__lede { margin-left: 0; }
  .hero__ctas { justify-content: flex-start; }
  .hero__title .line--indent { padding-left: .5em; }
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .hero__disc { display: none; }
  .hero__hint { display: none; }
  .manifesto__stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .work__head { grid-template-columns: 1fr; }
  .work__note { text-align: left; margin-top: 18px; }
  .rail { height: auto; display: block; perspective: none; padding: 40px 0 10px; }
  .rail__track { flex-direction: column; padding: 0 var(--pad); gap: 56px; transform: none !important; }
  .card, .card--end { width: 100%; }
  .card--end { display: none; }
  .card__title { white-space: normal; font-size: clamp(30px, 8.4vw, 44px); }
  .card__meta { white-space: normal; }
  .rail__progress { display: none; }
  .archive__head { flex-direction: column; align-items: flex-start; }
  .archive__controls { align-items: flex-start; }
  .filters { justify-content: flex-start; border-radius: 22px; }
  .archive__grid { grid-template-columns: 1fr; }
  .motion__head { grid-template-columns: 1fr; gap: 20px; }
  .motion__row { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__right { padding-top: 0; }
  .about__cols { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__row { grid-template-columns: 1fr; }
  .p-intro { grid-template-columns: 1fr; }
  .p-fig--half, .p-fig--third, .p-fig--wide, .p-fig--narrow { grid-column: span 12; }
  .p-video { grid-template-columns: 1fr; }
  .p-series__head, .p-site__head { grid-template-columns: 1fr; }
  .p-series__grid { grid-template-columns: 1fr; }
  .p-site__fig.is-land { grid-column: span 10; }
  .p-site__fig.is-port { grid-column: span 5; }
  .row { grid-template-columns: 36px 1fr 54px; }
  .row__c { display: none; }
  .g3d__filters { display: none; }
  .g3d__hint { white-space: normal; width: 86vw; text-align: center; line-height: 1.6; }
  .lightbox__btn { display: none; }
  .list-preview, .disc__float { display: none; }
}
@media (max-width: 520px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__foot { font-size: 11px; }
  .project__index { display: none; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn { padding: 13px 17px; font-size: 14px; gap: 9px; }
}
/* Portrait: 3D scene sits up top, copy anchors to the bottom over a dark fade (camera matches in hero.js) */
@media (max-aspect-ratio: 4/5) {
  .hero__content { top: auto; bottom: calc(var(--pad) + 46px); transform: none; }
  .hero__vignette { background:
    radial-gradient(130% 60% at 50% 26%, rgba(11,10,9,0) 45%, rgba(11,10,9,.55) 100%),
    linear-gradient(to bottom, rgba(11,10,9,.4), rgba(11,10,9,0) 14%, rgba(11,10,9,0) 36%, rgba(11,10,9,.82) 60%, rgba(11,10,9,.95) 100%); }
}

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