/* ============================================
   FONTS — Die Grotesk (Klim), variable: wght 100–900, opsz 6–42
============================================ */
@font-face {
  font-family: 'Die Grotesk';
  src: url('assets/fonts/die-grotesk-roman.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Die Grotesk';
  src: url('assets/fonts/die-grotesk-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Concrette S (Displaay) — italic accents: taglines + roles */
@font-face {
  font-family: 'Concrette S';
  src: url('assets/fonts/concrette-s-light-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Concrette S';
  src: url('assets/fonts/concrette-s-regular-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Concrette S';
  src: url('assets/fonts/concrette-s-medium-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ============================================
   TOKENS
============================================ */
:root {
  --c-bg: #ffffff;
  --c-fg: #000000;
  --c-ink: #070506;
  --c-muted: rgba(0, 0, 0, 0.5);
  --c-muted-light: rgba(255, 255, 255, 0.5);
  --c-line: rgba(0, 0, 0, 0.18);

  /* Fluid scale anchored to the Figma 1920px design */
  --max-w: 1920px;
  --gutter: clamp(20px, 3.125vw, 60px);

  --fs-display: clamp(64px, 8.99vw, 172.64px);  /* 172.64 @ 1920px */
  --fs-h2: clamp(28px, 2.08vw, 40px);            /* 40 @ 1920px */
  --fs-lead: clamp(18px, 1.47vw, 28.184px);
  --fs-body: clamp(16px, 1.25vw, 24px);
  --fs-tag: clamp(13px, 0.94vw, 18px);
  --fs-meta: clamp(14px, 0.94vw, 18px);

  --tracking-display: 0.05em;

  --font-display: 'Die Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Geologica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-italic: 'Concrette S', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; }

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

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }

ul { list-style: none; margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, p { margin: 0; }

/* Display heads */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.895;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  margin: 0;
}
.section-title--dark { color: var(--c-ink); }
.section-title--light { color: #fff; }

/* ============================================
   REVEAL ANIMATION (Intersection Observer)
============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 40px);
  padding: clamp(24px, 3.3vw, 60px) var(--gutter) 24px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

/* Two independent regions — left (logo) and right (menu+burger) detect their
   own backgrounds. Two possible colors only: white or ink. */
.nav__logo,
.nav__menu,
.nav__burger {
  color: #fff;
  transition: color 0.35s var(--ease);
}
.nav__logo.is-dark,
.nav__menu.is-dark,
.nav__burger.is-dark {
  color: var(--c-ink);
}

.nav__logo {
  display: inline-flex;
  width: 33px;
  height: 54px;
  transition: opacity 0.25s var(--ease), color 0.35s var(--ease);
}
.nav__logo:hover { opacity: 0.75; }
.nav__logo-svg { width: 100%; height: 100%; display: block; }

/* Hero meta: name + Auckland placed below the menu, left edge aligned with the
   "About me" nav link (set dynamically by JS via --meta-left). */
.hero__meta {
  position: absolute;
  top: clamp(160px, 12.5vw, 200px);
  left: var(--meta-left, auto);
  right: var(--meta-right, clamp(40px, 8.95vw, 172px));
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.47vw, 28.18px);
  letter-spacing: 0.09em;
  line-height: 1.1;
  color: #fff;
  text-align: left;
  pointer-events: none;
}
.hero__name { display: block; }
.hero__city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: clamp(20px, 2vw, 36px);
  font-size: 1em; /* match "Fedor Mitrofanov" size */
  color: #fff;
}
.hero__city-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  color: #fff;
  flex-shrink: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.24vw, 43px);
}
.nav__link, .nav__lang {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-meta);
  line-height: 1.55;
  letter-spacing: 0.0074em;
  color: inherit;
  position: relative;
  display: inline-block;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left center; }

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  transition: opacity 0.25s var(--ease);
}
.nav__lang:hover { opacity: 0.75; }
.nav__lang-icon { width: 19px; height: 19px; display: block; color: inherit; }

.nav__burger {
  display: none;
  width: 36px;
  height: 28px;
  position: relative;
  z-index: 60;
}
.nav__burger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger span:first-child { top: 9px; }
.nav__burger span:last-child  { top: 17px; }
.nav.is-open .nav__burger span:first-child { top: 13px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child  { top: 13px; transform: rotate(-45deg); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: #aebccb;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}

.hero__title {
  position: absolute;
  left: var(--gutter);
  bottom: var(--gutter);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.895;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: #fff;
  display: block;
  pointer-events: none;
}
.hero__line { display: block; }

/* ============================================
   WORK
============================================ */
.work {
  background: #fff;
  padding-top: clamp(80px, 9vw, 160px);
  padding-bottom: clamp(40px, 5vw, 90px);
  position: relative;
}

.work .section-title {
  padding-left: var(--gutter);
}

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 5vw, 100px);
}

.work__cell {
  margin: 0;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.work__cell--image img,
.work__cell--image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.work__cell--image:hover img,
.work__cell--image:hover video { transform: scale(1.04); }

.work__cell--placeholder .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a3b1f 0%, #0d2412 100%);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  padding: 24px;
}

/* Project text cell — content split top + bottom */
.work__cell--text {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(40px, 3.1vw, 60px) var(--gutter);
}

.project-head {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--c-fg);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.project-tags li {
  border: 1.3px solid var(--c-fg);
  border-radius: 60px;
  padding: 6px 15px;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: var(--fs-tag);
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.project-tags li:hover {
  background-color: var(--c-fg);
  color: #fff;
}

.project-desc {
  align-self: end;
  max-width: 604px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.2;
  color: var(--c-fg);
}
.project-desc__lede {
  display: block;
  margin-bottom: 6px;
  color: var(--c-muted);
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  transform: translateY(5px); /* drop only the italic line; body stays put */
}

/* ============================================
   ABOUT
============================================ */
.about {
  position: relative;
  width: 100%;
  height: clamp(900px, 70vw, 1216px);
  overflow: hidden;
  color: #fff;
  background: var(--c-ink);
}
.about__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.about__bg img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.about__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,5,6,0) 0%, rgba(7,5,6,0.25) 60%, rgba(7,5,6,0.55) 100%);
}
.about__inner {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 8vw, 150px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3.5vw, 70px);
  max-width: var(--max-w);
}
.about__body {
  max-width: 738px;
  font-size: var(--fs-lead);
  line-height: 1.35;
  font-weight: 300;
  color: #fff;
}
.about__cv {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border: 1.3px solid rgba(255, 255, 255, 0.6);
  border-radius: 60px;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: var(--fs-tag);
  color: #fff;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.about__cv:hover {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}
.about__cv-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease-out);
}
.about__cv:hover .about__cv-icon { transform: translateY(3px); }

