/* =========================================================
   ZOO v3 — AIM-inspired
   Pinned scroll sequences · full-viewport type ·
   scroll-driven transitions · Inter variable
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #111111;
  --ink-50: rgba(17,17,17,0.5);
  --ink-20: rgba(17,17,17,0.2);
  --ink-10: rgba(17,17,17,0.1);
  --paper: #f0ede8;
  --black: #111111;
  --white: #f0ede8;
  --pure-white: #ffffff;
  --pure-black: #000000;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-power: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 4vw, 56px);
  --font: "Inter", "Helvetica Neue", "Arial", sans-serif;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: var(--ink); color: var(--paper); }

/* =====================================================
   Loader — brand lockup
   ===================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
}
.loader.done { pointer-events: none; }

.loader-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  width: clamp(300px, 40vw, 480px);
}

/* Head row — logo + phonetic + pos */
.ll-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
}
.ll-word {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--pure-white);
}
.ll-mark {
  width: clamp(36px, 4vw, 52px);
  height: auto;
}
.ll-phonetic {
  font-size: clamp(13px, 1.2vw, 16px);
  font-style: italic;
  opacity: 0.35;
}
.ll-pos {
  font-size: clamp(11px, 1vw, 13px);
  font-style: italic;
  opacity: 0.35;
  letter-spacing: 0.06em;
}

/* Rule / divider */
.ll-rule {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 18px;
  overflow: hidden;
}
.ll-rule-fill {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.5);
}

/* Definition */
.ll-def {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  max-width: 42ch;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  color: rgba(255,255,255,0.6);
}

/* Synonym tags */
.ll-sub {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
}
.ll-sub span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* Footer meta */
.ll-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  opacity: 0;
  transform: translateY(8px);
}
.ll-foot .ll-mark {
  width: clamp(28px, 3vw, 40px);
  opacity: 0.4;
  filter: invert(1);
}

/* Enter button */
.ll-enter {
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--pure-white);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.ll-enter:hover {
  background: var(--pure-white);
  color: var(--ink);
  border-color: var(--pure-white);
}

/* =====================================================
   Grain
   ===================================================== */
.grain {
  position: fixed;
  inset: -120%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%  { transform: translate(0,0); }
  16% { transform: translate(-2%, 3%); }
  33% { transform: translate(3%, -2%); }
  50% { transform: translate(-3%, 1%); }
  66% { transform: translate(2%, -3%); }
  83% { transform: translate(-1%, 2%); }
  100%{ transform: translate(0,0); }
}

/* =====================================================
   Cursor
   ===================================================== */
.cursor, .cursor-dot {
  position: fixed;
  left: 0; top: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s;
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 1; }
body.cursor-ready, body.cursor-ready * { cursor: none; }
.cursor {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid var(--ink);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              margin 0.3s var(--ease), border-color 0.3s,
              background 0.3s, opacity 0.3s;
}
.cursor-dot {
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--ink);
  transition: background 0.3s;
}
body.on-dark .cursor { border-color: var(--white); }
body.on-dark .cursor-dot { background: var(--white); }
.cursor.active {
  width: 80px; height: 80px;
  margin: -40px 0 0 -40px;
  background: var(--ink);
  mix-blend-mode: difference;
  border-color: transparent;
}
.cursor.active.labeled::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--paper); font-weight: 600;
}
@media (hover: none) {
  .cursor, .cursor-dot { display: none !important; }
  body, body * { cursor: auto !important; }
}

/* =====================================================
   Nav
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  mix-blend-mode: difference;
  color: var(--pure-white);
}
.nav-logo img {
  height: 20px;
  width: auto;
  filter: invert(1);
}
.nav-links {
  display: flex; gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-meta {
  display: flex; gap: 20px; align-items: center;
}
.pulse {
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* =====================================================
   HERO — pinned scroll-driven
   ===================================================== */
.hero {
  position: relative;
  height: 300vh;
}
.hero-pin {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  will-change: transform;
}

