/* ==========================================================================
   Sandra Rauch — Mega Cities
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --card: #151517;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #f3f1ec;
  --muted: #8e8c88;
  --dim: #4f4e4b;
  --accent: #ff3d8b;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --pad: clamp(16px, 3.2vw, 44px);
  --radius: 14px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
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(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* Copy protection: no dragging, no long-press save sheet, no selection of artwork */
img, video, canvas { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.print-note { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300; pointer-events: none;
  max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 999px;
  background: var(--fg); color: #0a0a0b; font-size: 13px; text-align: center;
  opacity: 0; transform: translate(-50%, 16px); transition: opacity .4s ease, transform .5s var(--ease-out);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media print {
  body > *:not(.print-note) { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .print-note { display: block !important; padding: 40mm 20mm; font-family: Georgia, serif; font-size: 14pt; line-height: 1.5; color: #000; }
  .print-note p:first-child { font-size: 28pt; margin-bottom: 10mm; }
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--accent); color: #0a0a0b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.label { display: flex; gap: 14px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.label span:first-child { color: var(--accent); }

/* Grain ------------------------------------------------------------------ */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05;
  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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* Loader ----------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: transform 1.1s var(--ease);
  animation: loader-failsafe 0s 5s forwards;
}
.loader.done { transform: translateY(-101%); }
@keyframes loader-failsafe { to { transform: translateY(-101%); visibility: hidden; } }
.loader-inner {
  position: absolute; inset: var(--pad);
  display: grid; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center;
}
.loader-label { justify-self: start; color: var(--muted); }
.loader-city {
  font-size: clamp(48px, 10vw, 160px); font-weight: 600; letter-spacing: -.06em; line-height: 1;
}
.loader-count { justify-self: end; color: var(--accent); font-size: 13px; }

/* Cursor bubble + preview ------------------------------------------------ */
html.no-scroll, html.is-loading { overflow: hidden; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 0; height: 0;
  transform: translate3d(-200px, -200px, 0);
  will-change: transform;
}
.cursor-label {
  position: absolute; left: -32px; top: -32px; width: 64px; height: 64px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: #0a0a0b;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  transform: scale(0); transition: transform .45s var(--ease-out);
}
.cursor.on .cursor-label { transform: scale(1); }

.preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(180px, 17vw, 270px);
  transform: translate3d(-400px, -400px, 0) translate(-50%, -50%);
  will-change: transform;
}
.preview-in {
  border-radius: 8px; overflow: hidden;
  opacity: 0; transform: scale(.82);
  transition: opacity .35s ease, transform .55s var(--ease-out);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
.preview.on .preview-in { opacity: 1; transform: scale(1); }
.preview img { width: 100%; height: auto; }

/* Navigation ------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad);
  color: #fff;
  background: linear-gradient(to bottom, rgba(10, 10, 11, .7), rgba(10, 10, 11, 0));
  transition: transform .7s var(--ease);
}
.nav.hide { transform: translateY(-120%); }
.brand { font-weight: 600; font-size: 17px; letter-spacing: -.03em; display: inline-flex; align-items: flex-start; gap: 2px; }
.brand-mark { font-size: 10px; font-weight: 400; margin-top: 1px; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 14px; }
.nav-links a, .nav-cta { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.lang a { padding: 6px 6px; opacity: .45; transition: opacity .3s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.lang a + a::before { content: "/"; margin-right: 8px; opacity: .45; }
.nav-cta {
  font-size: 14px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: #fff; color: #000; }
.menu-btn { display: none; align-items: center; gap: 10px; font-size: 14px; }
.menu-btn i { position: relative; width: 18px; height: 8px; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn i::before { top: 0; }
.menu-btn i::after { top: 6.5px; }
.menu-open .menu-btn i::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 3.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 28px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(44px, 12vw, 84px); font-weight: 500; letter-spacing: -.05em; line-height: 1.02;
  border-bottom: 1px solid var(--line); padding: 10px 0;
  transform: translateY(30px); opacity: 0;
  transition: transform .8s var(--ease-out), opacity .6s;
}
.menu-links a .mono { color: var(--accent); }
.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-open .menu-links a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu-links a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: .2s; }
.menu-foot { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); flex-wrap: wrap; }

/* Split text ------------------------------------------------------------- */
.wd { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding: .02em 0 .1em; margin: -.02em 0 -.1em; }
.ch { display: inline-block; }
.js [data-chars] .ch { transform: translateY(112%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 22ms); }
.js .in [data-chars] .ch, .js [data-chars].in .ch { transform: none; }

/* Reveal ----------------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }

/* Buttons & links -------------------------------------------------------- */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: border-color .3s, gap .4s var(--ease-out); }
.link-arrow i { font-style: normal; transition: transform .4s var(--ease-out); }
.link-arrow:hover { border-color: var(--fg); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow.small { font-size: 14px; margin-top: 12px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--fg); color: #0a0a0b; font-size: 15px; font-weight: 500;
  overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn i { font-style: normal; transition: transform .4s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; isolation: isolate;
}
.hero-ambient { position: absolute; inset: -12%; z-index: 0; }
.hero-ambient img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-ambient img.on { opacity: .42; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, transparent 0%, rgba(10, 10, 11, .55) 60%, var(--bg) 100%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}

.hero-top {
  position: absolute; z-index: 4; top: 84px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; color: rgba(243, 241, 236, .62);
}

.hero-title {
  position: absolute; inset: 0; margin: 0; pointer-events: none;
  font-size: clamp(76px, 18.5vw, 340px); font-weight: 600; line-height: .8;
  letter-spacing: -.065em; text-transform: uppercase;
}
.ht { position: absolute; display: block; will-change: transform; }
.ht-back { z-index: 3; left: calc(var(--pad) - .04em); top: 15vh; top: 15svh; text-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.ht-front { z-index: 3; right: var(--pad); bottom: 17vh; bottom: 17svh; text-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.ht-in { display: block; }
.ht .wd { padding-right: .07em; margin-right: -.07em; }
.js .ht [data-chars] .ch, .js .ht[data-chars] .ch, .js .ht-in .ch { transform: translateY(105%); transition: transform 1.3s var(--ease-out); transition-delay: calc(.08s + var(--i, 0) * 55ms); }
.intro-done .ht-in .ch { transform: none !important; }
.intro-done .ht-front .ch { transition-delay: calc(.32s + var(--i, 0) * 55ms); }
.ht-by {
  z-index: 3; left: var(--pad);
  top: calc(15svh + clamp(76px, 18.5vw, 340px) * .84);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.6vw, 88px); line-height: 1; letter-spacing: -.01em; text-transform: none;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.ht-by-in { display: block; }
.js .ht-by-in { opacity: 0; transform: translateY(30%); transition: opacity 1.2s ease .7s, transform 1.4s var(--ease-out) .7s; }
.intro-done .ht-by-in { opacity: 1; transform: none; }

.stage {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  perspective: 1400px; pointer-events: none;
}
.pane-wrap {
  position: relative;
  width: clamp(200px, 25vw, 400px); aspect-ratio: 3 / 5;
  transform-style: preserve-3d;
  transform: translate3d(0, var(--sy, 0px), 0) scale(var(--ss, 1)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.js .stage { opacity: 0; transition: opacity 1.4s ease; }
.intro-done .stage { opacity: 1; }
.js .pane-wrap { transform: translate3d(0, 60px, 0) scale(.92); transition: transform 1.6s var(--ease-out); }
.intro-done .pane-wrap { transform: translate3d(0, var(--sy, 0px), 0) scale(var(--ss, 1)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.intro-done.tilt-live .pane-wrap { transition: none; }

.pane { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; }
.pane-main {
  background: #111;
  box-shadow: 0 80px 140px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1);
}
.pane-main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); z-index: 1;
}
.pane-main img.prev { clip-path: inset(0 0 0 0); z-index: 1; }
.pane-main img.on {
  clip-path: inset(0 0 0 0); z-index: 2;
  transition: clip-path 1.4s var(--ease);
  animation: pane-zoom 1.8s var(--ease-out);
}
@keyframes pane-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
.pane-ghost {
  transform: translate3d(42%, -8%, -260px) rotate(5deg);
  opacity: .4; filter: saturate(1.3) brightness(.8);
}
.pane-ghost img { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s ease; }
.glass {
  position: absolute; inset: -4%; border-radius: 6px;
  transform: translateZ(70px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 40%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.glass::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 260%;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .2) 44%, rgba(255, 255, 255, .04) 50%, transparent 58%);
  transform: translate3d(calc(var(--gx, 50) * -.6154%), 0, 0);
  will-change: transform;
}

.hero-meta {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
}
.hero-intro { max-width: 32ch; font-size: 15px; line-height: 1.45; color: rgba(243, 241, 236, .78); }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(243, 241, 236, .62); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--fg), transparent); transform-origin: top; animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-counter { justify-self: end; display: flex; gap: 10px; align-items: baseline; }
.hc-num { color: var(--accent); }
.hc-sep { color: rgba(243, 241, 236, .4); }
.hc-city { display: inline-block; min-width: 9ch; text-align: right; transition: opacity .4s, transform .5s var(--ease-out); }
.hc-city.swap { opacity: 0; transform: translateY(8px); }

.js .hero-top, .js .hero-meta { opacity: 0; transition: opacity 1.2s ease .6s; }
.intro-done .hero-top, .intro-done .hero-meta { opacity: 1; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding: clamp(36px, 6vw, 88px) 0;
  border-block: 1px solid var(--line);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group {
  display: flex; align-items: center; flex-shrink: 0;
  font-size: clamp(54px, 9vw, 156px); font-weight: 600; letter-spacing: -.055em; line-height: 1.05;
  white-space: nowrap;
}
.marquee-group span { padding: 0 .12em; transition: color .3s; cursor: default; }
.marquee-group .o { color: transparent; -webkit-text-stroke: 1.2px rgba(243, 241, 236, .5); transition: -webkit-text-stroke-color .3s, color .3s; }
.marquee-group span:hover { color: var(--fg); -webkit-text-stroke-color: transparent; }
.marquee-group i { font-style: normal; color: var(--accent); font-size: .34em; margin: 0 .5em; transform: translateY(-.05em); }

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement {
  position: relative; overflow: hidden;
  min-height: 130vh; min-height: 130svh;
  display: grid; place-items: center;
  padding: 18vh var(--pad);
}
.cloud { position: absolute; inset: 0; z-index: 1; }
.tile {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--w) * 1vw); padding: 0;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .tile { cursor: none; } }
.tile-in {
  display: block; overflow: hidden; border-radius: 6px; background: var(--card);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8);
  transition: transform .8s var(--ease-out);
}
.tile img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.tile:hover .tile-in { transform: scale(1.04); }
.tile:hover img { transform: scale(1.06); }
.js .tile-in { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease), transform .8s var(--ease-out); transition-delay: calc(var(--d) * .25s), 0s; }
.js .statement.in .tile-in { clip-path: inset(0 0 0 0); }
.statement-inner { position: relative; z-index: 2; max-width: 15.5em; text-align: center; font-size: clamp(28px, 3.6vw, 60px); display: flex; flex-direction: column; align-items: center; }
.statement-inner .label { font-size: 11px; justify-content: center; margin-bottom: 28px; }
.statement-text { font-size: 1em; line-height: 1.06; letter-spacing: -.04em; font-weight: 500; }
.statement-text .w { opacity: .13; transition: opacity .2s linear; }
.statement-tags { font-size: 11px; color: var(--muted); margin: 32px 0 26px; }

