/* ═══════════════════════════════════════════════════════════════
   ATGD — Design system & global styles
   Mirrors atgd.framer.website: Geist, monochrome, 30px gutters,
   90px section rhythm, Framer breakpoints (810 / 1200 / 1920).
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colour */
  --white:   #ffffff;
  --surface: #f2f2f2;   /* alternate section fill */
  --line:    #dedede;   /* rules, rotated side labels */
  --muted:   #8d8d8d;   /* secondary text, numbering */
  --ink:     #242424;   /* primary text */
  --black:   #000000;   /* hero + footer */

  /* Type families */
  --font:  "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-clock: "Inter", var(--font);

  /* Type scale — desktop values, fluid down to Framer's phone sizes */
  --fs-display: clamp(60px, 6.95vw, 100px);   /* h1  “My work”            */
  --fs-title:   clamp(40px, 5.56vw, 80px);    /* h2  “/07”, “services”     */
  --fs-side:    clamp(60px, 6.95vw, 100px);   /* rotated side labels       */
  --fs-lead:    clamp(22px, 2.36vw, 34px);    /* h3  intro statement       */
  --fs-sub:     clamp(24px, 2.5vw, 36px);     /* list headings “AI-Driven Video” */
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-nav:     14px;
  --fs-label:   11px;

  --lh-display: .8;
  --lh-lead:    1.2;
  --lh-body:    1.4;
  --lh-small:   1.3;
  --lh-label:   1.6;

  --ls-display: -.04em;
  --ls-side:    -.07em;
  --ls-lead:    -.06em;
  --ls-nav:     -.03em;
  --ls-text:    -.02em;

  /* Space */
  --gutter:      30px;
  --section-gap: 90px;
  --headline-pt: 40px;
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px; --sp-4: 24px;
  --sp-5: 30px; --sp-6: 40px; --sp-7: 60px; --sp-8: 90px;

  /* Shape */
  --radius-s: 8px;
  --radius-m: 16px;
  --dot: 15px;

  /* Motion — Framer's default ease + its soft spring approximation */
  --ease:        cubic-bezier(.44, 0, .56, 1);
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --dur-fast:    .3s;
  --dur:         .6s;
  --dur-slow:    .9s;
}

@media (max-width: 1199.98px) {
  :root { --section-gap: 75px; }
}
@media (max-width: 809.98px) {
  :root {
    --section-gap: 60px;
    --fs-label: 12px;
    --lh-display: .9;
  }
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-text);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }

::selection { background: var(--ink); color: var(--white); }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
.t-display {                       /* “My work” */
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
.t-title {                         /* “/07”, “services”, “work principles” */
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
.t-lead {                          /* intro statement */
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: var(--lh-lead);
  letter-spacing: var(--ls-lead);
}
.t-sub {
  font-size: var(--fs-sub);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.t-nav {                           /* top bar, “/Worked with” */
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
}
.t-label {                         /* “SELECTED PROJECTS”, card titles */
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: var(--lh-label);
  letter-spacing: var(--ls-text);
  text-transform: uppercase;
}
.t-body  { font-size: var(--fs-body);  line-height: var(--lh-body);  letter-spacing: var(--ls-text); }
.t-small { font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-text); }

.c-muted { color: var(--muted); }
.c-line  { color: var(--line); }
.c-white { color: var(--white); }

/* ── 4. LAYOUT PRIMITIVES ──────────────────────────────────── */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding: 0 var(--gutter) var(--section-gap);
  background: var(--white);
}
.section--surface { background: var(--surface); }
.section--dark    { background: var(--black); color: var(--white); }

/* Content column that leaves room for the rotated side label */
.with-side {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: clamp(60px, 13vw, 220px);
}
@media (max-width: 1199.98px) {
  .with-side { column-gap: 60px; }
}
@media (max-width: 809.98px) {
  .with-side { grid-template-columns: 1fr; }
}

.rule { height: 1px; background: var(--line); border: 0; width: 100%; }

/* ── 5. SHARED COMPONENTS ──────────────────────────────────── */

/* 5a. Section head-line:  01 ───────────────── /introduction */
.head-line {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--headline-pt);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls-text);
  text-transform: uppercase;
}
.head-line__num  { color: var(--muted); }
.head-line__rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}
.head-line__name { color: var(--ink); }
.section--dark .head-line__name { color: var(--white); }
.section--dark .head-line__rule { background: rgba(255,255,255,.18); }

/* 5b. Rotated side label: “/about me”, “featured”, “what i do” */
.side-label {
  position: sticky;
  top: var(--sp-8);
  align-self: start;
  width: 80px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: var(--fs-side);
  font-weight: 700;
  line-height: .8;
  letter-spacing: var(--ls-side);
  color: var(--line);
  white-space: nowrap;
  user-select: none;
}
@media (max-width: 809.98px) {
  .side-label { display: none; }
}

