/* =========================================================
   JUJU — A Creative Residence for Brands
   Mobile-first. Breakpoint: 900px.
   ========================================================= */

:root {
  --red: #ff0000;
  --ink: #000;
  --paper: #fff;
  --line: #d6d6d6;
  --muted: #c4c4c4;
  --logo: #3b3b3b;
  --card: #f6f6f6;

  --pad: 24px;
  --h: 14.2vw;              /* hero display size */

  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Playfair Display", "Times New Roman", serif;

  --ease: cubic-bezier(.16, 1, .3, 1);       /* expo out */
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

@media (min-width: 900px) {
  :root { --pad: 3.333vw; --h: 8.9vw; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { padding: 0 var(--pad); }

.only-desktop { display: none !important; }
@media (min-width: 900px) {
  .only-desktop { display: flex !important; }
  .only-mobile { display: none !important; }
}

/* ---------- Generic reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  filter: blur(8px);
  transition:
    opacity 1.2s var(--ease) var(--d, 0s),
    transform 1.6s var(--ease) var(--d, 0s),
    filter 1.2s var(--ease) var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;            /* above the menu (45) and the person modal (60): the logo is always visible */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  color: #fff;
  mix-blend-mode: difference;   /* black on white, cyan on red */
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
/* SVG wordmark (assets/juju-logo.svg), sized like the comps: 58×20 mobile, 69×24 desktop */
.site-header__logo { display: block; line-height: 0; }
.site-header__logo svg { display: block; height: 20px; width: auto; overflow: visible; }
.site-header__menu {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: -.01em;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2;
}
.site-header__menu-label { display: block; transition: transform .7s var(--ease), opacity .4s; }
/* the panel has its own CLOSE in the same spot */
body.menu-open .site-header__menu-label { transform: translateY(-100%); opacity: 0; }
/* the person modal has its own CLOSE in that corner */
html.pm-open .site-header__menu { opacity: 0; pointer-events: none; transition: opacity .4s; }

@media (min-width: 900px) {
  .site-header { padding: 28px var(--pad); }
  .site-header__logo svg { height: 24px; }
}

/* ---------- Menu (side panel from the right) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  visibility: hidden;
  transition: visibility 0s linear 1.1s;
}
body.menu-open .menu { visibility: visible; transition: none; }

.menu__backdrop {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity .9s var(--ease);
  cursor: pointer;
}
body.menu-open .menu__backdrop { opacity: 1; }

.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: calc(100% - 44px);
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 22px var(--pad) 32px;
  background: var(--paper);
  color: var(--ink);
  transform: translate3d(100%, 0, 0);
  transition: transform 1.1s var(--ease-io);
  overflow-y: auto;
}
body.menu-open .menu__panel { transform: none; transition-duration: 1s; }
@media (min-width: 900px) {
  .menu__panel { width: 41.6%; min-width: 520px; padding: 28px var(--pad) 40px; }
}

.menu__close {
  font-family: var(--f-sans); font-weight: 600; font-size: 17px;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.2;
  /* line up with the header's MENU (centered on the logo's line box) */
  margin-top: calc((20px - 1.2em) / 2);
}
@media (min-width: 900px) { .menu__close { margin-top: calc((24px - 1.2em) / 2); } }

.menu__nav { margin: auto 0; padding: 48px 0; }
.menu__list { text-align: right; }
.menu__list li { overflow: hidden; }
.menu__list a {
  position: relative; display: inline-block;
  font-size: clamp(54px, 15vw, 84px);
  line-height: 1;
}
@media (min-width: 900px) { .menu__list a { font-size: clamp(56px, 6.4vw, 112px); } }

.menu__serif,
.menu__sans { display: block; white-space: nowrap; }
.menu__serif {
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.03em;
  clip-path: inset(0 0 0 0);
  transition: clip-path .7s var(--ease);
}
.menu__sans {
  position: absolute; right: 0; top: 50%; translate: 0 -50%;
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .7s var(--ease);
}
.menu__list a:hover .menu__serif,
.menu__list a:focus-visible .menu__serif { clip-path: inset(0 0 100% 0); }
.menu__list a:hover .menu__sans,
.menu__list a:focus-visible .menu__sans { clip-path: inset(0 0 0 0); }

/* entrance: rows rise in, staggered */
.menu__list a,
.menu__social li,
.menu__close {
  transform: translate3d(0, 110%, 0);
  transition: transform .6s var(--ease);
}
body.menu-open .menu__list a,
body.menu-open .menu__social li,
body.menu-open .menu__close {
  transform: none;
  transition: transform 1.3s var(--ease) calc(.35s + var(--i, 0) * .07s);
}
.menu__close { --i: 0; }
.menu__list li:nth-child(1) a { --i: 1; }
.menu__list li:nth-child(2) a { --i: 2; }
.menu__list li:nth-child(3) a { --i: 3; }
.menu__list li:nth-child(4) a { --i: 4; }
.menu__list li:nth-child(5) a { --i: 5; }
.menu__social li { --i: 7; }

.menu__social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; overflow: hidden; }
.menu__social a {
  display: inline-flex; gap: 6px; align-items: center;
  font-family: var(--f-sans); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: -.01em;
}
.menu__social i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); }
.menu__social a:hover i { transform: translate(3px, -3px) rotate(45deg); }
@media (min-width: 900px) { .menu__social a { font-size: 15px; } .menu__social { gap: 12px 36px; } }

html.menu-lock { overflow: hidden; }

/* ---------- Section head (title + rule) ---------- */
.sec-head {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 12px;
}
.sec-head::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: #8a8a8a;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .15s;
}
.sec-head.is-in::after { transform: scaleX(1); }
.sec-head--ink::after { background: rgba(0,0,0,.6); }
.sec-head__title {
  font-family: var(--f-sans); font-weight: 600;
  font-size: 15px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1;
}
.view-all {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; text-transform: uppercase; line-height: 1;
}
.view-all__dot {
  width: 12px; height: 12px; border-radius: 50%; background: currentColor;
  transition: transform .6s var(--ease);
}
.view-all:hover .view-all__dot { transform: scale(1.6); }

