/* =========================================================
   Marco Marino — Portfolio
   Original build. Cuberto-style techniques, original code.
   ========================================================= */

:root {
  --bg: #ffffff;          /* white */
  --bg-2: #f1f1f1;
  --ink: #0e0e0e;         /* near-black */
  --ink-soft: #6e6e6e;
  --line: rgba(0,0,0,.13);
  --accent: #0e0e0e;      /* black & white — no colour accent */
  --radius: 14px;
  --ease: cubic-bezier(.16,1,.3,1);
  --container: 88vw;
  --gutter: clamp(20px, 6vw, 120px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
}
.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  width: min(80vw, 760px);
}
.preloader__count {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(60px, 14vw, 180px); font-weight: 600; line-height: 1;
  display: flex; align-items: baseline;
}
.preloader__count i { font-size: .35em; font-style: normal; opacity: .5; margin-left: .1em; }
.preloader__word {
  display: flex; gap: .25em; overflow: hidden;
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(14px, 2vw, 22px); text-transform: uppercase; letter-spacing: .2em;
}
.preloader__word span { transform: translateY(110%); display: inline-block; }
.preloader__curtain {
  position: absolute; inset: 0; background: var(--bg);
  transform: scaleY(0); transform-origin: bottom; z-index: -1;
}

/* ---------------- Header ---------------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 2.4vw, 34px) var(--gutter);
  mix-blend-mode: difference; color: #fff;
  transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__logo { display: inline-flex; }
.header__logo-svg {
  display: block;
  height: clamp(28px, 2.8vw, 40px);
  width: auto;
  fill: currentColor;
}
.header__nav { display: flex; gap: clamp(16px, 2vw, 38px); }
.header__nav a {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(16px, 1.3vw, 19px); position: relative; padding: 4px 0;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(40px, 6vw, 90px);
  overflow: hidden;
}
.hero__eyebrow {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .28em; font-size: clamp(11px, 1vw, 13px);
  color: var(--ink-soft); margin-bottom: clamp(14px, 2vw, 26px);
}
.hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(64px, 18vw, 320px); line-height: .86;
  letter-spacing: -.02em; text-transform: none;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(105%); }
.hero__meta {
  margin-top: clamp(20px, 3vw, 40px); max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 20px); color: var(--ink-soft);
}
.hero__meta .reveal-line span { display: block; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 90px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: "Space Grotesk", sans-serif; font-size: 12px;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ink-soft);
}
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }
.hero__shape {
  position: absolute; top: 12%; right: 8%;
  width: clamp(220px, 30vw, 520px); aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, #3a3a3a, var(--accent) 60%, #000);
  border-radius: 50%; filter: blur(2px); opacity: .9; z-index: -1;
  mix-blend-mode: multiply;
}

/* ---------------- Marquee ---------------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(14px, 1.6vw, 22px) 0; overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--bg);
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(22px, 3.2vw, 46px); padding-right: .4em;
}

/* ---------------- Statement ---------------- */
.statement {
  padding: clamp(90px, 16vw, 220px) var(--gutter);
  max-width: 1500px;
}
.statement__text {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(28px, 5.6vw, 92px); line-height: 1.06; letter-spacing: -.02em;
}
.statement__text .word { display: inline-block; opacity: .14; transition: opacity .1s linear; }

/* ---------------- Section head ---------------- */
.section-head {
  display: flex; align-items: baseline; gap: 18px;
  padding: 0 var(--gutter); margin-bottom: clamp(36px, 5vw, 70px);
}
.section-head__index {
  font-family: "Space Grotesk", sans-serif; color: var(--accent);
  font-size: 14px; font-weight: 600; letter-spacing: .1em;
}
.section-head__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(28px, 5vw, 72px); letter-spacing: -.02em; line-height: 1;
}

/* ---------------- Reveal helpers ---------------- */
.reveal-line { overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); }
.reveal-block { opacity: 0; transform: translateY(28px); }

