/* =====================================================================
   HANNAH — just be different.
   One family (General Sans, variable), two colours, one diagonal.
   ===================================================================== */

@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-VariableItalic.woff2") format("woff2");
  font-weight: 200 700; font-style: italic; font-display: swap;
}

:root {
  color-scheme: light;
  --pink: #E979F9;
  --ink: #0A0A0A;
  --bone: #F3F1EC;
  --font: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --g: clamp(16px, 3.2vw, 56px);                 /* page gutter */
  --logo-h: calc(100vw * 400 / 1980);             /* height of the full-width logo */
  --slant: 28vh;                                  /* how far one section cuts into the last */
  --ease: cubic-bezier(.7, 0, .12, 1);
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: hidden; }   /* on the root, so phones never zoom out to fit what sticks past the edge */
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font-family: var(--font); font-weight: 450; font-size: 16px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
[data-theme="black"] :focus-visible { outline-color: var(--pink); }
[data-theme="pink"] :focus-visible { outline-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section, footer { position: relative; }
[data-theme="pink"] { background: var(--pink); color: var(--ink); }
[data-theme="black"] { background: var(--ink); color: var(--bone); }

.label {
  margin: 0; font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   Loader
   --------------------------------------------------------------------- */
#loader {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--pink);
  clip-path: polygon(-30% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.ld-note {
  position: absolute; left: var(--g); bottom: var(--g); margin: 0;
  font-style: italic; font-weight: 450; font-size: clamp(16px, 1.4vw, 24px);
}
.ld-count {
  position: absolute; right: var(--g); bottom: calc(var(--g) - .12em); margin: 0;
  font-weight: 500; font-size: clamp(44px, 7vw, 140px); line-height: .8; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.no-loader #loader { display: none; }

/* ---------------------------------------------------------------------
   Nav
   --------------------------------------------------------------------- */
.nav {
  position: fixed; z-index: 70; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: calc(clamp(12px, 1.4vw, 22px) + env(safe-area-inset-top, 0px)) var(--g) 0;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-mark { display: block; width: clamp(88px, 7vw, 124px); color: var(--ink); opacity: 0; visibility: hidden; transition: color .4s; }
.nav-mark svg { display: block; width: 100%; height: auto; }
body[data-nav="black"] .nav-mark { color: var(--pink); }
.nav-right { display: flex; gap: 8px; align-items: center; }

.menu-btn {
  height: 46px; padding: 0 20px; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  background: var(--bone); color: var(--ink); font-weight: 500; font-size: 16px;
}
.menu-btn svg { width: 15px; height: 15px; transition: transform .6s var(--ease); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(45deg); }

/* the language switch is a coin: EN on one face, ES on the other */
.coin { width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 500px; }
.coin-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.coin b {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  font-weight: 600; font-size: 12px; letter-spacing: .06em; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.coin-f { background: var(--bone); color: var(--ink); }
.coin-b { background: var(--ink); color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--bone); transform: rotateY(180deg); }
.coin:hover .coin-in { transform: rotateY(28deg); }
body.es .coin-in { transform: rotateY(180deg); }
body.es .coin:hover .coin-in { transform: rotateY(152deg); }

#menu {
  position: fixed; inset: 0; z-index: 65; background: var(--ink); color: var(--bone);
  visibility: hidden; clip-path: polygon(100% 0%, 100% 0%, 100% 0%, 100% 0%);
  display: grid; align-content: end; padding: 16vh var(--g) calc(var(--g) + env(safe-area-inset-bottom, 0px));
}
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links li { overflow: clip; }
.menu-links a {
  display: inline-block; text-decoration: none; padding-bottom: .04em;
  font-weight: 600; font-size: clamp(56px, 10.5vw, 200px); line-height: .88; letter-spacing: -.055em;
  transition: color .3s;
}
.menu-links a span { display: inline-block; }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--pink); font-style: italic; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; margin-top: 7vh; font-weight: 500; font-size: 15px; }
.menu-foot a { text-decoration: none; }

/* ---------------------------------------------------------------------
   Cursor
   --------------------------------------------------------------------- */
.cursor {
  position: fixed; z-index: 100; left: 0; top: 0; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 99px;
  background: var(--bone); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center; white-space: nowrap;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
}
.cursor-lbl { font-weight: 600; font-size: 13px; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-label { width: 116px; height: 116px; margin: -58px 0 0 -58px; background: var(--pink); mix-blend-mode: normal; }
.cursor.is-label .cursor-lbl { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
#hero { height: 100svh; min-height: 520px; overflow: hidden; }
.logo-hero {
  position: relative; z-index: 95; display: block; width: 100%; height: auto;
  margin-top: calc(var(--logo-h) * -.17); color: var(--ink); overflow: visible;
}
.logo-hero.is-clipped, .ld-logo svg.is-clipped { overflow: hidden; }
.ld-logo { position: fixed; z-index: 91; left: 0; right: 0; top: 0; pointer-events: none; }
.ld-logo svg { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
@media (max-width: 760px) { .logo-hero { margin-top: calc(64px + env(safe-area-inset-top, 0px)); } }
.hero-foot {
  position: absolute; left: var(--g); right: var(--g); bottom: calc(clamp(20px, 4.4vh, 52px) + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.hero-statement {
  margin: 0 0 .9em; max-width: 17.5ch;
  font-weight: 600; font-size: clamp(30px, 3.35vw, 70px); line-height: .94; letter-spacing: -.02em; text-transform: uppercase;
}
.hero-sub { margin: 0; max-width: 42ch; font-size: clamp(16px, 1.3vw, 22px); line-height: 1.38; }
.hero-contact {
  flex: none; display: grid; justify-items: end; gap: 18px; text-decoration: none;
  font-weight: 600; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
}
.hero-contact .mascot { width: clamp(70px, 5.4vw, 112px); }
.hc-lbl i { font-style: normal; display: inline-block; margin-left: 6px; }

/* the studio's character */
.mascot { display: block; }
.mascot svg { display: block; width: 100%; height: auto; overflow: visible; }
.mascot .m-body path { fill: var(--ink); }
.mascot .m-eye { fill: var(--bone); }
.mascot-dark .m-body path { fill: var(--pink); }
.mascot-dark .m-eye { fill: var(--ink); }

/* ---------------------------------------------------------------------
   Manifesto: just be different.
   At rest (no motion) the pieces read top to bottom. With motion, .is-live
   stacks them as layers of one pinned screen: pink at the back, the dark
   wall above it, the two cut halves above that, the blade on top.
   --------------------------------------------------------------------- */
.jbd { background: var(--ink); }
.jbd-wall, .jbd-line, .jbd-half, .jbd-slash { display: none; }
.jbd-say { padding: 24vh var(--g) 18vh; display: grid; gap: .5em; font-weight: 600; font-size: clamp(34px, 5.2vw, 104px); line-height: .96; letter-spacing: -.035em; color: var(--bone); }
.jbd-say p { margin: 0; max-width: 15ch; }
.jbd-pink { background: var(--pink); color: var(--ink); padding: 16vh var(--g) 18vh; }
.jbd-decl {
  margin: 0; font-weight: 700; font-size: 14.6vw; line-height: .8; letter-spacing: -.045em;
  display: flex; flex-direction: column; align-items: flex-start;
}
.dl { display: block; white-space: nowrap; }
.dl2 { display: flex; align-items: baseline; }
.rn { display: inline-block; transform: scaleX(-1); }
.jbd-stop.mascot { flex: none; width: .24em; margin-left: .025em; align-self: flex-end; margin-bottom: .012em; }
.jbd-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 7vh; }
.jbd-close { margin: 0; max-width: 20ch; font-weight: 600; font-size: clamp(22px, 2.6vw, 50px); line-height: 1.02; letter-spacing: -.025em; }
.jbd-close > span, .jbd-close em { display: block; }
.jbd-close em { font-weight: 500; }
.jbd-side { margin: 0; max-width: 24ch; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.3; text-align: right; }

/* ---------- live: one screen, five acts ---------- */
.jbd.is-live .jbd-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.jbd.is-live .jbd-dark,
.jbd.is-live .jbd-half,
.jbd.is-live .jbd-pink { position: absolute; inset: 0; }
.jbd.is-live .jbd-pink { z-index: 1; padding: 0 var(--g); display: flex; flex-direction: column; justify-content: center; }
.jbd.is-live .jbd-dark { z-index: 2; background: var(--ink); }
.jbd.is-live .jbd-half { z-index: 3; display: block; background: var(--ink); visibility: hidden; will-change: transform; }
.jbd.is-live .jbd-half.h1 { clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%); }
.jbd.is-live .jbd-half.h2 { clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0 100%); }
.jbd.is-live .jbd-slash {
  display: block; position: absolute; z-index: 4; left: 50%; top: 50%; height: 4px; width: 10px;
  background: var(--pink); box-shadow: 0 0 24px rgba(233,121,249,.7); pointer-events: none; visibility: hidden;
}
.jbd.is-live .jbd-wall { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.jbd.is-live .jbd-say { position: absolute; left: var(--g); right: var(--g); top: 50%; padding: 0; display: block; pointer-events: none; }
.jbd.is-live .jbd-say p { position: absolute; left: 0; top: 0; translate: 0 -50%; }

/* the small sentence that forms in the middle of the dark */
.jbd.is-live .jbd-line {
  display: flex; align-items: center; position: absolute; left: 50%; top: 50%; margin: 0;
  font-weight: 500; line-height: 1.2; letter-spacing: 0; white-space: nowrap; color: var(--bone);
  perspective: 900px; visibility: hidden;
}
.jl-just { display: inline-block; overflow: hidden; white-space: nowrap; }
.jl-coin { display: inline-grid; transform-style: preserve-3d; }
.jl-f, .jl-b { grid-area: 1 / 1; justify-self: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.jl-b { transform: rotateY(180deg); color: var(--pink); font-style: italic; }
.jl-dot { display: inline-block; overflow: hidden; }

.jbd.is-live .jbd-decl { font-size: 14.6vw; }
.jbd.is-live .rn { transform: none; }
.jbd.is-live .jbd-decl .ch { font-weight: calc(var(--fw, 700) - var(--hw, 0)); will-change: transform; }
.jbd.is-live .jbd-decl.is-fitting .ch { font-weight: 700; }
.jbd.is-live .jbd-foot { margin-top: 6vh; }

@media (max-width: 760px) {
  .jbd-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .jbd-side { text-align: left; }
  .jbd-close { font-size: clamp(22px, 6.4vw, 34px); }
}

/* ---------------------------------------------------------------------
   Services
   --------------------------------------------------------------------- */
#services { padding: 18vh var(--g) calc(18vh + var(--slant)); }
.svc-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; margin-bottom: 10vh; }
.svc-intro { margin: 0; max-width: 30ch; font-weight: 500; font-size: clamp(22px, 2.1vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc {
  --dim: 1;
  position: relative; display: flex; align-items: center; flex-wrap: wrap;
  padding: 1.4vh 0 1.8vh; border-bottom: 1.5px solid var(--ink);
  font-size: clamp(44px, 7.4vw, 156px);
}
.svc .w { font-weight: 600; line-height: .92; letter-spacing: -.055em; white-space: nowrap; opacity: var(--dim); }
.svc .w1 { margin-right: .2em; }
.svc .w2 { font-style: italic; font-weight: 400; letter-spacing: -.045em; }
.svc-img { display: block; flex: none; width: 0; height: .78em; overflow: hidden; margin: 0; }
.svc-img .ph { width: min(18vw, 340px); height: 100%; }
.svc-desc {
  flex-basis: 100%; height: 0; overflow: hidden; opacity: 0; margin: 0;
  padding-left: 52%; font-size: clamp(15px, 1.15vw, 20px); line-height: 1.35; font-weight: 500;
}
@media (max-width: 760px) {
  .svc-head { grid-template-columns: 1fr; }
  .svc { flex-wrap: wrap; font-size: 11.4vw; padding-bottom: 2.2vh; }
  .svc-img .ph { width: 30vw; }
  .svc-desc { padding-left: 0; font-size: 15px; }
}

/* placeholders: live until an image with the same name lands in assets/gen/ */
.ph {
  position: relative; margin: 0; overflow: hidden; background: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 288 400'%3E%3Cpath fill='%23E979F9' fill-opacity='.9' d='M288,400V0H196L78,236V0H0V400H92L210,164V400Z'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 18% 12%, #2b2b2b 0%, #0A0A0A 62%);
  background-repeat: no-repeat; background-size: auto 42%, cover; background-position: 88% 82%, center;
}
.ph-l { position: absolute; left: 10px; bottom: 9px; font-weight: 600; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img { background: var(--ink); }
.ph.has-img .ph-l { display: none; }

/* ---------------------------------------------------------------------
   The diagonal cut between sections
   --------------------------------------------------------------------- */
.slant {
  --sl: var(--slant);
  margin-top: calc(var(--slant) * -1);
  clip-path: polygon(0 var(--sl), 100% 0, 100% 100%, 0 100%);
}
#work { z-index: 2; }
#process { z-index: 3; }
#contact { z-index: 4; }

/* ---------------------------------------------------------------------
   Work
   --------------------------------------------------------------------- */
#work { padding-top: calc(var(--slant) + 12vh); }
.work-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4vw; align-items: end; padding: 0 var(--g) 14vh; }
.work-title { margin: 0; font-weight: 600; font-size: clamp(64px, 13.4vw, 270px); line-height: .8; letter-spacing: -.06em; }
.work-title em { font-style: italic; font-weight: 400; color: var(--pink); letter-spacing: -.05em; }
.work-intro { margin: 0 0 .6em; max-width: 22ch; font-weight: 500; font-size: clamp(20px, 1.8vw, 32px); line-height: 1.15; letter-spacing: -.015em; }

.work-stack { position: relative; }
.proj { position: relative; height: 100svh; min-height: 560px; }
.proj-gap { height: 50svh; }   /* the hold: a panel sits still while this passes under it */
.proj-in { position: absolute; inset: 0; overflow: hidden; background: var(--ink); color: var(--bone); transform-origin: 50% 0%; border-top: 1px solid #202020; }
.proj-main { position: absolute; margin: 0; overflow: hidden; background: #111; cursor: pointer; }
.proj-main img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.proj-ev { position: absolute; z-index: 4; margin: 0; padding: 6px 6px 0; background: var(--bone); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.proj-ev img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proj-ev figcaption { padding: 7px 2px 8px; font-weight: 600; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.proj-name {
  position: absolute; z-index: 5; margin: 0; cursor: pointer;
  font-weight: 600; font-size: clamp(56px, 11.4vw, 236px); line-height: .82; letter-spacing: -.06em; white-space: nowrap;
}
.proj-meta { position: absolute; z-index: 5; }
.proj-sector { margin: 0 0 8px; font-weight: 600; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.15; letter-spacing: -.01em; }
.proj-scope { margin: 0 0 22px; font-size: 14px; opacity: .65; }
.proj-cta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.btn-open {
  border: 0; cursor: pointer; height: 44px; padding: 0 18px; background: var(--bone); color: var(--ink);
  font-weight: 600; font-size: 14px; display: inline-flex; gap: 10px; align-items: center;
}
.btn-open i { font-style: normal; transition: transform .5s var(--ease); }
.btn-open:hover i { transform: translateX(4px); }
.btn-live { font-weight: 500; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.btn-soon { font-weight: 500; font-size: 13px; padding: 6px 10px; border: 1px solid rgba(243,241,236,.35); border-radius: 99px; }

/* three compositions, one system */
.v1 .proj-main { left: 38vw; top: 12vh; width: 57vw; height: 62vh; }
.v1 .proj-name { left: var(--g); bottom: 6vh; }
.v1 .proj-meta { left: var(--g); top: 13vh; width: 25vw; }
.v1 .ev1 { left: 22vw; top: 42vh; width: 15vw; }
.v1 .ev2 { right: 4vw; bottom: 7vh; width: 17vw; }

.v2 .proj-main { left: var(--g); top: 24vh; width: 52vw; height: 60vh; }
.v2 .proj-name { right: var(--g); top: 11vh; text-align: right; }
.v2 .proj-meta { right: var(--g); bottom: 11vh; width: 26vw; }
.v2 .ev1 { left: 48vw; top: 44vh; width: 18vw; }
.v2 .ev2 { left: 34vw; bottom: 3vh; width: 12vw; }

.v3 .proj-main { left: 20vw; top: 10vh; width: 62vw; height: 56vh; }
.v3 .proj-name { left: var(--g); bottom: 5vh; }
.v3 .proj-meta { right: var(--g); bottom: 9vh; width: 24vw; }
.v3 .ev1 { left: var(--g); top: 17vh; width: 15vw; }
.v3 .ev2 { right: var(--g); top: 40vh; width: 14vw; }

@media (max-width: 760px) {
  .work-head { grid-template-columns: 1fr; }
  .proj-in { display: flex; flex-direction: column; padding: 11vh var(--g) 5vh; gap: 16px; }
  .proj-main, .proj-name, .proj-meta, .proj-ev { position: relative; inset: auto !important; width: auto !important; height: auto; }
  .proj-name { order: 1; font-size: 11vw; white-space: normal; text-align: left !important; }
  .proj-main { order: 2; height: 38vh !important; }
  .proj-meta { order: 3; }
  .proj-ev { display: none; }
}


/* tapes across the cut */
.tapes { position: relative; z-index: 5; height: 0; }
.tape { position: absolute; left: -12vw; width: 124vw; overflow: hidden; padding: .5em 0; font-weight: 600; font-size: clamp(22px, 2.6vw, 50px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.tape.t1 { top: -21vh; background: var(--bone); color: var(--ink); rotate: -4deg; }
.tape.t2 { top: -11vh; background: var(--ink); color: var(--pink); rotate: 3deg; }
.tape-track { display: inline-flex; will-change: transform; }
.tape-track span { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; }
.tape-track svg { height: .78em; width: auto; }

/* ---------------------------------------------------------------------
   Process
   --------------------------------------------------------------------- */
#process { padding-top: var(--slant); padding-bottom: var(--slant); }
.proc-pin {
  position: relative; height: 100svh; min-height: 560px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 4vw; align-items: center;
  padding: 12vh var(--g) 8vh;
}
.proc-left { align-self: stretch; display: grid; grid-template-rows: auto 1fr auto auto; gap: 3vh; }
.proc-words { position: relative; align-self: center; height: .95em; overflow: clip; font-size: 11vw; }
.pw { position: absolute; left: 0; top: 0; font-weight: 600; line-height: .9; letter-spacing: -.06em; white-space: nowrap; }
.proc-texts { position: relative; min-height: 5.4em; font-size: clamp(18px, 1.55vw, 28px); }
.pt { position: absolute; left: 0; top: 0; margin: 0; max-width: 30ch; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.proc-bars { display: flex; gap: 8px; }
.proc-bars i { position: relative; display: block; width: clamp(44px, 5vw, 80px); height: 3px; background: rgba(10,10,10,.18); overflow: hidden; }
.proc-bars b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.proc-media { position: relative; justify-self: end; height: min(74vh, 60vw); aspect-ratio: 3 / 4; }
.pm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .proc-pin { grid-template-columns: 1fr; grid-template-rows: auto auto; padding-top: 11vh; gap: 3vh; align-content: start; }
  .proc-left { grid-template-rows: auto auto auto auto; gap: 2vh; }
  .proc-media { justify-self: start; height: 42vh; }
  .proc-texts { min-height: 7.5em; }
}

/* ---------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
#contact { min-height: calc(100svh + var(--slant)); padding: calc(var(--slant) + 16vh) var(--g) 16vh; display: grid; grid-template-columns: 1fr auto; gap: 4vw; align-items: center; }
.contact-in { display: grid; gap: 5vh; }
.contact-q { margin: 0; max-width: 15ch; font-weight: 600; font-size: clamp(42px, 6.6vw, 136px); line-height: .9; letter-spacing: -.05em; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.email {
  position: relative; display: inline-block; text-decoration: none; color: var(--pink);
  font-weight: 500; font-size: clamp(28px, 5vw, 104px); line-height: 1.02; letter-spacing: -.045em;
}
.email::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .05em; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.email:hover::after, .email:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.copy-btn { border: 1px solid rgba(243,241,236,.4); background: none; cursor: pointer; height: 42px; padding: 0 18px; border-radius: 99px; font-weight: 500; font-size: 14px; }
.copy-btn:hover { background: var(--bone); color: var(--ink); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; font-size: 15px; opacity: .7; }
.contact-meta b { font-weight: 600; font-variant-numeric: tabular-nums; }
.contact-mascot { position: relative; width: clamp(150px, 19vw, 360px); }
.bubble {
  position: absolute; left: -12%; top: -18%; z-index: 2; padding: 10px 16px; border-radius: 99px;
  background: var(--bone); color: var(--ink); font-weight: 600; font-size: clamp(15px, 1.2vw, 20px);
  opacity: 0; transform-origin: 80% 100%;
}
@media (max-width: 760px) { #contact { grid-template-columns: 1fr; } .contact-mascot { width: 44vw; justify-self: end; } }

/* ---------------------------------------------------------------------
   Footer: the logo again, cut at the bottom this time
   --------------------------------------------------------------------- */
#footer { overflow: hidden; }
.foot-in { padding-top: 12vh; }
.foot-top { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; padding: 0 var(--g); font-weight: 500; font-size: 15px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { text-decoration: underline; }
.foot-note { margin: 12vh var(--g) 2vh; font-style: italic; font-size: clamp(16px, 1.3vw, 22px); }
.logo-foot { display: block; width: 100%; height: auto; margin-bottom: calc(var(--logo-h) * -.17); }

/* ---------------------------------------------------------------------
   Case study overlay
   --------------------------------------------------------------------- */
#case {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--bone); visibility: hidden;
}
.case-bar {
  position: fixed; z-index: 3; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(clamp(12px, 1.4vw, 22px) + env(safe-area-inset-top, 0px)) var(--g) 0; pointer-events: none;
}
.case-bar > * { pointer-events: auto; }
.case-tag { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; mix-blend-mode: difference; color: var(--bone); }
.case-close { height: 46px; padding: 0 20px; border: 0; cursor: pointer; background: var(--bone); color: var(--ink); font-weight: 500; font-size: 16px; display: flex; gap: 14px; align-items: center; }
.case-cover { position: relative; height: 100svh; overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,.85) 100%); }
.case-cover-txt { position: absolute; z-index: 2; left: var(--g); right: var(--g); bottom: 7vh; }
.case-name { margin: 0; font-weight: 600; font-size: clamp(56px, 12vw, 250px); line-height: .82; letter-spacing: -.06em; }
.case-line { margin: 3vh 0 0; max-width: 30ch; font-weight: 500; font-size: clamp(20px, 2vw, 36px); line-height: 1.15; letter-spacing: -.015em; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 7vh var(--g) 0; }
.case-meta div { border-top: 1px solid rgba(243,241,236,.22); padding-top: 14px; }
.case-meta dt { margin: 0 0 8px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.case-meta dd { margin: 0; font-weight: 500; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.3; }
.case-meta a { text-decoration: none; border-bottom: 1px solid currentColor; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 16vh var(--g) 14vh; }
.case-body h4 { margin: 0 0 20px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); }
.case-body p { margin: 0; font-weight: 500; font-size: clamp(20px, 1.9vw, 34px); line-height: 1.18; letter-spacing: -.015em; }
.case-gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2vw; padding: 0 var(--g) 16vh; align-items: start; }
.case-gal figure { margin: 0; }
.case-gal img { width: 100%; height: auto; }
.case-gal figcaption { margin-top: 10px; font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.case-gal .cg-a { grid-column: 1 / span 7; }
.case-gal .cg-b { grid-column: 9 / span 4; margin-top: 18vh; }
.case-gal .cg-c { grid-column: 3 / span 5; margin-top: -4vh; }
.case-gal .cg-d { grid-column: 8 / span 5; margin-top: 10vh; }
.case-gal .cg-e { grid-column: 1 / span 12; margin-top: 6vh; }
.case-next {
  display: block; width: 100%; text-align: left; border: 0; cursor: pointer;
  padding: 10vh var(--g) 12vh; background: var(--pink); color: var(--ink);
}
.case-next small { display: block; margin-bottom: 3vh; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.case-next b { display: block; font-weight: 600; font-size: clamp(56px, 11vw, 230px); line-height: .84; letter-spacing: -.06em; }
.case-next:hover b { font-style: italic; }
@media (max-width: 760px) {
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 8vh; }
  .case-gal { grid-template-columns: 1fr; gap: 6vh; }
  .case-gal > * { grid-column: auto !important; margin-top: 0 !important; }
}

/* the diagonal wipe used for language changes */
#wipe { position: fixed; inset: 0; z-index: 99; background: var(--pink); pointer-events: none; clip-path: polygon(0% 100%, 0% 100%, 0% 100%); }

/* ---------------------------------------------------------------------
   Reduced motion: everything is laid out at rest
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .nav-mark { opacity: 1; visibility: visible; }
  .svc-img { width: min(18vw, 340px); margin: 0 .2em 0 0; }
  .svc-desc { opacity: 1; height: auto; }
  .pw:not(:first-child), .pt:not(:first-child) { display: none; }
}


/* ---------------------------------------------------------------------
   Lab 2
   --------------------------------------------------------------------- */

/* keyboard users can jump straight to the work */
.skip {
  position: fixed; z-index: 101; left: var(--g); top: 12px; padding: 12px 18px;
  background: var(--ink); color: var(--pink); font-weight: 600; font-size: 14px; text-decoration: none;
  transform: translateY(-160%); transition: transform .35s var(--ease);
}
.skip:focus-visible { transform: none; outline-color: var(--bone); }

/* hero: the quick way to the work */
.hero-work {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 3.2vh; padding: 8px 16px 8px 8px;
  background: var(--ink); color: var(--bone); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .02em;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.hw-thumbs { position: relative; width: 58px; height: 36px; flex: none; }
.hw-thumbs img {
  position: absolute; left: 0; top: 0; width: 44px; height: 30px; object-fit: cover; outline: 1.5px solid var(--ink);
  transition: transform .6s var(--ease);
}
.hw-thumbs img:nth-child(1) { z-index: 3; transform: translate(0, 3px); }
.hw-thumbs img:nth-child(2) { z-index: 2; transform: translate(6px, 3px) rotate(4deg); }
.hw-thumbs img:nth-child(3) { z-index: 1; transform: translate(12px, 3px) rotate(8deg); }
.hero-work:hover .hw-thumbs img:nth-child(1), .hero-work:focus-visible .hw-thumbs img:nth-child(1) { transform: translate(-6px, -14px) rotate(-10deg); }
.hero-work:hover .hw-thumbs img:nth-child(2), .hero-work:focus-visible .hw-thumbs img:nth-child(2) { transform: translate(10px, -20px) rotate(3deg); }
.hero-work:hover .hw-thumbs img:nth-child(3), .hero-work:focus-visible .hw-thumbs img:nth-child(3) { transform: translate(26px, -12px) rotate(14deg); }
.hw-lbl { text-transform: uppercase; white-space: nowrap; }
.hw-lbl b {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 99px;
  background: var(--pink); color: var(--ink); font-size: 11px; vertical-align: 2px; font-variant-numeric: tabular-nums;
}
.hw-arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.hero-work:hover, .hero-work:focus-visible { background: var(--bone); color: var(--ink); }
.hero-work:hover .hw-arrow, .hero-work:focus-visible .hw-arrow { transform: translate(3px, 3px); }
@media (max-width: 760px) { .hero-work { margin-top: 2.4vh; gap: 10px; padding: 7px 12px 7px 7px; font-size: 13px; } .hw-arrow { display: none; } }

/* point of view: the N as an object */
#pov { background: var(--ink); color: var(--bone); }
.pov-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.pov-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.pov-fallback { display: none; position: absolute; left: 50%; top: 46%; height: 52%; width: auto; translate: -50% -50%; color: var(--pink); }
#pov.no-gl .pov-gl { display: none; }
#pov.no-gl .pov-fallback { display: block; }
.pov-label { position: absolute; left: var(--g); top: 13vh; color: var(--pink); }
.pov-h {
  position: absolute; left: var(--g); right: var(--g); bottom: 9vh; margin: 0; pointer-events: none;
  font-weight: 600; font-size: clamp(34px, 5vw, 100px); line-height: .95; letter-spacing: -.04em;
}
.pov-c { display: block; max-width: 13ch; }
.pov-c.c2 { color: var(--pink); }
#pov.is-live .pov-c { position: absolute; left: 0; bottom: 0; }
.pov-hint, .pov-deg { position: absolute; right: var(--g); margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pov-hint { bottom: 9vh; opacity: .55; }
.pov-deg { top: 13vh; font-size: clamp(28px, 3.2vw, 60px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pov-deg b { font-weight: 600; }
@media (max-width: 760px) {
  .pov-h { bottom: 14vh; font-size: clamp(30px, 9vw, 44px); }
  .pov-hint { bottom: 7vh; left: var(--g); right: auto; }
}

/* the character: little shock lines, and a sleepy z */
.contact-mascot .mascot svg { will-change: transform; }
.burst {
  position: absolute; z-index: 2; right: -12%; top: -16%; width: 30%; overflow: visible; pointer-events: none; opacity: 0;
  fill: none; stroke: var(--pink); stroke-width: 4.5; stroke-linecap: round;
}
.zz { position: absolute; z-index: 2; right: 4%; top: -4%; margin: 0; pointer-events: none; font-weight: 600; font-style: italic; color: var(--pink); font-size: clamp(18px, 1.8vw, 30px); opacity: 0; }
.contact-mascot .mascot { cursor: pointer; }