@media (min-width: 900px) {
  .sec-head__title, .view-all { font-size: 18px; }
  .sec-head { padding-bottom: 16px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 290svh; }
@media (min-width: 900px) { .hero { height: 320vh; } }

.hero__sticky {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
}

.hero__base,
.hero__over {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 0 var(--pad);
}
.hero__base { justify-content: flex-end; padding-bottom: 6svh; z-index: 1; }
.hero__over { justify-content: flex-start; padding-top: 15svh; z-index: 3; color: #fff; pointer-events: none; }

.h-row {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  padding: .08em 0 .1em;
  font-size: var(--h);
}
.h-row--end { justify-content: flex-end; }
.h-row--last { border-bottom: 0; }
.hero__over .h-row { border-color: rgba(255,255,255,.22); }

.t-sans {
  font-family: var(--f-sans); font-weight: 600;
  letter-spacing: -.035em; line-height: .92;
}
.t-serif {
  font-family: var(--f-serif); font-weight: 400;
  letter-spacing: -.025em; line-height: .92;
}

/* masked line reveal */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; }

.hero__para {
  font-family: var(--f-body); font-weight: 500;
  font-size: 15px; line-height: 1.32; text-transform: uppercase;
  letter-spacing: -.005em;
  text-indent: 20%;
  margin-top: 28px;
}

/* desktop composition */
@media (min-width: 900px) {
  .hero__base--desktop .h-row,
  .hero__over--desktop .h-row { padding: .1em 0 .12em; }
  .hero__a { width: 27.3%; flex: none; }
  .hero__para {
    width: 30%; margin: 0 0 0 auto;
    font-size: clamp(13px, 1.18vw, 19px);
    text-indent: 35%;
  }
  .hero__brands { margin-left: auto; }
  .hero__over--desktop { padding-top: 13vh; }
  .h-row--indent { padding-left: 5.5% !important; }
}

.hero__thumb {
  display: block;
  width: 33vw; aspect-ratio: 2.08;
  margin-left: auto;
}
@media (min-width: 900px) {
  .hero__thumb { width: 18.6vw; margin-left: 0; aspect-ratio: 2.1; }
}

/* media layer */
.hero__media {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden;
  clip-path: inset(50% 50% 50% 50%);
  will-change: clip-path;
  background: #1a0000;
}
.hero__media img,
.hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero__media img,
.hero__media video { filter: grayscale(1) contrast(1.1) brightness(1.3); }
/* red duotone as in the comp — remove .hero__tint if the final video is already graded */
.hero__tint {
  position: absolute; inset: 0;
  background: #ff0000;
  mix-blend-mode: multiply;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.25) 100%);
  opacity: 0;
}

/* chrome / liquid cyan fill */
.chrome > span {
  background-image:
    radial-gradient(30% 60% at 18% 40%, rgba(0,229,255,.95), transparent 70%),
    radial-gradient(22% 70% at 62% 70%, rgba(0,238,255,.85), transparent 70%),
    radial-gradient(26% 50% at 88% 20%, rgba(140,250,255,.9), transparent 70%),
    linear-gradient(100deg, #ffffff 0%, #e9fdff 40%, #ffffff 60%, #dffbff 100%);
  background-size: 220% 100%;
  background-position: var(--chrome-x, 0%) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chrome 14s ease-in-out infinite alternate;
}
@keyframes chrome {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero__hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 4;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #000;
}
.hero__hint span {
  width: 1px; height: 36px; background: currentColor;
  transform-origin: top; animation: hint 2.2s var(--ease-io) infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 899px) { .hero__hint { display: none; } }

/* =========================================================
   J U J U
   ========================================================= */
.juju {
  position: relative;
  padding: 18vw 0 10vw;
  overflow: hidden;
}
.juju__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 393 / 820;
}
.juju__item {
  position: absolute;
  left: var(--x); top: var(--y);
  will-change: transform;
}

.juju__img { width: var(--w); z-index: var(--z, 1); }
.juju__media {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ar, 1.4);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.8s var(--ease);
}
.juju__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.35);
  transition: transform 2.4s var(--ease);
}
.juju__img.is-in .juju__media { clip-path: inset(0 0 0 0); }
.juju__img.is-in .juju__media img { transform: scale(1.06); }

.juju__letter {
  z-index: 10;
  font-family: var(--f-sans); font-weight: 500;
  font-size: 31vw; line-height: .72;
  letter-spacing: 0;
  color: #fff;
  mix-blend-mode: difference;   /* black on white, white over photos */
  overflow: hidden;
  padding: .02em .02em .04em;
}
.juju__letter > span {
  display: block;
  transform: translate3d(0, 105%, 0) rotate(8deg);
  transform-origin: 0 100%;
  transition: transform 1.8s var(--ease);
}
.juju__letter.is-in > span { transform: none; }

/* mobile composition (from the mobile comp) */
.i1 { --x: 0%;    --y: 22.4%; --w: 52.2%; --ar: 1.36; --z: 1; }
.i2 { --x: 30.8%; --y: 36.1%; --w: 52.4%; --ar: 1.33; --z: 2; }
.i3 { --x: 56.5%; --y: 50.1%; --w: 57.8%; --ar: 1.5;  --z: 3; }
.i4 { --x: 28%;   --y: 63.9%; --w: 57.8%; --ar: 1.5;  --z: 4; }
.i5 { --x: 0%;    --y: 77.8%; --w: 54%;   --ar: 1.4;  --z: 5; }
.l1 { --x: 30.5%; --y: 0%; }
.l2 { --x: 64%;   --y: 25%; }
.l3 { --x: 4%;    --y: 46%; }
.l4 { --x: 64%;   --y: 86%; }

/* desktop composition */
@media (min-width: 900px) {
  .juju { padding: 10vw 0 6vw; }
  .juju__stage { aspect-ratio: 1440 / 1120; }
  .juju__letter { font-size: 21vw; }
  .i1 { --x: 14%;  --y: 9%;  --w: 27%; }
  .i2 { --x: 34%;  --y: 25%; --w: 23%; }
  .i3 { --x: 67%;  --y: 30%; --w: 26%; }
  .i4 { --x: 52%;  --y: 52%; --w: 24%; }
  .i5 { --x: 17%;  --y: 64%; --w: 26%; }
  .l1 { --x: 4%;   --y: 0%; }
  .l2 { --x: 60%;  --y: 3%; }
  .l3 { --x: 5%;   --y: 38%; }
  .l4 { --x: 77%;  --y: 68%; }
}

/* =========================================================
   LATEST WORK
   ========================================================= */
.work { position: relative; padding: 22vw 0 26vw; }
@media (min-width: 900px) { .work { padding: 6vw 0 12vw; } }