/* ---------------- Work / Projects ---------------- */
.work { padding-bottom: clamp(60px, 10vw, 140px); }
.projects {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 5vw, 90px) clamp(24px, 4vw, 60px);
  padding: 0 var(--gutter);
}
.project { display: block; position: relative; }
.project:nth-child(odd) { margin-top: 0; }
.project:nth-child(even) { margin-top: clamp(0px, 10vw, 130px); }
.project__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--bg-2);
}
.project__media img, .project__media video {
  position: absolute; inset: -8% 0; width: 100%; height: 116%;
  object-fit: cover; will-change: transform;
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.project:hover .project__media img,
.project:hover .project__media video { transform: scale(1.05); }
.project__media::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(1); transform-origin: top; z-index: 2;
}
.project.is-in .project__media::after { animation: wipe 1s var(--ease) forwards; }
@keyframes wipe { to { transform: scaleY(0); transform-origin: bottom; } }
.project__info {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(14px, 1.6vw, 22px);
}
.project__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.01em; line-height: 1;
}
.project__tags { color: var(--ink-soft); font-size: clamp(13px, 1vw, 15px); }
.project__year {
  margin-left: auto; font-family: "Space Grotesk", sans-serif;
  color: var(--ink-soft); font-size: 14px;
}

/* ---------------- About ---------------- */
.about { padding: clamp(80px, 12vw, 180px) 0; background: var(--bg); color: var(--ink); }
.about .section-head__index { color: var(--accent); }
.about__grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 5vw, 80px); padding: 0 var(--gutter);
  align-items: start; max-width: 1400px; margin-inline: auto;
}
.about .section-head { max-width: 1400px; margin-inline: auto; }
.about__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}
.about__media img {
  position: absolute; inset: -10% 0; width: 100%; height: 120%;
  object-fit: cover; will-change: transform;
}
.about__lead {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -.01em;
  margin-bottom: 1.4em;
}
.about__body p { margin-bottom: 1.3em; color: var(--ink-soft); max-width: 60ch; }
.about__list { list-style: none; margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--line); }
.about__list li {
  display: flex; align-items: center; gap: 18px;
  font-family: "Space Grotesk", sans-serif; font-size: clamp(18px, 2vw, 28px);
  padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), color .4s var(--ease);
}
.about__list li span { color: var(--accent); font-size: 13px; }
.about__list li:hover { padding-left: 18px; color: var(--ink); }

/* ---------------- Contact ---------------- */
.contact { padding: clamp(80px, 14vw, 200px) var(--gutter) clamp(30px, 4vw, 50px); }
.contact__eyebrow {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; color: var(--ink-soft); font-size: 13px; margin-bottom: 24px;
}
.contact__cta {
  display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(52px, 13vw, 200px); line-height: .9; letter-spacing: -.03em;
}
.contact__cta-arrow {
  font-size: .55em; transition: transform .5s var(--ease);
  color: var(--accent);
}
.contact__cta:hover .contact__cta-arrow { transform: translateX(.3em) rotate(-12deg); }
.contact__sub { margin-top: clamp(24px, 3vw, 40px); max-width: 44ch; color: var(--ink-soft); font-size: clamp(15px, 1.3vw, 19px); }
.contact__foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-top: clamp(70px, 12vw, 160px); padding-top: 24px; border-top: 1px solid var(--line);
}
.contact__socials { display: flex; gap: clamp(16px, 2vw, 34px); }
.contact__socials a { font-family: "Space Grotesk", sans-serif; font-weight: 500; position: relative; }
.contact__socials a::after {
  content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.contact__socials a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__copy { color: var(--ink-soft); font-size: 14px; }

/* ---------------- Magnetic ---------------- */
[data-magnetic] { display: inline-flex; will-change: transform; }

/* =========================================================
   Homepage (landing) — centered hero, banner, intro, black work
   ========================================================= */

/* Centered hero */
.home-hero {
  text-align: center; max-width: 1100px; margin: 0 auto;
  padding: clamp(140px, 22vh, 250px) var(--gutter) clamp(34px, 5vw, 64px);
}
.home-hero__eyebrow {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .22em; font-size: clamp(11px, 1vw, 13px); color: var(--ink-soft);
  margin-bottom: clamp(22px, 3vw, 36px); opacity: 0; transform: translateY(14px);
}
.home-hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(32px, 5vw, 76px); line-height: 1.02; letter-spacing: -.025em;
}
.home-hero__title .line { display: block; overflow: hidden; }
.home-hero__title .line > span { display: block; transform: translateY(105%); }
.home-hero__sub {
  margin: clamp(22px, 3vw, 34px) auto 0; max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 20px); color: var(--ink-soft);
  opacity: 0; transform: translateY(14px);
}