.hero-eyebrow {
  position: absolute;
  top: 80px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.hero-text {
  text-align: center;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 800;
  font-size: clamp(36px, 8.5vw, 148px);
}
.hero-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.hw {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform;
}
.hw.it { font-style: italic; letter-spacing: -0.06em; }
.hw.outline {
  -webkit-text-stroke: 2px var(--ink);
  -webkit-text-fill-color: var(--paper);
  paint-order: stroke fill;
}

/* Swap */
.swap-slot {
  display: inline-flex;
  overflow: hidden;
  height: 0.88em;
  vertical-align: top;
  position: relative;
  margin: 0 0.08em;
  transform: translateY(110%);
  opacity: 0;
}
.swap-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--ease-power);
}
.swap-word {
  display: block;
  height: 0.88em;
  line-height: 0.88;
  font-style: italic;
  letter-spacing: -0.06em;
}

.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 12vw;
  right: 12vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hero-dict {
  max-width: 380px;
  color: var(--ink);
}
.hd-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.hd-word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hd-logo {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: baseline;
  position: relative;
  top: 0.05em;
}
.hd-full-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hd-phonetic {
  font-size: 13px;
  font-style: italic;
  opacity: 0.45;
}
.hd-pos {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.35;
  font-weight: 500;
}
.hd-rule {
  width: 100%;
  height: 1px;
  background: var(--ink-20);
  margin-bottom: 12px;
}
.hd-def {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  opacity: 0.75;
  margin-bottom: 14px;
}
.hd-sub {
  display: flex;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.3;
  font-weight: 500;
}
.hd-sub span:first-child {
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: none;
}
.hero-ext {
  max-width: 340px;
  text-align: right;
}
.he-def {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink);
  opacity: 0.55;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  right: var(--pad);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}