.work__list { margin-top: 56px; padding-left: 13%; }
.work__row { border-bottom: 1px solid var(--line); }
.work__row a {
  position: relative;
  display: flex; align-items: center;
  padding: 22px 0 18px;
}
.work__num {
  position: absolute; left: -13%;
  width: 13%;
  font-family: var(--f-sans); font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.work__name {
  position: relative; display: block;
  font-size: 12.4vw; line-height: 1;
}
.work__serif,
.work__sans { display: block; white-space: nowrap; }
.work__serif {
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.035em;
  color: var(--muted);
  transition: clip-path .8s var(--ease), color .6s;
  clip-path: inset(0 0 0 0);
}
.work__sans {
  position: absolute; left: 0; top: 50%;
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em;
  color: var(--ink);
  translate: 0 -50%;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .8s var(--ease);
}
.work__meta {
  margin-left: auto;
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase;
  opacity: 0; transform: translateX(12px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  display: none;
}

.work__row.is-active .work__serif { clip-path: inset(0 0 100% 0); }
.work__row.is-active .work__sans { clip-path: inset(0 0 0 0); }
.work__row.is-active .work__num,
.work__row.is-active .work__meta { opacity: 1; transform: none; }

/* dim siblings on hover (desktop) */
@media (hover: hover) {
  .work__list.has-active .work__row:not(.is-active) .work__serif { color: #dcdcdc; }
}

@media (min-width: 900px) {
  .work__list { margin-top: 72px; padding-left: 8.5%; }
  .work__num { left: -10%; width: 10%; font-size: 16px; }
  .work__name { font-size: 6.4vw; }
  .work__row a { padding: 1.6vw 0 1.2vw; }
  .work__meta { display: block; }
}

/* cursor-following preview */
.work-preview {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 40vw; aspect-ratio: 16 / 9.4;
  pointer-events: none;
  will-change: transform;
}
@media (min-width: 900px) { .work-preview { width: 24vw; } }

.work-preview__frame {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(50% 50% 50% 50%);
  transform: scale(.6);
  transition: clip-path .9s var(--ease), transform 1s var(--ease);
}
.work-preview.is-visible .work-preview__frame { clip-path: inset(0 0 0 0); transform: none; }
.work-preview__track {
  position: absolute; inset: 0;
  transition: transform 1s var(--ease);
}
.work-preview__slide {
  position: absolute; left: 0; width: 100%; height: 100%;
  overflow: hidden;
}
.work-preview__slide img,
.work-preview__slide video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.25);
  transition: transform 1.2s var(--ease);
}
.work-preview__slide.is-active img,
.work-preview__slide.is-active video { transform: scale(1); }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { padding: 4vw 0 28vw; }
@media (min-width: 900px) { .clients { padding: 2vw 0 12vw; } }

.marquee {
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 88%, transparent 100%);
}
.marquee + .marquee { margin-top: 14px; }
.marquee__track {
  display: flex; gap: 14px; width: max-content;
  will-change: transform;
}

.logo-card {
  flex: none;
  width: 36vw; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--card);
  color: var(--logo);
  transition: color .9s var(--ease), background-color .9s var(--ease), transform 1s var(--ease);
}
.logo-card svg { width: 64%; height: auto; overflow: visible; }
.logo-card:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  transform: scale(.97);
}

@media (min-width: 900px) {
  .marquee { margin-top: 56px; }
  .marquee + .marquee { margin-top: 20px; }
  .marquee__track { gap: 20px; }
  .logo-card { width: 18.5vw; border-radius: 18px; }
}

/* placeholder wordmarks — fill follows currentColor */
.lg { fill: currentColor; text-anchor: middle; }
.lg--netflix   { font-family: var(--f-sans); font-weight: 800; font-size: 38px; letter-spacing: -1px; transform: scaleY(1.15); transform-origin: 100px 40px; }
.lg--cabify    { font-family: var(--f-body); font-weight: 700; font-size: 40px; letter-spacing: -1.5px; }
.lg--avianca   { font-family: var(--f-body); font-weight: 600; font-size: 38px; letter-spacing: -1px; font-style: italic; }
.lg--bayer     { font-family: var(--f-sans); font-weight: 700; font-size: 36px; letter-spacing: 4px; }
.lg--spotify   { font-family: var(--f-body); font-weight: 700; font-size: 40px; letter-spacing: -1.5px; }
.lg--rappi     { font-family: var(--f-sans); font-weight: 800; font-size: 42px; letter-spacing: -2px; }
.lg--abinbev   { font-family: var(--f-serif); font-weight: 500; font-size: 36px; letter-spacing: -.5px; }
.lg--betsson   { font-family: var(--f-sans); font-weight: 700; font-size: 40px; letter-spacing: -1.5px; }
.lg--buchanans { font-family: var(--f-serif); font-weight: 500; font-size: 34px; font-style: italic; }
.lg--meli      { font-family: var(--f-body); font-weight: 700; font-size: 29px; letter-spacing: -1px; }
.lg--coke      { font-family: var(--f-serif); font-weight: 500; font-size: 38px; font-style: italic; letter-spacing: -1px; }
.lg--caja      { font-family: var(--f-sans); font-weight: 700; font-size: 28px; letter-spacing: 1px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: var(--red);
  color: var(--ink);
  overflow: hidden;
}
.footer__inner { padding: 22vw 0 32px; will-change: transform; }

.footer__mail { display: inline-flex; flex-direction: column; margin-top: 64px; }
.footer__mail-line {
  display: block; position: relative; width: max-content;
  font-family: var(--f-sans); font-weight: 600;
  font-size: 11vw; line-height: .92; letter-spacing: -.055em; text-transform: uppercase;
  padding-bottom: .04em;
}
.footer__mail-line > span { position: relative; display: block; }
.footer__mail-line > span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: max(2px, .03em);
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .5s);
}
.footer__mail-line.is-in > span::after { transform: scaleX(1); }
.footer__mail:hover .footer__mail-line > span::after {
  animation: underline 1s var(--ease-io);
}
@keyframes underline {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.footer__cities {
  margin-top: 40px; text-align: right;
  font-family: var(--f-body); font-weight: 500; font-size: 14px; line-height: 1.3;
}

.footer__row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-top: 80px;
}
.lang { display: inline-flex; align-items: center; gap: 16px; font-family: var(--f-body); font-weight: 500; font-size: 16px; }
.lang svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang__globe { width: 30px; height: 30px; }
.lang__chev { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.lang:hover .lang__chev { transform: rotate(180deg); }

.social { display: flex; flex-direction: column; gap: 14px; }
.social a {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em;
}
.social i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); }
.social a:hover i { transform: translate(3px, -3px) rotate(45deg); }