/* 5c. Heading dots “..” that precede section titles */
.dots {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  vertical-align: baseline;
}
.dots i {
  width: var(--dot); height: var(--dot);
  border-radius: 50%;
  background: var(--ink);
}
.dots i + i { background: var(--muted); }
.section--dark .dots i:first-child { background: var(--white); }

.title-row { display: flex; align-items: flex-end; gap: 4px; }

/* 5d. Corner-bracket button with rolling label */
.btn-corners {
  --btn-h: 66px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: var(--btn-h);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls-text);
  text-transform: uppercase;
}
.btn-corners::before,
.btn-corners::after {           /* four 7px corner ticks */
  --c: linear-gradient(currentColor, currentColor);
  content: "";
  position: absolute;
  top: 1px; bottom: 1px;
  width: 7px;
  background-repeat: no-repeat;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-corners::before {
  left: 1px;
  background-image: var(--c), var(--c), var(--c), var(--c);
  background-size: 7px 1px, 1px 7px, 7px 1px, 1px 7px;
  background-position: left top, left top, left bottom, left bottom;
}
.btn-corners::after {
  right: 1px;
  background-image: var(--c), var(--c), var(--c), var(--c);
  background-size: 7px 1px, 1px 7px, 7px 1px, 1px 7px;
  background-position: right top, right top, right bottom, right bottom;
}
.btn-corners:hover::before { transform: translateX(6px); }
.btn-corners:hover::after  { transform: translateX(-6px); }

.roll {                          /* label that rolls upward on hover */
  position: relative;
  display: inline-block;
  height: 1.6em;
  overflow: hidden;
}
.roll > span {
  display: block;
  transition: transform var(--dur) var(--ease-out);
}
.roll > span + span { position: absolute; top: 100%; left: 0; }
a:hover .roll > span,
button:hover .roll > span,
.roll:hover > span { transform: translateY(-100%); }

.btn-corners--light { color: var(--white); }

/* 5e. Underline link (nav, socials) */
.link-line {
  position: relative;
  display: inline-block;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur) var(--ease-out);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left center; }

/* 5f. Media frame — rounded, zoom on hover */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--line);
}
.media > img,
.media > video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
a:hover > .media > img,
a:hover > .media > video,
.media:hover > img,
.media:hover > video { transform: scale(1.04); }
.media--lg { border-radius: var(--radius-m); }

/* 5g. Live clock */
.clock {
  font-family: var(--font-clock);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
}

/* ── 6. MOTION ─────────────────────────────────────────────── */

/* 6a. Appear: fade + rise + de-blur (Framer “Appear” effect) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition:
    opacity   var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out),
    filter    var(--dur-slow) var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* 6b. Rule draw-in for head-lines */
.head-line .head-line__rule { transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.head-line.is-in .head-line__rule { transform: scaleX(1); }

/* 6c. Split text: per-character rise (intro statement, big titles) */
.split .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(.35em);
  filter: blur(4px);
  transition:
    opacity   .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter    .7s var(--ease-out);
  transition-delay: min(calc(var(--i) * 8ms), .6s);
}
.split .w { display: inline-block; white-space: nowrap; }
.split.is-in .ch { opacity: 1; transform: none; filter: none; }

/* 6d. Marquee (logo strip, “GET IN TOUCH”) */
.marquee { overflow: hidden; display: flex; }
.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--marquee-gap, 60px);
  padding-right: var(--marquee-gap, 60px);
  animation: marquee var(--marquee-dur, 30s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .split .ch, .head-line .head-line__rule {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .marquee__track { animation: none; }
}

/* ── 7. UTILITIES ──────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hide-mobile  { }
.show-mobile  { display: none; }
@media (max-width: 809.98px) {
  .hide-mobile { display: none; }
  .show-mobile { display: revert; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── S1. TOP BAR ───────────────────────────────────────────── */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  height: 64px;
  color: var(--white);
}
.site-nav__id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 45.3%;
  padding: 21px var(--gutter);
}
.site-nav__name  { color: var(--surface); }
.site-nav__email { text-transform: lowercase; }
.site-nav__end {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: var(--gutter);
}

/* Burger: 35px + 21px lines → shallow X */
.burger {
  position: relative;
  width: 37px;
  height: 11px;
  margin: -12px -4px;       /* larger hit area without moving the icon */
  padding: 12px 4px;
  box-sizing: content-box;
}
.burger span {
  position: absolute;
  right: 5px;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), width var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.burger span:nth-child(1) { top: 13px; width: 35px; }
.burger span:nth-child(2) { top: 22px; width: 21px; }
.burger:hover span:nth-child(2) { width: 35px; }
.is-menu-open .burger span { top: 17.5px; width: 36px; }
.is-menu-open .burger span:nth-child(1) { transform: rotate(15deg); }
.is-menu-open .burger span:nth-child(2) { transform: rotate(-15deg); }