/* Banner */
.home-banner { position: relative; max-width: 1500px; margin: 0 auto clamp(60px, 10vw, 140px); padding: 0 var(--gutter); }
.home-banner__img {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-2);
}
.home-banner__img img, .home-banner__img video { width: 100%; height: 118%; object-fit: cover; position: relative; top: -9%; will-change: transform; }
.home-banner__avatar {
  position: absolute; right: calc(var(--gutter) - 28px); top: 50%; transform: translateY(-50%);
  width: clamp(72px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 5px solid var(--bg); box-shadow: 0 14px 44px rgba(0,0,0,.18);
}
.home-banner__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Intro */
.home-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px);
  align-items: center; max-width: 1300px; margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(80px, 12vw, 160px);
}
.home-intro__visual { position: relative; height: clamp(210px, 24vw, 330px); }
.home-intro__visual .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.blob--1 { width: 46%; aspect-ratio: 1; left: 20%; top: 6%; background: radial-gradient(circle at 32% 30%, #303030, #0e0e0e 72%); }
.blob--2 { width: 30%; aspect-ratio: 1; left: 4%; top: 44%; background: radial-gradient(circle at 32% 30%, #dcdcdc, #9a9a9a); }
.blob--3 { width: 24%; aspect-ratio: 1; left: 56%; top: 52%; background: radial-gradient(circle at 32% 30%, #707070, #383838); }
.home-intro__text p { font-size: clamp(16px, 1.5vw, 21px); margin-bottom: 1.3em; max-width: 46ch; }
.home-intro__text p:last-of-type { color: var(--ink-soft); }

/* Pill button */
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(10px, 1.6vw, 20px);
  padding: 16px 32px; border: 1px solid var(--ink); border-radius: 100px;
  font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 15px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.pill:hover { background: var(--ink); color: var(--bg); }

/* Featured projects — black panel */
.home-work {
  background: var(--ink); color: var(--bg);
  border-radius: clamp(24px, 3vw, 46px) clamp(24px, 3vw, 46px) 0 0;
}
.home-work__inner { max-width: 1340px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(24px, 4vw, 56px); }
.home-work__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(40px, 7vw, 100px); letter-spacing: -.02em; line-height: 1;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.home-work__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 88px) clamp(28px, 4vw, 56px); align-items: start;
}
.fcard { display: block; }
.fcard:nth-child(even) { margin-top: clamp(40px, 9vw, 130px); }
.fcard__media {
  border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden; aspect-ratio: 4 / 4.5; background: #1b1b1b;
}
.fcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform; transition: transform .8s var(--ease);
}
.fcard:hover .fcard__media img { transform: scale(1.07); }
.fcard__cap {
  margin-top: clamp(16px, 1.6vw, 22px); font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,.55); max-width: 36ch; transition: color .4s var(--ease);
}
.fcard:hover .fcard__cap { color: rgba(255,255,255,.85); }
.fcard__cap b { color: #fff; font-weight: 600; }

/* "Explore" follower (does not hide the system cursor) */
.explore-cursor {
  position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none;
  width: clamp(80px, 7vw, 104px); height: clamp(80px, 7vw, 104px); border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  opacity: 0; transition: opacity .35s var(--ease);
  will-change: transform;
}
.explore-cursor.is-active { opacity: 1; }
@media (hover: none) { .explore-cursor { display: none; } }

/* =========================================================
   Services page
   ========================================================= */
.svc-hero { text-align: center; max-width: 1000px; margin: 0 auto; padding: clamp(140px, 22vh, 240px) var(--gutter) clamp(30px, 5vw, 56px); }
.svc-hero__eyebrow { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(11px, 1vw, 13px); color: var(--ink-soft); margin-bottom: clamp(20px, 3vw, 32px); }
.svc-hero__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(34px, 5.5vw, 84px); line-height: 1.02; letter-spacing: -.025em; }
.svc-hero__sub { margin: clamp(20px, 3vw, 30px) auto 0; max-width: 56ch; font-size: clamp(15px, 1.4vw, 20px); color: var(--ink-soft); }

.svc-wrap { max-width: 1340px; margin: 0 auto; padding: clamp(50px, 8vw, 110px) clamp(24px, 4vw, 56px); }
.svc-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(34px, 5vw, 60px); }
.svc-head__index { font-family: "Space Grotesk", sans-serif; color: var(--accent); font-size: 14px; font-weight: 600; }
.svc-head__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(26px, 4vw, 54px); letter-spacing: -.02em; line-height: 1; }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 56px) clamp(34px, 4vw, 72px); }
.svc { border-top: 1px solid var(--line); padding-top: clamp(20px, 2vw, 28px); }
.svc__num { font-family: "Space Grotesk", sans-serif; color: var(--accent); font-size: 13px; font-weight: 600; }
.svc__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); margin: 10px 0 14px; letter-spacing: -.01em; }
.svc__desc { color: var(--ink-soft); margin-bottom: 16px; max-width: 44ch; }
.svc__tags { font-family: "Space Grotesk", sans-serif; font-size: 13px; color: var(--ink); letter-spacing: .01em; }