.footer__brand {
  display: flex; justify-content: space-between;
  margin-top: 90px;
  font-family: var(--f-body); font-weight: 600;
  font-size: 27vw; line-height: .74; letter-spacing: 0;
}
.footer__brand span { display: block; will-change: transform, opacity; }

/* mobile comp: J U J U sits above the legal line */
.footer .container { display: flex; flex-direction: column; }
.footer__brand { order: 5; }
.footer__legal { order: 6; }

.footer__legal {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 48px; text-align: center;
  font-family: var(--f-body); font-weight: 500; font-size: 13px; line-height: 1.3;
}
.footer__terms { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.footer__terms:hover { background-size: 100% 1px; }

/* desktop comp (Work Detail PDF): 2 columns, mail on one line */
@media (min-width: 900px) {
  .footer { --fcol: calc(33.75vw - var(--pad)); }
  .footer__inner { padding: 6.6vw 0 4.4vw; }
  .footer .container { display: block; }
  .footer__top,
  .footer__row,
  .footer__legal {
    display: grid; grid-template-columns: minmax(0, 1fr) var(--fcol);
    align-items: start; gap: 0 24px;
  }
  .footer__top { margin-top: 4vw; }
  .footer__mail { flex-direction: row; margin-top: 0; justify-self: start; }
  .footer__mail-line { font-size: 4.08vw; letter-spacing: -.035em; }
  .footer__cities { margin-top: .3vw; text-align: left; font-size: clamp(14px, 1.18vw, 19px); line-height: 1.25; }
  .footer__row { margin-top: 6.4vw; align-items: center; }
  .lang { justify-self: start; }
  .social { flex-direction: row; gap: 28px; }
  .social a { font-size: clamp(13px, 1.05vw, 17px); }
  .footer__legal { margin-top: 7.2vw; text-align: left; font-size: clamp(13px, 1vw, 16px); }
  .footer__copy { max-width: 17em; margin: 0; text-align: left; }
  .footer__terms { justify-self: start; }
  .footer__brand { font-size: 19vw; margin-top: 5.6vw; }
}

/* =========================================================
   PAGE TRANSITION
   ========================================================= */
.page-veil {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  pointer-events: none;
  opacity: 1;
  transition: opacity .7s var(--ease);
}
.page-veil.is-off { opacity: 0; }
.page-veil.is-on { opacity: 1; transition-duration: .45s; }

/* =========================================================
   SHARED · project rows (Work page + Next work)
   ========================================================= */
.pj-list { text-align: center; }
.pj-row { transition: opacity .55s var(--ease), transform .8s var(--ease); }
.pj-link {
  position: relative; display: inline-block;
  padding: 0 .08em;
  font-size: 13vw; line-height: 1.08;
}
@media (min-width: 900px) { .pj-link { font-size: 8.4vw; line-height: 1.1; } }
.pj-name { position: relative; display: inline-block; }
.pj-serif,
.pj-sans { display: block; white-space: nowrap; }
.pj-serif {
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.035em;
  color: var(--muted);
  clip-path: inset(0 0 0 0);
  transition: clip-path .7s var(--ease);
}
.pj-sans {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em;
  color: var(--ink);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .7s var(--ease);
}
.pj-row.is-active .pj-serif { clip-path: inset(0 0 100% 0); }
.pj-row.is-active .pj-sans { clip-path: inset(0 0 0 0); }

/* filter in/out */
.pj-row.is-out { opacity: 0; transform: translate3d(0, -28px, 0); }
.pj-row.is-pre { opacity: 0; transform: translate3d(0, 28px, 0); transition: none; }

/* =========================================================
   SHARED · hover preview with glass typography
   ========================================================= */
.hp {
  position: fixed; left: 0; top: 0; z-index: 20;
  width: 64vw; aspect-ratio: 16 / 9;
  pointer-events: none;
  will-change: transform;
}
@media (min-width: 900px) { .hp { width: 26vw; } }
.hp__frame {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(50% 50% 50% 50%);
  transition: clip-path .85s var(--ease);
}
.hp.is-visible .hp__frame { clip-path: inset(0 0 0 0); }
.hp__track { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.hp__slide { position: absolute; left: 0; width: 100%; height: 100%; overflow: hidden; }
.hp__slide img,
.hp__slide video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.2);
  transition: transform 1.2s var(--ease);
}
.hp__slide.is-active img,
.hp__slide.is-active video { transform: scale(1); }

/* Glass: the hovered name, re-drawn inside the preview and filled with a
   brightened, slightly magnified copy of the image (reads as refraction). */
.hp__glass {
  position: absolute; inset: 0;
  color: transparent; -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(160deg, rgba(240,250,255,.62) 0%, rgba(205,238,255,.38) 45%, rgba(245,252,255,.6) 100%),
    var(--glass-img, none);
  background-size: 100% 100%, 124% auto;
  background-position: center, 46% 42%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  filter: saturate(.6) brightness(1.18) drop-shadow(0 0 .6px rgba(255,255,255,.95)) drop-shadow(0 6px 14px rgba(0,0,0,.18));
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.hp.is-visible .hp__glass { opacity: 1; transition-delay: .15s; }
.hp__glass span {
  position: absolute; left: 0; top: 0;
  white-space: nowrap;
}

/* =========================================================
   WORK (index)
   ========================================================= */
.wk { position: relative; padding: calc(50svh - 7vw) 0; }
@media (min-width: 900px) { .wk { padding: calc(50svh - 4.62vw) 0; } }
.wk__link { will-change: filter; }
.wk__empty {
  position: fixed; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 54px); color: var(--muted);
  opacity: 0; transition: opacity .6s var(--ease); pointer-events: none;
}
.wk.is-empty .wk__empty { opacity: 1; }

.wk-filter {
  position: fixed; left: 50%; bottom: 22px; z-index: 30;
  translate: -50% 0;
  transition: opacity .5s var(--ease), translate .7s var(--ease);
}
.wk-filter.is-hidden { opacity: 0; translate: -50% 24px; pointer-events: none; }
.wk-filter__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--f-sans); font-size: 17px; letter-spacing: -.01em; white-space: nowrap;
}
.wk-filter__label { color: #8a8a8a; font-weight: 500; }
.wk-filter__value { font-weight: 600; text-transform: uppercase; }
.wk-filter__chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .6s var(--ease); }
.wk-filter.is-open .wk-filter__chev { transform: rotate(180deg); }
.wk-filter__menu {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  min-width: 220px;
  translate: -50% 0;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05);
  opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 50% 100%;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .6s var(--ease);
}
.wk-filter.is-open .wk-filter__menu { opacity: 1; transform: none; pointer-events: auto; }
.wk-filter__opt {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 12px; border-radius: 10px;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em;
  text-align: left;
  transition: background-color .3s;
}
.wk-filter__opt:hover, .wk-filter__opt:focus-visible { background: rgba(0,0,0,.05); outline: none; }
.wk-filter__opt small { font-family: var(--f-body); font-weight: 500; font-size: 12px; color: #8a8a8a; }
.wk-filter__opt[aria-selected="true"]::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 10px;
}
.wk-filter__opt span { margin-right: auto; }