/* ==========================================================================
   WORKS
   ========================================================================== */
.works { padding: clamp(60px, 8vw, 120px) var(--pad) clamp(100px, 12vw, 170px); }
.works-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px 48px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.display {
  margin: 0; font-size: clamp(72px, 13vw, 220px); font-weight: 600; letter-spacing: -.065em; line-height: .8;
  display: flex; align-items: flex-start;
}
.works-count { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--muted); margin: .4em 0 0 .6em; }
.works-intro { color: var(--muted); font-size: 17px; }
.works-intro em { color: var(--fg); font-size: 1.12em; }

.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 6px; margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2);
}
.chips, .views { display: flex; gap: 4px; flex-wrap: wrap; }
.chip, .view-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; color: var(--muted);
  transition: background .35s, color .35s;
}
.chip b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--dim); transition: color .35s; }
.chip:hover, .view-btn:hover { color: var(--fg); }
.chip.is-active, .view-btn.is-active { background: var(--fg); color: #0a0a0b; }
.chip.is-active b { color: rgba(10, 10, 11, .45); }
.view-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* KI-Kurator (slim) ------------------------------------------------------ */
.works-side { display: flex; flex-direction: column; gap: 20px; }
.curator { position: relative; }
.cur-form {
  position: relative; display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 5px 0 6px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(90deg, var(--line-2), var(--line-2)) border-box;
  transition: border-color .3s, box-shadow .3s;
}
.cur-form:focus-within { border-color: rgba(255, 61, 139, .6); box-shadow: 0 0 0 4px rgba(255, 61, 139, .08); }
.cur-form.thinking {
  border-color: transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(90deg, var(--accent), #8b4dff, #2fd3c6, var(--accent)) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: cur-flow .9s linear infinite;
}
@keyframes cur-flow { to { background-position: 0 0, 300% 0; } }
.cur-badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  height: 36px; padding: 0 12px 0 10px; border-radius: 999px;
  background: rgba(255, 61, 139, .1); color: var(--fg); font-size: 10px;
}
.cur-badge i { font-style: normal; color: var(--accent); display: inline-block; animation: spin 7s linear infinite; }
.cur-form.thinking .cur-badge i { animation-duration: .8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.cur-input {
  flex: 1; min-width: 0; height: 100%;
  background: none; border: 0; outline: none; color: var(--fg);
  font: inherit; font-size: 15px; letter-spacing: -.01em;
}
.cur-input::placeholder { color: #6f6d69; }
.cur-go {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fg); color: #0a0a0b; font-size: 15px;
  transition: background .3s;
}
.cur-go:hover { background: var(--accent); }
.cur-go i { font-style: normal; }
.cur-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.curator.open .cur-drawer { grid-template-rows: 1fr; }
.cur-drawer-in { overflow: hidden; min-height: 0; }
.cur-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; }
.cur-chip {
  height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px;
  transition: color .3s, border-color .3s;
}
.cur-chip:hover { color: var(--fg); border-color: var(--fg); }
.cur-colors { display: flex; gap: 8px; padding-top: 12px; }
.cur-swatch {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 1px var(--line-2), inset 0 0 0 1px rgba(0, 0, 0, .15);
  transition: transform .4s var(--ease-out), box-shadow .3s;
}
.cur-swatch:hover { transform: scale(1.18); box-shadow: 0 0 0 2px var(--fg); }
.cur-note { padding-top: 12px; color: var(--dim); font-size: 10px; }
.cur-result {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 20px;
  padding: 12px 18px; margin-bottom: 18px; border-radius: 14px;
  background: rgba(255, 61, 139, .07); border: 1px solid rgba(255, 61, 139, .22);
  animation: row-in .6s var(--ease-out) both;
}
.cur-result-text { font-size: 14px; }
.cur-reset { color: var(--accent); white-space: nowrap; }
.cur-reset:hover { color: var(--fg); }

/* Show more */
.grid.is-limited { overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.more-wrap { display: flex; justify-content: center; }
.all-works { display: flex; justify-content: center; margin-top: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); margin-bottom: 18px; }
.footer-nav a:hover { color: var(--fg); }
.more-btn {
  position: relative; z-index: 1; margin-top: -40px;
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2); font-size: 15px;
  transition: background .35s, color .35s, border-color .35s;
}
.more-btn:hover { background: var(--fg); color: #0a0a0b; border-color: var(--fg); }
.more-btn i { font-style: normal; transition: transform .4s var(--ease-out); }
.more-btn:hover i { transform: translateY(3px); }

.card-live {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 8px; border-radius: 999px;
  background: rgba(10, 10, 11, .82); color: var(--fg); font-size: 10px;
}
.card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .5s ease, transform 1.4s var(--ease-out); }
.card-video.on { opacity: 1; }
.card:hover .card-video { transform: scale(1.035); }
.works-feat { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10.5px; }
.pane-live { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.pane-live.on { opacity: 1; }
.card-new {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 4px 9px; border-radius: 999px;
  background: var(--accent); color: #0a0a0b; font-size: 10px;
}
.card-match {
  position: absolute; left: 10px; bottom: 10px; z-index: 1; max-width: calc(100% - 20px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border-radius: 999px;
  background: rgba(10, 10, 11, .86);
  font-size: 12px; color: var(--fg); text-align: left;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .5s ease, transform .6s var(--ease-out);
}
.card-match.on { opacity: 1; transform: none; }
.card-match b { font-family: var(--mono); font-weight: 400; font-size: 11px; background: var(--accent); color: #0a0a0b; border-radius: 999px; padding: 3px 8px; }
.card-match span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.index-row .s b { color: var(--accent); font-weight: 400; }

.grid { display: flex; gap: clamp(14px, 1.6vw, 22px); align-items: flex-start; }
.grid-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(26px, 3vw, 44px); }

.card { margin: 0; }
.card-media {
  position: relative; display: block; width: 100%;
  border-radius: 8px; overflow: hidden; background: var(--card);
}
@media (hover: hover) and (pointer: fine) { .card-media { cursor: none; } }
.card-media img {
  width: 100%; height: auto;
  transition: transform 1.4s var(--ease-out), filter .6s;
}
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 48%, transparent 60%);
  background-size: 300% 100%; background-position: 120% 0;
  transition: background-position 1.1s var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.035); }