/* ============================================
   EXPERIENCE
============================================ */
.experience {
  background: #fff;
  padding: clamp(80px, 9vw, 170px) var(--gutter) clamp(80px, 9vw, 180px);
}
.experience__title {
  margin-bottom: clamp(40px, 4vw, 80px);
  max-width: 1477px;
}

.experience__list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 100px);
  max-width: 1800px;
}

.exp-row {
  display: grid;
  grid-template-columns: minmax(200px, 380px) 1fr;
  gap: clamp(60px, 7vw, 140px);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(30px, 3vw, 60px);
  align-items: start;
}

.exp-row__year {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: 0.032em;
  color: var(--c-fg);
  white-space: nowrap;
}

.exp-row__body {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 50px);
  max-width: 890px;
}

.exp-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exp-block__label {
  font-size: var(--fs-meta);
  line-height: 1.55;
  letter-spacing: 0.0074em;
  color: var(--c-fg);
  margin-bottom: 8px;
}
.exp-block__company {
  font-size: var(--fs-lead);
  line-height: 1.2;
  font-weight: 300;
  color: var(--c-fg);
}
.exp-block__role {
  font-size: var(--fs-lead);
  line-height: 1.2;
  font-family: var(--font-italic);
  font-weight: 400;
  font-style: italic;
  color: var(--c-muted);
  margin-top: -8px; /* tighten company → role into a pair (gap ~4px) */
  margin-bottom: 6px;
}
.exp-block__copy {
  margin-top: 14px;
  font-size: var(--fs-body);
  line-height: 1.35;
  font-weight: 300;
  color: var(--c-fg);
  max-width: 890px;
}
/* Tighten the vertical gap between <br/><br/>-separated items so the
   bullets feel grouped rather than spaced like separate paragraphs. */
.exp-block__copy br {
  display: block;
  content: "";
  margin-top: 0.35em;
  line-height: 0;
}

/* ============================================
   LET'S CHAT
============================================ */
.chat {
  background: var(--c-ink);
  color: #fff;
  padding: clamp(100px, 11vw, 220px) var(--gutter) clamp(60px, 5vw, 100px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(60px, 7vw, 140px);
}
.chat__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.895;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: baseline;
}
.chat__apos {
  display: inline-block;
  margin: 0 -0.06em 0 -0.12em;
  transform: translateY(-0.02em);
}