/* =========================================================
   WORK DETAIL
   ========================================================= */
.wd-hero { padding: 24svh var(--pad) 12vw; }
.wd-hero__top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.wd-hero__client {
  font-family: var(--f-sans); font-weight: 600;
  font-size: 17vw; line-height: .84; letter-spacing: -.045em;
  overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em;
}
.wd-hero__client .ch { display: inline-block; transform: translate3d(0, 105%, 0); }
.wd-hero.is-in .wd-hero__client .ch {
  transform: none;
  transition: transform 1.4s var(--ease) calc(.1s + var(--i) * .045s);
}
.wd-hero__meta,
.wd-hero__year {
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase;
}
.wd-hero__bottom { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.wd-hero__title {
  font-family: var(--f-serif); font-weight: 400; color: var(--muted);
  font-size: 11vw; line-height: .98; letter-spacing: -.035em;
  text-align: right;
  overflow: hidden;
}
.wd-hero__title > span { display: block; transform: translate3d(0, 105%, 0); }
.wd-hero.is-in .wd-hero__title > span { transform: none; transition: transform 1.5s var(--ease) .45s; }
.wd-hero__fade { opacity: 0; transition: opacity 1s var(--ease) .7s; }
.wd-hero.is-in .wd-hero__fade { opacity: 1; }

@media (min-width: 900px) {
  .wd-hero { padding: 28vh var(--pad) 4.6vw; }
  .wd-hero__top { padding-bottom: 1.8vw; }
  .wd-hero__client { font-size: 10.6vw; }
  .wd-hero__meta, .wd-hero__year { font-size: clamp(13px, 1.05vw, 16px); }
  .wd-hero__meta { padding-bottom: .9vw; }
  .wd-hero__bottom { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 3.2vw; }
  .wd-hero__title { font-size: 6.4vw; }
}

/* main video with loader + play cursor */
.wd-video {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d0d0d;
}
@media (min-width: 900px) {
  .wd-video { aspect-ratio: 16 / 9; }
  .wd-video.has-cursor { cursor: none; }
}
.wd-video__media { position: absolute; inset: -6% 0; }
.wd-video__media img,
.wd-video__media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.18);
  transition: transform 2.2s var(--ease);
}
.wd-video.is-loaded .wd-video__media img,
.wd-video.is-loaded .wd-video__media video { transform: scale(1); }

.wd-video__loader {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: var(--pad);
  background: #0d0d0d; color: #fff;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.3s var(--ease-io);
}
.wd-video.is-loaded .wd-video__loader { clip-path: inset(0 0 100% 0); }
.wd-video__loading {
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
  display: flex; align-items: center; gap: 10px;
}
.wd-video__loading::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.wd-video__count {
  font-family: var(--f-sans); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: 18vw; line-height: .8; letter-spacing: -.05em;
}
@media (min-width: 900px) { .wd-video__count { font-size: 11vw; } }
.wd-video__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: #fff;
  transform: scaleX(var(--p, 0)); transform-origin: left;
}

.wd-play {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 112px; height: 112px;
  pointer-events: none;
  will-change: transform;
}
@media (min-width: 900px) { .wd-play { width: 132px; height: 132px; } }
.wd-play__inner {
  width: 100%; height: 100%; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.58);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 10px 30px -12px rgba(0,0,0,.35);
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: -.005em;
  color: var(--ink); white-space: nowrap;
  transform: scale(0);
  transition: transform .9s var(--ease);
}
.wd-video.is-loaded .wd-play__inner { transform: scale(1); transition-delay: .6s; }
.wd-video.is-pressed .wd-play__inner { transform: scale(.88); transition-delay: 0s; transition-duration: .25s; }
.wd-video.is-playing .wd-play__inner { transform: scale(.62); }

/* overview */
.wd-overview { padding: 16vw var(--pad) 18vw; }
.wd-statement {
  margin-top: 12vw;
  font-family: var(--f-sans); font-weight: 600;
  font-size: 9.4vw; line-height: .95; letter-spacing: -.045em; text-transform: uppercase;
  text-indent: 18%;
}
.wd-statement .w { opacity: .14; }
.wd-body {
  margin-top: 16vw;
  font-family: var(--f-body); font-weight: 500;
  font-size: 15px; line-height: 1.32; text-transform: uppercase;
  text-indent: 24%;
}
@media (min-width: 900px) {
  .wd-overview { padding: 6vw var(--pad) 8vw; }
  .wd-statement { margin-top: 8.6vw; font-size: 5.6vw; text-indent: 24.6%; }
  .wd-body { margin: 10vw 0 0 39.6%; font-size: clamp(14px, 1.38vw, 22px); text-indent: 23%; }
}

/* grid (work-detail-b) */
.wd-grid {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 0 var(--pad) 18vw;
}
.wd-grid__item {
  position: relative; overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4 / 5;
  background: #eee;
  clip-path: inset(12% 0 0 0);
  transition: clip-path 1.6s var(--ease);
}
.wd-grid__item.is-in { clip-path: inset(0 0 0 0); }
.wd-grid__item--wide { aspect-ratio: 16 / 9; }
.wd-grid__item img {
  position: absolute; left: 0; top: -12%;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
}
@media (min-width: 900px) {
  .wd-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 9vw; }
  .wd-grid__item { aspect-ratio: 662 / 720; }
  .wd-grid__item--wide { grid-column: 1 / -1; aspect-ratio: 1342 / 735; }
}

/* next work */
.wd-next { padding: 8vw 0 22vw; text-align: center; }
.wd-next__label {
  font-family: var(--f-serif); font-weight: 400; color: var(--muted);
  font-size: 13vw; line-height: 1; letter-spacing: -.035em; text-transform: uppercase;
  margin-bottom: 4vw;
}
@media (min-width: 900px) {
  .wd-next { padding: 6vw 0 12vw; }
  .wd-next__label { font-size: 8.4vw; margin-bottom: 1vw; }
}

/* =========================================================
   ABOUT · 1 hero — lines converge to the center
   ========================================================= */
