/* =====================================================
   STOODIO — Homepage
   Palette & type sourced from brand manual (2026)
   ===================================================== */

:root {
  --primary: #9467E1;        /* Lavender — primary */
  --primary-2: #A78FEE;      /* Lavender light */
  --primary-tint: #DCDAF5;   /* Lavender tint */
  --warm: #F2ECEE;           /* Warm tint */
  --white: #FEFBFF;          /* Off-white */
  --ink: #0B0A0F;            /* Near black */
  --ink-2: #1A1620;
  --mute: #6B6277;
  --line: rgba(11, 10, 15, 0.08);
  --line-strong: rgba(11, 10, 15, 0.14);

  --radius-img: 30px;        /* brand-specified */
  --radius-card: 22px;
  --radius-btn: 999px;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  /* Per brand manual: Plus Jakarta Sans is the ONLY typeface.
     Editorial serif-style accents use italic weight of the same family.
     Mono-style labels use the same family with tracked-out letter-spacing. */
  --font-serif: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --max: 1320px;
  --pad-x: clamp(20px, 4vw, 64px);
  --section-py: clamp(80px, 9vw, 140px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--warm);
  color: var(--ink);
  font-feature-settings: "ss01", "ss02", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
/* Word accents — when brief tells us to emphasize a word, we shift it to lavender
   (brand primary) and keep Jakarta. Subtle italic lean adds a touch more editorial
   feel without breaking the single-typeface rule from the manual. */
em.serif {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary);
}
/* Hero-only editorial serif accent (single intentional exception — the masthead). */
em.serif.hero-serif {
  font-family: "Instrument Serif", "Times New Roman", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  color: inherit;  /* hero handles its own color on the accent */
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 180ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
  white-space: nowrap;
  line-height: 1;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--primary {
  background: var(--ink); color: var(--white);
}
.btn--primary:hover { background: var(--primary); color: var(--ink); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--white {
  background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--white:hover { background: var(--ink); color: var(--white); box-shadow: none; transform: translateY(-1px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
}
.pill--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.pill--dark { background: rgba(254,251,255,0.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(254,251,255,0.14); }
.pill__dot { width: 6px; height: 6px; background: var(--primary); border-radius: 999px; display: inline-block; }
.pill__dot--lav { background: var(--primary-2); }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--pad-x);
  transition: background 260ms ease, backdrop-filter 260ms ease, border-color 260ms ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(242, 236, 238, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.nav__logo { display: flex;flex: 1; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-img { height: 36px; width: auto; display: block; transition: opacity 280ms cubic-bezier(.2,.8,.2,1); }
.nav__logo-img--light { display: none; }
body.hero--nav-light .nav__logo-img--dark { display: none; }
body.hero--nav-light .nav__logo-img--light { display: block; }
.wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-transform: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.wordmark__name { font-weight: 600; }
.wordmark__dot {
  color: var(--primary);
  font-weight: 700;
  margin: 0 -0.02em;
}
.wordmark__tld {
  font-weight: 500;
  color: var(--ink);
  opacity: 0.62;
}
.wordmark--lg { font-size: 28px; }
.wordmark--lg .wordmark__dot { font-size: 32px; }
.wordmark--inv .wordmark__name,
.wordmark--inv .wordmark__tld { color: var(--white); }
.wordmark--inv .wordmark__tld { opacity: 0.55; }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav__links a { position: relative; padding: 6px 2px; }
.nav__links a:hover { color: var(--primary); }
.nav__cta { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.nav__login { font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav__login:hover { color: var(--primary); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
}

/* ================= HERO — Vogue Cover (full-bleed) ================= */
.hero {
  padding: 0;
  background: #F2ECEE;
  position: relative;
  overflow: visible;
  display: block;
}

.hero__host {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  overflow: hidden;
  background: #2E1B4E;
}
.hero__photo {
  position: absolute; inset: 0; overflow: hidden; background: #2E1B4E;
  filter: contrast(1.04) saturate(1.05);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  will-change: transform, filter;
  animation:
    heroPhotoReveal 2400ms cubic-bezier(.2,.8,.2,1) both,
    heroAliveBreathe 12s 2500ms ease-in-out infinite,
    heroAliveBright  10s 2500ms ease-in-out infinite;
}

/* Two-layer overlay for text legibility + soft fade to logos */
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 80%, rgba(11,10,15,0.55) 0%,
                                                rgba(11,10,15,0.25) 40%,
                                                transparent 70%),
    linear-gradient(to top, rgba(11,10,15,0.30) 0%, transparent 35%),
    linear-gradient(to bottom, transparent 90%,
                              rgba(242,236,238,0.18) 97%,
                              rgba(242,236,238,0.40) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Top vignette so the (light) nav stays legible */
.hero__host::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to bottom, rgba(11,10,15,0.25), transparent);
  pointer-events: none; z-index: 5;
}

/* Atmospheric layers */
.hero__shimmer {
  position: absolute;
  bottom: 12%; left: 48%;
  width: 280px; height: 360px;
  background: radial-gradient(ellipse 60% 40% at center,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.08) 35%,
    transparent 75%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 4;
  filter: blur(12px);
  animation: heroAliveShimmer 9s 1800ms ease-in-out infinite;
  opacity: 0;
}
.hero__light {
  position: absolute;
  top: -10%; right: -10%;
  width: 70%; height: 70%;
  background: radial-gradient(circle at 30% 40%,
    rgba(255,230,180,0.12) 0%,
    transparent 60%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 3;
  animation: heroAliveLight 14s 2000ms ease-in-out infinite;
}

/* Text block, bottom-left */
.hero__text {
  position: absolute; bottom: 60px; left: 60px;
  width: min(540px, calc(100% - 120px));
  z-index: 10;
  color: #fefbff;
}
.hero__eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(254,251,255,0.18); backdrop-filter: blur(10px);
  border: 1px solid rgba(254,251,255,0.4);
  font: 500 11px/1 var(--font-sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fefbff;
  margin-bottom: 28px;
  animation: heroFadeUp 1000ms 600ms cubic-bezier(.2,.8,.2,1) both;
}
.hero__eyebrow-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #DCDAF5;
}
.hero__headline {
  font-family: var(--font-sans);
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 500; line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fefbff;
  margin: 0 0 28px;
  text-shadow: 0 2px 24px rgba(11,10,15,0.35);
  animation: heroFadeUp 1100ms 720ms cubic-bezier(.2,.8,.2,1) both;
}
.hero__headline-accent,
.hero__headline .serif,
.hero-serif {
  color: var(--primary);
  text-shadow:
    0 0 22px rgba(11,10,15,0.55),
    0 2px 18px rgba(11,10,15,0.35),
    0 0 1px rgba(254,251,255,0.25);
}
.hero-serif {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.015em;
  display: inline-block;
}
.hero__sub {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 480px;
  color: #fefbff;
  margin: 0 0 32px;
  text-shadow: 0 1px 16px rgba(11,10,15,0.4);
  animation: heroFadeUp 1100ms 840ms cubic-bezier(.2,.8,.2,1) both;
}
.hero__sub strong { color: #fff; font-weight: 500; }
.hero__sub-dim { color: rgba(254,251,255,0.85); font-weight: 400; }
.hero__cta-wrap {
  animation: heroFadeUp 1100ms 960ms cubic-bezier(.2,.8,.2,1) both;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: #fefbff; color: #0b0a0f;
  font: 600 14px/1 var(--font-sans);
  letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1),
              background 280ms cubic-bezier(.2,.8,.2,1),
              color 280ms cubic-bezier(.2,.8,.2,1);
}
.hero__cta:hover { transform: translateY(-2px); background: #0b0a0f; color: #fefbff; }
.hero__cta-arrow { width: 14px; height: 14px; }

/* Nav goes white over photo */
body.hero--nav-light .nav { color: #fefbff; }
body.hero--nav-light .wordmark,
body.hero--nav-light .wordmark__tld,
body.hero--nav-light .nav__login,
body.hero--nav-light .nav__links a { color: #fefbff !important; }
body.hero--nav-light .wordmark__tld { opacity: 0.75 !important; }
body.hero--nav-light .nav__links a:hover { color: #DCDAF5 !important; }
.wordmark, .wordmark__tld, .nav__login, .nav__links a {
  transition: color 280ms cubic-bezier(.2,.8,.2,1);
}

/* Animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroPhotoReveal {
  from { opacity: 0; transform: scale(1.02); filter: blur(3px); }
  to   { opacity: 1; transform: scale(1.0);  filter: blur(0); }
}
@keyframes heroAliveBreathe {
  0%, 100% { transform: scale(1.015) translate(0,0) rotate(0); }
  25%      { transform: scale(1.022) translate(-0.2%, -0.1%) rotate(0.03deg); }
  50%      { transform: scale(1.025) translate(0.2%, 0.15%) rotate(0); }
  75%      { transform: scale(1.022) translate(-0.2%, -0.15%) rotate(-0.03deg); }
}
@keyframes heroAliveBright {
  0%, 100% { filter: brightness(1.00) saturate(1.00); }
  50%      { filter: brightness(1.04) saturate(1.06); }
}
@keyframes heroAliveShimmer {
  0%, 100% { opacity: 0.25; transform: translate(-12px, 8px) scale(0.95); }
  50%      { opacity: 0.55; transform: translate(8px, -12px) scale(1.08); }
}
@keyframes heroAliveLight {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50%      { transform: translate(-3%, 2%) scale(1.05); opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo img,
  .hero__shimmer,
  .hero__light { animation: none !important; }
}

.hero__logos {
  position: relative;
  padding: 50px 0;
  background: #F2ECEE;
  width: 100%;
  overflow: hidden;
  /* Fade edges so logos don't hit the screen edges hard */
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.hero__logos-track {
  display: flex;
  width: max-content;
  animation: heroLogos 52s linear infinite;
  white-space: nowrap;
}
.hero__logos-inner {
  display: flex; align-items: center; gap: 80px; padding-right: 80px;
}
.hero__logo-img {
  width: auto;
  flex: 0 0 auto;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  filter: brightness(0) saturate(100%);
  object-fit: contain;
}
.hero__logo-img:hover { opacity: 1; }
/* JP is already a solid black disc with white text — don't flatten it to silhouette */
.hero__logo-img--jp { filter: none; }
/* Per-logo balanced heights so visual weight matches across very different shapes */
.hero__logo-img--jp       { height: 52px; }
.hero__logo-img--desigual { height: 22px; }
.hero__logo-img--forsberg { height: 44px; }
.hero__logo-img--kismet   { height: 28px; }
.hero__logo-img--pfanner  { height: 36px; }
.hero__logo-img--partyde  { height: 34px; }
.hero__logo {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 200ms ease;
  white-space: nowrap;
}
.hero__logo:hover { opacity: 1; }
.hero__logo-sep {
  color: var(--primary);
  opacity: 0.35;
  font-size: 10px;
}
@keyframes heroLogos { to { transform: translateX(-25%); } }

@media (max-width: 820px) {
  .hero__host { height: 90vh; min-height: 560px; }
  .hero__text { left: 28px; bottom: 40px; width: calc(100% - 56px); }
  .hero__headline { font-size: clamp(44px, 9vw, 64px); }
}

/* ================= SOCIAL PROOF ================= */
.proof {
  padding: clamp(56px, 7vw, 88px) var(--pad-x);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(28px, 3.5vw, 44px);
}
.proof__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.proof__row {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.proof__logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.42;
  white-space: nowrap;
  transition: opacity 200ms ease;
}
.proof__logo:hover { opacity: 0.85; }

@media (max-width: 900px) {
  .proof__row { justify-content: center; gap: 24px 40px; }
}

/* ================= Shared section layout ================= */
.section__header {
  max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 72px);
}
.section__header--center { text-align: center; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 24px;
}
.section__eyebrow span {
  color: var(--primary); font-weight: 600;
}
.section__title {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 500; margin: 0;
  max-width: 16ch;
  text-wrap: pretty;
}
.section__title--center { max-width: 20ch; margin: 0 auto; }
.section__sub {
  font-size: 18px; color: var(--mute);
  margin: 22px auto 0; max-width: 54ch;
}

/* ================= 03 RIGHT PLACE — EDITORIAL / IMAGE-FIRST ================= */
.rp {
  padding: var(--section-py) var(--pad-x);
  background: var(--warm);
}
.rp__header {
  max-width: var(--max);
  margin: 0 auto clamp(60px, 7vw, 100px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.rp__header-left .section__eyebrow { margin-bottom: 28px; }
.rp__title {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  max-width: 18ch;
  text-wrap: pretty;
}
.rp__intro {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--mute);
  margin: 0 0 20px;
  max-width: 44ch;
}
.rp__header-meta {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.rp__header-dot { color: var(--primary); }

/* Cases — alternating editorial rows */
.rp__cases {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 160px);
}
.rp-case {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.rp-case--r {
  grid-template-columns: 1fr 1.15fr;
}
.rp-case--r .rp-case__media { order: 2; }
.rp-case--r .rp-case__body { order: 1; }

/* Media side — dominant, tall, editorial */
.rp-case__media {
  position: relative;
}
.rp-case__frame {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(11,10,15,0.35);
}
.rp-case__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}
.rp-case:hover .rp-case__frame img { transform: scale(1.06); }

.rp-case__stamp {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: rgba(254, 251, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--ink);
}
.rp-case__stamp-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  background: var(--ink);
  color: var(--white);
  padding: 3px 7px;
  border-radius: 999px;
}
.rp-case__stamp-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.rp-case__caption {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.rp-case__caption-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

/* Body side */
.rp-case__body {
  padding: 0 8px;
}
.rp-case__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  width: fit-content;
  padding-right: 36px;
}
.rp-case__title {
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin: 0 0 22px;
  text-wrap: balance;
}
.rp-case__text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--mute);
  margin: 0 0 36px;
  max-width: 42ch;
}

.rp-case__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0;
  margin-bottom: 30px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.rp-case__meta-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
}
.rp-case__meta-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.rp-case__meta-dots {
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-4px);
}
.rp-case__meta-v {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.rp-case__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--ink);
  transition: color 200ms ease, border-color 200ms ease, gap 200ms ease;
}
.rp-case__link:hover {
  color: var(--primary);
  border-color: var(--primary);
  gap: 14px;
}

@media (max-width: 960px) {
  .rp__header { grid-template-columns: 1fr; gap: 24px; }
  .rp-case,
  .rp-case--r { grid-template-columns: 1fr; gap: 32px; }
  .rp-case--r .rp-case__media { order: 1; }
  .rp-case--r .rp-case__body { order: 2; }
  .rp-case__body { padding: 0; }
}

/* ================= 04 PLATFORM ================= */
.platform {
  padding: var(--section-py) var(--pad-x);
  background: var(--white);
}
.platform__grid {
  max-width: var(--max); margin: 0 auto 60px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
}
.pl-card {
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  text-align: left;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: background 260ms ease, color 260ms ease;
  min-height: 320px;
  position: relative;
}
.pl-card:last-child { border-right: 0; }
.pl-card--active { background: var(--primary); color: var(--white); }
.pl-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 72px;
}
.pl-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--warm); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 260ms ease;
}
.pl-card--active .pl-card__icon { background: var(--white); color: var(--primary); }
.pl-card__meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; color: var(--mute);
}
.pl-card--active .pl-card__meta { color: rgba(255,255,255,0.75); }
.pl-card__body { flex: 1; }
.pl-card__title {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; margin: 0 0 6px;
  line-height: 1.1;
}
.pl-card__sub {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.pl-card--active .pl-card__title { color: var(--white); }
.pl-card--active .pl-card__sub { color: var(--white); opacity: 0.82; }
.pl-card__desc {
  font-size: 14px; line-height: 1.5;
  color: var(--mute); margin: 0;
}
.pl-card--active .pl-card__desc { color: var(--white); opacity: 0.88; }
.pl-card__foot {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 20px;
  color: var(--mute);
}
.pl-card--active .pl-card__foot { color: var(--white); opacity: 0.85; }
.platform__cta { text-align: center; }

@media (max-width: 1100px) {
  .platform__grid { grid-template-columns: repeat(2, 1fr); }
  .pl-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .pl-card:nth-child(2n) { border-right: 0; }
  .pl-card:nth-last-child(-n+1) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .platform__grid { grid-template-columns: 1fr; }
  .pl-card { border-right: 0; }
}

/* ================= 05 WHY STOODIO — image-dominant ================= */
.why {
  padding: var(--section-py) var(--pad-x);
  background: var(--warm);
}
.why__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "media mid"
    "media right";
  column-gap: clamp(40px, 5vw, 80px);
  row-gap: 40px;
  align-items: start;
}
.why__left {
  grid-area: media;
  position: sticky;
  top: 100px;
}
.why__media {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(11,10,15,0.35);
}
.why__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02);
  transition: transform 1200ms cubic-bezier(.2,.8,.2,1);
}
.why:hover .why__media img { transform: scale(1.06); }
.why__media-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(254,251,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.why__media-tag-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--primary);
}