/* Dark band (process) */
.svc-dark { background: var(--ink); color: var(--bg); --accent: #fff; border-radius: clamp(24px, 3vw, 46px); max-width: 1500px; margin: clamp(40px, 6vw, 80px) auto; }
.svc-dark .svc-head__title { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2vw, 32px); }
.step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.step__n { font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; color: #fff; }
.step h4 { font-family: "Space Grotesk", sans-serif; font-size: clamp(15px, 1.4vw, 19px); margin: 10px 0 8px; }
.step p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.5; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 2.6vw, 36px) clamp(40px, 5vw, 80px); }
.skill { border-top: 1px solid var(--line); padding-top: 16px; }
.skill h4 { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.skill p { font-family: "Space Grotesk", sans-serif; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; }

/* Timeline */
.timeline { border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 1.1fr 1fr .5fr; gap: 20px; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tl-row h4 { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(17px, 1.6vw, 23px); }
.tl-row .co { color: var(--ink-soft); }
.tl-row .yr { font-family: "Space Grotesk", sans-serif; color: var(--ink-soft); font-size: 14px; text-align: right; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 36px); max-width: 920px; margin: 0 auto; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; min-height: clamp(200px, 24vw, 260px); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.dl-card:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dl-card h3 { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(20px, 2vw, 28px); }
.dl-card > p { color: var(--ink-soft); font-size: 15px; max-width: 32ch; }
.dl-card:hover > p { color: rgba(255,255,255,.72); }
.dl-meta { margin-top: auto; font-family: "Space Grotesk", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; display: flex; justify-content: space-between; align-items: center; }
.dl-meta .arrow { font-size: 20px; transition: transform .4s var(--ease); }
.dl-card:hover .dl-meta .arrow { transform: translate(4px, -4px); }

/* Contact downloads (all pages) */
.contact__downloads { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 38px); }

/* Download button with PDF + download icons */
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border: 1px solid var(--ink); border-radius: 100px;
  font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 15px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.dl-btn:hover { background: var(--ink); color: var(--bg); }
.dl-btn::before, .dl-btn::after {
  content: ""; flex: none; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.dl-btn::before {
  width: 17px; height: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8z'/%3E%3Cpath%20d='M14%203v5h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8z'/%3E%3Cpath%20d='M14%203v5h5'/%3E%3C/svg%3E");
}
.dl-btn::after {
  width: 16px; height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203v12'/%3E%3Cpath%20d='M7%2011l5%205%205-5'/%3E%3Cpath%20d='M5%2021h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203v12'/%3E%3Cpath%20d='M7%2011l5%205%205-5'/%3E%3Cpath%20d='M5%2021h14'/%3E%3C/svg%3E");
}

/* Service icons */
.svc__icon { width: clamp(38px, 4vw, 48px); height: clamp(38px, 4vw, 48px); margin-bottom: clamp(16px, 2vw, 24px); color: var(--ink); }
.svc__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc { transition: transform .45s var(--ease); }
.svc:hover .svc__icon { animation: nudge .5s var(--ease); }
@keyframes nudge { 50% { transform: translateY(-5px); } }

/* Benefits — "Why work with me" (dark, story-driven rows) */
.benefits {
  background: var(--ink); color: var(--bg); --accent: #fff;
  border-radius: clamp(24px, 3vw, 46px); max-width: 1500px; margin: clamp(40px, 6vw, 80px) auto;
}
.benefits__inner { max-width: 1340px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(24px, 4vw, 56px); }
.benefits__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(38px, 6.5vw, 92px); letter-spacing: -.02em; line-height: 1.0; margin-bottom: clamp(40px, 6vw, 76px); }
.benefit-row {
  display: grid; grid-template-columns: clamp(88px, 13vw, 200px) minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: clamp(30px, 4vw, 54px) 0; border-top: 1px solid rgba(255,255,255,.16);
}
.benefit-row:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.benefit-row__icon { width: clamp(44px, 5vw, 62px); height: clamp(44px, 5vw, 62px); transition: transform .5s var(--ease); }
.benefit-row:hover .benefit-row__icon { transform: rotate(-8deg) scale(1.06); }
.benefit-row__icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.benefit-row__kicker { font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); padding-top: 8px; }
.benefit-row__text { font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: clamp(18px, 1.9vw, 27px); line-height: 1.32; letter-spacing: -.01em; max-width: 32ch; }