.ab-hero { position: relative; height: 170svh; }
.ab-hero__sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}
.ab-hero__lines {
  margin: 0; text-align: center;
  font-size: 7.4vw; line-height: 1.04; font-weight: inherit;
}
@media (min-width: 900px) { .ab-hero__lines { font-size: 6.1vw; line-height: 1; } }
.ab-line { display: block; white-space: nowrap; will-change: transform; }
.ab-line > span {
  display: inline-block;
  opacity: 0; filter: blur(14px);
  transition: opacity 1.4s var(--ease), filter 1.6s var(--ease);
}
.ab-hero.is-in .ab-line > span { opacity: 1; filter: none; }
.ab-hero.is-in .ab-line:nth-child(2) > span { transition-delay: .4s; }
.ab-hero.is-in .ab-line:nth-child(3) > span { transition-delay: .8s; }
.ab-hero.is-in .ab-line:nth-child(4) > span { transition-delay: 1.2s; }

/* =========================================================
   ABOUT · 2 partnership — image fades in, texts in sequence
   ========================================================= */
.ab-part { position: relative; height: 260svh; background: var(--paper); }
.ab-part__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.ab-part__bg { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; background: #000; }
.ab-part__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.8); }
.ab-part__tint { position: absolute; inset: 0; background: #ff0000; mix-blend-mode: multiply; }

.ab-part__t {
  position: absolute; margin: 0;
  color: #ff2419;
  overflow: hidden; padding-bottom: .05em;
}
.ab-part__t > span {
  display: block;
  transform: translate3d(0, 105%, 0);
  opacity: 0;
  transition: transform 1.5s var(--ease), opacity 1s var(--ease);
}
/* one after the other, a beat apart */
.ab-part.is-on .ab-part__t > span { transform: none; opacity: 1; }
.ab-part.is-on .ab-part__t--1 > span { transition-delay: .15s; }
.ab-part.is-on .ab-part__t--2 > span { transition-delay: .85s; }
.ab-part.is-on .ab-part__t--3 > span { transition-delay: 1.55s; }
.ab-part.is-on .ab-part__t--4 > span { transition-delay: 2.25s; }

.ab-part__t--1, .ab-part__t--3 { font-size: 13vw; line-height: .9; }
.ab-part__t--1 { left: var(--pad); top: 20%; }
.ab-part__t--2 { left: 50%; top: 42%; translate: -50% 0; font-size: 8vw; line-height: 1; }
.ab-part__t--3 { right: var(--pad); top: 58%; }
.ab-part__copy {
  left: var(--pad); right: var(--pad); bottom: 7%;
  font-family: var(--f-body); font-weight: 500; font-size: 14px; line-height: 1.3; text-transform: uppercase;
  text-indent: 30%;
}
@media (min-width: 900px) {
  .ab-part__t--1, .ab-part__t--3 { font-size: 6.4vw; }
  .ab-part__t--1 { top: 22%; }
  .ab-part__t--2 { top: 45%; font-size: 3.6vw; }
  .ab-part__t--3 { top: 62%; }
  .ab-part__copy { right: auto; width: 31%; bottom: 8%; font-size: clamp(13px, 1.2vw, 19px); text-indent: 32%; }
}

/* =========================================================
   ABOUT · 3 team
   ========================================================= */
.ab-team { padding: 18vw 0 20vw; }
.ab-team__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10vw 4vw;
  margin-top: 12vw;
}
.ab-col { display: contents; }
.ab-person:nth-child(even) { margin-top: 18vw; }
@media (min-width: 900px) {
  .ab-team { padding: 6vw 0 14vw; }
  .ab-team__grid { grid-template-columns: repeat(3, 22.5vw); justify-content: space-between; gap: 0; margin-top: 6.9vw; }
  .ab-col { display: flex; flex-direction: column; gap: 13.9vw; }
  .ab-col--side { padding-top: 20.6vw; }
  .ab-person:nth-child(even) { margin-top: 0; }
}

.ab-person {
  position: relative; display: block; width: 100%;
  text-align: left; cursor: pointer;
  will-change: transform;
}
.ab-person__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f0f0f0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.6s var(--ease);
}
.ab-person.is-in .ab-person__media { clip-path: inset(0 0 0 0); }
.ab-person__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.25);
  transition: transform 2s var(--ease), filter .8s var(--ease);
}
.ab-person.is-in .ab-person__media img { transform: scale(1.02); }
.ab-person:hover .ab-person__media img,
.ab-person:focus-visible .ab-person__media img { transform: scale(1.07); }

/* name on hover (TEAM comp): first name in serif + last name in sans with a
   left fade, both bleeding off the right edge of the photo; role in red.
   They slide in from the right and keep drifting left while hovered. */