.why__mid { grid-area: mid; }
.why__mid .section__title { margin-top: 10px; max-width: 14ch; }
.why__intro {
  font-size: 17px; color: var(--mute);
  margin: 28px 0 0; max-width: 42ch;
  line-height: 1.55;
}
.why__right { grid-area: right; display: flex; flex-direction: column; }
.why-row {
  display: grid; grid-template-columns: 40px 60px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  align-items: start;
}
.why-row:last-child { border-bottom: 1px solid var(--line-strong); }
.why-row__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-row__num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--mute);
  padding-top: 10px;
}
.why-row__title {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; margin: 0 0 6px;
  line-height: 1.15;
}
.why-row__text {
  font-size: 15px; color: var(--mute);
  line-height: 1.55; margin: 0;
  max-width: 52ch;
}

@media (max-width: 980px) {
  .why__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "mid" "media" "right";
    gap: 32px;
  }
  .why__left { position: static; }
  .why-row { grid-template-columns: 36px 1fr; }
  .why-row__num { display: none; }
}

/* ================= 06 CHANNELS ================= */
.channels {
  padding: var(--section-py) var(--pad-x);
  background: var(--white);
}
.channels__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ch-card { display: flex; flex-direction: column; gap: 18px; }
.ch-card__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--warm);
}
.ch-card__chip {
  position: absolute; top: 16px; left: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 16px -8px rgba(11,10,15,0.2);
  z-index: 3;
}
.ch-card__meta { padding: 0 4px; }
.ch-card__title {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; margin: 0 0 6px;
}
.ch-card__desc {
  font-size: 14.5px; color: var(--mute);
  line-height: 1.5; margin: 0;
}