@media (max-width: 809.98px) {
  .site-nav { align-items: flex-start; height: auto; }
  .site-nav__id {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter);
  }
  .site-nav__end { padding-top: 24px; }
}

/* ── S2. MENU OVERLAY ──────────────────────────────────────── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
  padding: 124px var(--gutter) 36px;
  background: rgba(0, 0, 0, .95);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.is-menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}
.is-menu-open { overflow: hidden; }

.menu__head {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-6);
  height: 100%;
}
.menu__title { white-space: nowrap; letter-spacing: var(--ls-side); }
.menu__photo {
  width: 292px;
  height: 100%;
  border-radius: 0;
  background: #111;
}
.menu__photo img,
.about__photo img { filter: grayscale(1) contrast(1.05); }

.menu__side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  width: 220px;
}
.menu__links { display: flex; flex-direction: column; gap: 3px; }
.menu__link {
  display: block;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.06em;
}
.menu__link .roll { display: block; height: 1.2em; }

/* Stagger the menu contents in */
.menu__photo, .menu__title, .menu__links li, .menu__side .btn-corners {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.is-menu-open .menu__photo,
.is-menu-open .menu__title,
.is-menu-open .menu__links li,
.is-menu-open .menu__side .btn-corners {
  opacity: 1;
  transform: none;
  transition-delay: calc(.12s + var(--d, 0) * 60ms);
}

@media (max-width: 1199.98px) {
  .menu__photo { width: 220px; }
}
@media (max-width: 809.98px) {
  .menu {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 110px var(--gutter) 40px;
  }
  .menu__head { display: none; }
  .menu__side { width: 100%; gap: var(--sp-7); }
  .menu__links { gap: 31px; }
  .menu__link { font-size: 22px; letter-spacing: -.04em; }
}

/* ── S3. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: 90px var(--gutter) 30px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.08);
  transition: transform 2.4s var(--ease-out);
}
.is-loaded .hero__bg img { transform: none; }

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hero__role { color: var(--line); max-width: 6em; }
.hero__place {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__place .t-nav { color: var(--line); }
.hero__place .clock { color: var(--white); }

.hero__bottom { display: flex; flex-direction: column; gap: 6px; }
.hero__slogan {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-7);
}
.hero__count { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.hero__num {
  font-size: clamp(40px, 6.95vw, 100px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: var(--ls-side);
}
.hero__count .t-label { font-size: var(--fs-small); }
.hero__title {
  font-size: clamp(60px, 11.8vw, 170px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.hero__rule {
  height: 1px;
  background: var(--white);
  opacity: .3;
  transform-origin: left center;
}
.hero__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3px;
}
.hero__social { display: flex; gap: 23px; }
.hero__social a { color: var(--muted); transition: color var(--dur-fast) var(--ease); }
.hero__social a:hover { color: var(--white); }

/* Load-in sequence (hero is above the fold, so it plays on load not on scroll) */
.hero [data-load] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 120ms + .2s);
}
.hero .hero__rule[data-load] { transform: scaleX(0); transition-duration: 1.4s; }
.is-loaded .hero [data-load] { opacity: 1; transform: none; }

@media (max-width: 809.98px) {
  .hero__slogan { flex-direction: column; align-items: stretch; gap: 25px; }
  .hero__count { align-items: flex-end; text-align: right; }
  .hero__num { letter-spacing: var(--ls-display); }
  .hero__count .t-label { font-size: var(--fs-label); }
  .hero__title { line-height: .9; }
  .hero__place { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .hero [data-load], .hero__bg img,
  .menu__photo, .menu__title, .menu__links li, .menu__side .btn-corners {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── S4. INTRODUCTION ──────────────────────────────────────── */
.side-label--abs {
  position: absolute;
  top: 0; left: 0;
}

.intro__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
  padding-left: 230px;
}
.intro__lead { padding-right: var(--gutter); }

.intro__row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.intro__me {
  display: flex;
  align-items: center;
  gap: 20px;
}
.intro__avatar {
  flex-shrink: 0;
  width: 209px;
  height: 153px;
  border-radius: 10px;
  transform: perspective(1200px);
  transition: transform var(--dur) var(--ease-out);
  will-change: transform;
}
.intro__avatar img { object-position: 50% 62%; }
.intro__bio { width: 394px; }
.intro__bio strong { font-weight: 700; }

.intro__clients {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 81px;
  margin-top: calc(var(--section-gap) - var(--sp-7));
  border-top: 1px solid var(--line);
}
.intro__clients-label { flex-shrink: 0; white-space: nowrap; }
.intro__logos {
  flex: 1;
  height: 80px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 50%, transparent 100%);
}
.intro__logos li {
  display: flex;
  align-items: center;
  width: 80px;
  height: 80px;
}
.intro__logos img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(.9);
  opacity: .75;
}

