/* =========================================================
   4dtruth: styles (all pages)
   Motion modelled on ouiwill.com
   Signature easing: cubic-bezier(.771,.029,.189,1.007)
   ========================================================= */
:root {
  --ink: #0b0a09;
  --grey: #5f605c;
  --muted: #8a8984;
  --soft: #c6c3bb;
  --line: rgba(11, 10, 9, .14);
  --tag: rgba(11, 10, 9, .07);
  --paper: #f4f1eb;
  --pad: 20px;
  --headH: 60px;
  --ease: cubic-bezier(.771, .029, .189, 1.007);
  --expo: cubic-bezier(.19, 1, .22, 1);
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

@property --hovp { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --fill { syntax: "<number>"; inherits: false; initial-value: 0; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans); color: var(--ink);
  background: var(--paper) url("assets/texture/canvas.png") repeat;
  background-size: 256px 256px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.label { color: var(--muted); font-size: 18px; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Film grain over everything ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 200; pointer-events: none; opacity: .09;
  background: url("assets/texture/grain.png") repeat; background-size: 180px;
  animation: grain .9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px;
  font-size: 15px; border-radius: 2px; white-space: nowrap;
  background: var(--ink); color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.btn i { font-style: normal; font-size: 12px; transition: transform .5s var(--expo); }
.btn:hover i { transform: translate(3px, -3px); }
.btn:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); opacity: 1; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); }
.btn-glass:hover { background: #fff; color: var(--ink); opacity: 1; }

/* ---------- Line wipe (top -> bottom) ---------- */
.ln { display: block; position: relative; }
.ln-i {
  display: block;
  clip-path: inset(-0.2em -0.1em 105% -0.1em);
  transform: translateY(.18em);
  transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms));
}
.in .ln-i, .in.ln-i { clip-path: inset(-0.2em -0.1em -0.25em -0.1em); transform: none; }
[data-split="fill"] .ln { color: var(--soft); }
[data-split="fill"] .ln-f { position: absolute; inset: 0; color: var(--ink); pointer-events: none; clip-path: inset(-0.2em calc(100% - 100% * var(--fill)) -0.25em 0); }

/* ---------- Band hover ---------- */
.bnd-hov { display: inline-block; --b: .15; }
.bnd-hov.hov {
  --bB: calc(100% * var(--b)); --bS: calc(100% + 2 * var(--bB));
  clip-path: polygon(
    -10% calc(0% - var(--bB)), 110% calc(0% - var(--bB)),
    110% calc(var(--bS) * (var(--hovp) - 1.1) - var(--bB)), -10% calc(var(--bS) * (var(--hovp) - 1.1) - var(--bB)),
    -10% calc(var(--bS) * var(--hovp) - var(--bB)), 110% calc(var(--bS) * var(--hovp) - var(--bB)),
    110% calc(100% + var(--bB)), -10% calc(100% + var(--bB)));
  animation: bnd .8s var(--ease) forwards;
}
@keyframes bnd { from { --hovp: 0; } to { --hovp: 2.1; } }

/* Generic reveal */
[data-reveal].fade { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].fade.in { opacity: 1; transform: none; }

/* ---------- Pictures: grey until hovered (touch: colour when centred) ---------- */
.card-media img, .mq img, .next img, .piece-wall img, .ms img { filter: grayscale(1) contrast(1.04); }
.card-media img, .mq img, .piece-wall img { transition: filter 1s var(--ease), scale .9s var(--ease), clip-path 1.3s var(--ease) .2s; }
.card:hover .card-media img, .card.color .card-media img,
.mq:hover img, .mq.color img,
.piece-wall:hover img, .piece-wall.color img,
.ms:hover img, .ms.color img { filter: grayscale(0) contrast(1); }

/* ---------- Page transition ---------- */
.pt {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: #fff; pointer-events: none;
  display: grid; place-items: center;
  clip-path: inset(100% 0 0 0);
}
.pt-logo { font-size: 22px; font-weight: 500; letter-spacing: -0.04em; opacity: 0; transition: opacity .3s; }
.pt.cover { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease); pointer-events: auto; }
.pt.cover .pt-logo { opacity: 1; transition-delay: .35s; }
html.pt-in .pt { clip-path: inset(0 0 0 0); }
html.pt-in .pt .pt-logo { opacity: 1; }
.pt.open { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease) .1s; }

