/* ==========================================================================
   Kala Loka · style (v2, editorial)
   Monochrome: paper + earth brown. Neue Haas Unica only.
   Picture frames: circle or square, nothing else.
   ========================================================================== */

@font-face { font-family: "Unica"; src: url("../assets/fonts/NeueHaasUnicaPro-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Unica"; src: url("../assets/fonts/NeueHaasUnicaPro-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Unica"; src: url("../assets/fonts/NeueHaasUnicaPro-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Unica"; src: url("../assets/fonts/NeueHaasUnicaPro-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #EEEBE4;
  --paper-2: #E4E0D6;
  --ink: #463F33;
  --ink-soft: #6E6656;
  --line: rgba(70, 63, 51, 0.2);
  --night: #2B2620;
  --cream: #F1EDE5;
  --cream-soft: rgba(241, 237, 229, 0.62);

  --font: "Unica", "Neue Haas Unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-display: clamp(3.4rem, 12.5vw, 13.5rem);
  --fs-giant: clamp(5rem, 22vw, 24rem);
  --fs-meta: 0.72rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;

  --gutter: clamp(16px, 2.4vw, 40px);
  --section: clamp(96px, 12vw, 190px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Never smooth-scroll in CSS while Lenis/ScrollTrigger run: it breaks pin measurements */
html:not(.motion) { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.26;
  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='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.27  0 0 0 0 0.24  0 0 0 0 0.2  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; font-weight: 400; }
sup { line-height: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 600; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; font-size: var(--fs-meta); text-transform: uppercase; letter-spacing: 0.08em; }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Shared
   -------------------------------------------------------------------------- */
.mark {
  display: inline-block; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: url("../assets/brand/logogram.png") center / contain no-repeat;
          mask: url("../assets/brand/logogram.png") center / contain no-repeat;
}

.section { padding: var(--section) var(--gutter); position: relative; }

.display {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.058em;
  margin-left: -0.065em;
  text-transform: lowercase;
}
.display--light { color: var(--cream); }

.label {
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  word-spacing: 0.1em;
}
.label--light { color: var(--cream); }

.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(40px, 6vw, 90px); }
.head .label { padding-bottom: 0.9em; }

/* The only two picture frames */
.frame { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--square { border-radius: 0; }
.frame--circle { border-radius: 50%; }

/* Buttons: sharp, museum-like */
.btn {
  display: inline-flex; align-items: center; gap: 0.8em;
  padding: 1.15em 1.7em;
  font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 1px solid currentColor; border-radius: 0;
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn span { transition: transform .5s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: transparent; color: var(--ink); }
.btn--cream { background: var(--cream); color: var(--night); border-color: var(--cream); }
.btn--cream:hover { background: transparent; color: var(--cream); }
.btn--outline-light { color: var(--cream); border-color: var(--cream-soft); }
.btn--outline-light:hover { background: var(--cream); color: var(--night); border-color: var(--cream); }

/* --------------------------------------------------------------------------
   Loader (recreates the logogram slide)
   -------------------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 700;
  background: var(--paper); color: var(--ink);
  transition: opacity 1s var(--ease), visibility 1s;
}
.loader__mark { width: clamp(110px, 19vw, 360px); height: clamp(110px, 19vw, 360px); animation: settle 1.4s var(--ease) both; }
.loader__meta { position: absolute; font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.loader__meta--tr { top: 28px; right: var(--gutter); display: flex; gap: clamp(32px, 10vw, 190px); }
.loader__meta--bl { bottom: 28px; left: var(--gutter); }
.is-loaded .loader { opacity: 0; visibility: hidden; }
.skip-loader .loader { display: none; }

/* Cascade text (vanilla port of TextReveal): characters roll up on hover */
.cascade { display: inline-block; vertical-align: top; }
.cascade__track { display: inline-flex; overflow: hidden; height: 1.15em; line-height: 1.15; vertical-align: top; }
.cascade__char { display: inline-block; will-change: transform; text-shadow: 0 calc(1.15em * var(--cascade-sign, 1)) currentColor; }
:is(a, button):is(:hover, :focus-visible) .cascade__char { transform: translateY(calc(-1.15em * var(--cascade-sign, 1))); }
.hero__tags a { text-decoration: none; transition: color .35s ease; }
.hero__tags a:hover, .hero__tags a:focus-visible { color: var(--cream); }

@keyframes settle { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Nav + menu
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink);
  transition: transform .7s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.nav.is-solid { background: rgba(238, 235, 228, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-105%); }
.nav.is-over, .menu-open .nav { color: var(--cream); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav { transform: none; }
.nav__logo { justify-self: start; display: block; position: relative; }
.nav__logo img { width: clamp(108px, 9vw, 134px); height: auto; transition: opacity .4s; }
.nav__logo-light { position: absolute; inset: 0; opacity: 0; }
.nav.is-over .nav__logo-light, .menu-open .nav__logo-light { opacity: 1; }
.nav.is-over .nav__logo-dark, .menu-open .nav__logo-dark { opacity: 0; }
.nav__menu { background: none; border: 0; padding: 8px 4px; cursor: pointer; text-transform: uppercase; letter-spacing: inherit; font-size: inherit; font-weight: inherit; }
.nav__menu-close { display: none; }
.menu-open .nav__menu-open { display: none; }
.menu-open .nav__menu-close { display: inline; }
.nav__cta { justify-self: end; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.menu {
  position: fixed; inset: 0; z-index: 250;
  background: var(--night); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 28px;
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-size: clamp(2.8rem, 8.5vw, 8rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95;
  text-decoration: none; text-transform: lowercase; width: fit-content;
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), color .3s;
}
.menu__links a:hover { color: var(--cream-soft); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .2s; }
.menu__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; }
.menu__meta a { text-decoration: none; }

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--cream); overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 7vh 0 0 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%); } /* photo sits a little lower so the middle wayang's head isn't cut */
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 0%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30, 26, 21, 0.45) 0%, rgba(30, 26, 21, 0.05) 35%, rgba(30, 26, 21, 0.15) 60%, rgba(30, 26, 21, 0.7) 100%); }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(14px, 1.6vw, 26px); }
.hero__tags {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: clamp(18px, 2.4vw, 34px);
  position: relative; top: 20px; /* sits 20px lower, closer to the wordmark */
}
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__title { font-size: clamp(5rem, 19.5vw, 22rem); font-weight: 700; line-height: 0.76; letter-spacing: -0.065em; margin-left: -0.06em; white-space: nowrap; }
.hero__side { flex: none; text-align: right; display: grid; gap: 14px; justify-items: end; max-width: 180px; padding-bottom: 0.4vw; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.hero__side p { color: var(--cream-soft); line-height: 1.5; }
.hero__scroll { text-decoration: none; }

/* --------------------------------------------------------------------------
   2 · Statement
   -------------------------------------------------------------------------- */
.statement { padding-top: 0; padding-bottom: 0; }
.statement__big {
  margin-left: auto; max-width: 15.5ch; text-align: right;
  font-size: clamp(2.3rem, 5.4vw, 5.8rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em;
}
.reveal { position: relative; height: 200vh; }
/* one screen: statement upper right, 'who we are' lower left */
.reveal__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 7vh, 96px); padding: 72px 0 32px; }
.reveal--static { height: auto; }
.reveal--static .reveal__sticky { position: static; height: auto; padding: var(--section) 0; }
.rw { position: relative; display: inline-block; }
.rw__ghost { position: absolute; left: 0; top: 0; opacity: 0.16; }
.rw__ink { position: relative; display: inline-block; opacity: 0; will-change: opacity; }
html:not(.js) .rw__ink { opacity: 1; }
.statement__meta { align-self: flex-start; max-width: 380px; display: grid; gap: 18px; }
.statement__meta p:not(.label) { font-size: var(--fs-small); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   3 · Numbers
   -------------------------------------------------------------------------- */
.numbers { padding-top: clamp(40px, 5vw, 80px); --fade: clamp(160px, 20vw, 300px); padding-bottom: calc(var(--fade) + clamp(16px, 2vw, 32px)); }
/* Seamless hand-off into the dark "what we do" band: off-white melting into dark brown */
.numbers::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--fade); z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(238, 235, 228, 0) 0%,
    #E2DDD2 14%, #CBC2B2 30%, #A69A85 47%, #7C705D 63%, #574D3F 78%, #3A332A 90%, var(--night) 100%);
}
.numbers { isolation: isolate; }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr minmax(0, 1.9fr); grid-template-rows: auto auto; gap: clamp(32px, 4vw, 64px) clamp(20px, 3vw, 48px); align-items: start; }
.stat strong { display: block; font-size: clamp(4.4rem, 11vw, 11.5rem); font-weight: 700; letter-spacing: -0.065em; line-height: 0.82; margin-left: -0.05em; }
.stat span { display: block; margin-top: 16px; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); max-width: 24ch; }
.stat--wide { grid-column: 2; grid-row: 2; }
.numbers__img { grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: end; width: 100%; max-width: calc(72vh * 4 / 3); }
/* Full photo, natural 4:3 shape (the one exception to circle/square), scales with the screen */
.frame--photo { aspect-ratio: 4 / 3; border-radius: 0; }