@media (max-width: 1199.98px) {
  .intro__body { padding-left: 140px; }
  .intro__row { flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
  .intro__bio { width: auto; max-width: 394px; }
}
@media (max-width: 809.98px) {
  .intro__body { padding-left: 0; gap: var(--sp-6); }
  .intro__lead { padding-right: 0; }
  .intro__row,
  .intro__me { flex-direction: column; align-items: center; }
  .intro__row { gap: var(--sp-6); }
  .intro__me { gap: 25px; align-self: stretch; }
  .intro__bio { width: auto; }
  .intro__clients { margin-top: 0; }
  .intro__clients-label { display: none; }
}

/* ── S5. FEATURED WORK ─────────────────────────────────────── */
.work__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding-left: 230px;
}
.work__side { top: 493px; }

.work__header {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.work__title {
  font-size: clamp(60px, 9.72vw, 140px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.04em;
}

.work__list {
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  cursor: pointer;
}
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1135 / 643;
  border-radius: var(--radius-s);
  background: var(--line);
  transition: transform var(--dur) var(--ease-out);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.work-card:hover .work-card__media { transform: scale(1.02); }
.work-card__name {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls-text);
  text-transform: uppercase;
}

@media (max-width: 1199.98px) {
  .work__body { padding-left: 140px; }
  .work__side { top: 340px; }
}
@media (max-width: 809.98px) {
  .work__body { padding-left: 0; }
  .work__header { flex-direction: column; align-items: center; gap: 10px; }
  .work__list { gap: var(--sp-6); }
  .work-card__media { aspect-ratio: 330 / 247; }
  .work-card__details { padding-top: 0; }
}

/* ── S6. WORK PRINCIPLES ───────────────────────────────────── */
.principles {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 230px;
}
.principles__side { top: 125px; }
.principles__header { gap: 10px; }
.principles__title {
  font-size: clamp(40px, 6.95vw, 100px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: var(--ls-side);
}

.principles__intro {
  display: flex;
  align-items: flex-start;
  gap: 259px;
  margin-bottom: 5px;
}
.principles__sub { flex-shrink: 0; width: 200px; padding-top: 8px; }
.principles__lead {
  max-width: 676px;
  font-size: clamp(22px, 2.78vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.06em;
}

.bento { display: flex; flex-direction: column; gap: 10px; }
.bento__row { display: flex; gap: 10px; }
.bento__row--top { height: 372px; }
.bento__row--top > .pr { flex: 1; }
.bento__row--bottom { height: 251px; }
.bento__pair { flex: 795; display: flex; gap: 10px; }
.bento__pair > .pr { flex: 1; }
.bento__stack { flex: 331; display: flex; flex-direction: column; gap: 10px; }
.bento__stack > .pr--clock { flex: none; height: 148px; }
.bento__stack > .pr--white { flex: none; height: 93px; }

/* Panel */
.pr {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius-s);
  isolation: isolate;
}
.pr__tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.pr:hover .pr__tex { transform: scale(1.06); }
.pr__dot {
  position: absolute;
  top: 10px; right: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}
.pr__title {
  font-size: clamp(22px, 2.78vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.06em;
}

.pr--dark  { background: var(--ink); color: var(--white); }
.pr--dark .pr__tex { filter: invert(1); opacity: .32; }
.pr--light { background: var(--white); color: var(--ink); }
.pr--light .pr__tex { opacity: .55; }
.pr--white { background: var(--white); color: var(--ink); }
.pr--glow  { background: radial-gradient(50% 50%, var(--surface) 0%, var(--white) 100%); color: var(--ink); }

.pr--center { justify-content: center; align-items: center; text-align: center; }
.pr--center .pr__text { display: flex; flex-direction: column; gap: 13px; }
.pr--split  { justify-content: space-between; align-items: flex-start; }
.pr--split .t-small { max-width: 420px; }
.pr--foot   { justify-content: flex-end; gap: 8px; }
.pr--glow   { gap: 22px; }

.pr__tools { display: flex; gap: 10px; }
.pr__tools span {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.pr--glow:hover .pr__tools span { transform: translateY(-3px); }
.pr--glow:hover .pr__tools span:nth-child(2) { transition-delay: 40ms; }
.pr--glow:hover .pr__tools span:nth-child(3) { transition-delay: 80ms; }
.pr--glow:hover .pr__tools span:nth-child(4) { transition-delay: 120ms; }

.pr--clock { padding: 20px; justify-content: space-between; }
.pr--clock .t-small { max-width: 181px; }
.pr--clock .clock { color: var(--white); }

.pr--inline { flex-direction: row; align-items: center; gap: 11px; padding: 20px; }
.pr__mark {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.06em;
  color: var(--line);
}

@media (max-width: 1199.98px) {
  .principles { padding-left: 140px; }
  .principles__intro { gap: 60px; }
  .bento__row--bottom { height: auto; flex-direction: column; }
  .bento__pair { flex: none; height: 251px; }
  .bento__stack { flex: none; flex-direction: row; }
  .bento__stack > .pr--clock,
  .bento__stack > .pr--white { flex: 1; height: auto; min-height: 120px; }
}
@media (max-width: 809.98px) {
  .principles { padding-left: 0; gap: 20px; }
  .principles__header { flex-direction: column; align-items: center; }
  .principles__title { letter-spacing: var(--ls-display); text-align: center; }
  .principles__intro {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    text-align: center;
  }
  .principles__lead { max-width: none; }
  .bento__row--top { height: auto; flex-direction: column; }
  .bento__row--top > .pr { height: 372px; flex: none; }
  .bento__pair { height: auto; flex-direction: column; }
  .bento__stack > .pr--clock,
  .bento__stack > .pr--white { min-height: 0; }
  .bento__pair > .pr { height: 251px; flex: none; }
  .bento__stack { flex-direction: column; }
  .bento__stack > .pr--clock { height: 148px; flex: none; }
  .bento__stack > .pr--white { height: 93px; flex: none; }
}

/* ── S7. LATEST PORTFOLIO ──────────────────────────────────── */
.latest__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
  padding-left: 230px;
}
.latest__side { top: 125px; }
.latest__line { display: flex; }
.latest__line > .work-card:not(.work-card--tiny) { flex: 1; }
.latest__line--split { justify-content: space-between; align-items: flex-start; }

.work-card--static { cursor: default; }
.work-card--medium { width: 660px; max-width: 60%; }
.work-card--medium .work-card__media { aspect-ratio: 660 / 453; }
.work-card--tiny { width: 220px; flex-shrink: 0; }
.work-card--tiny .work-card__media { aspect-ratio: 220 / 179; }
.work-card--tiny .work-card__details { display: flex; flex-direction: column; }

/* ── S8. SERVICES ──────────────────────────────────────────── */
.services {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding-left: 230px;
}
.services__side { top: 235px; }
.services__list { display: flex; flex-direction: column; gap: 40px; }
.service {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 299px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
}
.service__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 675px;
}
.service__text .t-body { max-width: 450px; }
.service__work { display: flex; gap: 10px; align-items: flex-start; }

@media (max-width: 1199.98px) {
  .latest__body, .services { padding-left: 140px; }
  .service { flex-direction: column; gap: 30px; padding-bottom: 30px; }
}
@media (max-width: 809.98px) {
  .latest__body { padding-left: 0; gap: 40px; }
  .latest__line,
  .latest__line--split { flex-direction: column; gap: 40px; }
  .work-card--medium,
  .latest .work-card--tiny { width: 100%; max-width: none; }
  .work-card--medium .work-card__media,
  .latest .work-card--tiny .work-card__media { aspect-ratio: 330 / 247; }
  .latest__cta { display: flex; justify-content: center; }

  .services { padding-left: 0; gap: 40px; }
  .service { min-height: 0; gap: 25px; padding-bottom: 45px; }
  .service__text .t-body { max-width: 290px; }
  .service__work { flex-direction: column; }
}

/* ── S9. ABOUT · FACTS · PRESS ─────────────────────────────── */
.about__top { display: flex; flex-direction: column; gap: var(--sp-7); }
.about__me { position: relative; }
.about__side { top: 243px; }

.about__stats {
  position: absolute;
  top: 0; left: 0;
  width: 220px;
}
.about__stats li { display: flex; align-items: center; gap: 8px; height: 34.5px; }
.about__stat-num {
  min-width: 69px;
  padding: 6px 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls-text);
  text-transform: uppercase;
}

.about__text {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 230px;
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: 45px;
  max-width: 871px;
}
.about__social { display: flex; gap: 20px; }
.about__social a { color: var(--muted); transition: color var(--dur-fast) var(--ease); }
.about__social a:hover { color: var(--ink); }
.about__photo {
  flex-shrink: 0;
  width: 244px;
  height: 350px;
}

/* Facts grid */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 230px;
}
.facts__cell {
  display: flex;
  align-items: flex-end;
  min-height: 178px;
  border-top: 1px solid var(--line);
}
.facts__cell--title { padding-bottom: 8px; }
.facts__cell--low { min-height: 167px; padding-top: 83px; align-items: flex-start; }
.facts__cell--side { border-left: 1px solid var(--line); }
.facts__cell--base { border-bottom: 1px solid var(--line); }