/* My Work Process — light card with its own personality */
.process { background: var(--bg-2); border-radius: clamp(24px, 3vw, 46px); max-width: 1500px; margin: clamp(40px, 6vw, 80px) auto; }
.process .svc-head__title { font-size: clamp(40px, 7.5vw, 100px); }
.process .svc-head__index { color: var(--ink-soft); }
.process .step { position: relative; border-top: 1px solid var(--line); }
.process .step__n { color: var(--ink-soft); font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .04em; }
.process .step h4 { color: var(--ink); font-size: clamp(18px, 1.9vw, 26px); margin: 12px 0 8px; }
.process .step p { color: var(--ink-soft); }
.process .step:not(:last-child)::after {
  content: "\2192"; position: absolute; top: 11px; left: 100%;
  margin-left: calc(clamp(20px, 2vw, 32px) / 2); transform: translateX(-50%);
  color: var(--ink-soft); font-size: 20px; opacity: .5;
}
@media (max-width: 860px) { .process .step:not(:last-child)::after { display: none; } }

@media (max-width: 820px) {
  .benefit-row { grid-template-columns: 1fr; gap: 14px; }
  .benefit-row__kicker { padding-top: 0; }
}

@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
  .tl-row .yr { text-align: left; }
  .downloads { grid-template-columns: 1fr; }
}

/* =========================================================
   Project (interior) pages — contained, kzero-style
   ========================================================= */
:root { --cw: 1180px; }

/* Contained hero */
.cs-hero {
  max-width: var(--cw); margin: 0 auto;
  height: clamp(360px, 46vw, 600px);
  border-radius: clamp(16px, 2vw, 28px);
  padding: clamp(26px, 3.5vw, 46px);
}
.cs-hero__title { font-size: clamp(36px, 6.5vw, 88px); }

/* Scroll badge GIF (replaces the arrow) */
.cs-hero__scroll {
  right: clamp(20px, 3vw, 38px); bottom: clamp(20px, 3vw, 38px); gap: 0;
  width: clamp(74px, 8vw, 104px); height: clamp(74px, 8vw, 104px);
  background: url("../images/arrow.gif") center / contain no-repeat;
}
.cs-hero__scroll span, .cs-hero__scroll svg { display: none; }

/* Contain the rest of the page (no full-width) */
.cs-intro, .pj-section, .pj-fullbleed, .pj-gallery,
.pj-deliverables, .cs-stats, .cs-credits, .next-project, .pj-quote {
  max-width: var(--cw); margin-inline: auto;
}
.cs-intro, .pj-section, .pj-gallery,
.pj-deliverables, .cs-credits, .next-project, .pj-quote {
  padding-inline: clamp(22px, 3vw, 40px);
}
.cs-stat { padding-inline: clamp(20px, 2.4vw, 36px); }

/* Contained, rounded images (not edge-to-edge) */
.pj-fullbleed { border-radius: clamp(16px, 2vw, 28px); }

/* Featured sentence (was the testimonial) — no quote marks, no name */
.pj-quote { text-align: center; }
.pj-quote__mark, .pj-quote cite { display: none; }
.pj-quote blockquote {
  max-width: 24ch; margin: 0 auto;
  font-size: clamp(28px, 4.2vw, 58px); line-height: 1.14; letter-spacing: -.02em;
}

/* =========================================================
   Interior project pages
   ========================================================= */
.pj-line { overflow: hidden; }
.pj-line > span { display: block; transform: translateY(105%); }