/* --------------------------------------------------------------------------
   4 · What we do (dark band)
   -------------------------------------------------------------------------- */
.whatwedo { background: var(--night); color: var(--cream); padding-top: clamp(24px, 3vw, 48px); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px clamp(8px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.tab {
  background: none; border: 1px solid transparent; cursor: pointer;
  padding: 0.08em 0.35em 0.14em;
  font-size: clamp(1.6rem, 3.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.045em; text-transform: lowercase; line-height: 1;
  color: rgba(241, 237, 229, 0.38);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.tab sup { font-size: 0.32em; font-weight: 500; letter-spacing: 0.04em; margin-left: 0.25em; vertical-align: super; }
.tab:hover { color: var(--cream-soft); }
.tab.is-active { color: var(--cream); border-color: var(--cream); }
.panel { display: none; }
.panel.is-active { display: block; }
html:not(.js) .panel { display: block; }
.panel__text { max-width: 48ch; margin: clamp(28px, 3vw, 44px) 0 clamp(24px, 2.6vw, 36px); color: var(--cream-soft); font-size: var(--fs-small); }
.panel__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.panel.is-active .frame { animation: panel-in .9s var(--ease) both; }
.panel.is-active .frame:nth-child(2) { animation-delay: .08s; }
.panel.is-active .frame:nth-child(3) { animation-delay: .16s; }
@keyframes panel-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }

/* --------------------------------------------------------------------------
   Tables (workshops + work)
   -------------------------------------------------------------------------- */
.table { border-top: 1px solid var(--ink); }
.table__head, .table__row { display: grid; align-items: baseline; column-gap: 24px; border-bottom: 1px solid var(--line); }
.table__head { padding: 12px 0; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.table__row { padding: clamp(14px, 1.6vw, 22px) 0; }

.table--workshops .table__head, .table--workshops .table__row { grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr); }
.table--workshops .table__row span:nth-child(1) { font-size: var(--fs-meta); color: var(--ink-soft); }
.table--workshops .table__row span:nth-child(2) { font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; transition: transform .6s var(--ease); }
.table--workshops .table__row span:nth-child(3) { font-size: var(--fs-small); color: var(--ink-soft); }
@media (hover: hover) { .table--workshops .table__row:hover span:nth-child(2) { transform: translateX(12px); } }

.table--work .table__head, .table--work .table__row { grid-template-columns: 70px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 0.9fr); }
.table--work .table__row { font-size: var(--fs-small); }
.table--work .table__row span:nth-child(1) { font-size: var(--fs-meta); color: var(--ink-soft); }
.table--work .table__row span:nth-child(2) { font-weight: 500; font-size: 1.05rem; }
.table--work .table__row span:nth-child(n+3) { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   5 · Workshops
   -------------------------------------------------------------------------- */
.workshops__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 4vw, 56px); }
.workshops__foot p { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 34ch; line-height: 1.3; }

.cursor-circle {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: clamp(180px, 16vw, 240px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  pointer-events: none; opacity: 0;
  transform: translate(35%, -50%) scale(.6);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.cursor-circle img { width: 100%; height: 100%; object-fit: cover; }
.cursor-circle.is-on { opacity: 1; transform: translate(35%, -50%) scale(1); }

/* --------------------------------------------------------------------------
   6 · Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; padding: clamp(24px, 4vw, 64px) 0 clamp(8px, 1vw, 16px); }
.marquee__track {
  display: flex; align-items: center; gap: 0.18em; width: max-content;
  font-size: clamp(4.5rem, 15vw, 16rem); font-weight: 700; letter-spacing: -0.058em; line-height: 0.9; text-transform: lowercase; white-space: nowrap;
  animation: marquee 60s linear infinite;
}
.marquee__track .mark { font-size: 0.42em; margin: 0 0.18em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   7 · Our work
   -------------------------------------------------------------------------- */
.work { padding-bottom: var(--section); }
.work__intro { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 72px); }
.work__hint { margin-top: 28px; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.work__pin { overflow: hidden; }
.work__track {
  --h: min(76vh, 740px);
  display: flex; align-items: stretch; gap: clamp(20px, 3vw, 56px);
  height: var(--h);
  padding: 0 var(--gutter);
  width: max-content;
}
.shot { flex: none; display: flex; flex-direction: column; }
.shot--top { justify-content: flex-start; }
.shot--center { justify-content: center; }
.shot--bottom { justify-content: flex-end; }
.shot--l { width: calc(var(--h) * 0.8); }
.shot--m { width: calc(var(--h) * 0.58); }
.shot--s { width: calc(var(--h) * 0.4); }
.shot figcaption { margin-top: 12px; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.shot figcaption b { color: var(--ink); font-weight: 500; margin-right: 0.8em; }
.shot-end { flex: none; width: clamp(280px, 30vw, 460px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding-right: var(--gutter); }
.shot-end__title { font-size: clamp(3.2rem, 7vw, 7.5rem); font-weight: 700; letter-spacing: -0.058em; line-height: 0.85; }

/* --------------------------------------------------------------------------
   8 · Studio
   -------------------------------------------------------------------------- */
.studio { padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.art { padding: 0; border: 0; cursor: zoom-in; text-align: left; }
.art img { transition: transform 1.2s var(--ease); }
.art__cap {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px;
  padding: 8px 10px; background: var(--paper);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.art__cap b { font-weight: 500; }
.art__cap span { color: var(--ink-soft); }
@media (hover: hover) {
  .art:hover img { transform: scale(1.05); }
  .art:hover .art__cap { opacity: 1; transform: none; }
}
.art:focus-visible .art__cap { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   9 · Why partner
   -------------------------------------------------------------------------- */
.why__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(48px, 7vw, 110px); }
.why__with { font-size: clamp(2.4rem, 6.4vw, 7rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.88; margin-left: auto; }
.why__with em { font-weight: 400; letter-spacing: -0.04em; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 72px); border-top: 1px solid var(--ink); }
.why__list li { display: grid; grid-template-columns: 52px minmax(0, 0.9fr) minmax(0, 1.2fr); column-gap: 16px; align-items: baseline; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.why__n { font-size: var(--fs-meta); color: var(--ink-soft); }
.why__list h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; }
.why__list p { font-size: var(--fs-small); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   10 · How we work
   -------------------------------------------------------------------------- */
.how { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.step__n { display: grid; place-items: center; width: clamp(56px, 5vw, 72px); aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid var(--ink); font-size: 1.25rem; font-weight: 700; }
.step h3 { margin: 24px 0 8px; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -0.03em; }
.step p { font-size: var(--fs-small); color: var(--ink-soft); max-width: 34ch; }
.collab { margin-top: clamp(80px, 10vw, 150px); }
.collab__list { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); }
.collab__list li { border-top: 1px solid var(--ink); padding-top: 16px; }
.collab__list h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }
.collab__list p { font-size: var(--fs-small); color: var(--ink-soft); font-style: italic; }

/* --------------------------------------------------------------------------
   11 · CTA band
   -------------------------------------------------------------------------- */
.cta { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; color: var(--cream); overflow: hidden; background: var(--night); }
.cta__media { position: absolute; inset: -12% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: rgba(30, 26, 21, 0.6); }
.cta__content { position: relative; z-index: 1; padding: var(--section) var(--gutter); max-width: 1100px; display: grid; justify-items: center; }
.cta__title { margin: 22px 0 26px; font-size: clamp(3rem, 8.6vw, 9.5rem); font-weight: 700; letter-spacing: -0.058em; line-height: 0.86; text-transform: lowercase; }
.cta__text { max-width: 44ch; font-size: 1rem; color: rgba(241, 237, 229, 0.8); }
.cta__btns { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.text-link { display: inline-flex; align-items: center; gap: 0.6em; color: var(--cream); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; padding: 6px 0; transition: opacity .4s var(--ease); }
.text-link span { transition: transform .5s var(--ease); }
.text-link:hover { opacity: 0.7; }
.text-link:hover span { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   12 · Footer
   -------------------------------------------------------------------------- */
.footer { padding: var(--section) var(--gutter) 24px; overflow: hidden; }
/* "say hello": plain text fallback, upgraded to the WebGL sneak effect when available */
.footer__say { position: relative; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 100 / 27; }
.footer__big { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 3%; justify-content: flex-end; font-size: var(--fs-giant); font-weight: 700; letter-spacing: -0.065em; line-height: 0.78; white-space: nowrap; margin-right: -0.04em; transition: opacity .6s var(--ease); }
.sneak__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .8s var(--ease); cursor: crosshair; }
.footer__say.is-ready .sneak__canvas { opacity: 1; }
.footer__say.is-ready .footer__big { opacity: 0; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(24px, 4vw, 72px); margin-top: clamp(56px, 7vw, 110px); }
.footer__intro p { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; max-width: 17ch; margin-bottom: 28px; }
.footer__line { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--fs-small); max-width: 520px; }
.footer__line:first-of-type { border-top: 1px solid var(--line); }
.footer__line span { width: 88px; flex: none; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.footer__line i { margin-left: auto; font-style: normal; transition: transform .5s var(--ease); }
.footer__line:hover i { transform: translateX(5px); }
.footer__col li { border-bottom: 1px solid var(--line); }
.footer__col li a { display: block; padding: 10px 0; text-decoration: none; font-size: var(--fs-small); }
.footer__col li a:hover { color: var(--ink-soft); }
.footer__col .footer__col-label { padding-bottom: 10px; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); border-bottom-color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(56px, 7vw, 100px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.footer__bottom img { width: 110px; }

/* Next-section arrow (bottom right) */
.next-arrow {
  position: fixed; right: var(--gutter); bottom: clamp(18px, 2.2vw, 30px); z-index: 210;
  width: clamp(47px, 3.96vw, 56px); aspect-ratio: 1 / 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(238, 235, 228, 0.55); color: var(--ink);
  border: 1px solid currentColor;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color .5s var(--ease), background-color .5s var(--ease), opacity .5s var(--ease), visibility .5s;
}
.next-arrow svg { transition: transform .6s var(--ease); animation: nudge 2.4s var(--ease) infinite; }
.next-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.next-arrow.is-dark { color: var(--cream); background: rgba(30, 26, 21, 0.25); }
.next-arrow.is-dark:hover { background: var(--cream); color: var(--night); border-color: var(--cream); }
.next-arrow.is-up svg { transform: rotate(180deg); animation: none; }
.js:not(.is-loaded) .next-arrow, .menu-open .next-arrow, .next-arrow.is-hero { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 4px; } }

/* Sticky mobile CTA */
.mobile-cta { display: none; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(30, 26, 21, 0.92); }
.lightbox figure { display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: 80vh; width: auto; }
.lightbox figcaption { color: var(--cream); font-size: var(--fs-meta); letter-spacing: 0.09em; text-transform: uppercase; }
.lightbox figcaption b { font-weight: 500; }
.lightbox figcaption span { color: var(--cream-soft); margin-left: 0.8em; }
.lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--cream); cursor: pointer; font-size: var(--fs-meta); letter-spacing: 0.09em; text-transform: uppercase; }
.lightbox[open] { animation: lb-in .5s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }

/* --------------------------------------------------------------------------
   Motion helpers (initial states only when JS + motion are on)
   -------------------------------------------------------------------------- */
.line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.12em 0.24em 0; margin: 0 -0.12em -0.24em 0; }
.line > span { display: inline-block; will-change: transform; }
.motion [data-lines] { visibility: hidden; }
.motion [data-reveal] { opacity: 0; transform: translateY(24px); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .stat--wide { grid-column: 1; grid-row: auto; }
  .numbers__img { grid-column: 1 / -1; grid-row: auto; width: 100%; max-width: none; justify-self: stretch; }
  .why__list { grid-template-columns: 1fr; }
  .collab__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__cta { display: none; }
  .nav__menu { justify-self: end; }

  .hero { min-height: 560px; }
  .hero__tags { gap: 6px 16px; justify-content: flex-start; margin-bottom: 32px; } /* keeps a clear gap above the wordmark after the 20px shift */
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__title { font-size: 25vw; }
  .hero__side { text-align: left; justify-items: start; padding-bottom: 6px; }

  .statement__big { font-size: clamp(2rem, 9vw, 3rem); }
  .reveal { height: 170vh; }

  .stat strong { font-size: clamp(3.6rem, 19vw, 6rem); }

  .panel__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .panel__row::-webkit-scrollbar { display: none; }
  .panel__row .frame { scroll-snap-align: start; }

  .table--workshops .table__head, .table--workshops .table__row { grid-template-columns: 34px minmax(0, 1fr); }
  .table--workshops .table__head span:nth-child(3) { display: none; }
  .table--workshops .table__row span:nth-child(3) { grid-column: 2; margin-top: 4px; }
  .table--work .table__head { display: none; }
  .table--work .table__row { grid-template-columns: 34px minmax(0, 1fr); row-gap: 2px; }
  .table--work .table__row span:nth-child(n+3) { grid-column: 2; font-size: 0.8rem; }

  .work__hint { text-align: left; }
  .work__pin { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .work__pin::-webkit-scrollbar { display: none; }
  .work__track { --h: min(64vh, 520px); }
  .work__track > * { scroll-snap-align: start; }
  .cursor-circle { display: none; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__list li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; }
  .why__list li p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .collab__list { grid-template-columns: 1fr; }
  .footer__big { font-size: 27vw; }
  .footer__say { aspect-ratio: 100 / 34; }
  .footer { padding-bottom: 96px; }

  .mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 200;
    padding: 16px 20px; background: var(--ink); color: var(--paper);
    font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none;
    transform: translateY(160%); transition: transform .6s var(--ease);
  }
  .mobile-cta .mark { width: 20px; height: 20px; }
  .next-arrow { width: 43px; bottom: max(14px, env(safe-area-inset-bottom)); transition: color .5s var(--ease), background-color .5s var(--ease), opacity .5s var(--ease), visibility .5s, bottom .6s var(--ease); }
  .cta-bar-on .next-arrow { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 62px); }
  .mobile-cta.is-on { transform: none; }
}

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