.chat__links {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 24px);
}
.chat__socials {
  margin-top: clamp(24px, 2.6vw, 56px);
}
.chat__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 64px);
  letter-spacing: 0.07em;
  line-height: 1;
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 8px;
  transition: opacity 0.25s var(--ease), border-color 0.3s var(--ease);
}
.chat__link:hover { opacity: 0.75; border-color: #fff; }

.chat__socials {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 50px);
  font-size: var(--fs-lead);
  font-weight: 300;
}
.chat__social {
  position: relative;
}
.chat__social::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}
.chat__social:hover::after { transform: scaleX(1); transform-origin: left center; }

.chat__footer {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-meta);
  color: rgba(255,255,255,0.6);
}

/* ============================================
   RESPONSIVE — TABLET
============================================ */
@media (max-width: 1280px) {
  :root {
    --gutter: clamp(20px, 3.5vw, 48px);
  }
  .exp-row { grid-template-columns: minmax(150px, 240px) 1fr; gap: clamp(30px, 5vw, 80px); }
}

/* ============================================
   RESPONSIVE — MOBILE
============================================ */
@media (max-width: 860px) {
  :root {
    --gutter: 20px;
    --fs-display: clamp(48px, 14vw, 90px);
    --fs-h2: clamp(24px, 5.5vw, 36px);
    --fs-lead: clamp(16px, 4vw, 22px);
    --fs-body: 16px;
    --fs-tag: 13px;
    --fs-meta: 14px;
  }

  /* Nav */
  .nav {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .nav__logo { width: 26px; height: 42px; }
  .hero__meta {
    top: 80px;
    right: 20px;
    font-size: 12px;
    align-items: flex-end;
  }
  .hero__city { padding-left: 0; }
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7,5,6,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 80px var(--gutter);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 55;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  /* Open mobile menu forces white text regardless of section theme */
  .nav.is-open { color: #fff; }
  .nav__menu .nav__link,
  .nav__menu .nav__lang {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1;
    color: #fff;
  }
  .nav__burger { display: block; }

  /* Hero */
  .hero { min-height: 560px; height: 100vh; }
  .hero__title { bottom: var(--gutter); }

  /* Work — single column. Desktop pairs each row as image+text or text+image;
     on mobile we keep those same row pairs but always show image first, then
     its text, for blocks 1 → 4. */
  .work__grid {
    grid-template-columns: 1fr;
  }
  .work__cell { aspect-ratio: auto; }
  .work__cell:nth-child(1) { order: 1; } /* Block 1: image (row 1 L) */
  .work__cell:nth-child(2) { order: 2; } /* Block 1: text  (row 1 R) */
  .work__cell:nth-child(4) { order: 3; } /* Block 2: image (row 2 R) */
  .work__cell:nth-child(3) { order: 4; } /* Block 2: text  (row 2 L) */
  .work__cell:nth-child(5) { order: 5; } /* Block 3: image (row 3 L) */
  .work__cell:nth-child(6) { order: 6; } /* Block 3: text  (row 3 R) */
  .work__cell:nth-child(8) { order: 7; } /* Block 4: image (row 4 R) */
  .work__cell:nth-child(7) { order: 8; } /* Block 4: text  (row 4 L) */
  .work__cell--image { aspect-ratio: 1 / 1; }
  .work__cell--text {
    padding: 32px var(--gutter) 56px;
    min-height: auto;
    gap: 32px;
    grid-template-rows: auto auto;
  }
  .project-desc { margin-top: 8px; }
  .work__cell--placeholder .placeholder { aspect-ratio: 1 / 1; }

  /* About */
  .about { height: auto; min-height: 600px; padding-bottom: 60px; }
  .about__inner { padding-top: 60px; padding-bottom: 60px; gap: 28px; }

  /* Experience */
  .exp-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
  }
  .exp-row__year { font-size: 22px; }
  .exp-block__copy { font-size: 15px; }

  /* Chat */
  .chat { min-height: auto; padding-top: 100px; padding-bottom: 60px; gap: 60px; }
  .chat__link { font-size: clamp(22px, 6vw, 36px); }
  .chat__socials { font-size: 16px; gap: 18px; }
  .chat__footer { flex-direction: column; gap: 8px; font-size: 12px; }
}

@media (max-width: 480px) {
  .hero__meta { font-size: 10px; }
  .hero__name { font-size: 11px; }
}

/* ============================================
   PROJECT / CASE PAGE — cinematic (Shuka-style)
============================================ */
.case { background: #fff; color: var(--c-ink); }

/* Full-screen hero */
.case-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
}
.case-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.case-hero__bg img {
  position: absolute;
  top: -10%; left: 0;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}
.case-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.5) 100%);
}
.case-hero__back {
  position: absolute;
  top: clamp(108px, 12vw, 150px);
  left: var(--gutter);
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-meta);
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease);
}
.case-hero__back:hover { opacity: 1; }
.case-hero__title {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(48px, 6vw, 100px);
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: #fff;
}
.case-hero__tags {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(52px, 6vw, 106px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-meta);
  color: #fff;
}