.cue-line {
  width: 1px; height: 48px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--paper);
  animation: cuewipe 2s var(--ease) infinite;
}
@keyframes cuewipe {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.hero-ghost {
  position: absolute;
  width: 70vw;
  max-width: 1200px;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}
.hero-ghost img { width: 100%; height: auto; }

/* Floating geo */
.geo {
  position: absolute;
  pointer-events: none;
  opacity: 0;
}
.geo-1 {
  top: 25%;
  left: 8%;
  width: 1px;
  height: 18vh;
  background: var(--ink-20);
}
.geo-2 {
  bottom: 35%;
  right: 10%;
  width: 28vw;
  height: 1px;
  background: var(--ink-20);
}
.geo-3 {
  top: 60%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink-20);
  border-radius: 50%;
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee {
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  overflow: hidden;
  background: var(--paper);
  position: relative;
  z-index: 2;
}
.marquee--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(255,255,255,0.1);
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 16px 0;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 38s linear infinite;
  font-size: clamp(20px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee-track .star {
  font-size: 0.65em;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  vertical-align: baseline;
  position: relative;
  top: -0.08em;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Image scroller ── */
.img-scroller {
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  overflow: hidden;
  background: var(--paper);
  position: relative;
  z-index: 2;
}
.img-scroller-track {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  white-space: nowrap;
  width: max-content;
  align-items: center;
  animation: scroll-x-reverse 38s linear infinite;
  font-size: clamp(20px, 3vw, 44px);
}
.img-scroller-track img {
  height: clamp(125px, 17.5vw, 250px);
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: opacity 0.2s;
}
.img-scroller-track img:hover {
  opacity: 0.75;
}
.img-scroller-track .star {
  font-size: 0.65em;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 40px;
}
@keyframes scroll-x-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── Logo scroller ── */
.logo-scroller-track {
  display: flex;
  gap: 0;
  padding: 24px 0;
  white-space: nowrap;
  width: max-content;
  align-items: center;
  animation: scroll-x-reverse 22s linear infinite;
  font-size: clamp(20px, 3vw, 44px);
}
.logo-scroller-track img {
  height: clamp(40px, 5vw, 65px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) saturate(100%);
  opacity: 1;
  transition: opacity 0.2s;
}
.logo-scroller-track img.logo-sm  { height: clamp(28px, 3.5vw, 45px); }
.logo-scroller-track img.logo-md  { height: clamp(36px, 4.5vw, 58px); }
.logo-scroller-track img.logo-lg  { height: clamp(40px, 5vw, 64px); }
.logo-scroller-track img:hover { opacity: 0.6; }
.logo-scroller-track .logo-text {
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pure-black);
  opacity: 1;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.logo-scroller-track .logo-text:hover { opacity: 0.6; }
.logo-scroller-track .star {
  font-size: 0.65em;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 50px;
}

/* =====================================================
   Section label
   ===================================================== */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(40px, 8vh, 100px);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-50);
}
.section-label--light { color: rgba(255,255,255,0.4); }
.sl-num {
  width: 28px; height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px;
  letter-spacing: 0;
}

/* =====================================================
   STUDIO
   ===================================================== */
.studio {
  padding: clamp(20px, 2vh, 36px) var(--pad);
}
.studio-head {
  font-size: clamp(40px, 7vw, 120px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.sh-line {
  display: block;
  position: relative;
  overflow: hidden;
  /* defaults — animated by GSAP per-line */
  --redact-scale: 0;
  --redact-origin-x: 0%;
}
.sh-inner {
  display: block;
  will-change: transform;
}
/* Two text layers stacked on line 1; the slide is driven by GSAP. */
.sh-text-orig,
.sh-text-refined {
  display: block;
  will-change: transform, opacity;
}
.sh-text-refined {
  position: absolute;
  inset: 0;
}
/* Redaction bar — thin enough to still read the text behind it.
   Sits as a horizontal slab centred on the line. */
.sh-line.sh-redactable::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  /* em-based so it stays a thin slab across all viewport sizes */
  height: 0.18em;
  background: #000;
  transform: translateY(-50%) scaleX(var(--redact-scale));
  transform-origin: var(--redact-origin-x) center;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}
.sh-em {
  font-style: italic;
  font-weight: 800;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

.studio-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding-top: 10px;
  border-top: 1px solid var(--ink-10);
  margin-bottom: clamp(80px, 12vh, 160px);
}
.studio-lead {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sl-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-50);
  margin-top: auto;
}
.studio-body {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.8;
  color: var(--ink-50);
}
.studio-body em {
  font-style: italic;
  color: var(--ink);
}
.studio-body strong {
  font-weight: 600;
  color: var(--ink);
}

.studio-statement {
  font-size: clamp(32px, 5vw, 80px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: clamp(60px, 10vh, 120px);
}
.ss-line { display: block; }
.ss-outline {
  -webkit-text-stroke: 2px var(--ink);
  -webkit-text-fill-color: var(--paper);
  paint-order: stroke fill;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.team-member {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/15;
  background: var(--ink);
}
.team-member img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.2s var(--ease), filter 0.6s;
}
.team-member:hover img {
  transform: scale(1.06);
  filter: grayscale(0.2) contrast(1.1);
}
.team-member figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 80%);
  color: var(--pure-white);
}
.tm-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.tm-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.6;
}
.tm-idx {
  position: absolute;
  bottom: 20px; right: 20px;
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.4;
}

/* =====================================================
   ENCLOSURES — pinned scroll sequence
   ===================================================== */
.enclosures {
  position: relative;
  height: 400vh;
}
.encl-pin {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  overflow: hidden;
}
.encl-bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: -1;
}
.encl-pin { color: var(--pure-white); }