/* ---------- Nav (no background: logo + hamburger menu, all screens) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--headH);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--pad); color: #fff; mix-blend-mode: difference;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.is-loading .nav { opacity: 0; transform: translateY(-10px); }
html.nav-hide .nav { transform: translateY(calc(-1 * var(--headH))); transition: transform .45s var(--ease); }
.nav-logo { font-size: 22px; font-weight: 500; letter-spacing: -0.045em; }
.nav-toggle { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 2px; font-size: 15px; color: inherit; }
.nav-toggle-t { display: inline-block; min-width: 44px; text-align: left; }

/* Modern hamburger: two lines, the lower one shorter; morphs into an X */
.burger { position: relative; width: 24px; height: 12px; display: block; }
.burger i {
  position: absolute; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .6s var(--ease), width .5s var(--ease), top .5s var(--ease);
}
.burger i:nth-child(1) { top: 0; width: 100%; }
.burger i:nth-child(2) { top: calc(100% - 1.5px); width: 62%; }
.nav-toggle:hover .burger i:nth-child(2) { width: 100%; }
.nav-toggle:hover .burger i:nth-child(1) { width: 62%; }
.menu-open .burger i { width: 100% !important; top: calc(50% - .75px); }
.menu-open .burger i:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; color: #f1eee8;
  background: var(--ink);
  display: grid; grid-template-rows: 1fr auto auto; gap: 28px;
  padding: calc(var(--headH) + 28px) var(--pad) 22px;
  clip-path: inset(0 0 100% 0); visibility: hidden; overflow-y: auto; overscroll-behavior: contain;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu::before { /* soft colour glow from the active painting */
  content: ""; position: absolute; inset: -20%; z-index: -1; opacity: .22;
  background: radial-gradient(circle at 75% 40%, rgba(214,120,60,.55), transparent 55%), radial-gradient(circle at 20% 90%, rgba(60,110,200,.45), transparent 50%);
  filter: blur(40px);
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; min-height: 0; }
.menu-links { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid rgba(255,255,255,.14); }
.menu-links a {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 12px;
  padding: min(12px, 1.2vh) 0; border-bottom: 1px solid rgba(255,255,255,.14);
  transition: opacity .5s var(--ease);
}
.menu-links a.dim { opacity: .28; }
.ml-i { color: #8f8e89; }
.ml-t { display: block; font-size: clamp(40px, min(8vw, 10.5vh), 136px); letter-spacing: -0.065em; line-height: .95; padding-bottom: .04em; }
.ml-tt { display: inline-block; padding-right: .08em; clip-path: inset(-.2em -.3em 100% -.1em); transform: translateY(.35em); transition: clip-path 1s var(--ease), transform 1s var(--ease), translate .6s var(--expo); transition-delay: calc(.25s + var(--i) * 80ms), calc(.25s + var(--i) * 80ms), 0s; }
.menu.open .ml-tt { clip-path: inset(-.2em -.3em -.25em -.1em); transform: none; }
.menu-links a:hover .ml-tt { translate: 1.2rem 0; }
.menu-links a.cur .ml-t::after { content: ""; display: inline-block; width: .14em; height: .14em; border-radius: 50%; background: #39d98a; margin-left: .12em; vertical-align: .6em; }
.ml-s { color: #8f8e89; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.45s + var(--i) * 80ms); }
.menu.open .ml-s { opacity: 1; transform: none; }

.menu-preview { position: relative; min-height: 0; }
.mp { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 3px; clip-path: inset(100% 0 0 0 round 3px); transition: clip-path .9s var(--ease); }
.mp img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: grayscale(1) contrast(1.04); transition: transform 1.4s var(--ease), filter 1s var(--ease); }
.menu-preview:hover .mp img, .mp.color img { filter: grayscale(0) contrast(1); }
.mp figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.menu.open .mp.act { clip-path: inset(0 0 0 0 round 3px); z-index: 1; transition-delay: .2s; }
.menu.open .mp.act img { transform: scale(1); transition-delay: .2s; }

.menu-strip { overflow: hidden; }
.menu-h { color: #8f8e89; margin-bottom: 12px; }
.ms-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ms { position: relative; display: block; height: clamp(70px, 14vh, 150px); overflow: hidden; border-radius: 2px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(.5s + var(--i) * 60ms); }
.menu.open .ms { opacity: 1; transform: none; }
.ms img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease), filter .8s var(--ease); }
.ms span { position: absolute; left: 8px; bottom: 6px; right: 8px; color: #fff; font-size: 9.5px; opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ms:hover img { scale: 1.06; }
.ms:hover span { opacity: 1; transform: none; }

.menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; opacity: 0; transition: opacity .8s var(--ease) .6s; }
.menu.open .menu-foot { opacity: 1; }
.mf-links, .mf-meta { display: flex; gap: 22px; flex-wrap: wrap; color: #cfccc5; }
.mf-meta { color: #8f8e89; }
.mf-meta [data-clock] { color: #cfccc5; font-variant-numeric: tabular-nums; }

/* ---------- Preloader (first visit, every page) ---------- */
html.preload body::before { content: ""; position: fixed; inset: 0; z-index: 170; background: var(--ink); }
.pl {
  position: fixed; inset: 0; z-index: 180; background: var(--ink); color: #f1eee8;
  display: grid; grid-template-rows: 1fr auto auto; padding: 22px var(--pad);
  clip-path: inset(0 0 0 0);
}
.pl.wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease); }
.pl-word {
  align-self: center; justify-self: center; display: flex;
  font-size: min(25vw, 46vh); font-weight: 500; letter-spacing: -0.075em; line-height: .9;
}
.pl-l { display: block; overflow: hidden; padding: .02em .02em .06em; margin: 0 -.02em; }
.pl-c {
  display: block; color: transparent;
  background-image: var(--paint); background-size: var(--fw, 100vw) auto; background-repeat: no-repeat;
  background-position: var(--ox, 0px) 50%;
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(110%) rotate(6deg); transform-origin: 0 100%;
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 100ms);
}
.pl.in .pl-c { transform: none; }
.pl.out .pl-c { transform: translateY(-115%) rotate(-4deg); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.pl-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 14px; opacity: 0; transition: opacity .8s var(--ease) .5s; }
.pl.in .pl-foot { opacity: 1; }
.pl.out .pl-foot { opacity: 0; transition: opacity .4s var(--ease); }
.pl-meta { display: flex; flex-direction: column; gap: 4px; color: #8f8e89; }
.pl-count { font-size: clamp(40px, 6vw, 92px); letter-spacing: -0.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.pl-pc { font-size: .35em; vertical-align: top; margin-left: .1em; color: #8f8e89; letter-spacing: 0; }
.pl-bar { height: 1px; background: rgba(255,255,255,.14); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: #f1eee8; transform: scaleX(0); transform-origin: left; }

/* ---------- Home: intro / hero / reel ---------- */
.intro { position: relative; height: 230vh; }
.intro-pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.hero {
  position: absolute; inset: 0; background: #111; overflow: hidden;
  clip-path: inset(var(--ht, 0%) var(--hr, 0%) var(--hb, 0%) var(--hl, 0%) round var(--hrad, 0px));
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--hs, 1.02)); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.32), rgba(0,0,0,.12) 60%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.5)); }
.hero-content {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(92vw, 1120px);
  text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero-title { font-weight: 400; font-size: clamp(36px, 5vw, 76px); line-height: 1; letter-spacing: -0.055em; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.hero-content.in .hero-btns { opacity: 1; transform: none; }
.hero-scroll { position: absolute; left: var(--pad); bottom: var(--pad); color: #fff; display: flex; align-items: center; gap: 10px; opacity: var(--so, 1); }
.hero-scroll i { display: block; width: 1px; height: 34px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.reel {
  position: absolute; left: 0; top: 0; overflow: hidden; color: #fff; background: #222;
  width: var(--rw, 233px); height: var(--rh, 143px);
  transform: translate3d(var(--rx, 0px), var(--ry, 0px), 0); border-radius: var(--rr, 2px);
  clip-path: inset(0 0 calc(100% * (1 - var(--rv, 1))) 0); transition: clip-path .9s var(--ease);
}
.is-loading .reel { --rv: 0; }
.reel-media { position: absolute; inset: 0; }
.reel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; transform: scale(1.12); }
.reel-media img.act { visibility: visible; animation: kb 2.4s linear forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.reel::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,calc(.28 * var(--rp, 0))); }
.reel-label { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; font-size: 15px; white-space: nowrap; opacity: var(--rl, 0); }
.reel-count { position: absolute; z-index: 2; right: 14px; top: 12px; opacity: var(--rl, 0); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 120px var(--pad) 0; }
.stat { border-top: 1px solid var(--ink); padding-top: 16px; }
.stat-n { font-size: clamp(48px, 6vw, 96px); letter-spacing: -0.06em; line-height: .95; font-weight: 400; font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 10px; color: var(--grey); font-size: 15px; }

/* ---------- About teaser ---------- */
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 150px var(--pad) 160px; }
.about-cycle { position: relative; height: 20px; margin-top: 36px; font-size: 13px; }
.about-cycle span { position: absolute; left: 0; top: 0; clip-path: inset(0 0 100% 0); transform: translateY(6px); transition: clip-path .7s var(--ease), transform .7s var(--ease); white-space: nowrap; }
.about-cycle span.act { clip-path: inset(0 0 -10% 0); transform: none; }
.about-cycle span.leave { clip-path: inset(100% 0 0 0); transform: translateY(-6px); }
.about-lead { font-size: clamp(26px, 2.75vw, 42px); line-height: 1.08; letter-spacing: -0.045em; max-width: 980px; }
.about-sub { margin-top: 48px; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.035em; color: var(--muted); max-width: 820px; }
.about-more { margin-top: 44px; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--pad) 28px; }
.sec-head .count { color: var(--muted); font-family: var(--mono); font-size: 11px; margin-left: 8px; vertical-align: top; }