/* ---- Contextualized image overlays inside card media frames ---- */
.ch-ctx {
  position: absolute; inset: 0;
  overflow: hidden;
  font-family: var(--font-sans);
}
.ch-ctx__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.ch-card:hover .ch-ctx__bg { transform: scale(1.03); }

/* PDP overlay — bottom-right floating product card */
.ch-ctx--pdp .ch-ctx__pdp-panel {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 8px 24px -8px rgba(11,10,15,0.2);
  z-index: 2;
}
.ch-ctx__pdp-name {
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink);
}
.ch-ctx__pdp-price { font-size: 13px; font-weight: 500; color: var(--ink); }
.ch-ctx__pdp-sizes { display: flex; gap: 4px; }
.ch-ctx__pdp-size {
  width: 22px; height: 22px; border-radius: 3px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 500; color: var(--ink);
}
.ch-ctx__pdp-size.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.ch-ctx__pdp-cta {
  background: var(--ink); color: #fff;
  padding: 8px 12px; border-radius: 999px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em;
  text-align: center;
}

/* Campaign overlay — big typographic treatment */
.ch-ctx--campaign .ch-ctx__campaign-type {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(11,10,15,0.5);
}
.ch-ctx__campaign-hd {
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 8px;
}
.ch-ctx__campaign-hd em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic; font-weight: 400;
  color: var(--primary-2);
}
.ch-ctx__campaign-sub {
  font-size: 9.5px; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.8);
}
/* Subtle darkening gradient so type stays readable */
.ch-ctx--campaign::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(11,10,15,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* IG overlay — top header + bottom action bar */
.ch-ctx--ig .ch-ctx__ig-top {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.85) 70%, transparent 100%);
  z-index: 2;
}
.ch-ctx__ig-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.ch-ctx__ig-user { font-size: 11.5px; font-weight: 600; color: var(--ink); flex: 1; }
.ch-ctx__ig-dots { color: var(--ink); font-size: 13px; letter-spacing: 1px; }
.ch-ctx__ig-ad {
  position: absolute; top: 48px; left: 12px;
  background: rgba(11,10,15,0.72); color: #fff;
  padding: 3px 8px; border-radius: 4px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.ch-ctx--ig .ch-ctx__ig-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; color: #fff;
  background: linear-gradient(0deg, rgba(11,10,15,0.6) 0%, rgba(11,10,15,0.2) 70%, transparent 100%);
  z-index: 2;
}
.ch-ctx__ig-bar .r { margin-left: auto; }