.encl-headline {
  font-size: clamp(48px, 10vw, 180px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.encl-hw { display: inline-block; }
.encl-outline {
  -webkit-text-stroke: 2px var(--pure-white);
  -webkit-text-fill-color: var(--ink);
  paint-order: stroke fill;
}
.encl-italic { font-style: italic; }

.encl-panels {
  position: relative;
  min-height: 280px;
  margin-top: clamp(24px, 3vh, 40px);
}
.encl-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 5vw, 80px);
  row-gap: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.encl-panel.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ep-num {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 600;
  opacity: 0.4;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  grid-column: 1;
}
.ep-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: clamp(16px, 2vh, 28px);
  grid-column: 1;
}
.ep-title em { font-style: italic; }
.ep-desc {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  max-width: 55ch;
  opacity: 0.55;
  grid-column: 1;
}
.ep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: start;
  max-width: 380px;
}
.ep-tag {
  display: inline-block;
  padding: 8px 14px;
  background: var(--pure-white);
  color: var(--pure-black);
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.encl-panel.visible .ep-tag {
  opacity: 1;
  transform: translateY(0);
}
.encl-panel.visible .ep-tag:nth-child(1) { transition-delay: 0.15s; }
.encl-panel.visible .ep-tag:nth-child(2) { transition-delay: 0.25s; }
.encl-panel.visible .ep-tag:nth-child(3) { transition-delay: 0.35s; }
.encl-panel.visible .ep-tag:nth-child(4) { transition-delay: 0.45s; }
.encl-panel.visible .ep-tag:nth-child(5) { transition-delay: 0.55s; }
.encl-panel.visible .ep-tag:nth-child(6) { transition-delay: 0.65s; }
.ep-price {
  text-align: right;
  padding-top: 6px;
}
.ep-from {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 4px;
}
.ep-val {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.encl-progress {
  position: absolute;
  bottom: 40px;
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 16px;
}
.encl-prog-fill {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.encl-prog-fill::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w, 33.33%);
  background: var(--pure-white);
  transition: width 0.6s var(--ease);
}
.encl-prog-labels {
  display: flex;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.4;
}
.encl-prog-labels span.active { opacity: 1; color: var(--pure-white); }

/* =====================================================
   CASE — full-viewport stat slides
   ===================================================== */
.case {
  position: relative;
  height: 800vh;
}
.case-pin {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--pad);
  overflow: hidden;
  gap: 0;
}
.case-pin > .section-label {
  margin-bottom: 16px;
}
.case-slides {
  position: relative;
  width: 100%;
  height: 60vh;
  text-align: center;
}
.case-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.case-slide.visible {
  opacity: 1;
  transform: none;
}
.cs-num {
  font-size: clamp(80px, 22vw, 360px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.cs-unit {
  font-size: 0.3em;
  font-weight: 600;
  margin-left: 0.06em;
  opacity: 0.5;
  text-transform: uppercase;
}
.cs-pre {
  font-size: 0.4em;
  font-weight: 700;
  opacity: 0.5;
  margin-right: 0.04em;
}
.cs-label {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  max-width: 40ch;
  color: var(--ink-50);
}
.cs-sm {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}

.case-counter {
  position: absolute;
  bottom: 40px;
  left: var(--pad);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ink-50);
}
.cc-current { color: var(--ink); }

/* =====================================================
   WORK — sticky gallery
   ===================================================== */
.work {
  padding: clamp(100px, 14vh, 180px) var(--pad);
}
.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  min-height: 200vh;
}
.work-info {
  padding-top: 40px;
}
.work-item {
  padding: clamp(40px, 6vh, 80px) 0;
  border-bottom: 1px solid var(--ink-10);
  opacity: 0.3;
  transition: opacity 0.6s var(--ease);
}
.work-item.active { opacity: 1; }
.wi-logo {
  display: block;
  height: clamp(20px, 2.5vw, 32px);
  width: auto;
  margin: 10px 0 4px;
  filter: brightness(0);
  object-fit: contain;
}
.wi-logo-text {
  display: block;
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 10px 0 4px;
  color: var(--pure-black);
}
.wi-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 600;
}
.wi-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 12px 0;
}
.wi-season {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-50);
}
.wi-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.wi-tags span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--ink-10);
  color: var(--ink-50);
  font-weight: 500;
}

.work-gallery {
  position: relative;
  height: 80vh;
  align-self: start;
  will-change: transform;
  overflow: hidden;
}
.wg-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  opacity: 0;
  pointer-events: none;
}
.wg-grid.active {
  opacity: 1;
  pointer-events: auto;
}
.wg-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.wg-grid.active img {
  opacity: 1;
  transform: scale(1);
}
.wg-grid.active img:nth-child(1) { transition-delay: 0s; }
.wg-grid.active img:nth-child(2) { transition-delay: 0.1s; }
.wg-grid.active img:nth-child(3) { transition-delay: 0.2s; }
.wg-grid.active img:nth-child(4) { transition-delay: 0.3s; }

/* =====================================================
   PROCESS
   ===================================================== */