.ab-person { container-type: inline-size; }
.ab-person:hover, .ab-person:focus-visible { z-index: 2; }
/* the label sits outside the clipped photo box, so nothing gets cut */
.ab-person__label { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 3 / 4; pointer-events: none; }
.ab-person__first,
.ab-person__last {
  position: absolute; right: 0; white-space: nowrap;
  font-size: 15.5cqw; line-height: 1;
  text-transform: uppercase;
  clip-path: inset(0 0 0 100%);
  transform: translate3d(18cqw, 0, 0);
  transition: clip-path .9s var(--ease), transform 1s var(--ease);
}
.ab-person__first > span,
.ab-person__last > span { display: block; padding: 0 .02em; }
.ab-person__first {
  top: 57%;
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.02em; color: var(--ink);
}
.ab-person__last {
  top: 69%;
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em;
  transition-delay: .07s;
}
.ab-person__last > span {
  background: linear-gradient(90deg, rgba(0,0,0,.1) 0, rgba(0,0,0,.75) 35%, #000 60%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.ab-person__role {
  position: absolute; top: 82%; right: 0;
  font-family: var(--f-sans); font-weight: 600; font-size: 5cqw; letter-spacing: -.02em; text-transform: uppercase;
  color: #ff0000; white-space: nowrap;
  opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
@media (hover: hover) {
  .ab-person:hover .ab-person__first,
  .ab-person:hover .ab-person__last,
  .ab-person:focus-visible .ab-person__first,
  .ab-person:focus-visible .ab-person__last { clip-path: inset(-10% -10% -10% -10%); transform: none; }
  .ab-person:hover .ab-person__role,
  .ab-person:focus-visible .ab-person__role { opacity: 1; transform: none; transition-delay: .25s; }
}
@media (hover: none) {
  /* touch: show the resting state of the label */
  .ab-person__first, .ab-person__last { clip-path: none; transform: none; }
  .ab-person__role { opacity: 1; transform: none; }
}

/* person modal — side panel from the right, same mechanics as the menu */
.pmodal { position: fixed; inset: 0; z-index: 60; visibility: hidden; transition: visibility 0s linear 1.1s; }
.pmodal.is-open { visibility: visible; transition: none; }
.pmodal__backdrop {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; transition: opacity .9s var(--ease);
  cursor: pointer;
}
.pmodal.is-open .pmodal__backdrop { opacity: 1; }
.pmodal__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: calc(100% - 44px);
  display: flex; flex-direction: column;
  padding: 22px var(--pad) 32px;
  background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translate3d(100%, 0, 0);
  transition: transform 1.1s var(--ease-io);
}
.pmodal.is-open .pmodal__panel { transform: none; transition-duration: 1s; }
@media (min-width: 900px) {
  .pmodal__panel { width: 41.6%; min-width: 520px; padding: 28px var(--pad) 40px 3.05vw; }
}
.pmodal__close {
  align-self: flex-end;
  font-family: var(--f-sans); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.2;
  margin-top: calc((20px - 1.2em) / 2);
}
@media (min-width: 900px) { .pmodal__close { margin-top: calc((24px - 1.2em) / 2); } }

/* "DARÍO ......... CEO / STRASCHNOY" */
.pmodal__head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: .1em;
  margin: 13svh 0 0;
  font-weight: inherit;
}
.pmodal__first {
  font-family: var(--f-serif); font-weight: 400; text-transform: uppercase;
  font-size: 13vw; line-height: .9; letter-spacing: -.03em;
}
.pmodal__role {
  justify-self: end; padding-bottom: .5em;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em;
  color: #ff0000; text-align: right;
}
.pmodal__last {
  grid-column: 1 / -1; justify-self: end; text-align: right;
  font-family: var(--f-sans); font-weight: 600; text-transform: uppercase;
  font-size: 10vw; line-height: .9; letter-spacing: -.045em;
}
@media (min-width: 900px) {
  .pmodal__head { margin-top: 10.5vh; }
  .pmodal__first { font-size: 4.5vw; }
  .pmodal__role { font-size: clamp(14px, 1.25vw, 19px); }
  .pmodal__last { font-size: 3.7vw; }
}
.pmodal__bio {
  margin-top: 9vh;
  font-family: var(--f-body); font-weight: 500; font-size: 15px; line-height: 1.35; text-transform: uppercase;
  text-indent: 22%;
}
.pmodal__media { margin-top: 5vh; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f0f0; flex: none; }
.pmodal__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.pmodal.is-open .pmodal__media img { transform: none; transition-delay: .35s; }
.pmodal__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase;
}
.pmodal__meta i { font-style: normal; }
@media (min-width: 900px) { .pmodal__bio { font-size: clamp(14px, 1.1vw, 17px); } }

/* contents rise in, staggered, while the panel slides */
.pm-rise { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.pmodal.is-open .pm-rise { opacity: 1; transform: none; transition: opacity 1s var(--ease) calc(.35s + var(--i, 0) * .07s), transform 1.3s var(--ease) calc(.35s + var(--i, 0) * .07s); }
.pmodal__first { --i: 0; } .pmodal__role { --i: 1; } .pmodal__last { --i: 2; }
.pmodal__bio { --i: 4; } .pmodal__media { --i: 5; } .pmodal__meta { --i: 6; }

/* =========================================================
   ABOUT · 4 offices
   ========================================================= */
.ab-off { padding: 6vw 0 22vw; }
@media (min-width: 900px) { .ab-off { padding: 4vw 0 10vw; } }
.of-list { margin-top: 24px; }
.of-row { border-bottom: 1px solid var(--line); }
.of-link {
  position: relative;
  display: flex; align-items: center; gap: .22em;
  padding: .14em 0 .1em;
  font-size: 8.6vw; line-height: 1;
}
.of-row--rev .of-link { flex-direction: row-reverse; }
@media (min-width: 900px) {
  .of-list { margin-top: 2.2vw; }
  .of-link { font-size: 6.2vw; padding: .2em 0 .14em; }
  .ab-off .of-link { cursor: none; }
}

.of-city { display: inline-grid; flex: none; }
.of-city > span { grid-area: 1 / 1; white-space: nowrap; }
.of-row--rev .of-city > span { justify-self: end; }
.of-serif {
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.035em; text-transform: uppercase;
  clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease);
}
.of-sans {
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em; text-transform: uppercase;
  clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease);
}
.of-time {
  flex: none;
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.04em; color: #c8c8c8;
  font-variant-numeric: tabular-nums;
  transform: translate3d(var(--d, 0px), 0, 0);
  transition: transform 1s var(--ease);
}
.of-photo {
  position: absolute; top: 50%; right: 0;
  width: 15.7vw; aspect-ratio: 157 / 68;
  translate: 0 -50%;
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .9s var(--ease);
  display: none;
}
.of-row--rev .of-photo { right: auto; left: 0; clip-path: inset(0 100% 0 0); }
.of-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 1.2s var(--ease); }

@media (hover: hover) and (min-width: 900px) {
  .of-photo { display: block; }
  .of-row:hover .of-serif { clip-path: inset(0 0 100% 0); }
  .of-row:hover .of-sans { clip-path: inset(0 0 0 0); }
  .of-row:hover .of-time { transform: none; }
  .of-row:hover .of-photo { clip-path: inset(0 0 0 0); }
  .of-row:hover .of-photo img { transform: none; }
}

/* EMAIL US cursor */
.of-cursor {
  position: fixed; left: 0; top: 0; z-index: 25;
  width: 150px; height: 150px;
  pointer-events: none;
  will-change: transform;
}
.of-cursor span {
  width: 100%; height: 100%; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--f-sans); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: -.01em;
  transform: scale(0);
  transition: transform .7s var(--ease);
}
.of-cursor.is-visible span { transform: scale(1); }

/* =========================================================
   CONTACT
   ========================================================= */