/* Magazine overlay — folio + editorial title */
.ch-ctx--mag .ch-ctx__mag-folio {
  position: absolute; top: 14px; left: 14px;
  font-size: 9px; letter-spacing: 0.22em;
  color: #fff;
  padding: 4px 8px;
  background: rgba(11,10,15,0.5);
  backdrop-filter: blur(6px);
  border-radius: 3px;
  z-index: 2;
}
.ch-ctx--mag .ch-ctx__mag-title {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1;
  font-weight: 500; letter-spacing: -0.025em;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(11,10,15,0.5);
}
.ch-ctx--mag .ch-ctx__mag-title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic; font-weight: 400;
  color: var(--primary-2);
}
.ch-ctx--mag::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(11,10,15,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .channels__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .channels__grid { grid-template-columns: 1fr; }
}

/* ================= 07 CASE STUDY ================= */
.case {
  padding: var(--section-py) var(--pad-x);
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.case::before, .case::after {
  content: ''; position: absolute; inset: auto;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(148,103,225,0.35), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.case::before { top: -10%; left: -8%; }
.case::after { bottom: -10%; right: -8%; }
.case > * { position: relative; z-index: 1; }
.case__eyebrow { margin-bottom: 48px; }

/* Atelier Nord (fictional) brand lock-up — sits above the eyebrow.
   Instrument Serif italic monogram inside a hairline circle + name tag. */
.case__brand {
  max-width: var(--max); margin: 0 auto 44px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  color: var(--white);
}
.case__brand-logo {
  height: 72px; width: auto; max-width: 280px;
  object-fit: contain;
  opacity: 0.95;
}
  flex-shrink: 0;
}
.case__brand-word {
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.2;
}
.case__brand-name {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--white);
  white-space: nowrap;
}
.case__brand-tag {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic; font-size: 15px;
  color: rgba(254,251,255,0.55);
  white-space: nowrap;
}
.case__metrics {
  max-width: var(--max); margin: 0 auto 60px;
  display: flex; justify-content: center; align-items: center;
  gap: clamp(30px, 5vw, 80px);
  flex-wrap: wrap;
}
.case__metric { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.case__metric-num {
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 500; letter-spacing: -0.04em;
  line-height: 1; display: flex; align-items: baseline; gap: 6px;
  color: var(--primary-2);
}
.case__metric-unit { font-size: 0.55em; color: var(--white); opacity: 0.8; }
.case__metric-small { font-size: 0.65em; color: var(--white); opacity: 0.6; }
.case__metric-arrow { font-size: 0.55em; color: var(--primary-2); margin: 0 4px; }
.case__metric-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(254,251,255,0.6);
}
.case__metric-divider {
  width: 1px; height: 80px; background: rgba(254,251,255,0.15);
}
.case__quote {
  font-size: clamp(32px, 3.8vw, 60px);
  line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 500; max-width: 20ch;
  margin: 0 auto 24px;
  position: relative;
}
.case__quote-mark {
  font-family: var(--font-serif);
  font-size: 2em; color: var(--primary-2);
  position: absolute; top: -0.3em; left: -0.5em;
  line-height: 1;
}
.case__attrib {
  display: inline-flex; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(254,251,255,0.5); margin-bottom: 40px;
}
.case__attrib-sep { color: var(--primary-2); }
.case__cta { display: block; text-align: center; }
.case__link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(254,251,255,0.25);
  transition: background 220ms ease, color 220ms ease;
}
.case__link:hover { background: var(--white); color: var(--ink); }