.pj-hero {
  padding: clamp(120px, 18vh, 220px) var(--gutter) clamp(40px, 6vw, 80px);
}
.pj-hero__cat {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; font-size: clamp(11px, 1vw, 13px);
  color: var(--accent); margin-bottom: clamp(16px, 2vw, 26px);
}
.pj-hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(54px, 13vw, 200px); line-height: .9; letter-spacing: -.02em;
}
.pj-hero__lead {
  margin-top: clamp(22px, 3vw, 40px); max-width: 52ch;
  font-size: clamp(17px, 1.5vw, 23px); color: var(--ink-soft);
}

/* Meta strip */
.pj-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: clamp(28px, 4vw, 50px) var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pj-meta__item h4 {
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  margin-bottom: 8px;
}
.pj-meta__item p { font-family: "Space Grotesk", sans-serif; font-size: clamp(15px, 1.4vw, 19px); }

/* Cover */
.pj-cover {
  margin: clamp(30px, 5vw, 70px) var(--gutter);
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg-2);
}
.pj-cover img, .pj-cover video {
  width: 100%; height: 116%; object-fit: cover;
  position: relative; top: -8%; will-change: transform;
}

/* Text sections */
.pj-section {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 70px);
  padding: clamp(60px, 9vw, 130px) var(--gutter) 0;
  align-items: start;
}
.pj-section__label {
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
  position: sticky; top: clamp(90px, 12vh, 130px);
}
.pj-section__label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* ---- Full-bleed case-study hero ---- */
.cs-hero {
  position: relative; height: clamp(420px, 56vw, 720px); display: flex; align-items: flex-end;
  padding: var(--gutter); overflow: hidden; color: #fff;
}
.cs-hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.cs-hero__bg img, .cs-hero__bg video {
  width: 100%; height: 100%; object-fit: cover; opacity: .9;
}
.cs-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,10,10,.7), rgba(10,10,10,.15) 55%, rgba(10,10,10,.35));
}
.cs-hero__inner { width: 100%; max-width: 1500px; }
.cs-hero__cat {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; font-size: clamp(11px, 1vw, 13px);
  color: rgba(255,255,255,.8); margin-bottom: clamp(16px, 2vw, 24px);
}
.cs-hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(40px, 8vw, 110px); line-height: .92; letter-spacing: -.02em;
}
.cs-hero__sub {
  margin-top: clamp(18px, 2.4vw, 32px); max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 22px); color: rgba(255,255,255,.82);
}
.cs-hero__scroll {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.8);
}
.cs-hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }

/* ---- Intro: lead + sticky meta ---- */
.cs-intro {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 90px);
  padding: clamp(70px, 11vw, 150px) var(--gutter) clamp(40px, 6vw, 70px);
  align-items: start;
}
.cs-intro__lead p {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(24px, 3vw, 44px); line-height: 1.22; letter-spacing: -.015em;
}
.cs-intro__lead p .accent { color: var(--accent); }
.cs-intro__meta { position: sticky; top: clamp(90px, 12vh, 130px); }
.cs-intro__meta dl { display: grid; }
.cs-intro__meta .row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: clamp(12px, 1.4vw, 16px) 0; border-top: 1px solid var(--line);
}
.cs-intro__meta .row:last-child { border-bottom: 1px solid var(--line); }
.cs-intro__meta dt {
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft);
}
.cs-intro__meta dd {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(14px, 1.3vw, 17px);
  text-align: right;
}

/* ---- Full-bleed image ---- */
.pj-fullbleed { width: 100%; overflow: hidden; background: var(--bg-2); margin: clamp(40px, 6vw, 90px) 0; }
.pj-fullbleed.tall { aspect-ratio: 16 / 10; }
.pj-fullbleed img, .pj-fullbleed video {
  width: 100%; height: 112%; object-fit: cover; position: relative; top: -6%; will-change: transform;
}

/* ---- Stats band ---- */
.cs-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: clamp(60px, 9vw, 130px) 0;
}
.cs-stat { padding: clamp(40px, 6vw, 80px) var(--gutter); border-left: 1px solid var(--line); }
.cs-stat:first-child { border-left: none; }
.cs-stat__num {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(48px, 7vw, 110px); line-height: .9; letter-spacing: -.03em;
}
.cs-stat__num .unit { color: var(--accent); }
.cs-stat__label { margin-top: 14px; color: var(--ink-soft); font-size: clamp(14px, 1.2vw, 17px); max-width: 26ch; }