/* ---------- Cards ---------- */
.work { padding: 0 0 140px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 20px; padding: 0 var(--pad); }
.grid-cta { display: flex; justify-content: center; padding-top: 80px; }
.card { cursor: pointer; display: block; }
.card.wide { grid-column: 1 / -1; }
.card-media { position: relative; overflow: hidden; background: #e7e3db; aspect-ratio: 1 / 1; border-radius: 2px; clip-path: inset(100% 0 0 0 round 2px); transition: clip-path 1.3s var(--ease); }
.card.in .card-media { clip-path: inset(0 0 0 0 round 2px); }
.card.wide .card-media { aspect-ratio: 16 / 8; }
.card-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); transition: scale .9s var(--ease), filter 1s var(--ease); }
.card:hover .card-media img { scale: 1.03; }
.card-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; }
.card-info h3 { font-size: clamp(20px, 1.9vw, 28px); font-weight: 400; letter-spacing: -0.04em; color: var(--grey); transition: color .3s var(--ease); white-space: nowrap; }
.card:hover .card-info h3 { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #5d5c58; background: var(--tag); padding: 8px 10px; line-height: 1; border-radius: 1px; }
.card .tag { opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(400ms + var(--t, 0) * 60ms); }
.card.in .tag { opacity: 1; transform: none; }

/* ---------- Series accordion ---------- */
.series { padding: 0 0 150px; }
.series-row { display: flex; gap: 8px; height: 76vh; min-height: 520px; padding: 0 var(--pad); }
.sp {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 2px; color: #fff; background: #222;
  transition: flex .8s var(--ease);
}
.sp:hover, .sp.act { flex: 4; }
.sp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s var(--ease); filter: grayscale(1) brightness(.8); }
.sp:hover img, .sp.act img, .sp.color img { transform: scale(1); filter: none; }
.sp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65)); }
.sp-v { position: absolute; z-index: 2; left: 16px; bottom: 18px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: opacity .35s var(--ease) .4s, transform .35s var(--ease) .4s; }
.sp:hover .sp-v, .sp.act .sp-v { opacity: 0; transform: rotate(180deg) translateY(.6rem); transition-delay: 0s; }
.sp-panel { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; opacity: 0; transform: translateY(1.2rem); transition: opacity .45s var(--ease) .1s, transform .45s var(--ease) .1s; }
.sp:hover .sp-panel, .sp.act .sp-panel { opacity: 1; transform: none; transition-delay: .3s; }
.sp-panel h3 { font-size: clamp(28px, 3vw, 48px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.sp-panel p { font-size: 15px; max-width: 280px; color: rgba(255,255,255,.85); margin-top: 8px; }
.sp-panel .mono { white-space: nowrap; }
.sp-n { position: absolute; z-index: 2; top: 14px; left: 16px; font-family: var(--mono); font-size: 11px; opacity: .8; }

/* ---------- Statements (dark slider) ---------- */
.testi { position: relative; height: 100vh; min-height: 640px; color: #fff; background: #0b0b0b; overflow: hidden; }
.testi-bgs { position: absolute; inset: 0; }
.testi-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 7s linear; filter: saturate(1.05) blur(1.5px); }
.testi-bg.act { opacity: 1; transform: scale(1); }
.testi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.45) 40%, rgba(0,0,0,.78)); }
.testi-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 22px var(--pad); }
.testi-top { display: flex; justify-content: space-between; color: #bbb; }
.testi-quotes { position: relative; align-self: center; }
.testi-q { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; visibility: hidden; }
.testi-q.act { visibility: visible; }
.testi-q blockquote { font-size: clamp(26px, 3.5vw, 54px); line-height: 1.05; letter-spacing: -0.045em; max-width: 1180px; }
.testi-q .meta { margin-top: 36px; font-size: 15px; }
.testi-q .meta a { border-bottom: 1px solid rgba(255,255,255,.4); }
.testi-tabs { display: flex; gap: 28px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; }
.testi-tab { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; transition: color .3s var(--ease); position: relative; padding-bottom: 6px; }
.testi-tab.act, .testi-tab:hover { color: #fff; }
.testi-tab i { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.testi-tab.act i { animation: prog var(--dur, 7s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }

/* ---------- Process ---------- */
.process { padding: 150px var(--pad); display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.process-intro p { color: var(--grey); font-size: 17px; line-height: 1.45; max-width: 360px; margin: 24px 0 32px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.step { border-top: 1px solid var(--line); padding: 20px 0 48px; }
.step-n { font-size: clamp(56px, 6vw, 96px); letter-spacing: -0.06em; line-height: .9; color: var(--soft); transition: color .6s var(--ease); }
.step:hover .step-n { color: var(--ink); }
.step h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.035em; margin: 18px 0 8px; }
.step p { color: var(--grey); font-size: 15px; line-height: 1.45; max-width: 340px; }

/* ---------- More work marquee ---------- */
.more { padding: 0 0 0; }
.more .sec-head { justify-content: flex-start; align-items: flex-start; gap: 8px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.mq { position: relative; height: clamp(260px, 40vh, 440px); flex: none; overflow: hidden; border-radius: 2px; }
.mq img { height: 100%; width: auto; transition: scale .9s var(--ease), filter 1s var(--ease); }
.mq:hover img { scale: 1.04; }
.mq span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.mq:hover span { opacity: 1; transform: none; }
.marquee-names { display: flex; justify-content: space-between; padding: 14px var(--pad) 120px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.f-cta { padding: 120px var(--pad) 90px; border-bottom: 1px solid rgba(255,255,255,.14); }
.f-label { color: #8f8e89; }
.f-title { font-size: clamp(44px, 7.4vw, 124px); font-weight: 400; letter-spacing: -0.06em; line-height: .95; margin: 22px 0 44px; max-width: 1300px; }
.f-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px var(--pad) 0; font-size: 16px; line-height: 1.7; }
.f-cols a { display: table; color: #e9e7e2; }
.f-cols p { color: #e9e7e2; }
.f-h { color: #8f8e89; margin-bottom: 14px; }
.f-muted { color: #8f8e89 !important; }
.f-clock { font-variant-numeric: tabular-nums; }
.f-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #39d98a; margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(57,217,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57,217,138,.5); } 70% { box-shadow: 0 0 0 9px rgba(57,217,138,0); } 100% { box-shadow: 0 0 0 0 rgba(57,217,138,0); } }
.f-word {
  position: relative; display: block; margin: 56px 0 0; padding: 0 0 0 calc(var(--pad) - 1.1vw);
  font-size: 29.5vw; font-weight: 500; letter-spacing: -0.075em; line-height: .84;
  white-space: nowrap; overflow: hidden; cursor: crosshair; --p: 0;
}
.fw-base, .fw-paint { display: flex; }
.fw-paint {
  position: absolute; inset: 0 0 0 calc(var(--pad) - 1.1vw); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--sr, 0px) at var(--sx, 50%) var(--sy, 50%), #000 35%, rgba(0,0,0,.6) 60%, transparent 100%);
          mask-image: radial-gradient(circle var(--sr, 0px) at var(--sx, 50%) var(--sy, 50%), #000 35%, rgba(0,0,0,.6) 60%, transparent 100%);
}
.fw-l {
  display: inline-block; color: #efece6; padding-bottom: .03em;
  /* each letter rises at its own pace as the footer scrolls in */
  transform: translateY(calc((1 - var(--p)) * (62% + var(--i) * 9%))) rotate(calc((1 - var(--p)) * (var(--i) - 3) * 1.6deg));
  opacity: calc(.2 + var(--p) * .8);
  will-change: transform;
}
.fw-p {
  color: transparent;
  background-image: var(--paint); background-size: var(--fw, 100vw) auto; background-repeat: no-repeat;
  background-position: var(--ox, 0px) 50%;
  -webkit-background-clip: text; background-clip: text;
}
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--pad) 22px; color: #8f8e89; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.f-bottom a { color: #e9e7e2; }

/* ---------- Inner page heads ---------- */
.page-head { padding: calc(var(--headH) + 110px) var(--pad) 60px; }
.page-title { font-size: clamp(64px, 13vw, 220px); font-weight: 400; letter-spacing: -0.07em; line-height: .86; }
.page-title sup { font-family: var(--mono); font-size: 13px; letter-spacing: 0; color: var(--muted); vertical-align: top; margin-left: .4em; position: relative; top: 1.2em; }
.page-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: 44px; }
.page-intro p { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.035em; max-width: 760px; }

/* ---------- Work page ---------- */
.controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 var(--pad) 26px; border-bottom: 1px solid var(--line); margin: 0 var(--pad) 40px; padding-left: 0; padding-right: 0; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; display: inline-flex; align-items: center; gap: 8px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.chip sup { font-size: 9px; color: var(--muted); }
.chip:hover, .chip.act { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.act sup, .chip:hover sup { color: #aaa; }
.view-toggle { display: flex; gap: 2px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 20px; padding: 0 var(--pad) 160px; transition: opacity .35s var(--ease); }
.grid3 .card-media { aspect-ratio: 4 / 5; }
.grid3 .card-info { flex-direction: column; align-items: flex-start; gap: 12px; }
.grid3 .tags { justify-content: flex-start; }
.is-swapping { opacity: 0; }
.list { padding: 0 var(--pad) 160px; transition: opacity .35s var(--ease); }
.row { display: grid; grid-template-columns: 70px 2.2fr 1fr 1fr 1fr 40px; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.row-t { font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -0.045em; transition: translate .5s var(--expo); color: var(--grey); }
.row:hover .row-t { translate: 1rem; color: var(--ink); }
.row .mono { color: var(--muted); }
.row .arr { justify-self: end; transition: transform .5s var(--expo); }
.row:hover .arr { transform: translate(4px, -4px); }
.preview { position: fixed; z-index: 40; left: 0; top: 0; width: 260px; pointer-events: none; transform: translate3d(var(--x, 0), var(--y, 0), 0); }
.preview-in { clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.preview.show .preview-in { clip-path: inset(0 0 0 0); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.empty { padding: 60px 0; color: var(--grey); }

/* ---------- Piece page ---------- */
.piece { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: calc(var(--headH) + 40px) var(--pad) 120px; align-items: start; }
.crumbs { display: flex; gap: 10px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.piece-wall { position: relative; background: rgba(11,10,9,.05); border-radius: 2px; display: grid; place-items: center; padding: 8% 10%; min-height: calc(100vh - var(--headH) - 80px); }
.piece-wall img { max-height: 76vh; width: auto; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 40px 70px -30px rgba(0,0,0,.5); clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) .2s, filter 1s var(--ease); }
.piece-wall.in img { clip-path: inset(0 0 0 0); }
.piece-info { position: sticky; top: calc(var(--headH) + 40px); }
.piece-idx { color: var(--muted); margin-bottom: 18px; display: block; }
.piece-title { font-size: clamp(40px, 4.6vw, 76px); font-weight: 400; letter-spacing: -0.055em; line-height: .95; }
.piece-desc { margin-top: 28px; font-size: 18px; line-height: 1.45; color: #3a3936; max-width: 520px; }
.specs { margin-top: 34px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 120px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.piece-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.pager { display: flex; justify-content: space-between; margin-top: 28px; }
.next { display: block; position: relative; overflow: hidden; color: #fff; height: 70vh; min-height: 460px; margin: 0 var(--pad); border-radius: 2px; }
.next img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); transition: scale 1.2s var(--ease), filter 1s var(--ease); filter: grayscale(1) brightness(.7); }
.next:hover img, .next.color img { scale: 1.06; filter: grayscale(0) brightness(.7); }
.next-in { position: absolute; inset: auto var(--pad) 24px var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.next-t { font-size: clamp(44px, 8vw, 140px); letter-spacing: -0.065em; line-height: .9; }
.related { padding: 150px 0 140px; }
.related .grid3 { padding-bottom: 0; }

/* ---------- About page ---------- */
.ab-hero { padding: calc(var(--headH) + 110px) var(--pad) 100px; }
.ab-title { font-size: clamp(56px, 10vw, 170px); font-weight: 400; letter-spacing: -0.07em; line-height: .88; max-width: 1400px; }
.ab-lead-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: 70px; }
.studio { padding: 0 var(--pad); }
.studio-frame { position: relative; height: 92vh; overflow: hidden; border-radius: 4px; clip-path: inset(var(--ci, 8%) var(--ci, 8%) var(--ci, 8%) var(--ci, 8%) round 4px); }
.studio-frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--cs, 1.15)); }
.studio-cap { display: flex; justify-content: space-between; padding: 14px 0 0; color: var(--grey); }
.roles { padding: 150px var(--pad); display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.role { display: grid; grid-template-columns: 60px 1fr 1.2fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.roles-list { border-top: 1px solid var(--line); }
.role .mono { color: var(--muted); }
.role h3 { font-size: clamp(26px, 2.8vw, 44px); font-weight: 400; letter-spacing: -0.05em; transition: translate .5s var(--expo); }
.role:hover h3 { translate: 1rem; }
.role p { color: var(--grey); font-size: 16px; line-height: 1.45; }
.practice { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 0 var(--pad) 150px; }
.practice-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.practice-cols p { font-size: 18px; line-height: 1.5; color: #3a3936; }

/* ---------- Contact page ---------- */
.ct-hero { padding: calc(var(--headH) + 110px) var(--pad) 80px; }
.ct-title { font-size: clamp(56px, 9vw, 150px); font-weight: 400; letter-spacing: -0.07em; line-height: .9; max-width: 1300px; }
.ct-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding: 0 var(--pad) 150px; }
.ct-methods { border-top: 1px solid var(--ink); }
.ct-m { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ct-m strong { font-weight: 400; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.045em; transition: translate .5s var(--expo); }
.ct-m:hover strong { translate: .8rem; }
.ct-m span { color: var(--muted); font-size: 14px; text-align: right; }
.ct-studio { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 16px; line-height: 1.6; }
.form { border-top: 1px solid var(--ink); padding-top: 26px; display: grid; gap: 30px; }
.fld label, .fld .fld-l { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.npt { width: 100%; background: rgba(255,255,255,.45); border: 1px solid var(--line); border-radius: 2px; padding: 14px 14px; font-size: 16px; transition: border-color .4s var(--ease), background .4s var(--ease); outline: none; }
.npt:focus { border-color: var(--ink); background: rgba(255,255,255,.75); }
textarea.npt { min-height: 150px; resize: vertical; }
.npt::placeholder { color: #9c9a94; transition: opacity .24s var(--ease) .3s, transform .6s var(--ease); }
.npt:focus::placeholder { opacity: 0; transform: translateX(16px); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.fld-err { color: #b3261e; font-size: 13px; height: 0; overflow: hidden; transition: height .4s var(--ease); }
.fld.bad .fld-err { height: 22px; padding-top: 6px; }
.fld.bad .npt { border-color: #b3261e; }
.radios { display: flex; flex-wrap: wrap; gap: 6px; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios label { margin: 0; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.radios label:hover, .radios input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.radios input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: 14px; max-width: 320px; }
.form-done { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.form-done.show { height: auto; }
.form-done p { padding: 18px; background: rgba(57,217,138,.12); border: 1px solid rgba(57,217,138,.4); border-radius: 2px; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 50px 2fr 1fr 40px; }
  .row .hide-md { display: none; }
}
@media (max-width: 860px) {
  :root { --pad: 16px; }
  .menu { grid-template-rows: 1fr auto auto; gap: 22px; padding-top: calc(var(--headH) + 12px); }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-preview { display: none; }
  .menu-links a { grid-template-columns: 34px 1fr; padding: 10px 0; }
  .ml-s { grid-column: 2; margin-top: -4px; }
  .ml-t { font-size: clamp(40px, min(14vw, 9vh), 80px); }
  .ms-row { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
  .ms-row::-webkit-scrollbar { display: none; }
  .ms { flex: none; width: 34vw; height: auto; aspect-ratio: 4 / 3; }
  .ms span { opacity: 1; transform: none; }
  .menu-foot { flex-direction: column; align-items: flex-start; }
  .intro { height: 200vh; }
  .hero-btns .btn { height: 44px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 16px; padding-top: 90px; }
  .about, .process, .roles, .practice, .page-intro, .ab-lead-wrap { grid-template-columns: 1fr; gap: 28px; }
  .about { padding: 96px var(--pad) 110px; }
  .grid { grid-template-columns: 1fr; gap: 56px; }
  .grid3 { grid-template-columns: 1fr; gap: 48px; }
  .card.wide .card-media { aspect-ratio: 4 / 3; }
  .card-info { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tags { justify-content: flex-start; }
  .series-row { flex-direction: column; height: auto; min-height: 0; gap: 8px; }
  .sp { flex: none; height: 110px; transition: height .8s var(--ease); }
  .sp:hover, .sp.act { flex: none; height: 380px; }
  .sp-v { writing-mode: horizontal-tb; transform: none; top: auto; }
  .sp:hover .sp-v, .sp.act .sp-v { transform: translateY(.6rem); }
  .sp-panel { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .testi-tabs { gap: 14px 18px; }
  .marquee-names { flex-wrap: wrap; gap: 8px 16px; }
  .f-cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .f-hint { display: none; }
  .piece { grid-template-columns: 1fr; padding-top: calc(var(--headH) + 20px); }
  .piece-wall { min-height: 0; padding: 10% 8%; }
  .piece-wall img { max-height: 64vh; }
  .piece-info { position: static; }
  .row { grid-template-columns: 40px 1fr 30px; }
  .row .hide-sm { display: none; }
  .preview { display: none; }
  .ct-body { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .role { grid-template-columns: 40px 1fr; }
  .role p { grid-column: 2; }
  .practice-cols { grid-template-columns: 1fr; }
  .studio-frame { height: 70vh; }
  .next { height: 56vh; min-height: 0; }
}

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

/* ---------- Credit: built by oj.dzn ---------- */
.ojdzn-credit { display: flex; justify-content: center; align-items: center; gap: .4rem; padding: .9rem 1rem 1rem; background: #0e0d0c; border-top: 1px solid rgba(236,228,214,.08); color: rgba(236,228,214,.55); font-family: inherit; font-size: 13px; line-height: 1; letter-spacing: .02em; position: relative; z-index: 1; }
.ojdzn-credit a { display: inline-flex; outline: none; -webkit-tap-highlight-color: transparent; transition: opacity .3s; }
.ojdzn-credit a:hover { opacity: .75; }
.ojdzn-credit a:focus, .ojdzn-credit a:focus-visible, .ojdzn-credit a:active { outline: none; box-shadow: none; background: none; }
.ojdzn-credit img { display: block; height: 18px; width: auto; }