@media (max-width: 760px) {
  .case__metric-divider { display: none; }
}

/* ================= 08 FINAL CTA ================= */
.final {
  padding: calc(var(--section-py) + 20px) var(--pad-x);
  background: var(--primary);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.final__art {
  position: absolute;
  width: 220px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11,10,15,0.45);
}
.final__art-inner { width: 100%; height: 100%; }
.final__art-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.final__art--l { top: 80px; left: 4%; transform: rotate(-6deg); }
.final__art--r { bottom: 80px; right: 4%; transform: rotate(5deg); }
.final__inner {
  max-width: 900px; margin: 0 auto;
  text-align: center; position: relative; z-index: 2;
}
.final__eyebrow { margin-bottom: 36px; }
.final__title {
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 500; margin: 0 0 48px;
}
.final__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.final .btn--primary { background: var(--ink); color: var(--white); }
.final .btn--primary:hover { background: var(--white); color: var(--ink); }
.final .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }
.final .btn--ghost:hover { background: var(--ink); color: var(--primary); }

@media (max-width: 980px) {
  .final__art { display: none; }
}

/* ================= FOOTER ================= */
.footer {
  padding: 60px var(--pad-x) 30px;
  background: var(--ink); color: var(--white);
}
.footer__top {
  max-width: var(--max); margin: 0 auto 50px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(254,251,255,0.1);
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand-img { height: 28px; width: auto; display: block; }
.footer__tag {
  font-family: var(--font-sans);
  font-size: 20px; font-weight: 400;
  color: var(--primary-2);
  font-style: italic;
  letter-spacing: -0.01em;
}

.footer__cols {
  max-width: var(--max); margin: 0 auto 50px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary-2); margin-bottom: 8px;
}
.footer__col a {
  font-size: 14.5px; color: rgba(254,251,255,0.72);
  transition: color 200ms ease;
  cursor: pointer;
}
.footer__col a:hover { color: var(--white); }
.footer__social { display: flex; gap: 18px; }
.footer__social a {
  font-size: 14px; color: rgba(254,251,255,0.72);
  transition: color 200ms ease;
}
.footer__social a:hover { color: var(--white); }
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(254,251,255,0.45);
  padding-top: 30px;
  border-top: 1px solid rgba(254,251,255,0.08);
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ================= TWEAKS PANEL ================= */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--white); color: var(--ink);
  border-radius: 20px; padding: 20px;
  box-shadow: 0 24px 48px -16px rgba(11,10,15,0.3);
  border: 1px solid var(--line);
  width: 280px;
  font-size: 13px;
  transform: translateY(calc(100% + 30px));
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.tweaks--open { transform: translateY(0); }
.tweaks__title {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 16px; color: var(--mute);
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks__title span:first-child { color: var(--ink); font-weight: 600; }
.tweaks__group { margin-bottom: 16px; }
.tweaks__label {
  font-size: 12px; font-weight: 500; margin-bottom: 8px;
  display: block;
}
.tweaks__swatches { display: flex; gap: 8px; }
.tweaks__swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; transition: border-color 200ms ease;
}
.tweaks__swatch--active { border-color: var(--ink); }
.tweaks__segmented {
  display: flex; background: var(--warm); border-radius: 10px;
  padding: 3px;
}
.tweaks__seg {
  flex: 1; padding: 8px 10px; font-size: 12px; font-weight: 500;
  border-radius: 8px; text-align: center;
  transition: background 200ms ease, color 200ms ease;
}
.tweaks__seg--active { background: var(--ink); color: var(--white); }