/* ---- Credits ---- */
.cs-credits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 90px);
  padding: clamp(50px, 8vw, 110px) var(--gutter);
}
.cs-credits__row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid var(--line);
}
.cs-credits__row dt {
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft);
}
.cs-credits__row dd { font-family: "Space Grotesk", sans-serif; font-size: clamp(15px, 1.4vw, 19px); text-align: right; }

/* ---- Next project with image ---- */
.next-project { position: relative; overflow: hidden; }
.next-project__media {
  position: absolute; top: 50%; left: 50%; width: clamp(220px, 26vw, 380px);
  aspect-ratio: 4/3; transform: translate(-50%, -50%) scale(.85);
  border-radius: var(--radius); overflow: hidden; opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease); z-index: 0;
}
.next-project__media img { width: 100%; height: 100%; object-fit: cover; }
.next-project:hover .next-project__media { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.next-project span, .next-project h2 { position: relative; z-index: 1; }
.pj-section__body p {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(20px, 2.3vw, 32px); line-height: 1.32; letter-spacing: -.01em;
  margin-bottom: .9em; max-width: 30ch;
}
.pj-section__body p + p, .pj-section__body .pj-body-sm { max-width: 56ch; }
.pj-section__body .pj-body-sm {
  font-family: "Inter", sans-serif; font-weight: 400;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--ink-soft);
}

/* Gallery */
.pj-gallery { padding: clamp(50px, 8vw, 120px) var(--gutter) clamp(20px, 3vw, 40px); display: grid; gap: clamp(24px, 4vw, 50px); }
.pj-gallery__full { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.pj-gallery__full img, .pj-gallery__full video { width: 100%; display: block; }
.pj-gallery__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 50px); }
.pj-gallery__pair figure { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 3/4; }
.pj-gallery__pair img { width: 100%; height: 116%; object-fit: cover; position: relative; top: -8%; }

/* Pull quote */
.pj-quote {
  padding: clamp(70px, 11vw, 150px) var(--gutter);
  max-width: 1400px;
}
.pj-quote blockquote {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(28px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.02em;
}
.pj-quote blockquote .pj-quote__mark { color: var(--accent); }
.pj-quote cite {
  display: block; margin-top: clamp(20px, 3vw, 36px); font-style: normal;
  font-family: "Space Grotesk", sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft);
}