.card:hover .card-media::after { background-position: -20% 0; }
.js .card .card-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .card.in .card-media { clip-path: inset(0 0 0 0); }
.js .card .card-media img { transform: scale(1.2); }
.js .card.in .card-media img { transform: scale(1); transition: transform 1.6s var(--ease-out) var(--d, 0s); }
.js .card.in:hover .card-media img { transform: scale(1.035); transition-delay: 0s; }
.card figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 2px 0;
}
.card-title { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.card-meta { color: var(--muted); white-space: nowrap; }
.card-meta b { font-weight: 400; color: var(--accent); }
.js .card figcaption { opacity: 0; transition: opacity .8s ease calc(var(--d, 0s) + .4s); }
.js .card.in figcaption { opacity: 1; }

.index { border-top: 1px solid var(--line); }
.index-head, .index-row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) 200px 44px; align-items: center; gap: 16px;
}
.index-head { padding: 14px 4px; color: var(--muted); }
.index-row {
  width: 100%; text-align: left;
  padding: clamp(16px, 2vw, 24px) 4px;
  border-top: 1px solid var(--line);
  transition: color .35s, padding .6s var(--ease-out);
}
.index-row:last-child { border-bottom: 1px solid var(--line); }
.js .index-row { animation: row-in .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes row-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.index-row .t { font-size: clamp(26px, 3.6vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.index-row .n, .index-row .s { color: var(--muted); }
.index-row .a { justify-self: end; font-size: 20px; transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .index:hover .index-row { color: var(--dim); }
  .index:hover .index-row .n, .index:hover .index-row .s { color: var(--dim); }
  .index .index-row:hover { color: var(--fg); padding-left: 22px; }
  .index .index-row:hover .n { color: var(--accent); }
  .index .index-row:hover .s { color: var(--muted); }
  .index .index-row:hover .a { transform: rotate(45deg); }
}

/* ==========================================================================
   PROCESS (pinned horizontal)
   ========================================================================== */
.process { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.process-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
}
.process-head { display: flex; align-items: center; gap: 14px; padding: 96px var(--pad) 0; color: var(--muted); }
.process-head span:first-child { color: var(--accent); }
.process-bar { flex: 1; height: 1px; background: var(--line-2); position: relative; margin: 0 12px; }
.process-bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process-count { color: var(--fg); min-width: 7ch; text-align: right; }
.process-track {
  flex: 1; min-height: 0;
  display: flex; gap: clamp(28px, 4vw, 72px);
  padding: clamp(28px, 4vh, 48px) var(--pad) clamp(32px, 6vh, 64px);
  will-change: transform;
}
.step {
  flex: 0 0 auto; width: min(80vw, 1120px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 52px);
}
.step-intro { width: min(62vw, 760px); display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-bottom: 8px; }
.process-title { margin: 0; font-size: clamp(52px, 7.4vw, 128px); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.step-intro p { color: var(--muted); font-size: 18px; max-width: 30ch; }
.step-media { position: relative; overflow: hidden; border-radius: 10px; background: var(--card); min-height: 0; }
.step-media img {
  position: absolute; top: 0; left: -8%; width: 116%; height: 100%; object-fit: cover;
  transform: translate3d(var(--px, 0px), 0, 0);
  will-change: transform;
}
.step-body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 4px 0; }
.step-num { font-family: var(--serif); font-style: italic; font-size: clamp(90px, 11vw, 180px); line-height: .78; color: var(--accent); letter-spacing: -.02em; }
.step h3 { margin: 0 0 16px; font-size: clamp(32px, 3.6vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.step-body p { color: var(--muted); font-size: 17px; max-width: 34ch; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: clamp(110px, 13vw, 200px) var(--pad) clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 110px);
}
.about-media {
  position: sticky; top: 96px; align-self: start;
  border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--card);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14) translate3d(0, var(--py, 0px), 0); will-change: transform; }
.about-title { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(46px, 6.2vw, 106px); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.about .lead { font-size: clamp(19px, 1.65vw, 25px); line-height: 1.4; letter-spacing: -.015em; max-width: 34ch; margin-bottom: 18px; }
.about .muted { font-size: 17px; }
.cv { list-style: none; margin: clamp(44px, 6vw, 72px) 0 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 16px; }
.cv li:last-child { border-bottom: 1px solid var(--line); }
.cv li span:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); padding-top: 3px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.facts .mono { margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; transition: border-color .3s, background .3s, color .3s; }
.tag:hover { border-color: var(--fg); }

/* Studio filmstrip ------------------------------------------------------- */
.studio { padding: 0 0 clamp(110px, 13vw, 190px); }
.studio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 var(--pad); margin-bottom: 26px; }
.studio-head .label { margin-bottom: 0; }
.studio-cap { display: flex; gap: 28px; color: var(--muted); }
.film { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.film-track { display: flex; width: max-content; animation: film 80s linear infinite; }
.film:hover .film-track { animation-play-state: paused; }
.film-group { display: flex; gap: 14px; padding-right: 14px; }
.film figure { flex: 0 0 auto; margin: 0; height: clamp(220px, 28vw, 420px); border-radius: 10px; overflow: hidden; background: var(--card); }
.film img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--ease-out); }
.film figure:hover img { transform: scale(1.05); }
@keyframes film { to { transform: translateX(-50%); } }