/* ================= STATEMENT (Aircall-style: minimal, serif, static) ================= */
.stmt {
  background: var(--warm);
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
}

.stmt__inner {
  max-width: 880px;
  margin: 0 auto;
}

.stmt__copy {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  /* Body fades from muted to ink as the user scrolls through the block */
  color: color-mix(in srgb, var(--ink) calc(var(--body-o, 1) * 100%), var(--mute));
  text-wrap: pretty;
  transition: color 240ms ease-out;
}

.stmt__copy strong {
  font-weight: 600;
  color: var(--mute);
  transition: color 420ms ease-out;
}
.stmt__copy strong.is-lit { color: var(--ink); }

.stmt__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--mute);
  transition: color 420ms ease-out;
}
.stmt__lead.is-lit { color: var(--ink); }

@media (max-width: 600px) {
  .stmt__copy { font-size: clamp(20px, 5.5vw, 28px); line-height: 1.25; }
}

/* ================= 03.5 CAST — Editorial gallery strip ================= */
.cast {
  padding: var(--section-py) 0 calc(var(--section-py) * 0.7);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.cast::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: rgba(254,251,255,0.08);
}
.cast__head {
  max-width: var(--max);
  margin: 0 auto clamp(50px, 6vw, 80px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.cast .section__eyebrow { color: rgba(254,251,255,0.55); margin-bottom: 24px; }
.cast .section__eyebrow span { color: var(--primary-2); }
.cast__title {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  color: var(--white);
  max-width: 18ch;
}
.cast__title em.serif { color: var(--primary-2); }

.cast__intro {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: rgba(254,251,255,0.68);
  margin: 0 0 28px;
  max-width: 46ch;
}
.cast__head-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(254,251,255,0.1);
}
.cast__head-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(254,251,255,0.5);
  margin-bottom: 8px;
}
.cast__head-v {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* Horizontal scroller — edge-to-edge, with auto-pan animation */
.cast__scroller {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.cast__track {
  display: flex;
  gap: 20px;
  padding: 0 var(--pad-x);
  width: max-content;
  animation: castPan 48s linear infinite;
}
.cast:hover .cast__track { animation-play-state: paused; }
@keyframes castPan {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.cast__card {
  margin: 0;
  flex: 0 0 clamp(260px, 22vw, 360px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cast__card-media {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1a1620;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.cast__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms cubic-bezier(.2,.8,.2,1), filter 600ms ease;
  filter: saturate(0.94);
}
.cast__card:hover .cast__card-media img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.cast__card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 10px;
  background: rgba(11,10,15,0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.cast__card-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 0 4px;
}
.cast__card-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}
.cast__card-loc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254,251,255,0.55);
}

.cast__foot {
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: flex-end;
}
.cast__foot-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(254,251,255,0.3);
  transition: border-color 200ms ease, color 200ms ease, gap 200ms ease;
}
.cast__foot-link:hover {
  color: var(--primary-2);
  border-color: var(--primary-2);
  gap: 14px;
}

@media (max-width: 900px) {
  .cast__head { grid-template-columns: 1fr; gap: 20px; }
  .cast__head-meta { grid-template-columns: 1fr; }
}


/* ================= 03 RIGHT PLACE — COMPACT (text-led, image secondary) ================= */
.rp--compact .rp__cases { display: none; }
.rp--compact .rp__header-meta { display: none; }
.rp--compact .rp__header {
  margin-bottom: clamp(40px, 4vw, 56px);
  align-items: end;
}
.rp__row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 2.4vw, 44px);
}