.fact { display: flex; align-items: center; gap: 15px; }
.fact__num {
  padding-left: 10px;
  font-size: 82px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fact__meta { display: flex; flex-direction: column; gap: 15px; }
.fact__dot {
  position: relative;
  width: 28px; height: 28px;
}
.fact__dot::before,
.fact__dot::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 15px; height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border-radius: 50%;
  background: var(--muted);
}
.fact__dot::after { animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse {
  from { transform: scale(1); opacity: .5; }
  to   { transform: scale(1.9); opacity: 0; }
}

/* Press */
.press {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-left: 230px;
}
.press__card { display: flex; flex-direction: column; gap: 10px; }
.press__media { height: 337px; }
.press__text { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 1199.98px) {
  .about__stats { display: none; }
  .about__text, .press { padding-left: 140px; }
  .facts { margin-left: 140px; }
  .about__photo { width: 180px; height: 258px; }
  .fact__num { font-size: 64px; }
}
@media (max-width: 809.98px) {
  .about__text { flex-direction: column; align-items: center; gap: 42px; padding-left: 0; }
  .about__copy { gap: 25px; }
  .about__photo { width: 150px; height: 155px; }
  .facts { grid-template-columns: 1fr; margin-left: 0; }
  .facts__cell--side { border-left: 0; }
  .facts__cell--low { min-height: 0; padding: 83px 0 0; }
  .fact__num { font-size: 82px; }
  .press { grid-template-columns: 1fr; gap: 40px; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fact__dot::after { animation: none; }
}

/* ── S10. FAQ ──────────────────────────────────────────────── */
.faq__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 230px;
}
.faq__side { top: 70px; }

.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.faq__q button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 11px 0;
  text-align: left;
  color: var(--ink);
}
.faq__dot {
  flex-shrink: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out);
}
.faq__q button:hover .faq__dot { background: var(--muted); }
.faq__q button[aria-expanded="true"] .faq__dot { background: var(--ink); transform: scale(1.15); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}
.faq__a > .faq__a-inner { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.faq__a-inner .t-body { max-width: 650px; padding: 4px 0 13px; }
.faq__num {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: .8;
  letter-spacing: var(--ls-side);
  color: var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.faq__item.is-open .faq__num { opacity: 1; transform: none; transition-delay: .1s; }

.faq__cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0;
}
.faq__cta-text { display: flex; flex-direction: column; gap: 20px; max-width: 450px; }

/* ── S11. FOOTER ───────────────────────────────────────────── */
.footer {
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding: 0 var(--gutter);
  background: var(--black);
  color: var(--white);
}
.footer__contacts { display: flex; flex-direction: column; gap: 74px; }
.footer__top {
  display: flex;
  align-items: flex-end;
  gap: 153px;
  padding: 40px 0 19px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.footer__social {
  flex: 1;
  display: flex;
  justify-content: space-between;
}
.footer__social a { color: var(--muted); transition: color var(--dur-fast) var(--ease); }
.footer__social a:hover { color: var(--white); }

.footer__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 230px;
}
.footer__cta-text { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.footer__status { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer__live {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
}
.footer__live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 2s var(--ease-out) infinite;
}

.footer__bottom { display: flex; flex-direction: column; gap: 30px; padding: 30px 0; }
.footer__giant {
  font-size: calc((100vw - 2 * var(--gutter)) * .1286);
  font-weight: 700;
  line-height: .957;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.footer__strip { height: 60px; overflow: hidden; }
.footer__strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.footer__legal { display: flex; justify-content: space-between; color: var(--muted); }

@media (max-width: 1199.98px) {
  .faq__body { padding-left: 140px; }
  .footer__top { gap: 60px; }
  .footer__cta { padding: 0 140px; }
}
@media (max-width: 809.98px) {
  .faq__body { padding-left: 0; }
  .faq__num { display: none; }
  .faq__cta { flex-direction: column; align-items: flex-start; gap: 30px; }

  .footer__contacts { gap: 50px; }
  .footer__top { flex-direction: column; align-items: stretch; gap: 20px; }
  .footer__social { flex-wrap: wrap; gap: 12px 20px; justify-content: flex-start; }
  .footer__cta { flex-direction: column; align-items: flex-start; gap: 30px; padding: 0; }
  .footer__legal { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer__live::after { animation: none; }
}

/* ── S12. PROJECT PAGES · editorial case-study layout ─────── */
.site-nav--light { color: var(--ink); }
.site-nav--light .site-nav__name { color: var(--ink); }
.is-menu-open .site-nav--light,
.is-menu-open .site-nav--light .site-nav__name { color: var(--white); }

.page-project .project {
  --cs-xl: 128px;      /* between major blocks (image ↔ text) */
  --cs-lg: 96px;       /* between consecutive image rows */
  --cs-gap: 10px;      /* tight gap inside multi-image rows */
  --cs-indent: 230px;  /* content column, aligned with the side label gutter */
  padding-top: 70px;
  gap: var(--sp-7);
}

/* Header */
.project__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: var(--cs-indent);
}
.project__side { top: 225px; }
.project__header { gap: 10px; }
.project__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.project__tags { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; text-align: right; }

/* Case-study flow: vertical rhythm is set here, not on the blocks */
.cs { display: flex; flex-direction: column; }
.cs > * { margin-top: var(--cs-xl); }
.cs > :first-child { margin-top: 40px; }
.cs > .cs-row + .cs-row { margin-top: var(--cs-lg); }

/* Full-bleed media — breaks out of the section gutter to the viewport edge */
.cs-bleed {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
  background: var(--line);
}
.cs-bleed > img,
.cs-bleed > video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
}
.cs-bleed.is-in > img,
.cs-bleed.is-in > video { transform: none; }
.cs-hero { height: min(56.25vw, 88vh); min-height: 360px; }
.cs-closer {
  height: min(46vw, 78vh);
  min-height: 300px;
  background: var(--closer-bg, var(--black));
}
.cs-closer > img {
  object-fit: contain;
  padding: clamp(48px, 12vw, 200px);
  filter: var(--logo-filter, none);
}

/* Narrow text blocks */
.cs-text { padding-left: var(--cs-indent); }
.cs-text__inner { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.cs-text__lead { max-width: 900px; }
.cs-text__label {
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-text);
  color: var(--muted);
}
.cs-text p { max-width: 640px; }
.cs-text strong { font-weight: 700; }
.cs-text--duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  column-gap: 80px;
  row-gap: 48px;
}
.cs-text--duo .cs-text__inner { gap: 19px; }

/* Asymmetric image rows: dominant 2/3 + supportive 1/3, flipped every other row */
.cs-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--cs-gap);
  height: clamp(320px, 42vw, 640px);
  padding-left: var(--cs-indent);
}
.cs-row--flip { grid-template-columns: 1fr 2fr; }
.cs-shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--line);
}
.cs-shot > img,
.cs-shot > video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cs-shot:hover > img,
.cs-shot:hover > video { transform: scale(1.03); }
.cs-shot--contain { background: var(--shot-bg, var(--surface)); }
.cs-shot--contain > img { object-fit: contain; }
.cs-shot--logo > img { padding: var(--sp-6); }