.ct { padding: 18svh var(--pad) 20vw; }
.ct__top {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding-bottom: 18px;
}
.ct__top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .35s;
}
.ct.is-in .ct__top::after { transform: scaleX(1); }
.ct__title {
  margin: 0;
  font-family: var(--f-sans); font-weight: 600;
  font-size: 19vw; line-height: .86; letter-spacing: -.05em;
}
.ct__mask { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.ct__mask > span { display: block; transform: translate3d(0, 105%, 0); transition: transform 1.6s var(--ease) .1s; }
.ct.is-in .ct__mask > span { transform: none; }
.ct__title--right { text-align: right; margin-top: 16px; }
.ct__title--right .ct__mask > span { transition-delay: .3s; }
.ct__sub {
  font-family: var(--f-sans); font-weight: 600; font-size: 14px; line-height: 1.25; text-transform: uppercase;
}
.ct__fade { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 1.2s var(--ease) .6s, transform 1.4s var(--ease) .6s; }
.ct.is-in .ct__fade { opacity: 1; transform: none; }

.ct-form { position: relative; margin-top: 12vw; }

.ct-field {
  position: relative;
  display: flex; align-items: center;
  padding: 16px 0 14px;
  border-bottom: 1px solid #b8b8b8;
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity 1s var(--ease) calc(.7s + var(--i) * .1s), transform 1.3s var(--ease) calc(.7s + var(--i) * .1s), border-color .4s;
}
.ct.is-in .ct-field, .ct.is-in .ct-send { opacity: 1; transform: none; }
.ct-field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.ct-field:focus-within::after { transform: scaleX(1); }
/* filled fields get the dot, like "● CHRIS THOMPSON" in the comp */
.ct-field::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
  margin-right: -8px;
  transform: scale(0);
  transition: transform .5s var(--ease), margin-right .5s var(--ease);
}
.ct-field.is-filled::before { transform: scale(1); margin-right: 10px; }
.ct-field input,
.ct-field textarea {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent; padding: 0; margin: 0;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-transform: uppercase;
  color: var(--ink);
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #8a8a8a; font-weight: 500; opacity: 1; }
.ct-field--area { align-items: flex-start; }
.ct-field--area::before { margin-top: .45em; }
.ct-field textarea { resize: none; min-height: 96px; line-height: 1.4; }
.ct-field.is-invalid { border-color: #e00000; }
.ct-field.is-invalid ::placeholder { color: #e00000; }
.ct-form__error {
  min-height: 1.4em; margin-top: 12px;
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase; color: #e00000;
}

.ct-send {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 0 auto;
  font-family: var(--f-sans); font-weight: 600; font-size: 26px; letter-spacing: -.02em; text-transform: uppercase;
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity 1s var(--ease) calc(.7s + var(--i, 3) * .1s), transform 1.3s var(--ease) calc(.7s + var(--i, 3) * .1s);
}
.ct-send__dot { width: 18px; height: 18px; border-radius: 50%; background: currentColor; transition: transform .6s var(--ease); }
.ct-send:hover .ct-send__dot, .ct-send:focus-visible .ct-send__dot { transform: scale(1.45); }
.ct-send[disabled] { cursor: progress; }
.ct-form.is-sending .ct-send__dot { animation: pulse .9s var(--ease-io) infinite alternate; }
@keyframes pulse { to { transform: scale(.45); } }

/* fake "sent" state */
.ct-form > *:not(.ct-done) { transition-property: opacity, transform, border-color; }
.ct-form.is-sent > *:not(.ct-done) {
  opacity: 0 !important; transform: translate3d(0, -16px, 0) !important; pointer-events: none;
  transition-duration: .6s; transition-delay: 0s;
}
.ct-done {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
  opacity: 0; transform: translate3d(0, 20px, 0); pointer-events: none;
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.ct-form.is-sent .ct-done { opacity: 1; transform: none; pointer-events: auto; transition-delay: .35s; }
.ct-done__title {
  font-family: var(--f-serif); font-weight: 400; font-size: 11vw; line-height: .95; letter-spacing: -.035em; text-transform: uppercase;
}
.ct-done__copy { max-width: 30em; font-family: var(--f-body); font-weight: 500; font-size: 15px; line-height: 1.4; }
.ct-send--ghost { margin: 8px 0 0; font-size: 18px; opacity: 1; transform: none; }
.ct-send--ghost .ct-send__dot { width: 12px; height: 12px; }

[data-page="contact"] .ab-off .view-all { display: none; }

@media (min-width: 900px) {
  .ct { padding: 21vh var(--pad) 8vw; }
  .ct__top { flex-direction: row; align-items: center; justify-content: space-between; padding-bottom: 2.6vw; }
  .ct__title { font-size: 10.3vw; }
  .ct__sub { width: 22.4vw; font-size: clamp(13px, 1.18vw, 18px); }
  .ct__title--right { margin-top: 2.9vw; }
  .ct-form { width: 46vw; margin-top: 2.6vw; }
  .ct-field { padding: 1.3vw 0 1.1vw; }
  .ct-field input, .ct-field textarea { font-size: clamp(14px, 1.05vw, 17px); }
  .ct-field textarea { min-height: 7vw; }
  .ct-send { font-size: clamp(22px, 2.3vw, 36px); }
  .ct-done__title { font-size: 4.6vw; }
}

/* =========================================================
   HOME · entrance
   ========================================================= */
[data-page="home"] .site-header > * {
  opacity: 0; transform: translate3d(0, -14px, 0);
  transition: opacity 1s var(--ease) .15s, transform 1.2s var(--ease) .15s;
}
[data-page="home"] .site-header > .site-header__menu { transition-delay: .25s; }
[data-page="home"].is-loaded .site-header > * { opacity: 1; transform: none; }

.hero__base .line > span {
  transform: translate3d(0, 110%, 0);
  opacity: 0; filter: blur(10px);
  transition: transform 1.7s var(--ease) var(--d, 0s), opacity 1.2s var(--ease) var(--d, 0s), filter 1.4s var(--ease) var(--d, 0s);
}
.hero.is-loaded .hero__base .line > span { transform: none; opacity: 1; filter: none; }

/* row rules draw from the left */
.hero__base .h-row { position: relative; border-bottom-color: transparent; }
.hero__base .h-row:not(.h-row--last)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--line);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.8s var(--ease) var(--rd, 0s);
}
.hero.is-loaded .hero__base .h-row::after { transform: scaleX(1); }

/* reveal blocks on the home get a slightly longer, softer stagger */
[data-page="home"] .work__row[data-reveal]:nth-child(2) { --d: .06s; }
[data-page="home"] .work__row[data-reveal]:nth-child(3) { --d: .12s; }
[data-page="home"] .work__row[data-reveal]:nth-child(4) { --d: .18s; }
[data-page="home"] .work__row[data-reveal]:nth-child(5) { --d: .24s; }
[data-page="home"] .work__row[data-reveal]:nth-child(6) { --d: .3s; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}