/* Deliverables / facts list */
.pj-deliverables {
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 70px);
  align-items: start;
}
.pj-deliverables__label {
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.pj-deliverables__label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.pj-deliverables ul { list-style: none; border-top: 1px solid var(--line); }
.pj-deliverables li {
  display: flex; align-items: baseline; gap: 18px;
  font-family: "Space Grotesk", sans-serif; font-size: clamp(17px, 1.8vw, 24px);
  padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}
.pj-deliverables li:hover { padding-left: 14px; }
.pj-deliverables li i {
  font-style: normal; color: var(--accent); font-size: 13px; min-width: 28px;
}

/* Next project */
.next-project {
  display: block; margin-top: clamp(60px, 10vw, 140px);
  border-top: 1px solid var(--line); padding: clamp(50px, 8vw, 110px) var(--gutter);
  text-align: center;
}
.next-project span {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; font-size: 12px; color: var(--ink-soft);
}
.next-project h2 {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(48px, 12vw, 180px); line-height: .95; letter-spacing: -.02em;
  margin-top: 18px; transition: color .4s var(--ease);
}
.next-project:hover h2 { color: var(--accent); }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .home-intro { grid-template-columns: 1fr; }
  .home-intro__visual { order: -1; height: clamp(180px, 50vw, 260px); }
  .home-work__grid { grid-template-columns: 1fr; gap: 34px; }
  .fcard:nth-child(even) { margin-top: 0; }
  .fcard__media { aspect-ratio: 4 / 3.4; }
  .home-banner__img { aspect-ratio: 4 / 3; }
  .home-banner__avatar { right: var(--gutter); top: auto; bottom: -28px; transform: none; }
  .pj-meta { grid-template-columns: 1fr 1fr; }
  .pj-section { grid-template-columns: 1fr; }
  .pj-section__label { position: static; }
  .pj-deliverables { grid-template-columns: 1fr; }
  .cs-intro { grid-template-columns: 1fr; }
  .cs-intro__meta { position: static; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-stat { border-left: none; border-top: 1px solid var(--line); }
  .cs-stat:first-child { border-top: none; }
  .cs-credits { grid-template-columns: 1fr; }
  .pj-gallery__pair { grid-template-columns: 1fr; }
  .pj-cover { aspect-ratio: 4 / 3; }
  .projects { grid-template-columns: 1fr; }
  .project:nth-child(even) { margin-top: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .header__nav { gap: 18px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   Project pages v2 — text-first hero + aligned sections
   ========================================================= */

/* Text-first hero: title on white, contained cover image below */
.cs-hero {
  position: relative; display: flex; flex-direction: column;
  height: auto; min-height: 0; overflow: visible;
  color: var(--ink); border-radius: 0; padding: 0;
  max-width: var(--cw); margin: 0 auto;
}
.cs-hero::after { display: none; }
.cs-hero__inner {
  order: 1; width: 100%;
  padding: clamp(118px, 17vh, 200px) clamp(22px, 3vw, 40px) clamp(32px, 4vw, 54px);
}
.cs-hero__cat { color: var(--ink-soft); }
.cs-hero__title { color: var(--ink); font-size: clamp(42px, 7.5vw, 104px); line-height: .94; }
.cs-hero__sub { color: var(--ink-soft); max-width: 50ch; }
.cs-hero__bg {
  order: 2; position: relative; inset: auto; z-index: 0;
  width: 100%; aspect-ratio: 16 / 10; border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden; background: var(--bg-2);
}
.cs-hero__bg img, .cs-hero__bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1;
}
.cs-hero__scroll {
  position: absolute; right: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 32px);
  z-index: 2;
}

/* Single-column sections, all aligned to one left margin */
.pj-section {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 72px);
  max-width: var(--cw); margin-inline: auto; align-items: start;
  padding: clamp(54px, 8vw, 118px) clamp(22px, 3vw, 40px) 0;
}
.pj-section__label { position: sticky; top: clamp(90px, 12vh, 130px); margin-bottom: 0; }
.pj-section__body { max-width: none; }
.pj-section__body p,
.pj-section__body .pj-body-sm { max-width: 36rem; }

.pj-deliverables {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 72px);
  max-width: var(--cw); margin-inline: auto; align-items: start;
  padding: clamp(54px, 8vw, 110px) clamp(22px, 3vw, 40px) 0;
}
.pj-deliverables__label { margin-bottom: 0; }
.pj-deliverables ul { max-width: 62ch; }

/* Stats / credits align to the same left margin */
.cs-stat:first-child { padding-left: 0; }

/* Vertical rhythm + centering for contained blocks (must win over earlier rules) */
.pj-fullbleed { margin-block: clamp(50px, 7vw, 96px); margin-inline: auto; }
.cs-stats { margin-inline: auto; }
.pj-gallery { padding-block: clamp(20px, 3vw, 40px); }

/* Uniform left margin — text and images align to the same column edge */
.cs-hero, .cs-hero__inner,
.cs-intro, .pj-section, .pj-gallery, .pj-deliverables,
.cs-credits, .next-project, .pj-quote, .cs-stat { padding-inline: 0; }
.cs-stat + .cs-stat { padding-left: clamp(24px, 3vw, 44px); }

/* Featured sentence: no quote marks, no name (must win over earlier rules) */
.pj-quote__mark, .pj-quote cite { display: none; }

/* Centered hero heading */
.cs-hero__inner { text-align: center; }
.cs-hero__sub { margin-inline: auto; }

/* Two-column sections stack on small screens */
@media (max-width: 820px) {
  .pj-section, .pj-deliverables { grid-template-columns: 1fr; gap: 18px; }
  .pj-section__label { position: static; top: auto; margin-bottom: 8px; }
}

@media (max-width: 900px) {
  .cs-hero, .cs-intro, .pj-section, .pj-deliverables,
  .cs-stats, .cs-credits, .next-project, .pj-quote,
  .pj-gallery, .pj-fullbleed { padding-inline: clamp(18px, 5vw, 28px); }
  .cs-stat + .cs-stat { padding-left: 0; }
  .pj-fullbleed { background: transparent; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { animation: none !important; transition: none !important; }
  .hero__title .line > span, .reveal-line > span { transform: none; }
  .reveal-block { opacity: 1; transform: none; }
  .statement__text .word { opacity: 1; }
  .project__media::after { display: none; }
}