/* Card: text up top, small media at the bottom */
.rp-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
/* Stamp now sits in the body, not on the image */
.rp-card__stamp {
  position: static;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  color: var(--ink);
  margin-bottom: 18px;
}
.rp-card__stamp-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  background: var(--primary); color: var(--white);
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.rp-card__stamp-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.rp-card__body {
  padding: 0;
  margin-bottom: 24px;
}
.rp-card__title {
  font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 12px;
  text-wrap: balance;
  color: var(--ink);
}
.rp-card__text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 38ch;
  margin: 0;
}

/* Smaller, landscape image — visual support, not the hero */
.rp-card__media {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--warm-2);
  box-shadow: 0 20px 40px -28px rgba(11,10,15,0.20);
}
.rp-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(var(--img-scale, 1));
  transform-origin: center 30%;
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}
.rp-card:hover .rp-card__media img { transform: scale(calc(var(--img-scale, 1) * 1.03)); }

@media (max-width: 960px) {
  .rp__row { grid-template-columns: 1fr; gap: 32px; }
  .rp-card__media { aspect-ratio: 16/9; }
}

/* ================= CASE STUDY — Sylvia attribution with portrait ================= */
.case__attrib {
  display: inline-flex !important;
  align-items: center;
  gap: 14px !important;
  font-family: var(--font-sans) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
  color: rgba(254,251,255,0.85) !important;
  margin-bottom: 0 !important;
  padding: 0;
}
.case__attrib-portrait {
  width: 44px; height: 44px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-block;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(254,251,255,0.2);
}
.case__attrib-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.case__attrib-text {
  display: flex; flex-direction: column;
  text-align: left;
  line-height: 1.25;
}
.case__attrib-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.005em;
}
.case__attrib-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254,251,255,0.55);
  margin-top: 4px;
}