.process {
  padding: clamp(80px, 10vh, 140px) var(--pad);
  border-top: 1px solid var(--ink-10);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.process-step {
  padding: clamp(32px, 3vw, 48px) clamp(24px, 2.5vw, 40px) clamp(40px, 4vw, 56px);
  border-right: 1px solid var(--ink-10);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-step:last-child { border-right: none; }
.ps-num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-50);
  font-weight: 600;
}
.ps-title {
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.ps-desc {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--ink-50);
  margin-top: 8px;
}
.ps-time {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 18px;
}

/* =====================================================
   CONTACT — dark
   ===================================================== */
.contact {
  background: var(--ink);
  color: var(--pure-white);
  padding: clamp(120px, 16vh, 200px) var(--pad) 80px;
}
.contact-head {
  font-size: clamp(40px, 7vw, 120px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.ch-line { display: block; overflow: hidden; }
.ch-em { font-style: italic; }
.ch-outline {
  -webkit-text-stroke: 2px var(--pure-white);
  -webkit-text-fill-color: var(--ink);
  paint-order: stroke fill;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: clamp(40px, 6vh, 80px);
}
.contact-form { display: flex; flex-direction: column; gap: 0; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cf-field {
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
}
.cf-row .cf-field:last-child { border-right: 1px solid rgba(255,255,255,0.1); }
.cf-field.cf-full { border-right: 1px solid rgba(255,255,255,0.1); }
.cf-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  font-weight: 500;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--pure-white);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  resize: none;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(255,255,255,0.25); }
.cf-field textarea { min-height: 100px; line-height: 1.55; font-size: 15px; }

.pillrow { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
  font-weight: 500;
}
.pill.active, .pill[aria-pressed="true"] {
  background: var(--pure-white);
  color: var(--ink);
  border-color: var(--pure-white);
}
.pill:hover { border-color: var(--pure-white); }

.cf-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: var(--pure-white);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
}
.cf-arr {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease-power), background 0.3s, color 0.3s;
}
.cf-submit:hover {
  background: var(--ink);
  color: var(--pure-white);
}
.cf-submit:hover .cf-arr {
  background: var(--pure-white);
  color: var(--ink);
  border-color: var(--pure-white);
  transform: rotate(-45deg);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}
.contact-aside h4 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
  font-weight: 600;
}
.ca-email {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--ink);
  color: var(--pure-white);
  padding: 40px var(--pad) 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-logo img {
  width: clamp(100px, 14vw, 200px);
  height: auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--pure-white); }

/* =====================================================
   PROJECTS OVERLAY
   ===================================================== */
.proj-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(240, 237, 232, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.proj-overlay.open {
  opacity: 1;
  visibility: visible;
}
.proj-overlay-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad) 140px;
}

/* Header */
.proj-ol-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--ink-10);
}
.proj-ol-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.9;
}
.proj-ol-count {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 600;
  margin-left: 20px;
}
.proj-ol-title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.proj-ol-close {
  background: none;
  border: 1px solid var(--ink);
  padding: 10px 28px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.proj-ol-close:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Project Rows */
.proj-ol-row {
  border-bottom: 1px solid var(--ink-10);
}
.proj-ol-row-head {
  display: grid;
  grid-template-columns: 48px 60px 1fr auto 32px;
  gap: 16px;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  transition: background 0.3s;
}
.proj-ol-row-head:hover {
  background: rgba(0,0,0,0.02);
}
.proj-ol-num {
  font-size: 11px;
  color: var(--ink-50);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.proj-ol-logo {
  display: block;
  height: 28px;
  width: 60px;
  object-fit: contain;
  object-position: center center;
  filter: brightness(0);
}
.proj-ol-logo-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-align: center;
}
.proj-ol-info {
  padding-left: 20px;
}
.proj-ol-name {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.proj-ol-client {
  font-size: 11px;
  color: var(--ink-50);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}
.proj-ol-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}
.proj-ol-toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-50);
  transition: transform 0.4s var(--ease);
  text-align: center;
}
.proj-ol-row.open .proj-ol-toggle {
  transform: rotate(45deg);
}