/* Lead concept — large single column */
.case-lead {
  padding: clamp(70px, 10vw, 180px) var(--gutter);
  max-width: 1240px;
}
.case-lead--narrow {
  padding-top: clamp(40px, 5vw, 90px);
  padding-bottom: clamp(40px, 5vw, 90px);
}
.case-lead__lede {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--c-muted);
  margin: 0 0 clamp(20px, 2vw, 36px);
}
.case-lead__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 34px);
  line-height: 1.35;
  margin: 0;
  max-width: 1000px;
}

/* Deliverables — text list separated by dots */
.case-deliv {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(14px, 3vw, 56px);
  padding: 0 var(--gutter) clamp(70px, 10vw, 160px);
}
.case-deliv__label {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  color: var(--c-muted);
}
.case-deliv__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.5vw, 28px);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-lead);
}
.case-deliv__list li { position: relative; }
.case-deliv__list li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: calc(-1 * clamp(12px, 1.5vw, 28px) / 2 - 2px);
  color: var(--c-muted);
}

/* Media shots */
.case-shot { margin: 0; overflow: hidden; background: #ececec; }
.case-shot img, .case-shot video { display: block; width: 100%; height: auto; }
.case-shot--full { width: 100%; }
.case-shot--center {
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 80px) var(--gutter);
  background: transparent;
  overflow: visible;
}
.case-shot--center img { background: #ececec; }

/* Big statement */
.case-statement { padding: clamp(80px, 12vw, 200px) var(--gutter); }
.case-statement h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 82px);
  line-height: 1.03;
  letter-spacing: 0.02em;
  max-width: 1320px;
  margin: 0;
}

/* Bento showcase */
.case-bento { padding: clamp(8px, 1vw, 18px) var(--gutter) clamp(60px, 8vw, 130px); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(92px, 11vw, 200px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 16px);
}
.bento__item {
  margin: 0;
  overflow: hidden;
  background: #ececec;
  grid-column: span 1;
  grid-row: span 2;
}
.bento__item img,
.bento__item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.bento__item:hover img,
.bento__item:hover video { transform: scale(1.04); }
.bento__item--wide { grid-column: span 2; grid-row: span 2; }
.bento__item--lg   { grid-column: span 2; grid-row: span 2; }
.bento__item--tall { grid-column: span 1; grid-row: span 3; }

/* Credits (end) */
.case-credits-end {
  border-top: 1px solid var(--c-line);
  padding: clamp(56px, 7vw, 120px) var(--gutter);
}
.case-credits-end__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 clamp(30px, 3vw, 56px);
}
.case-credits-end__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 50px);
}
.case-credit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-meta);
  line-height: 1.5;
}
.case-credit__label { color: var(--c-muted); margin-bottom: 8px; }

/* Next project */
.case-next {
  border-top: 1px solid var(--c-line);
  padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(60px, 7vw, 120px);
}
.case-next__label { font-family: var(--font-body); font-size: var(--fs-meta); color: var(--c-muted); }
.case-next__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}
.case-next__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  margin: 0;
  transition: opacity 0.3s var(--ease);
}
.case-next__arrow {
  font-size: clamp(36px, 5vw, 86px);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out);
}
.case-next__link:hover .case-next__title { opacity: 0.55; }
.case-next__link:hover .case-next__arrow { transform: translate(10px, -10px); }

@media (max-width: 860px) {
  .case-hero__tags { display: none; }
  .case-deliv { flex-direction: column; gap: 14px; }
  .case-credits-end__grid { grid-template-columns: repeat(2, 1fr); }
  /* Bento → 2 columns on mobile */
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 30vw, 200px); }
  .bento__item--wide,
  .bento__item--lg { grid-column: span 2; grid-row: span 2; }
  .bento__item--tall { grid-column: span 1; grid-row: span 3; }
}

/* Work project title link */
.project-title__link { color: inherit; transition: opacity 0.25s var(--ease); }
.project-title__link:hover { opacity: 0.55; }