/* Closing call to action */
.cs-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-left: var(--cs-indent);
}
.cs-cta .t-body { max-width: 200px; }

.more .more__header { justify-content: center; }
.page-project .more { gap: var(--sp-7); }
.more__list { display: flex; justify-content: space-between; gap: 10px; }

@media (max-width: 1199.98px) {
  .page-project .project { --cs-indent: 140px; --cs-xl: 104px; --cs-lg: 72px; }
  .cs-text--duo { column-gap: 48px; }
}
@media (max-width: 809.98px) {
  .page-project .project { --cs-indent: 0px; --cs-xl: 64px; --cs-lg: 10px; padding-top: 110px; }
  .project__header { flex-direction: column; align-items: center; text-align: center; }
  .project__meta { gap: 20px; }
  .project__tags { max-width: 60%; }
  .cs-hero { height: 72vw; min-height: 300px; }
  .cs-closer { height: 300px; min-height: 0; }
  .cs-closer > img { padding: 40px; }
  .cs-text--duo { grid-template-columns: 1fr; }
  .cs-row,
  .cs-row--flip { grid-template-columns: 1fr; height: auto; }
  .cs-row .cs-shot { aspect-ratio: 4 / 3; }
  .cs-row .cs-shot--support { aspect-ratio: 4 / 5; }
  .cs-cta { flex-direction: column; align-items: center; text-align: center; gap: 40px; }
  .more__list { flex-direction: column; gap: 40px; }
  .more .work-card--tiny { width: 100%; }
  .more .work-card--tiny .work-card__media { aspect-ratio: auto; height: 167px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-bleed > img, .cs-bleed > video { transform: none; transition: none; }
}

/* ── S13. ABOUT PAGE ───────────────────────────────────────── */
.page-bar { height: 70px; background: var(--ink); }
.page-about .bio { gap: var(--sp-7); }

.bio__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 230px;
}
.bio__side { top: 180px; }
.bio__header { gap: 10px; }