/* ==========================================================================
   PROJECT
   ========================================================================== */
.project { padding: 0 var(--pad) clamp(110px, 13vw, 190px); }
.project-card {
  position: relative; overflow: hidden; border-radius: 18px;
  min-height: min(88vh, 860px);
  display: flex; align-items: flex-end;
  background: var(--card);
}
.project-img { position: absolute; inset: 0; }
.project-img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.project-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, .35) 45%, rgba(10, 10, 11, 0) 70%);
}
.project-body {
  position: relative; z-index: 1; width: 100%;
  padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px 48px; align-items: end;
}
.project-kicker { color: var(--accent); margin-bottom: 14px; }
.project-title { margin: 0; font-size: clamp(60px, 11vw, 190px); font-weight: 600; letter-spacing: -.065em; line-height: .8; }
.project-text p { font-size: 17px; color: rgba(243, 241, 236, .82); margin-bottom: 24px; }

/* News + Instagram -------------------------------------------------------- */
.news { padding: 0 var(--pad) clamp(110px, 13vw, 190px); }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.news-title { margin: 0; font-size: clamp(44px, 6.4vw, 110px); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.news-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.news-feature {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2);
}
.news-feature-media {
  position: relative; display: block; flex: 1; min-height: 320px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, rgba(47, 211, 198, .18), transparent 70%);
}
.news-feature-media img {
  position: absolute; top: 50%; width: 30%; height: auto; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transition: transform 1s var(--ease-out);
}
.news-feature-media img:nth-child(1) { left: 9%; transform: translateY(-50%) rotate(-7deg); }
.news-feature-media img:nth-child(2) { left: 35%; z-index: 2; transform: translateY(-54%) scale(1.08); }
.news-feature-media img:nth-child(3) { left: 61%; transform: translateY(-50%) rotate(7deg); }
.news-feature:hover .news-feature-media img:nth-child(1) { transform: translate(-8%, -50%) rotate(-11deg); }
.news-feature:hover .news-feature-media img:nth-child(3) { transform: translate(8%, -50%) rotate(11deg); }
.news-feature-body { padding: clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.news-kicker { color: var(--accent); margin-bottom: 10px; }
.news-feature-body h3 { margin: 0 0 10px; font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.news-feature-body p:not(.mono) { color: var(--muted); margin-bottom: 20px; max-width: 40ch; }

.insta { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); padding: clamp(14px, 1.6vw, 20px); display: flex; flex-direction: column; gap: 14px; }
.insta-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px; }
.insta-ig {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5);
}
.insta-ig svg { width: 22px; height: 22px; }
.insta-name { font-weight: 500; }
.insta-head .mono { font-size: 10px; }
.insta-follow {
  margin-left: auto; height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center;
  background: var(--fg); color: #0a0a0b; font-size: 14px; font-weight: 500; transition: background .3s;
}
.insta-follow:hover { background: var(--accent); }
.insta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; flex: 1; }
.insta-post { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--card); }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; }
.insta-post:hover img { transform: scale(1.06); filter: brightness(.55); }
.insta-post span {
  position: absolute; inset: auto 10px 10px 10px; font-size: 12px; line-height: 1.35; color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease-out);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.insta-post:hover span { opacity: 1; transform: none; }