/* ================= CASE STUDY — 2-column editorial layout ================= */
.case__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.case__hero {
  position: relative;
  border-radius: var(--radius-img, 18px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,0.55);
}
.case__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case__hero-credit {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(11,10,15,0) 0%, rgba(11,10,15,0.55) 100%);
  border-top: 1px solid rgba(254,251,255,0.22);
  color: var(--white);
  pointer-events: none;
}
.case__hero-credit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,10,15,0.45), transparent 90%);
  z-index: -1;
  pointer-events: none;
}
.case__hero-credit-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(254,251,255,0.7);
  white-space: nowrap;
}
.case__hero-credit-v {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
}
.case__hero-credit-v i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 16px;
  vertical-align: 1px;
  margin: 0 4px;
  opacity: 0.7;
}

.case__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case .case__layout .case__brand {
  margin: 0;
}
.case .case__layout .case__eyebrow {
  margin-bottom: 0;
}

/* Stacked metrics for the right column — keep horizontal but slightly smaller */
.case__metrics--stacked {
  margin: 0;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
}
.case__metrics--stacked .case__metric-num {
  font-size: clamp(40px, 4.4vw, 72px);
}
.case__metrics--stacked .case__metric-divider {
  height: 56px;
}
.case__metrics--stacked .case__metric { align-items: flex-start; gap: 6px; }
.case__metrics--stacked .case__metric-label { font-size: 10px; }

.case__quote--right {
  text-align: left;
  font-size: clamp(28px, 2.6vw, 44px);
  margin: 8px 0 0;
  text-wrap: pretty;
}

.case .case__layout .case__attrib {
  margin: 0;
}

@media (max-width: 960px) {
  .case__layout { grid-template-columns: 1fr; gap: 36px; }
  .case__hero { aspect-ratio: 3 / 4; }
  .case__metrics--stacked { flex-wrap: wrap; }
}