.bio__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.bio__copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 876px;
}
.bio__photo {
  width: 219px;
  height: 283px;
  flex-shrink: 0;
  transform: perspective(1200px);
  transition: transform var(--dur) var(--ease-out);
}
.bio__photo img { object-position: 50% 40%; }
.bio__rule { margin-top: 20px; }
.bio__job strong { font-weight: 700; }
.bio__more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}
.bio__more .t-body { max-width: 400px; }
.bio__more strong { font-weight: 700; }

/* Skills list — same ruled-row framework as the FAQ */
.skills__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.skills__side { top: 114px; }
.skills__header {
  display: grid;
  grid-template-columns: 235px 1fr;
  align-items: start;
}
.skills__aside { max-width: 120px; padding-top: 9px; }
.skills__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 230px;
}
.skill {
  display: grid;
  grid-template-columns: 48px 1fr auto 13px;
  align-items: center;
  gap: 20px;
  padding: 11px 0 13px;
  border-bottom: 1px solid var(--line);
}
.skill__num { font-size: var(--fs-small); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.skill__name { transition: transform var(--dur) var(--ease-out); }
.skill__cat { color: var(--muted); transition: color var(--dur-fast) var(--ease); }
.skill__dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out);
}
.skill:hover .skill__name { transform: translateX(8px); }
.skill:hover .skill__cat { color: var(--ink); }
.skill:hover .skill__dot { background: var(--ink); transform: scale(1.15); }