/* ==========================================================================
   CONTACT + FOOTER
   ========================================================================== */
.contact { padding: clamp(110px, 14vw, 210px) var(--pad) clamp(60px, 8vw, 100px); }
.contact-title { margin: 0 0 clamp(48px, 7vw, 100px); font-size: clamp(36px, 5.2vw, 88px); font-weight: 500; letter-spacing: -.05em; line-height: .98; max-width: 13em; }
.mail {
  display: inline-flex; flex-wrap: wrap;
  font-size: clamp(25px, 7.2vw, 132px); font-weight: 600; letter-spacing: -.055em; line-height: 1.08;
  padding-bottom: .06em;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
  transition: background-size .8s var(--ease);
}
.mail:hover { background-size: 100% 2px; }
.mail .r { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.mail .r > span { display: inline-block; transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 12ms); }
.mail .r > span::after { content: attr(data-c); position: absolute; left: 0; top: 100%; color: var(--accent); }
.mail:hover .r > span { transform: translateY(-100%); }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  margin-top: clamp(64px, 9vw, 120px); padding-top: 28px; border-top: 1px solid var(--line);
}
.contact-grid .mono { margin-bottom: 12px; }
.contact-grid p:not(.mono) { font-size: 17px; }
.contact-grid a:not(.link-arrow):hover { color: var(--accent); }