/* Detail Panel */
.proj-ol-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.proj-ol-row.open .proj-ol-detail {
  max-height: 8000px;
}
.proj-ol-brief {
  padding: 32px 0 40px;
  padding-left: 48px;
}
.proj-ol-signal {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink-50);
  font-style: italic;
  max-width: 700px;
  border-left: 2px solid var(--ink-10);
  padding-left: 24px;
}

/* Image Grids */
.proj-ol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  padding: 0 0 0 48px;
}
.proj-ol-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.proj-ol-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.proj-ol-grid img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
}
.proj-ol-grid img:hover {
  opacity: 0.85;
}

/* Breakdown */
.proj-ol-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0 32px;
  padding-left: 48px;
  margin-top: 24px;
  border-top: 1px solid var(--ink-10);
}
.proj-ol-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 600;
  margin-bottom: 10px;
}
.proj-ol-breakdown p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-50);
}

/* Credits */
.proj-ol-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0 48px;
  padding-left: 48px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-30);
  font-weight: 500;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}
.lightbox-close:hover { color: white; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 20px;
  transition: color 0.3s;
}
.lightbox-nav:hover { color: white; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* =====================================================
   Mobile
   ===================================================== */
@media (max-width: 900px) {
  /* Nav */
  .nav-links, .nav-meta { display: none; }

  /* Hero */
  .hero-text { font-size: clamp(28px, 10vw, 60px); }
  .hero-eyebrow { display: none; }
  .hero-bottom {
    flex-direction: column;
    gap: 20px;
    left: var(--pad);
    right: var(--pad);
    bottom: 24px;
  }
  .hero-dict { max-width: 100%; }
  .hd-head { flex-wrap: wrap; gap: 6px 10px; }
  .hd-full-name { font-size: 16px; }
  .hd-def { font-size: 13px; }
  .hero-ext { text-align: left; align-items: flex-start; max-width: 100%; }
  .he-def { font-size: 13px; }
  .hero-scroll-cue { position: relative; bottom: auto; right: auto; justify-content: flex-end; margin-top: 8px; }

  /* Studio */
  .studio-head { font-size: clamp(32px, 8vw, 60px); }
  .studio-columns { grid-template-columns: 1fr; }
  .studio-statement { font-size: clamp(24px, 6vw, 40px); }

  /* Team */
  .team { grid-template-columns: 1fr; }

  /* Enclosures */
  .encl-panel { grid-template-columns: 1fr; }
  .encl-panel .ep-tags { grid-column: 1; grid-row: auto; justify-content: flex-start; max-width: none; margin-top: 16px; }
  .encl-panel .ep-price { text-align: left; }

  /* Work */
  .work-layout { grid-template-columns: 1fr; }
  .work-gallery { position: relative; top: 0; height: 60vw; width: 100%; margin-bottom: 40px; order: -1; }
  .wi-logo, .wi-logo-text { display: none; }
  .wi-title { font-size: clamp(28px, 8vw, 48px); }

  /* Process — single column on mobile */
  .process-track { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--ink-10); }

  /* Contact */
  .contact-head { font-size: clamp(32px, 8vw, 60px) !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { text-align: left; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-field { border-right: 1px solid rgba(255,255,255,0.1) !important; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Project overlay */
  .proj-ol-row-head { grid-template-columns: 36px 1fr 28px; }
  .proj-ol-logo, .proj-ol-logo-text { display: none; }
  .proj-ol-meta { display: none; }
  .proj-ol-grid { grid-template-columns: 1fr 1fr; padding-left: 0; }
  .proj-ol-grid--2col { grid-template-columns: 1fr; }
  .proj-ol-grid--3col { grid-template-columns: 1fr 1fr; }
  .proj-ol-breakdown { grid-template-columns: 1fr; padding-left: 0; }
  .proj-ol-brief { padding-left: 0; }
  .proj-ol-credits { padding-left: 0; flex-wrap: wrap; }
  .proj-ol-header { padding-top: 80px; flex-wrap: wrap; gap: 12px; }
  .proj-ol-close { padding: 8px 20px; }
  .proj-ol-signal { font-size: 14px; padding-left: 16px; }
}