@media (max-width: 1199.98px) {
  .bio__body { padding-left: 140px; }
  .skills__list { margin-left: 140px; }
  .skills__header { grid-template-columns: 140px 1fr; }
}
@media (max-width: 809.98px) {
  .bio__body { padding-left: 0; }
  .bio__header { flex-direction: column; align-items: center; }
  .bio__intro { flex-direction: column; align-items: stretch; }
  .bio__intro > .reveal { width: 100%; }
  .bio__photo { width: 100%; height: 300px; }
  .bio__more { flex-direction: column; align-items: center; margin-top: 0; }
  .bio__more .t-body { max-width: none; }
  .skills__header { grid-template-columns: 1fr; gap: 16px; }
  .skills__aside { max-width: none; padding-top: 0; color: var(--muted); }
  .skills__list { margin-left: 0; }
  .skill { grid-template-columns: 32px 1fr auto 13px; gap: 12px; }
}

/* ── S14. CASE-STUDY MODULES (project-02) ──────────────────── */
.cm {
  --cm-space: 96px;     /* between modules */
  --cm-gap: 10px;       /* inside split rows */
  padding-top: 70px;
}
/* Root wrapper: every piece of case-study content sits inside this lock */
.cm-container {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
  width: 100%;
  max-width: 1152px;    /* max-w-6xl */
  margin-inline: auto;
}
.cm-read { width: 100%; max-width: 672px; margin-inline: auto; }  /* max-w-2xl */

/* Header */
.cm-head { display: flex; flex-direction: column; gap: 40px; }
.cm-title {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.05em;
}
.cm-meta {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.6fr 2fr;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(36, 36, 36, .12);
}
.cm-meta dt {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.cm-meta dd { font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: -.03em; }

/* Flow */
.cm-flow { display: flex; flex-direction: column; gap: var(--cm-space); }

/* Image frame */
.cm-shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--line);
}
.cm-shot > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cm-shot:hover > img { transform: scale(1.03); }
.cm-hero { aspect-ratio: 16 / 9; }

/* Text */
.cm-text { display: flex; flex-direction: column; gap: 20px; }
.cm-text__label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.cm-text strong { font-weight: 700; }
.cm-text .pr__title { font-size: clamp(22px, 2.5vw, 34px); }

/* Asymmetric split rows: 60 / 40 and 40 / 60, equal height */
.cm-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--cm-gap);
  height: clamp(260px, 36vw, 480px);
}
.cm-split--rev { grid-template-columns: 2fr 3fr; }

/* Grand finale: The Herald app image — large landscape showcase, as on the reference */
.cm-finale { padding-block: 96px; }          /* py-24 */
.cm-flow > .cm-finale { margin-block: calc(var(--cm-space) * -1); }  /* padding replaces the flow gap */
.cm-finale__shot { aspect-ratio: 2000 / 1342; }
.cm-finale__shot--wide { aspect-ratio: 1250 / 839; }
/* Finale variant: portrait mobile video, centred in a black stage at max-w-md */
.cm-finale--device {
  border-radius: var(--radius-m);
  background: #000;
}
.cm-finale__device {
  width: 100%;
  max-width: 448px;              /* max-w-md */
  margin-inline: auto;
}
.cm-finale__device video {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 1280;
  background: #000;
}

/* CTA */
.cm-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cm-cta .t-body { max-width: 220px; }

@media (max-width: 809.98px) {
  .cm { --cm-space: 64px; padding-top: 110px; }
  .cm-meta { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .cm-hero { aspect-ratio: 4 / 3; }
  .cm-split, .cm-split--rev { height: 240px; }
  .cm-finale { padding-block: 64px; }
  .cm-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 479.98px) {
  .cm-split, .cm-split--rev { grid-template-columns: 1fr; height: auto; }
  .cm-split > .cm-shot { aspect-ratio: 4 / 3; }
  .cm-split > .cm-shot:nth-child(2) { width: 70%; justify-self: end; aspect-ratio: 4 / 5; }
  .cm-split--rev > .cm-shot:nth-child(1) { width: 70%; justify-self: start; aspect-ratio: 4 / 5; }
  .cm-split--rev > .cm-shot:nth-child(2) { width: 100%; justify-self: stretch; aspect-ratio: 4 / 3; }
}