.footer { padding: 0 var(--pad) 26px; overflow: hidden; }
.footer-word {
  font-size: 13.6vw; font-weight: 600; letter-spacing: -.07em; line-height: .8; white-space: nowrap;
  margin: 0 0 22px -.03em;
  background: linear-gradient(180deg, var(--fg) 30%, rgba(243, 241, 236, .15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-row a:hover { color: var(--fg); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: #08080a;
  opacity: 0; transition: opacity .5s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px var(--pad); color: var(--muted); }
.lb-close { justify-self: end; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); padding: 8px 0; }
.lb-modes { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.lb-mode {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  transition: background .3s, color .3s;
}
.lb-mode:hover { color: var(--fg); }
.lb-mode.is-active { background: var(--fg); color: #0a0a0b; }
.live-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live-pulse 1.8s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 139, .55); } 70% { box-shadow: 0 0 0 7px rgba(255, 61, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 139, 0); } }
.lb-close:hover { color: var(--accent); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 clamp(56px, 7vw, 110px); min-height: 0; }
.lb-frame { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 4px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  transform: scale(.96); opacity: 0; transition: transform .8s var(--ease-out), opacity .5s ease;
}
.lb-img.ready { transform: none; opacity: 1; }
.lb-video, .lb-depth { position: absolute; left: 0; top: 0; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.lb-video { object-fit: cover; }
.lb-overlay { position: absolute; left: 0; top: 0; pointer-events: none; }
.lb-wm {
  position: absolute; right: 12px; bottom: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.lb-video.on, .lb-depth.on { opacity: 1; }
.lb-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px; font-size: 10px; color: var(--fg);
  background: rgba(10, 10, 11, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.lb-hint.on { opacity: 1; }

/* Room preview */
.lb-room { position: absolute; inset: 0 clamp(56px, 7vw, 110px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.room-view { position: relative; overflow: hidden; border-radius: 8px; background: var(--card); touch-action: none; user-select: none; }
.room-bg { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-art {
  position: absolute; left: 0; top: 0; cursor: grab; touch-action: none;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .55), 0 3px 8px rgba(0, 0, 0, .22);
  transition: width .5s var(--ease-out), height .5s var(--ease-out);
}
.room-art.dragging { cursor: grabbing; transition: none; }
.room-art img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.room-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .16), transparent 38%); pointer-events: none; }
.room-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
.room-list, .room-sizes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.room-btn { width: 62px; height: 40px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); opacity: .55; transition: opacity .3s, border-color .3s; }
.room-btn img { width: 100%; height: 100%; object-fit: cover; }
.room-btn:hover { opacity: .9; }
.room-btn.is-active { opacity: 1; border-color: var(--fg); }
.room-upload { width: auto; padding: 0 14px; font-size: 13px; color: var(--fg); opacity: .8; }
.room-size { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; }
.room-size.is-active { background: var(--fg); color: #0a0a0b; border-color: var(--fg); }
.room-sizes .mono { color: var(--dim); font-size: 10px; margin-right: 4px; }
.room-wall { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.room-wall .mono { font-size: 10px; }
.room-wall input { width: 140px; accent-color: var(--accent); }
.room-wall b { font-weight: 400; color: var(--fg); min-width: 6ch; }
.room-note { width: 100%; text-align: center; color: var(--dim); font-size: 10px; }
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2);
  font-size: 18px; display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.lb-nav:hover { background: var(--fg); color: #0a0a0b; border-color: var(--fg); }
.lb-prev { left: var(--pad); }
.lb-next { right: var(--pad); }
.lb-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 20px var(--pad) 26px; }
.lb-title { font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 6px; }
.lb-info { max-width: 680px; }
.lb-desc { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 10px; max-width: 58ch; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .works-head { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-media { position: relative; top: 0; aspect-ratio: 4 / 5; max-height: 80vh; }
  .project-body { grid-template-columns: 1fr; }
  .index-head, .index-row { grid-template-columns: 48px minmax(0, 1fr) 36px; }
  .index-head .s, .index-row .s { display: none; }
}

@media (max-width: 860px) {
  .process-sticky { position: relative; height: auto; overflow: visible; }
  .process { height: auto !important; }
  .process-head { padding-top: clamp(80px, 14vw, 110px); }
  .process-track { flex-direction: column; transform: none !important; gap: 56px; padding-bottom: 90px; will-change: auto; }
  .step-media img { will-change: auto; transform: none !important; }
  .step, .step-intro { width: auto; }
  .step { grid-template-columns: 1fr; }
  .step-media { aspect-ratio: 4 / 3; }
  .step-body { flex-direction: row; align-items: flex-start; gap: 20px; }
  .step-num { font-size: 72px; }
}

@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero-top { top: 74px; }
  .hero-title { font-size: 24vw; letter-spacing: -.06em; }
  .ht-back { top: 17svh; }
  .ht-front { bottom: 25svh; }
  .ht-by { top: auto; left: auto; right: var(--pad); bottom: calc(25svh - 1.25em); font-size: 30px; }
  .pane-wrap { width: 54vw; }
  .hero-meta { grid-template-columns: 1fr auto; bottom: 20px; }
  .scroll-hint { display: none; }
  .hero-intro { font-size: 14px; max-width: 24ch; }
  .hc-city { min-width: 0; }
  .toolbar { border-radius: 18px; }
  .grid-col { gap: 22px; }
  .card figcaption { flex-direction: column; gap: 3px; padding-top: 10px; }
  .card-title { font-size: 14px; }
  .chip, .view-btn { height: 36px; padding: 0 13px; font-size: 13px; }
  .view-btn span { display: none; }
  .facts { grid-template-columns: 1fr; }
  .cv li { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; font-size: 15px; }
  .studio-head { flex-direction: column; align-items: flex-start; }
  .statement { min-height: 135svh; padding: 22svh var(--pad); }
  .tile-desk { display: none; }
  .tile { left: var(--mx); top: var(--my); width: calc(var(--mw) * 1vw); }
  .statement-inner { font-size: 27px; }
  .news-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insta-post:nth-child(n+7) { display: none; }
  .news-feature-media { min-height: 260px; }
  .studio-cap { flex-direction: column; gap: 4px; }
  .cur-result { flex-direction: column; align-items: flex-start; }
  .card-match span { display: none; }
  .project-card { min-height: 78vh; }
  .ig { grid-template-columns: 1fr auto; }
  .ig .mono { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 var(--pad); }
  .lb-room { inset: 0 var(--pad); }
  .lb-top { grid-template-columns: auto 1fr auto; padding: 14px var(--pad); }
  .lb-modes { justify-self: center; }
  .lb-mode { padding: 0 9px; font-size: 10px; height: 30px; }
  .lb-close span { display: none; }
  .room-wall input { width: 110px; }
  .lb-nav { display: none; }
  .lb-bottom { flex-direction: column; align-items: flex-start; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* touch screens: no grain layer (barely visible on small screens, but blended over every scroll frame) */
@media (hover: none) {
  .grain { display: none; }
  a, button { -webkit-tap-highlight-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain { animation: none; }
  .film { overflow-x: auto; }
  .film-track { animation: none; }
  .js .rv, .js .card .card-media, .js .card figcaption { opacity: 1; transform: none; clip-path: none; }
  .js [data-chars] .ch, .js .ht-in .ch { transform: none; }
  .js .stage, .js .hero-top, .js .hero-meta { opacity: 1; }
  .js .tile-in { clip-path: none; }
  .statement-text .w { opacity: 1 !important; }
}

/* ==========================================================================
   SUBPAGES – artwork, series and overview pages (generated)
   ========================================================================== */
.sub-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px var(--pad);
  background: rgba(10, 10, 11, .95);
  border-bottom: 1px solid var(--line);
}
.sub-nav nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 14px; }
.sub-nav nav > a:hover { color: var(--accent); }
.sub-main { padding: clamp(26px, 4vw, 56px) var(--pad) clamp(80px, 10vw, 140px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs a:hover, .crumbs [aria-current] { color: var(--fg); }
.work-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.work-figure { margin: 0; display: flex; justify-content: center; padding: clamp(16px, 3vw, 44px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.work-figure img { width: auto; max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 3px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.work-info { position: sticky; top: 96px; }
.work-info .kicker { color: var(--accent); margin-bottom: 14px; }
.work-info h1 { margin: 0 0 26px; font-size: clamp(36px, 4.4vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.work-facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); margin: 0 0 26px; border-top: 1px solid var(--line); }
.work-facts dt, .work-facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.work-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 14px; }
.work-facts dd a:hover { color: var(--accent); }
.work-desc { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 46ch; margin-bottom: 28px; }
.work-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.work-pn { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(44px, 6vw, 84px); padding-top: 22px; border-top: 1px solid var(--line); }
.work-pn a { display: flex; flex-direction: column; gap: 6px; max-width: 46%; }
.work-pn a.next { margin-left: auto; text-align: right; }
.work-pn .mono { color: var(--muted); }
.work-pn b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.work-pn a:hover b { color: var(--accent); }
.sub-h2 { margin: 0 0 26px; font-size: clamp(28px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.sub-h2 a:hover { color: var(--accent); }
.related { margin-top: clamp(64px, 8vw, 120px); }
.tile-grid { columns: 4 220px; column-gap: 16px; }
.tile-grid a { display: block; break-inside: avoid; margin-bottom: 24px; }
.tile-grid img { width: 100%; height: auto; border-radius: 8px; background: var(--card); transition: transform .8s var(--ease-out); }
.tile-grid a:hover img { transform: translateY(-4px); }
.tile-grid span { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; font-size: 14px; }
.tile-grid span .mono { color: var(--muted); white-space: nowrap; }
.series-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.series-head h1 { margin: 0; font-size: clamp(56px, 9vw, 160px); font-weight: 600; letter-spacing: -.06em; line-height: .86; }
.series-head p { color: var(--muted); font-size: 17px; }
.series-head .count { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--muted); vertical-align: top; margin-left: .4em; }
.overview-series { margin-bottom: clamp(64px, 8vw, 120px); }
.overview-series > p { color: var(--muted); font-size: 17px; max-width: 60ch; margin: -10px 0 28px; }
.series-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 6vw, 80px); }
.series-links a { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-size: 14px; transition: border-color .3s, color .3s; }
.series-links a:hover { border-color: var(--fg); }
.sub-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 26px var(--pad); border-top: 1px solid var(--line); color: var(--muted); }
.sub-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.sub-footer a:hover { color: var(--fg); }
.nf { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.nf h1 { margin: 0; font-size: clamp(64px, 12vw, 200px); font-weight: 600; letter-spacing: -.06em; line-height: .85; }
@media (max-width: 860px) {
  .work-layout, .series-head { grid-template-columns: 1fr; }
  .work-info { position: static; }
  .sub-nav .hide-m { display: none; }
  .work-figure img { max-height: 70vh; }
}
