/* ==========================================================================
   Nema Vand — Main Stylesheet
   Fonts: Futura Condensed ExtraBold (headings — matches perle.nyc),
          Francy (subheadings/eyebrows), Roboto (body)
   ========================================================================== */

/* ---- Custom Fonts ---- */
/* Display face carried over from the Perle build, where it sets h1/h2. */
@font-face {
  font-family: 'Futura Cn';
  src: url('../fonts/FuturaCn-ExtraBold.woff2') format('woff2'),
       url('../fonts/FuturaCn-ExtraBold.woff')  format('woff');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/BehindTheNineties-Bold.woff2') format('woff2'),
       url('../fonts/BehindTheNineties-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Legacy alias — anything using "Hanson" auto-resolves to Behind The Nineties */
@font-face {
  font-family: 'Hanson';
  src: url('../fonts/BehindTheNineties-Bold.woff2') format('woff2'),
       url('../fonts/BehindTheNineties-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Francy';
  src: url('../fonts/Francy.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Cross-document view transitions (Chrome/Edge 126+, Safari 18+) ----
   Same-name elements on the archive and the single-page cross-fade/morph
   into each other on navigation, giving the thumbnail-to-hero a seamless
   handoff. Falls back silently in unsupporting browsers. */
@view-transition { navigation: auto; }

/* No per-element morph. Morphing a 2:3 portrait tile into a 1.9:1 landscape
   hero meant the snapshot had to re-crop while the box resized, which never
   stopped reading as a second, juddering movement. The page-level transition
   alone is smooth every time: the outgoing page is held still and the new one
   fades in over the top, so nothing is ever stretched and there is no moment
   where both are translucent.

   To bring the morph back, put a matching `view-transition-name` on the tile
   and on the destination hero — but match their aspect ratios first. */
@keyframes nema-vt-fade-in { from { opacity: 0; } to { opacity: 1; } }

::view-transition-old(root) {
  animation: none;
  opacity: 1;
}
::view-transition-new(root) {
  animation: nema-vt-fade-in 0.26s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Case Studies page transition — a soft fade/blend through black. The homepage
   fades to black, then the archive fades back in. JS-driven, works everywhere. */
/* Instant cover on the arriving archive (set in <head>) — prevents a flash
   before the JS fade-in runs. */
html.camp-arriving::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99998;
}
.camp-wipe {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0a0a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  will-change: opacity;
}
.camp-wipe.is-in { opacity: 1; }                         /* fade to cover (leaving) */
.camp-wipe.lift  { opacity: 0; transition: opacity 0.45s ease; } /* fade away (arriving) */
@media (prefers-reduced-motion: reduce) { .camp-wipe { display: none; } }

/* ---- CSS Custom Properties ---- */
:root {
  --color-black:      #0a0a0a;
  --color-white:      #ffffff;
  --color-off-white:  #f5f5f5;
  --color-gray:       #888888;
  --color-border-dark: rgba(255,255,255,0.08);
  --color-border-light: rgba(0,0,0,0.1);
  --cs-gold:          #b98a4e;

  /* Section backgrounds */
  --color-bg-dark:    #0a0a0a;
  --color-bg-light:   #ffffff;
  --color-bg-podcast: #f0e6c8;
  --color-bg-culture: #c8dce8;

  /* Typography */
  --font-heading:  'Behind The Nineties', 'Hanson', 'Arial Black', sans-serif;
  /* The Perle display face. Applied only where the brief names it — the hero,
     the oversized display lines, case-study titles and the featured case
     study — never to body copy, quotes or the analytics figures. */
  --font-display:  'Futura Cn', 'Behind The Nineties', 'Arial Black', sans-serif;
  --font-sub:      'Francy', serif;
  --font-body:     'Roboto', -apple-system, sans-serif;

  /* Layout */
  --container-max: 1440px;
  --gutter:        clamp(18px, 3.2vw, 52px);

  /* Type scale */
  --section-heading: clamp(3rem, 6.5vw, 6rem);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.3s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(80px, 10vw, 120px);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Case study pages flip the body theme so the global black/white
   defaults don't bleed through the page templates. */
body.is-cs-featured {
  background: var(--color-white);
  color: var(--color-black);
}
body.is-cs-project {
  background: var(--color-black);
  color: var(--color-white);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Shared type styles ---- */
.label-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6em 1.2em;
  width: auto;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
}
.btn--primary:hover { background: transparent; color: var(--color-white); }
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: var(--color-white); }
.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}
.btn--dark:hover { background: transparent; color: var(--color-black); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  padding-block: 18px;
  border-bottom: 1px solid var(--color-border-dark);
}
.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Centered logo mark; the menu toggle floats to the right edge */
.site-header__logo-img { height: 30px; width: auto; display: block; }
/* On inner pages the logo sits left; the homepage uses the centered hero logo */
body:not(.home) .site-header__inner { justify-content: flex-start; }
/* Case-study pages: close (left) · logo (center) · menu (right) — keeps the
   back control clear of the hamburger. */
body.single-case_study .site-header__inner { justify-content: center; }
.site-header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--color-white);
}
.site-header__logo img { height: 32px; width: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav__list li a {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--duration);
}
.site-nav__list li a:hover { color: var(--color-white); }

.site-header__menu-toggle { display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger span { display: block; height: 1px; background: var(--color-white); transition: transform 0.3s var(--ease), opacity 0.3s; }

.mobile-menu {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: min(380px, 86vw);
  z-index: 99;
  background:
    linear-gradient(
      to left,
      rgba(0,0,0,0.96) 0%,
      rgba(0,0,0,0.92) 35%,
      rgba(0,0,0,0.78) 60%,
      rgba(0,0,0,0.45) 80%,
      rgba(0,0,0,0.12) 94%,
      rgba(0,0,0,0) 100%
    );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: clamp(90px, 12vw, 140px) clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px);
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.is-open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu__inner { width: 100%; }
.mobile-menu__list {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu__list li a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity var(--duration);
  display: block;
  padding-block: 8px;
}
.mobile-menu__list li a:hover { opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.section-hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 560px;
  background: var(--color-black);
  overflow: hidden;
}
.section-hero__media {
  position: absolute; inset: 0;
}
.section-hero__video,
.section-hero__iframe {
  width: 100%; height: 100%;
  object-fit: cover; border: none;
}
.section-hero__placeholder {
  width: 100%; height: 100%;
  background: var(--color-black);
}
/* Small top-center logo mark over the full-bleed hero video.
   Sized intentionally small per direction; toggle off via hero_logo_enabled. */
.section-hero__logo {
  position: absolute;
  top: clamp(14px, 2.5vh, 36px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: block;
  line-height: 0;
  pointer-events: auto;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.45));
  transition: opacity var(--duration) var(--ease);
}
.section-hero__logo:hover { opacity: 0.82; }
.section-hero__logo img {
  display: block;
  width: clamp(31px, 2.9vw, 50px);
  height: auto;
}
@media (max-width: 540px) {
  .section-hero__logo { top: clamp(12px, 2.5vh, 32px); }
  .section-hero__logo img { width: clamp(27px, 7.7vw, 37px); }
}

.section-hero__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
}
.section-hero__overlay-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Homepage header — hide nav, center the logo */
.home .site-nav { display: none; }
/* While at the top of the homepage the small hero logo is the single
   top-center mark; the header logo fades back in once the user scrolls. */
.home .site-header:not(.scrolled) .site-header__logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}
.home .site-header { padding-top: clamp(36px, 3.5vw, 48px); }
.home .site-header__inner { justify-content: center; }
.home .site-header__logo-text { font-size: clamp(1.6rem, 3.5vw, 2.8rem); letter-spacing: 0.28em; }

/* Case study — header sits transparently over the video bg */
.single-case_study .site-header { background: transparent; }

.section-hero__scroll-cue {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.2s ease-in-out infinite;
}
.section-hero__scroll-cue svg { width: 18px; height: 18px; color: rgba(255,255,255,0.5); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ==========================================================================
   MARQUEE — white background, dark text
   ========================================================================== */
.section-marquee {
  background: var(--color-white);
  border-block: 1px solid rgba(0,0,0,0.12);
  padding-block: 11px;
  overflow: hidden;
}
.section-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-speed, 25s) linear infinite;
}
.section-marquee__content {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
}
.section-marquee__item {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  padding-inline: 18px;
}
.section-marquee__divider {
  font-size: 7px;
  color: rgba(0,0,0,0.25);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION LABEL MARQUEE — reusable scrolling section header bar
   ========================================================================== */
.section-label-marquee {
  overflow: hidden;
  padding-block: clamp(14px, 2vw, 24px);
  border-block: 1px solid transparent;
}
.section-label-marquee--light {
  background: var(--color-white);
  border-color: rgba(0,0,0,0.1);
}
.section-label-marquee--dark {
  background: var(--color-black);
  border-color: var(--color-border-dark);
}
.section-label-marquee__track {
  display: flex;
  width: max-content;
  /* Slowed for a calmer ticker (Case Studies / Merch label ribbons) */
  animation: marquee 78s linear infinite;
}
.section-label-marquee__content {
  display: flex; align-items: center;
  white-space: nowrap;
}
.section-label-marquee__item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: 0.01em;
  text-transform: none;
  padding-inline: clamp(28px, 3vw, 56px);
  line-height: 1;
}
.section-label-marquee--light .section-label-marquee__item { color: #000; }
.section-label-marquee--dark  .section-label-marquee__item { color: #fff; }
.section-label-marquee__dot {
  font-size: clamp(0.8rem, 1.2vw, 1.2rem);
  opacity: 0.55;
  align-self: center;
}

/* ==========================================================================
   PROJECTS GRID — white background, horizontal scroll
   ========================================================================== */
.section-projects {
  background: var(--color-white);
  color: var(--color-black);
}

/* Projects — auto-scrolling marquee */
.section-projects__scroll-wrap {
  overflow: hidden;
}
.section-projects__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  gap: 1px;
  background: rgba(0,0,0,0.08);
}
.section-projects__track:hover { animation-play-state: paused; }
.section-projects__marquee-set {
  display: flex;
  flex-shrink: 0;
  gap: 1px;
}
.section-projects__marquee-set .project-card {
  flex: 0 0 clamp(300px, 30vw, 460px);
  width: clamp(300px, 30vw, 460px);
}

/* Project Card — on white bg */
.project-card { background: var(--color-white); }
.project-card__link { display: block; }
.project-card__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8e8e8;
  position: relative;
}
.project-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-card__link:hover .project-card__img { transform: scale(1.04); }
.project-card__img-placeholder { width: 100%; height: 100%; background: #e8e8e8; }
.project-card__hover-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--duration);
}
.project-card__link:hover .project-card__hover-overlay { opacity: 1; }
.project-card__view {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-white);
}
.project-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.project-card__title {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-black);
}
.project-card__services {
  display: block;
  font-size: 11px; color: rgba(0,0,0,0.4);
  margin-top: 3px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.project-card__label {
  font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(0,0,0,0.35);
}
.project-card__category {
  font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(0,0,0,0.35);
}
.project-card__arrow { font-size: 13px; color: rgba(0,0,0,0.3); }
.project-card--placeholder .project-card__thumb { background: #ebebeb; }

/* Project card button reset — keeps visual identical to old <a> */
.project-card__link {
  display: block; width: 100%;
  background: none; border: none; padding: 0; margin: 0;
  text-align: left; cursor: pointer;
}

/* Project Video Modal */
.project-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.project-modal.is-open { opacity: 1; pointer-events: auto; }
.project-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
}
.project-modal__inner {
  position: relative; z-index: 1;
  width: min(90vw, 960px);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.project-modal.is-open .project-modal__inner { transform: translateY(0); }
.project-modal__close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; padding: 4px 8px;
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; opacity: 0.7; transition: opacity 0.2s;
}
.project-modal__close:hover { opacity: 1; }
.project-modal__video-wrap {
  position: relative; padding-bottom: 56.25%;
  height: 0; overflow: hidden; background: #000;
}
.project-modal__iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.project-modal__title {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; text-align: center;
}

/* ==========================================================================
   FEATURED CASE STUDY — dark / image bg
   ========================================================================== */
.section-featured-cs {
  position: relative;
  background: #111;
  background-size: cover; background-position: center;
  min-height: 70vh;
  display: flex; align-items: center;
  overflow: hidden;
}

/* Wrapper — positions arrows + counter relative to the section, not the scroll track */
.cs-featured-wrap { position: relative; }

/* Multi-panel case-studies slider (drag-scroll, snap) */
.cs-featured-slider {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: smooth;
  touch-action: pan-y;
  user-select: none;
}
.cs-featured-slider::-webkit-scrollbar { display: none; }
.cs-featured-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.cs-featured-slider.is-dragging * { pointer-events: none; }
.cs-featured-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}
.cs-featured-slider[data-panels="1"] {
  display: block;
  overflow: visible;
  cursor: auto;
}
.cs-featured-slider[data-panels="1"] .cs-featured-slide { flex: 0 0 auto; }

/* Slide background — extracted so we can animate scale on active */
.section-featured-cs__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease);
  will-change: transform;
  z-index: 0;
}
.cs-featured-slide.is-active .section-featured-cs__bg {
  transform: scale(1.12);
}

/* Slide content entrance — animates each time a slide becomes active */
.cs-featured-slide .section-featured-cs__title,
.cs-featured-slide .section-featured-cs__services,
.cs-featured-slide .section-featured-cs__excerpt,
.cs-featured-slide .section-featured-cs__cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.cs-featured-slide.is-active .section-featured-cs__title    { opacity: 1; transform: none; transition-delay: 0.05s; }
.cs-featured-slide.is-active .section-featured-cs__services { opacity: 1; transform: none; transition-delay: 0.18s; }
.cs-featured-slide.is-active .section-featured-cs__excerpt  { opacity: 1; transform: none; transition-delay: 0.28s; }
.cs-featured-slide.is-active .section-featured-cs__cta      { opacity: 1; transform: none; transition-delay: 0.38s; }

/* CTA — arrow slides on hover */
.section-featured-cs__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.section-featured-cs__cta-arrow {
  width: 18px; height: 18px;
  transition: transform 0.4s var(--ease);
}
.section-featured-cs__cta:hover .section-featured-cs__cta-arrow {
  transform: translateX(6px);
}

/* Edge arrows — no circle background, just bold chevrons */
.cs-featured-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: clamp(48px, 5vw, 72px);
  height: clamp(48px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  padding: 0;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.45));
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.cs-featured-nav--prev { left: clamp(8px, 1.6vw, 24px); }
.cs-featured-nav--next { right: clamp(8px, 1.6vw, 24px); }
.cs-featured-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.18);
}
.cs-featured-nav svg {
  width: 100%; height: 100%;
  stroke-width: 1.25;
}
.cs-featured-nav:hover svg {
  animation: cs-arrow-pulse 0.6s var(--ease);
}
.cs-featured-nav--prev:hover svg { animation-name: cs-arrow-pulse-left; }
@keyframes cs-arrow-pulse {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(4px); opacity: 0.5; }
  51%  { transform: translateX(-6px); opacity: 0; }
  60%  { transform: translateX(-6px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes cs-arrow-pulse-left {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-4px); opacity: 0.5; }
  51%  { transform: translateX(6px); opacity: 0; }
  60%  { transform: translateX(6px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Counter */
.cs-featured-counter {
  position: absolute;
  bottom: clamp(20px, 2.6vw, 36px);
  right: clamp(20px, 2.6vw, 36px);
  z-index: 5;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  display: flex; gap: 6px;
}
.cs-featured-counter__sep,
.cs-featured-counter__total { opacity: 0.55; }
.section-featured-cs__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.88) 45%, rgba(0,0,0,0.25) 100%);
}
.section-featured-cs__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-max);
  margin-inline: auto; padding: clamp(60px, 10vw, 140px) var(--gutter);
  display: block;
}
.section-featured-cs__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.section-featured-cs__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.93;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}
.section-featured-cs__services {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.section-featured-cs__excerpt {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px; max-width: 460px;
  font-family: var(--font-body);
}
.section-featured-cs__content { max-width: 820px; }
.section-featured-cs__dots {
  position: absolute; bottom: 28px; left: var(--gutter);
  display: flex; gap: 6px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.dot--active { background: var(--color-white); }

/* ==========================================================================
   ABOUT / THE BEGINNING — dark
   ========================================================================== */
.section-about {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: clamp(40px, 6vw, 96px);
}
.section-about__inner {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
  height: 100%;
}
.section-about__eyebrow {
  display: block;
  font-family: var(--font-sub);
  font-size: 13px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.section-about__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.88; letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section-about__body {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px; max-width: 440px;
}
.section-about__body p + p { margin-top: 1em; }
.section-about__image {
  width: 100%;
  height: clamp(260px, 28vw, 420px);
  object-fit: cover;
  display: block;
}
.section-about__image-placeholder {
  width: 100%;
  height: clamp(260px, 28vw, 420px);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-dark);
}

/* About — section-label marquee sits at top; spacing handled by component */
.section-about .section-label-marquee {
  margin-bottom: clamp(24px, 4vw, 56px);
}

/* About slider — horizontal click-drag scroller with snap-to-slide */
.about-slider {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: smooth;
  touch-action: pan-y;
  user-select: none;
}
.about-slider::-webkit-scrollbar { display: none; }
.about-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.about-slider.is-dragging * { pointer-events: none; }
.about-slide {
  flex: 0 0 100%;
  position: relative;
  inset: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 1;
  visibility: visible;
}
/* Single panel — no scroll behaviour, natural sizing */
.about-slider[data-panels="1"] {
  display: block;
  overflow: visible;
  cursor: auto;
}
.about-slider[data-panels="1"] .about-slide { flex: 0 0 auto; }

.section-about__media { position: relative; }

.about-nav-next,
.about-nav-prev {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(48px, 6vw, 80px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color var(--duration), background var(--duration);
  z-index: 4;
  background: transparent;
  border: none;
}
.about-nav-prev { left: 0; }
.about-nav-next { right: 0; }
.about-nav-next:hover,
.about-nav-prev:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.04);
}
.about-nav-next svg,
.about-nav-prev svg { width: 24px; height: 24px; }

.about-counter {
  position: absolute; bottom: 14px; right: 0;
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35);
}
.about-counter__current { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   MERCH — white background, horizontal scroll
   ========================================================================== */
.section-merch {
  background: var(--color-white);
  color: var(--color-black);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.section-merch__scroll-wrap { overflow: hidden; }
.section-merch__track {
  display: flex;
  width: max-content;
  /* Slowed significantly per feedback — calmer, less distracting pace */
  animation: marquee 96s linear infinite;
  gap: 1px;
  background: rgba(0,0,0,0.08);
}
.section-merch__track:hover { animation-play-state: paused; }
.section-merch__marquee-set {
  display: flex;
  flex-shrink: 0;
  gap: 1px;
}

.merch-card {
  flex: 0 0 clamp(220px, 22vw, 340px);
  width: clamp(220px, 22vw, 340px);
  background: var(--color-white);
}
.merch-card__link { display: block; }
.merch-card__thumb {
  aspect-ratio: 4/3; overflow: hidden; background: #ebebeb; position: relative;
}
.merch-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.merch-card__link:hover .merch-card__img { transform: scale(1.04); }
.merch-card__img-placeholder { width: 100%; height: 100%; background: #e8e8e8; }
.merch-card__badge {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--font-body); font-size: 8px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 7px; background: var(--color-black); color: var(--color-white);
}
.merch-card__info {
  padding: 18px 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.merch-card__name {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-black);
}
.merch-card__price {
  display: block; font-size: 12px; color: rgba(0,0,0,0.4); margin-top: 4px;
}

/* ==========================================================================
   COMING SOON — white/light background
   ========================================================================== */
.section-coming-soon {
  background: var(--color-white);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.section-coming-soon__scroll-wrap { overflow: hidden; cursor: grab; }
.section-coming-soon__scroll-wrap:active { cursor: grabbing; }
.section-coming-soon__track {
  display: flex; gap: 1px; background: rgba(0,0,0,0.08);
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  user-select: none;
}
.section-coming-soon__track::-webkit-scrollbar { display: none; }

.coming-soon-card {
  flex: 0 0 clamp(200px, 25vw, 340px);
  background: var(--color-white);
}
.coming-soon-card__thumb {
  aspect-ratio: 1; overflow: hidden; background: #ebebeb;
}
.coming-soon-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.coming-soon-card__thumb:hover img { transform: scale(1.04); }
.coming-soon-card__placeholder { width: 100%; height: 100%; background: #e8e8e8; }
.coming-soon-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.coming-soon-card__label {
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(0,0,0,0.4);
}
.coming-soon-card__arrow { font-size: 12px; color: rgba(0,0,0,0.3); }

/* ==========================================================================
   PODCASTS — 50/50 split, yellow-green gradient
   ========================================================================== */
.section-podcasts {
  color: var(--color-black);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.section-podcasts__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(320px, 38vw, 520px);
}
/* Left col: gradient #F9F9F9→#FBFFCF, Right col: #F9F9F9 */
.section-podcasts__row--1 {
  background: linear-gradient(to right, #F4FCE3 50%, #F9F9F9 50%);
}
.section-podcasts__col {
  /* vertical padding only — horizontal handled per-col below */
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 80px);
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
/* Left text col: align left edge with container (accounts for max-width centering) */
.section-podcasts__col--text {
  padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
  background: linear-gradient(to bottom, #F9F9F9 0%, #FBFFCF 100%);
}
.section-podcasts__col--list {
  background: #F9F9F9;
  justify-content: center;
}
.section-podcasts__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 0.88; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--color-black);
  margin-bottom: 20px;
}
.section-podcasts__body {
  font-family: var(--font-body); font-size: 13px; line-height: 1.75;
  color: rgba(0,0,0,0.6); margin-bottom: 28px; max-width: 100%;
}

/* Podcast cards */
.podcast-card {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-block: 16px;
}
.podcast-card:first-child { border-top: none; }
.podcast-card__link {
  display: flex; align-items: center; gap: 14px;
  transition: opacity var(--duration);
}
.podcast-card__link:hover { opacity: 0.65; }
.podcast-card__thumb {
  flex: 0 0 56px; width: 56px; height: 56px;
  overflow: hidden; background: rgba(0,0,0,0.08); border-radius: 3px;
}
.podcast-card__img { width: 100%; height: 100%; object-fit: cover; }
.podcast-card__img-placeholder { width: 100%; height: 100%; background: rgba(0,0,0,0.06); }
.podcast-card__meta { flex: 1; }
.podcast-card__episode {
  display: block; font-family: var(--font-sub); font-size: 10px;
  color: rgba(0,0,0,0.4); margin-bottom: 3px;
}
.podcast-card__title {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--color-black); line-height: 1.4; text-transform: none; letter-spacing: 0;
}
.podcast-card__duration {
  display: block; font-size: 10px; color: rgba(0,0,0,0.38); margin-top: 3px;
}
.podcast-card__play {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-black);
  display: flex; align-items: center; justify-content: center;
}
.podcast-card__play svg { width: 9px; height: 9px; fill: #fff; margin-left: 1px; }

/* ==========================================================================
   EPISODIC — dark editorial stack
   ========================================================================== */
.section-episodic {
  background: #0a0a0a;
  color: #fff;
}
.section-episodic__header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-top: clamp(20px,2.5vw,32px);
  padding-bottom: clamp(20px,2.5vw,32px);
  padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
}
.section-episodic__header-inner {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.section-episodic__heading {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  color: #fff; line-height: 1; margin: 0;
}
.section-episodic__body {
  font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5);
  margin: 0; max-width: 440px; line-height: 1.6; text-align: right;
}
.btn--outline-light {
  border: 1px solid rgba(255,255,255,0.3); color: #fff; background: transparent;
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  padding: 11px 22px; display: inline-block;
  transition: background var(--duration), border-color var(--duration);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* Cards grid — two tall cards side by side */
.section-episodic__grid {
  display: grid; grid-template-columns: 1fr 1fr;
}
.episodic-card {
  position: relative; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  transition: background var(--duration);
}
.episodic-card:last-child { border-right: none; }
.episodic-card:hover { background: rgba(255,255,255,0.03); }

/* Thumbnail — now a button (sizzle) or link (external); reset native chrome */
.episodic-card__media {
  position: relative; aspect-ratio: 21/9; overflow: hidden;
  background: #111;
  display: block; width: 100%;
  margin: 0; padding: 0; border: 0;
  text-decoration: none; color: inherit;
  cursor: pointer;
  font: inherit;
}
.episodic-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.episodic-card:hover .episodic-card__img { transform: scale(1.03); }
.episodic-card__img-placeholder { width:100%; height:100%; background:#1a1a1a; }

/* Play button overlay */
.episodic-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0; transition: opacity var(--duration);
}
.episodic-card__media:hover .episodic-card__play,
.episodic-card__media:focus-visible .episodic-card__play { opacity: 1; }
.episodic-card__play svg { width: 64px; height: 64px; color: #fff; }

/* Text body */
.episodic-card__body {
  padding: clamp(14px,2vw,22px) clamp(20px,3vw,36px) clamp(16px,2.5vw,28px);
  display: flex; flex-direction: column; gap: 8px; flex: 1;
  position: relative; z-index: 1;
}
.episodic-card__meta-top {
  display: flex; align-items: center; gap: 16px;
}
.episodic-card__ep-num {
  font-family: var(--font-sub); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.episodic-card__duration {
  font-family: var(--font-body); font-size: 10px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}
.episodic-card__title {
  font-family: var(--font-heading); font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  color: #fff; line-height: 1.05; margin: 0;
}
.episodic-card__tagline {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(255,255,255,0.45); line-height: 1.55; margin: 0;
  max-width: 320px;
}
.episodic-card__watch {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 8px;
  text-decoration: none;
  transition: color var(--duration);
}
.episodic-card__watch:hover { color: #fff; }
.episodic-card__watch svg { width: 16px; height: 16px; transition: transform var(--duration); }
.episodic-card__watch:hover svg { transform: translateX(4px); }

/* Credit — "Director: Nema Vand" */
.episodic-card__credit {
  margin: 2px 0 0;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
}
.episodic-card__credit-role { color: rgba(255,255,255,0.45); margin-right: 0.5em; }

/* "Streaming on [Peacock]" — small, tucked into the card's bottom-right
   corner so it adds no height. */
.episodic-card__streaming {
  position: absolute;
  right: clamp(20px,3vw,36px);
  bottom: clamp(16px,2.5vw,28px);
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}
.episodic-card__streaming .nema-peacock-logo {
  height: 15px; width: auto; display: block;
  color: #fff;
  transform: translateY(1px); /* sit the wordmark's x-height on the text baseline */
}
.episodic-card__streaming-name { color: #fff; font-weight: 500; }

/* Alternate card — accent tint */
.episodic-card--even { background: #0e0e0e; }


/* ==========================================================================
   CULTURE — 50/50 split, blue gradient (image left / text right)
   ========================================================================== */
.section-culture {
  color: var(--color-black);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.section-culture__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(320px, 38vw, 520px);
  /* Left col: #F5F5F5 (image), Right col: gradient #CFF4FF→#F5F5F5 */
  background: linear-gradient(to right, #F5F5F5 50%, #E7FAFF 50%);
}
.section-culture__col {
  display: flex; flex-direction: column; justify-content: center;
}
.section-culture__col--image {
  background: #F5F5F5;
  overflow: hidden;
  align-self: stretch;
}
.section-culture__col--text {
  background: linear-gradient(to bottom, #CFF4FF 0%, #F5F5F5 100%);
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 80px);
  /* Left edge of this col is at 50vw; pad from there with gutter */
  padding-inline: var(--gutter);
}
.section-culture__img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.section-culture__img-placeholder {
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.06);
}
.section-culture__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 0.88; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--color-black);
  margin-bottom: 24px;
}
.section-culture__body {
  font-family: var(--font-body); font-size: 14px; line-height: 1.8;
  color: rgba(0,0,0,0.6); max-width: 100%;
}
.section-culture__body p + p { margin-top: 1em; }

/* ==========================================================================
   DISPLAY TEXT — dark, huge type
   ========================================================================== */
.section-display-text {
  background: var(--color-black);
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--color-border-dark);
  overflow: hidden;
}
.section-display-text__inner { padding-inline: var(--gutter); }
.section-display-text__word {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 26rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.82;
  color: transparent;
  /* Fallback gradient — overridden by inline background-image when an image is set */
  background-image: linear-gradient(175deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.08) 100%);
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #fff;
  padding: clamp(36px, 4vw, 56px) var(--gutter) 0;
}
.site-footer__top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: clamp(28px, 3.5vw, 48px);
}
.site-footer__brand {
  display: flex; flex-direction: column; gap: 10px;
}
.site-footer__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: 0.04em; text-transform: uppercase; color: #000;
  line-height: 1; display: block;
}
.site-footer__logo img { height: 44px; width: auto; }
.site-footer__email {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0,0,0,0.5); text-decoration: none;
  transition: color var(--duration);
}
.site-footer__email:hover { color: #000; }
.site-footer__social { display: flex; gap: 20px; align-items: center; margin-top: 4px; }
.site-footer__social-link {
  color: #000; opacity: 0.75; transition: opacity var(--duration); display: flex;
}
.site-footer__social-link:hover { opacity: 1; }
.site-footer__social-link svg { width: 26px; height: 26px; }

.site-footer__nav-list {
  display: flex; gap: 0; align-items: center; list-style: none; margin: 0; padding: 0;
}
.site-footer__nav-list li { display: flex; align-items: center; }
.site-footer__nav-list li + li::before {
  content: '|'; color: rgba(0,0,0,0.25);
  padding: 0 12px; font-size: 9px;
}
.site-footer__nav-list a {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,0,0,0.55); transition: color var(--duration);
  text-decoration: none;
}
.site-footer__nav-list a:hover { color: #000; }

.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 16px 0;
}
.site-footer__copy {
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  color: rgba(0,0,0,0.35); letter-spacing: 0.12em; text-transform: uppercase;
}
.site-footer__legal-list {
  display: flex; gap: 0; align-items: center; list-style: none; margin: 0; padding: 0;
}
.site-footer__legal-list li { display: flex; align-items: center; }
.site-footer__legal-list li + li::before {
  content: '|'; color: rgba(0,0,0,0.25);
  padding: 0 10px; font-size: 9px;
}
.site-footer__legal-list a {
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0,0,0,0.35); text-decoration: none; transition: color var(--duration);
}
.site-footer__legal-list a:hover { color: #000; }

/* ==========================================================================
   GENERIC / INNER PAGES
   ========================================================================== */
.page-content {
  padding-block: clamp(80px, 10vw, 140px);
  padding-inline: var(--gutter);
  min-height: 60vh;
  padding-top: max(80px, 10vw);
}
.entry-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 6rem);
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 40px; line-height: 0.9;
}
.entry-content {
  font-family: var(--font-body); font-size: 15px; line-height: 1.8;
  color: rgba(255,255,255,0.7); max-width: 680px;
}
.entry-content p + p { margin-top: 1.25em; }
.entry-content a { text-decoration: underline; opacity: 0.8; }

/* ==========================================================================
   CINEMATIC PAGE — featured image as a blurred fixed bg, content on top
   ========================================================================== */
.page-cinematic {
  position: relative;
  min-height: 100vh;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}
.page-cinematic__article { position: relative; }
.page-cinematic__bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Blurred parallax — extends past edges to hide blur halo */
  filter: blur(48px) saturate(1.15);
  transform: scale(1.18);
  z-index: 0;
  pointer-events: none;
}
.page-cinematic__overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.7) 100%);
}

/* Hero header — large title centered over the blurred bg */
.page-cinematic__hero {
  position: relative;
  z-index: 1;
  min-height: clamp(60vh, 70vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(60px, 8vw, 120px);
  text-align: center;
}
.page-cinematic__hero-inner { max-width: 920px; }
.page-cinematic__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.page-cinematic__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 9rem);
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--color-white);
  margin: 0;
  text-shadow: 0 6px 60px rgba(0,0,0,0.5);
}

/* Body — frosted-glass card centered on top of the blurred bg */
.page-cinematic__body-wrap {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(80px, 10vw, 160px);
}
.page-cinematic__body {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}
.page-cinematic__body p + p { margin-top: 1.25em; }
.page-cinematic__body a { color: var(--color-white); text-decoration: underline; opacity: 0.9; }
.page-cinematic__body a:hover { opacity: 1; }
.page-cinematic__body h1, .page-cinematic__body h2, .page-cinematic__body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 1.5em 0 0.5em;
  line-height: 1.1;
}
.page-cinematic__body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-cinematic__body h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

/* Pages without a featured image — gracefully drop the blur layer */
.page-cinematic:not(:has(.page-cinematic__bg)) .page-cinematic__overlay {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0) 60%);
}

/* Inner-page header gets a soft scrim from frame zero so the logo reads
   cleanly even before any scroll */
body:not(.home) .site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: -1;
}

/* NOTE: the previous SINGLE CASE STUDY styles (two-column .cs-single__body
   grid, __topbar/__nav-btn/__left/__right, etc.) were removed — they are
   superseded by the blueprint styles further down (.cs-single__hero-frame,
   .cs-single__body-grid, .cs-single__talking, .cs-single__analytics). Keeping
   them caused .cs-single__body to become a 1fr/2fr grid that squeezed the new
   body-grid into a single ~390px column. */

/* ==========================================================================
   ARCHIVE — Case Studies
   ========================================================================== */
.archive-cs { padding-top: 80px; background: var(--color-white); color: var(--color-black); }
.archive-cs__header {
  padding: 60px var(--gutter) 30px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.archive-cs__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 7rem);
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 0.9;
  color: var(--color-black);
}
.archive-cs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(0,0,0,0.08);
}

/* ==========================================================================
   ARCHIVE PAGE — universal landing page (Campaigns / Podcasts / etc.)
   ========================================================================== */
.archive-page {
  background: var(--color-black);
  color: var(--color-white);
  min-height: 100vh;
}
.archive-page__hero {
  padding: clamp(96px, 9vw, 130px) var(--gutter) clamp(20px, 2.4vw, 36px);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.archive-page__hero-inner {
  max-width: 1280px;
  margin-inline: auto;
  text-align: left;
}
.archive-page__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.archive-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--color-white);
  margin: 0 0 10px;
}
.archive-page__blurb {
  font-family: var(--font-sub);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0;
}

/* Filter chips */
.archive-page__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(16px, 2vw, 28px) var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.archive-page__chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  text-decoration: none;
  transition: color var(--duration), border-color var(--duration), background var(--duration);
}
.archive-page__chip:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.archive-page__chip.is-active {
  color: var(--color-black);
  background: var(--color-white);
  border-color: var(--color-white);
}

/* ----- Campaigns archive — Dave Meyers-style full-screen video + masonry ----- */
:root {
  --cs-gap: 5px;
  --cs-radius: clamp(14px, 1.2vw, 22px);
  --cs-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* On the campaigns archive, hide the default header/filters/blurb — the page
   opens straight into the full-screen video. */
.archive-page--campaigns .archive-page__hero,
.archive-page--campaigns .archive-page__filters {
  display: none;
}
.archive-page--campaigns { padding-top: 0; }
/* Header sits transparently over the video on this archive */
body.post-type-archive-case_study .site-header,
body.tax-case_study_category .site-header {
  background: transparent;
  border-bottom: none;
}
body.post-type-archive-case_study .site-header.scrolled,
body.tax-case_study_category .site-header.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
}

/* 1 — Full-screen video intro */
.cs-intro {
  position: relative;
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100svh;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: #000;
}
.cs-intro__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cs-intro__video,
.cs-intro__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}
/* iframe video needs to be oversized so it always covers the viewport */
iframe.cs-intro__video {
  width: 100vw;
  height: 56.25vw;          /* 16:9 */
  min-height: 100svh;
  min-width: 177.78svh;     /* 16:9 of viewport height */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cs-intro__placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #222 0%, #111 100%);
}
.cs-intro__placeholder--black { background: #000; }
.cs-intro__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vw, 44px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  z-index: 3;
  animation: cs-scroll-bob 2.4s var(--cs-ease) infinite;
}
.cs-intro__scroll svg { width: 16px; height: 22px; }
@keyframes cs-scroll-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* 2 — Varied-height masonry grid, tight 5px gutters */
.cs-masonry {
  display: flex;
  gap: var(--cs-gap);
  padding: var(--cs-gap);
  align-items: stretch;   /* both columns share the taller column's height */
}
.cs-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--cs-gap);
}
/* Every tile keeps its natural (capped) height — no tile stretches to fill.
   Greedy column balancing (PHP) keeps the two columns close to even. */
.cs-tile--fill { flex: 0 0 auto; }
/* Hard ceiling so no tile ever gets gigantic. object-fit: cover means
   capping just crops the image, never letterboxes. */
.cs-tile__media { max-height: clamp(400px, 40vw, 560px); }
.cs-masonry--has-intro {
  position: relative;
  z-index: 2;
  margin-top: clamp(-180px, -11vw, -90px);
  padding-top: 0;
}

.cs-tile {
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: var(--cs-radius);
  background: #111;
}
.cs-tile__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* fallback; the inline ratio overrides this */
  overflow: hidden;
  line-height: 0;
  container-type: size; /* lets the embed iframe size to cover the tile */
}
/* Everything inside the media box absolutely fills it so it always crops to
   the tile shape — no letterboxing, so the rounded corners read cleanly. */
.cs-tile__img,
.cs-tile__placeholder,
.cs-tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: auto;
}
.cs-tile__img {
  transition: transform 0.7s var(--cs-ease), opacity 0.4s var(--cs-ease);
}
.cs-tile__placeholder {
  background: #1a1a1a;
}
.cs-tile__video {
  opacity: 0;
  transition: opacity 0.5s var(--cs-ease);
  pointer-events: none;
}
/* Embedded (YouTube/Vimeo) preview — oversize the 16:9 iframe so the video
   covers the whole tile (no letterboxing) regardless of the tile's shape. */
.cs-tile__video--embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  border: 0;
}
.cs-tile.is-playing .cs-tile__video { opacity: 1; }
.cs-tile.is-playing .cs-tile__img  { opacity: 0; }

/* Overlay — small title always visible bottom-left; notes fade in bottom-right */
.cs-tile__overlay {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 1.6vw, 28px);
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 32%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  z-index: 2;
}
/* Bottom-left meta — always visible, small */
.cs-tile__meta {
  position: absolute;
  left: clamp(16px, 1.6vw, 28px);
  bottom: clamp(16px, 1.6vw, 28px);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.cs-tile__title {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.05vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--color-white);
}
/* Bottom-right credit column — client + actor always visible; note fades in above */
.cs-tile__credits {
  position: absolute;
  right: clamp(16px, 1.6vw, 28px);
  bottom: clamp(16px, 1.6vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: 65%;
  text-align: right;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
/* Client (top) + Actor/Actress (bottom), stacked — always visible */
.cs-tile__credit-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.cs-tile__client {
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 0.95vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-white);
}
.cs-tile__actor {
  font-family: var(--font-sub);
  font-size: clamp(0.72rem, 0.8vw, 0.92rem);
  color: rgba(255,255,255,0.85);
}
/* Hover note — right-aligned list, fades in on hover above the credits */
.cs-tile__note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--cs-ease), transform 0.4s var(--cs-ease);
}
.cs-tile__note span {
  font-family: var(--font-sub);
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
}
@media (hover: hover) {
  .cs-tile:hover .cs-tile__note { opacity: 1; transform: translateY(0); }
  .cs-tile:hover .cs-tile__img  { transform: scale(1.04); }
}
/* Touch devices — hide the hover-only notes */
@media (hover: none) {
  .cs-tile__note { display: none; }
}
.archive-page__pagination {
  padding: clamp(48px, 6vw, 96px) var(--gutter);
  text-align: center;
}
.archive-page__pagination .page-numbers {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 18px;
  margin: 0 4px;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color var(--duration), border-color var(--duration);
}
.archive-page__pagination .page-numbers:hover { color: var(--color-white); border-color: var(--color-white); }
.archive-page__pagination .page-numbers.current {
  color: var(--color-black);
  background: var(--color-white);
  border-color: var(--color-white);
}
.archive-page__empty {
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  text-align: center;
  font-family: var(--font-sub);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
  .archive-page__hero { padding-top: clamp(88px, 16vw, 120px); }
  .archive-page__title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .cs-masonry { gap: clamp(8px, 2vw, var(--cs-gap)); }
}
@media (max-width: 540px) {
  /* Single column — restore natural tile heights, no fill-stretch */
  .cs-masonry { flex-direction: column; }
  .cs-col { flex: none; }
  .cs-tile--fill { flex: 0 0 auto; }
  .cs-tile--fill .cs-tile__media { height: auto; }
}

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

/* ==========================================================================
   OMBRE — reusable gradient background (sunrise style)
   Override per-section via custom properties.
   ========================================================================== */
.ombre-bg {
  --ombre-1: #050816;   /* deep night */
  --ombre-2: #1a0f3d;   /* violet */
  --ombre-3: #4a1a6b;   /* purple */
  --ombre-4: #c64a3a;   /* burnt orange */
  --ombre-5: #f5a97a;   /* peach */
  --ombre-pos: bottom;

  position: relative;
  background-color: var(--ombre-1);
  background-image:
    radial-gradient(
      ellipse 120% 85% at 50% 100%,
      var(--ombre-5) 0%,
      var(--ombre-4) 18%,
      var(--ombre-3) 38%,
      var(--ombre-2) 62%,
      var(--ombre-1) 100%
    );
  background-repeat: no-repeat;
  background-position: var(--ombre-pos);
  background-size: cover;
}
/* Blue ombre — case studies */
.ombre-bg--blue {
  --ombre-1: #05040f;
  --ombre-2: #0d1a4a;
  --ombre-3: #1e3a8a;
  --ombre-4: #3b82f6;
  --ombre-5: #93c5fd;
}
/* Warm ombre — podcasts */
.ombre-bg--warm {
  --ombre-1: #0a0606;
  --ombre-2: #2a0f0a;
  --ombre-3: #7a2a1a;
  --ombre-4: #e07a3a;
  --ombre-5: #fbd38d;
}
/* Pink ombre — In The Chair. Replaces the warm/orange ramp; swap the class on
   podcasts.php back to ombre-bg--warm to revert. Ramped off the Perle brand
   pink (#ea3aa0) up to its light tint (#ffd9ec). */
.ombre-bg--pink {
  --ombre-1: #0a0408;
  --ombre-2: #3d0f2b;
  --ombre-3: #8e1f5e;
  --ombre-4: #ea3aa0;
  --ombre-5: #ffd9ec;
}
/* Pearl ombre — white top, drumming up to a saturated blue glow at bottom.
   Ramped off the blue perle.nyc actually shows on the page (#6fd0f0). */
.ombre-bg--culture {
  --ombre-1: #ffffff;   /* edges/top white */
  --ombre-2: #eef9fd;
  --ombre-3: #c6eefa;
  --ombre-4: #6fd0f0;
  --ombre-5: #2a9fcf;   /* deep blue hotspot bottom-center */
}
/* Larger, more dramatic radial when this variant is active */
.ombre-bg--culture {
  background-image:
    radial-gradient(
      ellipse 140% 100% at 50% 110%,
      var(--ombre-5) 0%,
      var(--ombre-4) 14%,
      var(--ombre-3) 30%,
      var(--ombre-2) 55%,
      var(--ombre-1) 85%
    );
}
/* Optional custom bg image layered behind the gradient (set via inline style) */
.ombre-bg--with-image {
  background-blend-mode: overlay;
}

/* ==========================================================================
   HEADER OVERRIDE — always-visible hamburger (Dave Meyers pattern)
   ========================================================================== */
.site-header__menu-toggle { display: flex !important; align-items: center; justify-content: center; padding: 6px; }
.site-nav { display: none !important; }
.home .site-header { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 0; }
/* Stay fully transparent on home — no backdrop on scroll */
.home .site-header.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
.home .site-header__logo { display: none; }
.home .site-header__inner { position: relative; justify-content: flex-end; }
.home .site-header__menu-toggle {
  position: static;
  margin-left: auto;
}
.hamburger { width: 24px; gap: 6px; }
.hamburger span { height: 1.5px; }

/* ==========================================================================
   HERO OVERRIDE — full-bleed, optional subtle overlay title
   ========================================================================== */
.section-hero { min-height: 100svh; height: 100svh; }
.section-hero__media { inset: 0; }
.section-hero__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%);
}
.section-hero__overlay-text {
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.15;
  max-width: 600px;
  text-align: center;
  padding: 0 var(--gutter);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ==========================================================================
   QUOTE BAR — white bar with serif quote (reusable)
   ========================================================================== */
.section-quote {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(24px, 3.6vw, 52px) var(--gutter);
  text-align: center;
}
.section-quote--dark { background: var(--color-black); color: var(--color-white); }
.section-quote__inner { max-width: 1000px; margin-inline: auto; }
.section-quote__text {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-size: clamp(1.4rem, 3.4vw, 2.8rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 auto;
  max-width: 24ch;
}

/* ==========================================================================
   RECENT WORK (was PROJECTS) — inverted dark + ombre + banner cards
   Auto-scrolling + click-drag scrollable (JS-driven)
   ========================================================================== */
/* Colour only — a `background` shorthand here would clobber the ombre
   gradient set by .ombre-bg and flatten the section back to black. */
.section-projects { color: var(--color-white); }
.section-projects.ombre-bg { color: var(--color-white); }
.section-projects .section-label-marquee--light {
  background: transparent;
  border-color: rgba(255,255,255,0.12);
}
.section-projects .section-label-marquee--light .section-label-marquee__item {
  color: rgba(255,255,255,0.92);
}
.section-projects__scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  padding-block: clamp(10px, 1.2vw, 20px);
}
.section-projects__scroll-wrap:active { cursor: grabbing; }
.section-projects__scroll-wrap::-webkit-scrollbar { display: none; }
.section-projects__track {
  animation: none !important;
  background: rgba(255,255,255,0.06);
  gap: 1px;
  width: max-content;
  display: flex;
}
/* Tile width tracks OBB's 400px card, shrinking to a readable minimum. */
.section-projects__marquee-set .project-card {
  flex: 0 0 clamp(260px, 28vw, 400px);
  width: clamp(260px, 28vw, 400px);
}
.section-projects .project-card { background: transparent; }

/* Portrait tiles in a straight scrollable strip, OBB-style: a still that gives
   way to a muted clip on hover, with the title swapping for a centred CTA. */
.section-projects { overflow: hidden; }
.section-projects .project-card__thumb {
  aspect-ratio: 2 / 3;
  background: #111;
  position: relative;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 14px);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 12px 28px rgba(0,0,0,0.18),
    0 30px 60px rgba(0,0,0,0.08);
}
.section-projects .project-card__thumb::after { display: none; }
.section-projects .project-card {
  padding: clamp(14px, 1.6vw, 24px) clamp(6px, 0.8vw, 12px);
  transition: transform 0.5s var(--ease);
}
.section-projects .project-card:hover { transform: translateY(-6px); }
.section-projects__track { gap: clamp(6px, 1vw, 16px); background: transparent; }

/* Hover clip sits over the still and cross-fades in once it plays. */
.section-projects .project-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}
.section-projects .project-card.is-playing .project-card__video { opacity: 1; }

/* Ombre highlight — a blue-to-pink edge that lights up on hover. */
.section-projects .project-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #6fd0f0 0%, #9a56bc 50%, #ea3aa0 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.section-projects .project-card__link:hover .project-card__thumb::before { opacity: 1; }

/* Idle: title bottom-left. Hover: it steps aside for the centred CTA. */
.section-projects .project-card__overlay-meta {
  transition: opacity 0.3s var(--ease);
  z-index: 4;
}
.section-projects .project-card__link:hover .project-card__overlay-meta { opacity: 0; }
.section-projects .project-card__hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.section-projects .project-card__link:hover .project-card__hover-overlay { opacity: 1; }

/* Mobile: the strip becomes a stack. */
@media (max-width: 767px) {
  .section-projects__track { flex-wrap: wrap; width: 100%; }
  .section-projects__marquee-set { display: contents; }
  .section-projects__marquee-set[aria-hidden="true"] { display: none; }
  .section-projects__scroll-wrap { overflow-x: hidden; }
  .section-projects__marquee-set .project-card {
    flex: 0 0 100%;
    width: 100%;
  }
}
.section-projects .project-card__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  z-index: 1;
}
.section-projects .project-card__overlay-meta {
  position: absolute;
  left: clamp(20px, 3vw, 36px);
  bottom: clamp(18px, 2.8vw, 32px);
  right: clamp(20px, 3vw, 36px);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.section-projects .project-card__overlay-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
}
.section-projects .project-card__overlay-services {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.section-projects .project-card__overlay-category {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  white-space: nowrap;
}
/* Hide the old below-thumb meta row inside recent work */
.section-projects .project-card__meta { display: none; }
.section-projects .project-card__hover-overlay { z-index: 2; }

/* ==========================================================================
   FEATURED CASE STUDY OVERRIDE — blue ombre TINT over image + larger CTA
   The image stays fully visible; a semi-transparent blue gradient sits on top.
   ========================================================================== */
.section-featured-cs__overlay--blue {
  background:
    /* Bottom fade to solid black (matches --color-black of the section below) so they merge seamlessly */
    linear-gradient(to bottom, rgba(10,10,10,0) 30%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0.92) 75%, #0a0a0a 90%),
    /* Blue glow centered in the middle */
    radial-gradient(ellipse 120% 70% at 50% 40%, rgba(59,130,246,0.45) 0%, rgba(30,58,138,0.45) 45%, rgba(5,4,15,0) 100%),
    linear-gradient(to right, rgba(5,4,15,0.65) 0%, rgba(5,4,15,0.15) 55%, rgba(5,4,15,0.4) 100%);
}
.section-featured-cs__cta {
  font-size: 13px !important;
  letter-spacing: 0.2em;
  padding: 16px 32px !important;
  font-weight: 600;
  border-width: 2px !important;
}

/* ==========================================================================
   PODCASTS OVERRIDE — full-width warm ombre
   ========================================================================== */
.section-podcasts.ombre-bg { color: var(--color-white); }
.section-podcasts.ombre-bg .section-podcasts__row,
.section-podcasts.ombre-bg .section-podcasts__row--1 {
  background: transparent;
}
.section-podcasts.ombre-bg .section-podcasts__col--text,
.section-podcasts.ombre-bg .section-podcasts__col--list {
  background: transparent;
}
.section-podcasts.ombre-bg .section-podcasts__heading { color: var(--color-white); }
.section-podcasts.ombre-bg .section-podcasts__body { color: rgba(255,255,255,0.75); }
.section-podcasts.ombre-bg .btn--dark {
  background: var(--color-white); color: var(--color-black); border-color: var(--color-white);
}
.section-podcasts.ombre-bg .btn--dark:hover { background: transparent; color: var(--color-white); }
.section-podcasts.ombre-bg .podcast-card {
  border-top-color: rgba(255,255,255,0.12);
}
.section-podcasts.ombre-bg .podcast-card__title { color: var(--color-white); }
.section-podcasts.ombre-bg .podcast-card__episode,
.section-podcasts.ombre-bg .podcast-card__duration { color: rgba(255,255,255,0.55); }
.section-podcasts.ombre-bg .podcast-card__play {
  background: var(--color-white);
}
.section-podcasts.ombre-bg .podcast-card__play svg { fill: var(--color-black); }

/* ==========================================================================
   CULTURE OVERRIDE — ombre radial (blue edges → white hotspot bottom-center)
   ========================================================================== */
.section-culture.ombre-bg .section-culture__row { background: transparent; }
.section-culture.ombre-bg .section-culture__col--image { background: transparent; }
.section-culture.ombre-bg .section-culture__col--text  { background: transparent; }

/* Full-width fallback when no image is set */
.section-culture--text-only .section-culture__row { grid-template-columns: 1fr; }
.section-culture--text-only .section-culture__col--text {
  text-align: center;
  padding-inline: var(--gutter);
  padding-block: clamp(40px, 5vw, 64px);
}
.section-culture--text-only .section-culture__heading { text-align: center; }
.section-culture--text-only .section-culture__body {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* Podcasts full-width fallback when no episodes exist */
.section-podcasts--text-only .section-podcasts__row,
.section-podcasts--text-only .section-podcasts__row--1 {
  grid-template-columns: 1fr;
}
.section-podcasts--text-only .section-podcasts__col--text {
  text-align: center;
  align-items: center;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-block: clamp(72px, 10vw, 100px);
}
.section-podcasts--text-only .section-podcasts__heading { text-align: center; }
.section-podcasts--text-only .section-podcasts__body {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================================
   DISPLAY TEXT OVERRIDE — bigger, no solid black fill on white bg
   ========================================================================== */
.section-display-text--light {
  background: var(--color-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: clamp(64px, 9vw, 140px);
  padding-bottom: clamp(56px, 8vw, 120px);
  overflow-x: hidden;
  overflow-y: visible;
}
.section-display-text--light .section-display-text__inner {
  padding-inline: var(--gutter);
  max-width: 1600px;
  margin-inline: auto;
}
.section-display-text--light .section-display-text__text { line-height: 0.9; }
.section-display-text--light .section-display-text__word {
  /* Big bold display type, wraps if needed */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: normal;
  color: var(--color-black);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  background-image: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
/* When an image is set: the letters become alpha cutouts revealing
   the image clipped to text shape (section stays white). */
.section-display-text--has-bg .section-display-text__word {
  color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  /* Subtle dark fallback on browsers without background-clip:text support */
  text-shadow: none;
}
.section-display-text__subtext {
  margin: clamp(20px, 2.6vw, 40px) auto 0;
  font-family: var(--font-sub);
  font-size: 18px; /* default — overridable inline via admin */
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(0,0,0,0.7);
  max-width: 60ch;
  text-align: center;
}
.section-display-text--light .section-display-text__text { text-align: center; }

/* Cities — each city on its own oversized line, image clipped to the letters,
   sized up to fill more of the content area than the single display word. */
.section-display-text--cities .section-display-text__inner { max-width: none; }
.section-display-text--cities .section-display-text__text {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.6vw, 16px);
  line-height: 1.05;
}
.section-display-text--cities .section-display-text__city {
  display: block;
  width: 100%;
  font-size: clamp(3.5rem, 15vw, 18rem);
  line-height: 1.05;
  padding-bottom: 0.12em;
  overflow: visible;
}
.section-display-text--cities .section-display-text__city--has-bg {
  color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ==========================================================================
   UNIFIED SINGLE PAGE — case study / podcast / episodic
   Black masthead (left-aligned title) + white editorial body below.
   ========================================================================== */
.single-page {
  background: var(--color-white);
  color: var(--color-black);
  min-height: 100vh;
}
/* HERO — black masthead, left aligned */
.single-page__hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: clamp(140px, 15vw, 220px) var(--gutter) clamp(56px, 7vw, 100px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.single-page__hero-inner {
  max-width: 1280px;
  margin-inline: auto;
  text-align: left;
}
.single-page__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.single-page__eyebrow > span { position: relative; }
.single-page__eyebrow > span + span::before {
  content: '·';
  position: absolute;
  left: -14px;
  color: rgba(255,255,255,0.3);
}
.single-page__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--color-white);
  margin: 0;
  max-width: 14ch;
}
.single-page__tagline {
  font-family: var(--font-sub);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 24px 0 0;
}

/* MEDIA — sits on white */
.single-page__media {
  width: 100%;
  max-width: 1280px;
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding: 0 var(--gutter);
}
.single-page__media--video iframe,
.single-page__media--video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.single-page__media--image img {
  width: 100%; height: auto;
  display: block;
  border-radius: 4px;
}
.single-page__media--podcast {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 960px;
}
.single-page__podcast-cover {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #f0f0f0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.single-page__podcast-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-page__podcast-embed iframe { width: 100%; border: 0; border-radius: 4px; }
.single-page__podcast-cta { padding: 24px 0; }

/* BODY — white, dark text */
.single-page__body {
  max-width: 760px;
  margin: clamp(56px, 7vw, 100px) auto 0;
  padding: 0 var(--gutter);
}
.single-page__content {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: rgba(0,0,0,0.85);
}
.single-page__content p + p { margin-top: 1.25em; }
.single-page__content a { color: var(--color-black); text-decoration: underline; }
.single-page__content h2,
.single-page__content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2em 0 0.5em;
  line-height: 1.1;
  color: var(--color-black);
}
.single-page__content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.single-page__content h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

/* Additional details list */
.single-page__details {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(0,0,0,0.12);
}
.single-page__detail-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.single-page__detail-row dt {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}
.single-page__detail-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.85);
}

/* NAV — dark pill buttons on white */
.single-page__nav {
  max-width: 1100px;
  margin: clamp(60px, 7vw, 100px) auto 0;
  padding: clamp(28px, 4vw, 48px) var(--gutter);
  border-top: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.single-page__nav-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.65);
  padding: 14px 22px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 999px;
  text-decoration: none;
  transition: color var(--duration), border-color var(--duration), background var(--duration);
}
.single-page__nav-btn:hover {
  color: var(--color-white);
  border-color: var(--color-black);
  background: var(--color-black);
}
.single-page__nav-btn--archive {
  color: var(--color-white);
  background: var(--color-black);
  border-color: var(--color-black);
}
.single-page__nav-btn--archive:hover {
  background: transparent;
  color: var(--color-black);
}
.single-page__nav-btn--disabled { opacity: 0.25; pointer-events: none; }
.single-page__nav-arrow { font-size: 14px; }

/* GALLERY */
.single-page__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 2px;
  background: rgba(0,0,0,0.08);
  margin-top: clamp(60px, 7vw, 100px);
}
.single-page__gallery-item { background: #f0f0f0; aspect-ratio: 4/3; overflow: hidden; }
.single-page__gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .single-page__media--podcast { grid-template-columns: 1fr; max-width: 480px; }
  .single-page__detail-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   SINGLE — PROJECT VARIANT (non-featured case study)
   Full-viewport thumbnail background with the video centered on top.
   ========================================================================== */
.single-page--project { background: var(--color-black); }
.single-page--project .single-page__hero--bleed {
  position: relative;
  min-height: 100svh;
  padding: clamp(88px, 8vw, 120px) var(--gutter) clamp(40px, 5vw, 80px);
  background-color: #050505;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  border-bottom: 0;
  overflow: hidden;
}
.single-page__hero-bleed-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.single-page__hero-bleed-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.single-page__hero-bleed-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
}
.single-page__hero-bleed-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.single-page__bleed-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--color-white);
  margin: 0;
  text-align: center;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  text-transform: uppercase;
}
/* Body that follows the full-viewport hero should sit on the project's black canvas */
.single-page--project .single-page__body { color: rgba(255,255,255,0.85); }
.single-page--project .single-page__content { color: rgba(255,255,255,0.85); }
.single-page--project .single-page__content a { color: var(--color-white); }
.single-page--project .single-page__content h2,
.single-page--project .single-page__content h3 { color: var(--color-white); }
.single-page--project .single-page__details { border-top-color: rgba(255,255,255,0.12); }
.single-page--project .single-page__detail-row { border-bottom-color: rgba(255,255,255,0.08); }
.single-page--project .single-page__detail-row dt { color: rgba(255,255,255,0.6); }
.single-page--project .single-page__detail-row dd { color: rgba(255,255,255,0.85); }
.single-page--project .single-page__nav { border-top-color: rgba(255,255,255,0.12); }
.single-page--project .single-page__nav-btn {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}
.single-page--project .single-page__nav-btn:hover {
  color: var(--color-black);
  background: var(--color-white);
  border-color: var(--color-white);
}
.single-page--project .single-page__nav-btn--archive {
  color: var(--color-black);
  background: var(--color-white);
  border-color: var(--color-white);
}
.single-page--project .single-page__nav-btn--archive:hover {
  background: transparent;
  color: var(--color-white);
}

/* ==========================================================================
   SINGLE — FEATURED CASE STUDY VARIANT
   Slim white header (title top-left only) + two-column body with
   info on the left, video on the right.
   ========================================================================== */
/* Black band behind the fixed site header so the white logo/hamburger
   stay readable, even though the slim hero band below is white. */
.single-page--featured {
  position: relative;
  padding-top: clamp(76px, 7vw, 100px);
}
.single-page--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(76px, 7vw, 100px);
  background: var(--color-black);
  z-index: 0;
}
.single-page--featured > * { position: relative; z-index: 1; }

.single-page--featured .single-page__hero--slim {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(14px, 1.6vw, 22px) var(--gutter);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.single-page--featured .single-page__hero-inner {
  max-width: 1280px;
  margin-inline: auto;
  text-align: left;
}
.single-page__slim-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-black);
  margin: 0;
  max-width: none;
}

.single-page__split {
  width: 100%;
  max-width: calc(1280px + 2 * var(--gutter));
  margin: clamp(28px, 3.5vw, 56px) auto clamp(60px, 7vw, 100px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 64px);
  align-items: start;
}
.single-page__split-info {
  font-family: var(--font-body);
  color: rgba(0,0,0,0.85);
}
.single-page__split-info .single-page__content {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.single-page__split-info .single-page__details {
  margin-top: 0;
  padding-top: clamp(20px, 2.4vw, 32px);
  border-top: 1px solid rgba(0,0,0,0.12);
}
.single-page__split-info .single-page__detail-row {
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 12px 0;
}
.single-page__split-info .single-page__detail-row dt {
  font-size: 10px;
}
.single-page__split-info .single-page__detail-row dd {
  font-size: 13px;
}
.single-page__split-media {
  position: sticky;
  top: clamp(80px, 8vw, 110px);
}
.single-page__split-media-inner {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  background: #000;
}
.single-page__split-media-inner--video {
  aspect-ratio: 16 / 9;
}
.single-page__split-media-inner--video iframe {
  width: 100%; height: 100%;
  display: block;
  border: 0;
}
.single-page__split-media-inner--image img {
  width: 100%; height: auto;
  display: block;
}

@media (max-width: 900px) {
  .single-page__split { grid-template-columns: 1fr; }
  .single-page__split-media { position: static; order: -1; }
  .single-page__split-info .single-page__detail-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   LEGACY SINGLE CASE STUDY — kept for any old templates still referencing
   ========================================================================== */
.cs-featured {
  position: relative;
  min-height: 100svh;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-featured__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cs-featured__bg video,
.cs-featured__bg iframe,
.cs-featured__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  filter: brightness(0.35) blur(2px);
}
.cs-featured__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.cs-featured__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 100px);
  display: grid;
  gap: clamp(18px, 2.5vw, 36px);
}
/* Title → meta → video stay visually grouped (tight) */
.cs-featured__title + .cs-featured__meta { margin-top: calc(-1 * clamp(18px, 2.5vw, 36px) + 10px); }
.cs-featured__meta  + .cs-featured__video-wrap { margin-top: calc(-1 * clamp(18px, 2.5vw, 36px) + 16px); }
.cs-featured__meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cs-featured__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
}
.cs-featured__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.cs-featured__video-wrap iframe,
.cs-featured__video-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.cs-featured__description {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 720px;
}
.cs-featured__description p + p { margin-top: 1em; }
.cs-featured__nav {
  display: flex; gap: 12px; justify-content: space-between; align-items: center;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cs-featured__nav-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: color var(--duration), border-color var(--duration), background var(--duration);
}
.cs-featured__nav-btn:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  background: rgba(255,255,255,0.05);
}
.cs-featured__nav-btn--disabled { opacity: 0.25; pointer-events: none; }
.cs-featured__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.08);
}
.cs-featured__gallery-item {
  background: #000;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.cs-featured__gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SINGLE CASE STUDY — Dave Meyers-style: full-bleed hero, bold title,
   2-col body w/ sticky meta sidebar, rounded gallery.
   ========================================================================== */
.cs-single {
  background: var(--color-white);
  color: var(--color-black);
}

/* Back-to-home control — label beside its own ✕ box, on every case-study page */
.cs-single__close {
  position: fixed;
  top: clamp(16px, 2vw, 26px);
  left: clamp(16px, 2vw, 26px);
  z-index: 1200;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0; border: 0; background: none;
  color: #fff;
  cursor: pointer;
}
.cs-single__close-text {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
  transition: opacity var(--duration) var(--ease);
}
.cs-single__close-box {
  flex-shrink: 0;
  width: clamp(40px, 3.4vw, 46px);
  height: clamp(40px, 3.4vw, 46px);
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--duration), border-color var(--duration);
}
.cs-single__close:hover .cs-single__close-box { background: rgba(10,10,10,0.9); border-color: rgba(255,255,255,0.8); }
.cs-single__close:hover .cs-single__close-text { opacity: 0.75; }
.cs-single__close-box svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  /* Collapse to just the ✕ box so it never crowds the centered logo */
  .cs-single__close-text { display: none; }
}

/* 1 — Full-screen hero video, autoplay, fully integrated (no chrome) */
.cs-single--blueprint { padding-top: 0; }
/* 16:9 hero film, full-bleed width, matching the case-study blueprint */
.cs-single__hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.cs-single__hero-frame { position: absolute; inset: 0; }
.cs-single__hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.cs-single__hero-media--empty { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); }

/* Scroll-down cue */
.cs-single__hero-scrolldown {
  position: absolute;
  left: 50%; bottom: clamp(20px, 4vw, 44px);
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  z-index: 3;
  animation: bounce 2.2s ease-in-out infinite;
}
.cs-single__hero-scrolldown svg { width: 22px; height: 22px; }

/* 2 — Large title beneath the hero, in the site font */
.cs-single__head {
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 84px) clamp(20px, 6vw, 120px) clamp(36px, 4vw, 60px);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.cs-single__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: clamp(10px, 1.4vw, 18px);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cs-single__eyebrow-sep { opacity: 0.5; }
.cs-single__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  text-wrap: balance;
}
.cs-single__title-x {
  color: var(--cs-gold);
  font-style: italic;
  font-weight: 500;
}
.cs-single__title-actor { /* keeps the actor on the same line styling as the title */ }
.cs-single__lede {
  max-width: 660px;
  margin: clamp(20px, 2.4vw, 30px) auto 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
  color: rgba(0,0,0,0.66);
}

/* Header sits transparently over the hero */
body.single-case_study .site-header,
body.is-cs-featured .site-header,
body.is-cs-project .site-header {
  background: transparent;
  border-bottom: none;
}
body.single-case_study .site-header.scrolled,
body.is-cs-featured .site-header.scrolled,
body.is-cs-project .site-header.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
}

/* 3 — Talking head (left) + written overview (right), side by side */
.cs-single__body {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 56px) clamp(20px, 2.5vw, 40px);
}
.cs-single__body-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(24px, 2.5vw, 44px);
  align-items: stretch;          /* left box matches the right column's height */
}

/* Left — colored placeholder box, stretches to the full height of the writeup */
.cs-single__sidebox {
  background: #e3e3e3;            /* grey placeholder — swap for future media */
  border-radius: clamp(12px, 1.4vw, 22px);
  min-height: 320px;
}

/* Right — written overview */
.cs-single__overview {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
.cs-single__content {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
  color: rgba(0,0,0,0.82);
}
.cs-single__content p + p { margin-top: 1.4em; }
.cs-single__content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 1.6em 0 0.5em;
  color: #000;
}
.cs-single__content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 1.4em 0 0.4em;
  color: #000;
}
.cs-single__content a {
  color: #000;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.cs-single__content a:hover { opacity: 0.55; }
/* Intro description — sits above the writeup grid in the right column */
.cs-single__overview-lede {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: rgba(0,0,0,0.78);
}

/* 2×2 labeled writeup grid (The Work / Why We Made It / …) */
.cs-single__writeup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 36px) clamp(36px, 4vw, 56px);
}
.cs-single__writeup-label {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #15120f;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.cs-single__writeup-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: rgba(0,0,0,0.78);
}

/* 2b — Meta as a single horizontal strip under the title, replacing the
   stacked list that used to close out the write-up. Columns share the row
   and wrap to their own lines on narrow screens. */
.cs-single__metastrip {
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 6vw, 120px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.cs-single__metastrip-list {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 72px);
}
.cs-single__metastrip-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.cs-single__metastrip-item dt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.cs-single__metastrip-item dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: rgba(0,0,0,0.85);
}
.cs-single__meta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(0,0,0,0.38);
}
@media (max-width: 600px) {
  .cs-single__metastrip-list { gap: 18px 32px; }
}

/* 4 — Analytics — dark "By the Numbers" feature card: a hero stat on the left,
   a 2×2 grid of supporting metrics on the right. */
.cs-single__analytics {
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 56px) clamp(24px, 2.5vw, 36px);
}
.cs-single__analytics-card {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.cs-single__analytics-card--solo { grid-template-columns: 1fr; }
/* Oversized ghost numeral bleeding off the corner — depth without imagery */
.cs-single__analytics-watermark {
  position: absolute;
  right: -0.06em;
  bottom: -0.28em;
  z-index: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(14rem, 26vw, 26rem);
  line-height: 0.7;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
}
.cs-single__analytics-hero,
.cs-single__analytics-grid { position: relative; z-index: 1; }
.cs-single__analytics-hero {
  padding: clamp(32px, 3.2vw, 52px) clamp(32px, 3.5vw, 56px);
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 20px);
}
.cs-single__analytics-card--solo .cs-single__analytics-hero { border-right: none; }
.cs-single__analytics-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cs-gold);
}
/* Unit lockup — the numeral stays large, the unit (M/K/%) shrinks + goes gold */
.cs-stat-unit {
  color: var(--cs-gold);
  font-size: 0.42em;
  font-weight: 600;
  margin-left: 0.05em;
  letter-spacing: 0;
}

/* Metric icons — gold line glyphs above each number */
.cs-single__analytics-icon {
  display: block;
  color: var(--cs-gold);
  margin-bottom: 16px;
}
.cs-single__analytics-icon .cs-single__metric-icon {
  width: 26px;
  height: 26px;
  display: block;
}
.cs-single__analytics-cell .cs-single__analytics-icon { margin-bottom: 12px; }
.cs-single__analytics-cell .cs-single__metric-icon {
  width: 22px;
  height: 22px;
}
.cs-single__analytics-hero-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4.6rem, 10.5vw, 9.6rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: #f5f2ed;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.cs-single__analytics-hero-label {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cs-single__analytics-caption {
  margin: 14px 0 0;
  max-width: 260px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.42);
}
.cs-single__analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cs-single__analytics-cell {
  padding: clamp(22px, 2.4vw, 34px) clamp(26px, 2.8vw, 42px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--duration) var(--ease);
}
.cs-single__analytics-cell:hover { background: rgba(255,255,255,0.03); }
.cs-single__analytics-cell:nth-child(2n) { border-right: none; }
.cs-single__analytics-cell:nth-last-child(-n+2):nth-child(odd),
.cs-single__analytics-cell:last-child { border-bottom: none; }
.cs-single__analytics-cell-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  line-height: 0.85;
  color: #f5f2ed;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.cs-single__analytics-cell-label {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 700px) {
  .cs-single__analytics-card,
  .cs-single__analytics-grid { grid-template-columns: 1fr 1fr; }
  .cs-single__analytics-card { grid-template-columns: 1fr; }
  .cs-single__analytics-hero { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* Case-study surfaces (single + archive + category) — black footer so the
   dark sections flow straight into it, tying the bottom of the page together. */
.has-dark-footer .site-footer { background: #0a0a0a; }
.has-dark-footer .site-footer__logo-text { color: #fff; }
.has-dark-footer .site-footer__email { color: rgba(255,255,255,0.6); }
.has-dark-footer .site-footer__email:hover { color: #fff; }
.has-dark-footer .site-footer__social-link { color: #fff; }
.has-dark-footer .site-footer__nav-list a { color: rgba(255,255,255,0.6); }
.has-dark-footer .site-footer__nav-list a:hover { color: #fff; }
.has-dark-footer .site-footer__nav-list li + li::before,
.has-dark-footer .site-footer__legal-list li + li::before { color: rgba(255,255,255,0.25); }
.has-dark-footer .site-footer__bottom { border-top-color: rgba(255,255,255,0.12); }
.has-dark-footer .site-footer__copy { color: rgba(255,255,255,0.4); }
.has-dark-footer .site-footer__legal-list a { color: rgba(255,255,255,0.4); }
.has-dark-footer .site-footer__legal-list a:hover { color: #fff; }

/* Back to home — quiet link beneath the analytics, bottom-left */
.cs-single__home {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 56px) clamp(28px, 3.5vw, 48px);
}
.cs-single__home-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #15120f;
  text-decoration: none;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.cs-single__home-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cs-single__home-link:hover {
  gap: 16px;
  color: var(--cs-gold);
}

/* Gallery — rounded 2-column grid w/ hover scale */
.cs-single__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 28px);
  padding: 0 clamp(20px, 3vw, 56px) clamp(60px, 8vw, 140px);
  max-width: 1500px;
  margin: 0 auto;
}
.cs-single__gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(14px, 1.4vw, 24px);
  background: #f1f1f1;
  aspect-ratio: 16 / 10;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cs-single__gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.8s var(--ease);
}
.cs-single__gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.25);
}
.cs-single__gallery-item:hover img { transform: scale(1.04); }

/* Back links — clear path back (Case Studies + Home) */
.cs-single__back {
  padding: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 56px) clamp(80px, 10vw, 140px);
  border-top: 1px solid rgba(0,0,0,0.1);
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
}
.cs-single__back--project {
  border-top: none;
  padding-left: 0;
  padding-right: 0;
}
.cs-single__back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  transition: gap 0.3s var(--ease);
}
.cs-single__back-link svg {
  width: 22px; height: 22px;
  transition: transform 0.3s var(--ease);
}
.cs-single__back-link:hover { gap: 18px; }
.cs-single__back-link:hover svg { transform: translateX(-4px); }

/* Mobile */
@media (max-width: 900px) {
  .cs-single__body-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
  }
  .cs-single__sidebox {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
  .cs-single__writeup { grid-template-columns: 1fr; }
  .cs-single__gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   OUR CAMPAIGNS — black band, parallelogram-cut tiles in a straight row,
   centered clickable heading sits in the middle and links to the archive.
   ========================================================================== */
.section-featured-banner {
  background: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-featured-banner__stage {
  position: relative;
  width: 100%;
  height: clamp(300px, 38vw, 520px);
}
.section-featured-banner__row {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  /* Slight horizontal bleed so the diagonal edges fully cover the section */
  margin-inline: -6vw;
}
.section-featured-banner__tile {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #111;
  /* Parallelogram cut — each tile is a slanted slab; they sit straight,
     only the visible frame is angled. */
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  /* Overlap must exceed the diagonal cut (14% of tile width) or a black sliver
     of the section bg shows through the seam. Tuned to comfortably cover it. */
  margin-left: -4.5vw;
}
.section-featured-banner__tile:first-child { margin-left: 0; }
.section-featured-banner__tile img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  display: block;
}
.section-featured-banner__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #222 0%, #111 100%);
}
/* Tiles read in full color by default. A soft radial vignette behind the
   centered "More Campaigns" label keeps it legible without darkening the
   photos overall. */
.section-featured-banner__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 60% at 50% 50%, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.16) 55%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s var(--ease);
}
/* On hover anywhere in the stage, lift the vignette further so the photos pop */
.section-featured-banner__stage:hover .section-featured-banner__scrim {
  opacity: 0.55;
}

/* Centered clickable heading — always sits above tiles + scrim */
.section-featured-banner__heading-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-white);
  z-index: 10;
  transition: transform var(--duration) var(--ease);
}
.section-featured-banner__heading-link:hover {
  transform: scale(1.02);
}
.section-featured-banner__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 8vw, 8rem);
  letter-spacing: -0.015em;
  color: var(--color-white);
  line-height: 0.95;
  margin: 0;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0,0,0,0.55);
}
.section-featured-banner__heading-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--duration), border-color var(--duration);
}
.section-featured-banner__heading-link:hover .section-featured-banner__heading-cta {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}
.section-featured-banner__heading-cta svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .section-featured-banner__stage { height: clamp(260px, 56vw, 420px); }
  .section-featured-banner__tile:nth-child(n+5) { display: none; }
  /* Fewer, wider tiles → bigger diagonal cut → need a wider overlap to hide the seam. */
  .section-featured-banner__tile { margin-left: -5.5vw; }
}
@media (max-width: 540px) {
  .section-featured-banner__tile:nth-child(n+4) { display: none; }
  .section-featured-banner__tile { margin-left: -7vw; }
}

/* ---- Campaigns as a scrollable hover-play strip (OBB reference) ----
   Replaces the fixed-height diagonal banner: straight portrait tiles in a
   horizontal scroller, each playing its clip on hover. Overrides the
   parallelogram rules above rather than deleting them, so reverting is a
   matter of dropping this block. */
.section-featured-banner__stage {
  position: static;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding-inline: var(--gutter);
}
.section-featured-banner__stage::-webkit-scrollbar { display: none; }
.section-featured-banner__stage:active { cursor: grabbing; }
.section-featured-banner__row {
  position: static;
  inset: auto;
  margin-inline: 0;
  width: max-content;
  gap: clamp(6px, 1vw, 16px);
}
.section-featured-banner__tile {
  /* Straight-edged portrait tiles, sized off OBB's 400px card. */
  clip-path: none;
  margin-left: 0;
  flex: 0 0 clamp(260px, 28vw, 400px);
  width: clamp(260px, 28vw, 400px);
  height: auto;
  aspect-ratio: 2 / 3;
  background: transparent;
  border-radius: clamp(8px, 1vw, 14px);
  transition: transform 0.5s var(--ease);
}
.section-featured-banner__tile img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-featured-banner__tile:hover img { transform: scale(1.05); }
.section-featured-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.section-featured-banner__tile.is-playing .section-featured-banner__video { opacity: 1; }

/* Blue-to-pink ombre edge, lit on hover. */
.section-featured-banner__tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #6fd0f0 0%, #9a56bc 50%, #ea3aa0 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.section-featured-banner__tile:hover::before { opacity: 1; }

/* Title at rest; centred CTA on hover. */
.section-featured-banner__meta {
  position: absolute;
  left: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(14px, 1.8vw, 22px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.section-featured-banner__tile:hover .section-featured-banner__meta { opacity: 0; }
.section-featured-banner__tile-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
}
.section-featured-banner__tile-services {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
/* The reference fades a soft black scrim over the whole tile and centres the
   CTA in it, rather than only fading in a label. */
.section-featured-banner__hover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.section-featured-banner__tile:hover .section-featured-banner__hover { opacity: 1; }
.section-featured-banner__view {
  transform: translateY(6px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-featured-banner__tile:hover .section-featured-banner__view { transform: none; }
/* Scaled up for the same reason as the More Campaigns label — the split
   needs size to read. */
.section-featured-banner__view {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-white);
}
/* The scrim belonged to the diagonal stage. */
.section-featured-banner__scrim { display: none; }

/* Room above the strip, less beneath the CTA. */
.section-featured-banner {
  padding-top: clamp(28px, 3.5vw, 52px);
  padding-bottom: clamp(24px, 3vw, 44px);
}

/* Header — title left, CTA right. */
.section-featured-banner__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-inline: var(--gutter);
  margin-bottom: clamp(20px, 2.6vw, 36px);
}
.section-featured-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
}
/* Sized up deliberately: the reference runs this label at 40px, and the
   chromatic split needs that scale to read as a colour fringe rather than
   mush. */
.section-featured-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.section-featured-banner__more:hover { color: var(--color-white); }
.section-featured-banner__more svg { width: 1em; height: 1em; }

/* ---- Chromatic-split CTA label ----
   Matched to the OBB reference, measured off their live CTA: the white base
   fades out and three screen-blended copies take over at small offsets. The
   colours are the Perle palette. Brand blue and pink are both cool, so on
   their own the overlap never brightens; the third layer is the pale brand
   tint, which carries red, green and blue and restores a bright core while
   blue and pink fringe the edges.

   Offsets are the reference's 3px / -4px / 1px against its 40px label,
   expressed in em so they track whatever size the label is used at. */
.nema-glitch {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.nema-glitch__base {
  display: block;
  transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.nema-glitch__layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.nema-glitch__layer--1 { color: #6fd0f0; }  /* Perle blue  */
.nema-glitch__layer--2 { color: #ea3aa0; }  /* brand pink  */
.nema-glitch__layer--3 { color: #d0def2; }  /* pale tint — keeps a bright core */

a:hover .nema-glitch__base,
button:hover .nema-glitch__base,
.section-featured-banner__tile:hover .nema-glitch__base,
.section-display-text__city:hover .nema-glitch__base { opacity: 0; }

a:hover .nema-glitch__layer,
button:hover .nema-glitch__layer,
.section-featured-banner__tile:hover .nema-glitch__layer,
.section-display-text__city:hover .nema-glitch__layer { opacity: 1; }

a:hover .nema-glitch__layer--1,
button:hover .nema-glitch__layer--1,
.section-featured-banner__tile:hover .nema-glitch__layer--1,
.section-display-text__city:hover .nema-glitch__layer--1 { transform: translate(-0.1em, 0.05em); }
a:hover .nema-glitch__layer--2,
button:hover .nema-glitch__layer--2,
.section-featured-banner__tile:hover .nema-glitch__layer--2,
.section-display-text__city:hover .nema-glitch__layer--2 { transform: translate(0.075em, 0.175em); }
a:hover .nema-glitch__layer--3,
button:hover .nema-glitch__layer--3,
.section-featured-banner__tile:hover .nema-glitch__layer--3,
.section-display-text__city:hover .nema-glitch__layer--3 { transform: translate(0.02em, -0.035em); }

@media (prefers-reduced-motion: reduce) {
  .nema-glitch__base { opacity: 1 !important; }
  .nema-glitch__layer { display: none; }
}

/* Legibility scrim behind the tile caption. */
.section-featured-banner__tile::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.34) 45%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}
/* The CTA was absolutely positioned across the whole stage (inset: 0), so it
   sat as a full-size layer on top of the tiles. The header now carries it, so
   the old bottom link is redundant. */
.section-featured-banner__heading-link { display: none; }

/* Mobile: the strip becomes a stack, and every tile shows. */
@media (max-width: 767px) {
  .section-featured-banner__stage { overflow-x: hidden; }
  .section-featured-banner__row { flex-wrap: wrap; width: 100%; }
  .section-featured-banner__tile,
  .section-featured-banner__tile:nth-child(n+4),
  .section-featured-banner__tile:nth-child(n+5) {
    display: block;
    flex: 0 0 100%;
    width: 100%;
  }
}

/* Per-tile hover — let pointer events reach tiles through the heading link */
.section-featured-banner__heading-link { pointer-events: none; }
.section-featured-banner__heading,
.section-featured-banner__heading-cta { pointer-events: auto; }
/* Hover = the image zooms inside its fixed parallelogram frame. The tile box
   itself never moves or resizes; only the photo scales within the clip. */
.section-featured-banner__tile img {
  transition: transform 720ms var(--ease);
}
.section-featured-banner__tile:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   CASE STUDIES — WHITE merch-style horizontal carousel
   Marquee label header on white + auto-scrolling row of cards.
   ========================================================================== */
.section-case-studies {
  background: var(--color-white);
  color: var(--color-black);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.section-case-studies__scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}
.section-case-studies__scroll-wrap::-webkit-scrollbar { display: none; }
.section-case-studies__track {
  display: flex;
  width: max-content;
  gap: 1px;
  background: rgba(0,0,0,0.08);
}
.section-case-studies__set { display: flex; flex-shrink: 0; gap: 1px; }

.cs-card {
  flex: 0 0 clamp(280px, 30vw, 480px);
  width: clamp(280px, 30vw, 480px);
  background: var(--color-white);
}
.cs-card__link { display: block; text-decoration: none; color: inherit; }
.cs-card__thumb {
  aspect-ratio: 4/3; overflow: hidden; background: #ebebeb;
  position: relative;
}
.cs-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cs-card__link:hover .cs-card__img { transform: scale(1.04); }
.cs-card__img-placeholder { width: 100%; height: 100%; background: #e8e8e8; }
.cs-card__badge {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--font-body); font-size: 8px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; background: var(--color-black); color: var(--color-white);
}
.cs-card__info {
  padding: 18px 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cs-card__name {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-black);
  margin: 0;
}

/* ==========================================================================
   DISPLAY HEADINGS — all caps. These were set to render as-authored when the
   display face was Behind The Nineties; the Perle face is drawn for caps, so
   the brief now calls for uppercase throughout.
   ========================================================================== */
.section-featured-cs__title,
.section-about__heading,
.section-podcasts__heading,
.section-episodic__heading,
.episodic-card__title,
.section-culture__heading,
.section-featured-banner__heading,
.section-case-studies__heading,
.entry-title,
.archive-cs__title,
.section-display-text--light .section-display-text__word {
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   UNIFIED SECTION HEADING SIZE — single source of truth
   Pins every top-level section title to one consistent scale.
   (Display Text banner is intentionally NOT included — it's the big alpha
   banner with its own large display sizing.)
   ========================================================================== */
.section-featured-cs__title,
.section-about__heading,
.section-podcasts__heading,
.section-episodic__heading,
.section-culture__heading,
.section-featured-banner__heading,
.section-case-studies__heading {
  font-size: var(--section-heading);
  line-height: 1;
}

/* ==========================================================================
   FOOTER OVERRIDE — no text fallback for missing logo
   ========================================================================== */
.site-footer__logo-text { display: none; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- Tablet ≤ 1024px ---- */
@media (max-width: 1024px) {
  /* About — single column */
  .section-about__inner { grid-template-columns: 1fr; }
  .section-about__image,
  .section-about__image-placeholder { height: clamp(200px, 40vw, 340px); width: 100%; }

  /* Featured CS — reduce height */
  .section-featured-cs { min-height: 55vh; }

  /* Archive — 2 cols */
  .archive-cs__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile nav + section stacking ≤ 768px ---- */
@media (max-width: 768px) {
  /* Header — hamburger is always visible now (handled above) */
  .site-nav { display: none; }

  /* About slider — natural height on mobile; arrows live in a
     dedicated strip at the bottom, clear of the image */
  .about-slide { padding-bottom: 56px; }
  .about-nav-prev,
  .about-nav-next {
    position: absolute;
    top: auto; bottom: 0;
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .about-nav-prev { left: 0; right: auto; }
  .about-nav-next { right: 0; left: auto; }
  .about-counter {
    position: absolute;
    bottom: 0; left: 52px; right: 52px;
    height: 52px;
    display: flex; align-items: center; justify-content: center;
  }

  /* Projects — stop marquee, enable native touch scroll */
  .section-projects__scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: default;
  }
  .section-projects__scroll-wrap::-webkit-scrollbar { display: none; }
  .section-projects__track {
    animation: none !important;
    width: auto;
    flex-wrap: nowrap;
    touch-action: pan-x;
  }
  .section-projects__marquee-set {
    flex-wrap: nowrap;
  }
  .section-projects__marquee-set .project-card {
    scroll-snap-align: start;
  }
  /* Hide duplicate marquee set */
  .section-projects__marquee-set:nth-child(2) { display: none; }

  /* Merch — stop marquee, enable native touch scroll */
  .section-merch__scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: default;
  }
  .section-merch__scroll-wrap::-webkit-scrollbar { display: none; }
  .section-merch__track {
    animation: none !important;
    width: auto;
    flex-wrap: nowrap;
    touch-action: pan-x;
  }
  .section-merch__marquee-set {
    flex-wrap: nowrap;
  }
  .merch-card {
    scroll-snap-align: start;
  }
  /* Hide duplicate marquee set */
  .section-merch__marquee-set:nth-child(2) { display: none; }

  /* About — tighter padding */
  .section-about { padding-block: clamp(36px, 7vw, 72px); }

  /* Featured CS */
  .section-featured-cs { min-height: 50vh; }

  /* Podcasts — stack vertically, drop gradient bg */
  .section-podcasts__row {
    grid-template-columns: 1fr;
    background: none;
    min-height: unset;
  }
  .section-podcasts__row--1 { background: none; }
  .section-podcasts__col { padding-top: clamp(28px, 6vw, 48px); padding-bottom: clamp(28px, 6vw, 48px); padding-inline: var(--gutter); }
  .section-podcasts__col--text { padding-left: var(--gutter); }
  .section-podcasts__col--text { background: linear-gradient(135deg, #F9F9F9 0%, #FBFFCF 100%); }
  .section-podcasts__col--list { background: #F9F9F9; }
  .section-podcasts__heading { font-size: clamp(2.2rem, 7vw, 4rem); margin-bottom: 12px; }

  /* Culture — stack vertically */
  .section-culture__row {
    grid-template-columns: 1fr;
    background: none;
    min-height: unset;
  }
  .section-culture__col--image { min-height: 260px; }
  .section-culture__col--text { padding-top: clamp(28px, 6vw, 48px); padding-bottom: clamp(28px, 6vw, 48px); padding-inline: var(--gutter); }
  .section-culture__heading { font-size: clamp(2.2rem, 7vw, 4rem); }

  /* Episodic — stack, restore 16:9 thumbnail */
  .section-episodic__grid { grid-template-columns: 1fr; }
  .episodic-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .episodic-card__media { aspect-ratio: 16/9; }
  .section-episodic__header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Footer nav — hide on mobile, brand + socials are enough */
  .site-footer__top { align-items: flex-start; }
  .site-footer__nav { display: none; }
}

/* ---- Small mobile ≤ 540px ---- */
@media (max-width: 540px) {
  /* Header — smaller centered logo on home */
  .home .site-header__logo-text { font-size: clamp(1.1rem, 4.5vw, 1.6rem); letter-spacing: 0.2em; }

  /* Hero */
  .section-hero { min-height: 480px; }

  /* Featured CS */
  .section-featured-cs { min-height: 42vh; }
  .section-featured-cs__title { font-size: clamp(1.6rem, 7.5vw, 2.8rem); }
  .section-featured-cs__excerpt { max-width: 100%; font-size: 13px; }

  /* About */
  .section-about { padding-block: clamp(28px, 8vw, 48px); }
  .section-about__heading { margin-bottom: 14px; }
  .section-about__body { font-size: 13px; margin-bottom: 18px; }

  /* Projects — show ~1.2 cards */
  .section-projects__marquee-set .project-card,
  .section-projects__track .project-card { flex: 0 0 80vw; width: 80vw; }

  /* Merch — show ~1.2 cards */
  .section-merch__marquee-set .merch-card,
  .merch-card { flex: 0 0 75vw; width: 75vw; }

  /* Podcasts — tighter on small phones */
  .section-podcasts__col { padding: 24px var(--gutter); }
  .section-podcasts__col--text { padding-left: var(--gutter); }
  .section-podcasts__body { font-size: 13px; margin-bottom: 20px; }

  /* Culture — tighter on small phones */
  .section-culture__col--image { min-height: 200px; }
  .section-culture__col--text { padding: 24px var(--gutter); }

  /* Episodic header & body */
  .section-episodic__body { font-size: 12px; }
  .episodic-card__body { padding: 16px 18px 20px; }
  .episodic-card__tagline { font-size: 12px; }

  /* Display text — prevent horizontal bleed */
  .section-display-text { overflow: hidden; }
  .section-display-text__inner { padding-inline: 0; }

  /* Archive — single column */
  .archive-cs__grid { grid-template-columns: 1fr; }

  /* Single CS */
  .single-cs-hero { height: 52vh; min-height: 320px; }
  .single-cs-meta { gap: 16px; padding: 16px var(--gutter); }

  /* Footer */
  .site-footer__top { flex-direction: column; gap: 20px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer__legal-list { flex-wrap: wrap; gap: 6px; }
  .site-footer__legal-list li + li::before { display: none; }
  .site-footer__social svg { width: 22px; height: 22px; }
}

/* 4-box grid — repeatable "4" block in the 1-4-1-4 Campaigns layout */
.cs-fourbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--cs-gap);
  padding: var(--cs-gap);
}
.cs-fourbox .cs-tile__media { max-height: clamp(400px, 40vw, 560px); }
@media (max-width: 700px) {
  .cs-fourbox { grid-template-columns: 1fr; }
}

/* Logo on case-study pages: true center regardless of menu-toggle width
   (justify-content:center alone centers the pair, not the logo itself) */
body.single-case_study .site-header__inner { justify-content: flex-start; }
body.single-case_study .site-header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Homepage featured case-study excerpt — belt-and-suspenders clamp
   (server-side wp_trim_words already caps word count in featured-case-study.php) */
.section-featured-cs__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ulta Giftmas :15 hero (post 208) — show full image instead of edge-to-edge crop */
.postid-208 .cs-single__hero-media {
  object-fit: contain;
  background: #000;
}

/* ==========================================================================
   Single-page bleed hero (non-featured case studies) — was unstyled.
   Video first, small title below it, background bleed fills the frame
   without cropping too tightly, and clicking outside the inner content
   (the bleed background) closes back to the previous page.
   ========================================================================== */
.single-page__hero--bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100svh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vw, 140px) clamp(16px, 4vw, 48px) clamp(40px, 5vw, 64px);
  cursor: pointer;
}
.single-page__hero-bleed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.single-page__hero-bleed-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  cursor: default;
}
.single-page__hero-bleed-video {
  order: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.single-page__hero-bleed-video video,
.single-page__hero-bleed-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: contain;
}
.single-page__bleed-title {
  order: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* Campaigns page full-bleed hero — shorter, since it now repeats 5x per page
   instead of being a single one-time full-viewport intro */
.archive-page--campaigns .cs-intro {
  height: clamp(360px, 50vw, 640px);
}

/* Campaigns hero teaser video — fill the shortened container (the old
   iframe sizing formula assumed a full 100svh hero, which no longer applies) */
.archive-page--campaigns .cs-intro__media { container-type: size; }
.archive-page--campaigns .cs-intro__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}
.archive-page--campaigns iframe.cs-intro__video {
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Remove header logo on the Campaigns page */
body.post-type-archive-case_study .site-header__logo { display: none; }

/* Campaigns hero — preview clip crossfades in over the thumbnail on hover */
.cs-intro__preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.4s var(--cs-ease);
  pointer-events: none;
}
.cs-intro.is-playing .cs-intro__preview { opacity: 1; }
.cs-intro.is-playing .cs-intro__img { opacity: 0; }

/* Culture/Perle Studios "Visit the Studio" CTA — was completely unstyled,
   rendering the arrow SVG at raw default size. */
.section-culture__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  width: fit-content;
  transition: opacity 0.3s var(--ease, ease);
}
.section-culture__cta:hover { opacity: 0.65; }
.section-culture__cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* Featured case study slider — on mobile, nav arrows were overlapping the
   excerpt text because content padding used --gutter (~20px) while the
   arrows occupy ~56px from each edge. Widen content padding to clear them. */
@media (max-width: 600px) {
  .section-featured-cs__inner { padding-left: 56px; padding-right: 56px; }
  .cs-featured-nav { width: 36px; height: 36px; }
}

/* Hamburger — small blurred backdrop so it stays legible over any content
   behind it, since the home header never gets a solid scroll background. */
.site-header__menu-toggle {
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* ==========================================================================
   CLIENT TYPOGRAPHY / LAYOUT FIXES — 2026-08-09
   ========================================================================== */

/* Long case-study titles (e.g. "CeraVe: Moisturize Like A Derm") were sized so
   large they fit on one line with under 10px of slack at 768px and wrapped at
   anything narrower. Smaller fluid scale gives real headroom. */
.cs-single__title {
  font-size: clamp(1.75rem, 4.2vw, 4rem);
}

/* Talent names must never break across lines (e.g. "Ariana Madix"). */
.cs-single__title-actor,
.cs-tile__actor {
  white-space: nowrap;
}

@media (max-width: 540px) {
  /* Homepage featured-case-study excerpt was clipped mid-sentence (3-line clamp). */
  .section-featured-cs__excerpt { -webkit-line-clamp: 5; }
  /* 9px/10px footer type is below the legible floor on phones. */
  .site-footer__copy  { font-size: 11px; letter-spacing: 0.08em; }
  .site-footer__email { font-size: 13px; }
}

/* === campaigns top black band (added 2026-08-10) ===
/* The header is fixed + transparent on this archive, so the lead hero ran
   underneath it. Reserve a solid black band the height of the header and
   push the chapters down into it. Tune with --camp-top. */
body.post-type-archive-case_study { background: #000; }
.archive-page--campaigns {
  --camp-top: clamp(72px, 7vw, 104px);
  padding-top: var(--camp-top);
  background: #000;
}
/* The hero is full-bleed (100vw, negative margin); keep it flush inside the
   padded main so the black band reads as deliberate letterbox, not a gap. */
.archive-page--campaigns .cs-intro:first-of-type { margin-top: 0; }


/* === campaigns hero embed crossfade (added 2026-08-10) ===
/* Heroes now get the same warmed Vimeo embed as the 4-box tiles. Keep it
   invisible until hover so the still image stays the resting state. */
.cs-intro__video--embed { position:absolute; inset:0; opacity:0; transition:opacity .35s var(--ease,ease); pointer-events:none; }
.cs-intro.is-playing .cs-intro__video--embed { opacity:1; }
.cs-intro.is-playing .cs-intro__img { opacity:0; }
.cs-intro__img { transition:opacity .35s var(--ease,ease); }


/* === campaigns logo + lead video space (added 2026-08-10) ===
/* Bring the logo back, centred, on the Campaigns page (it was hidden by an
   earlier rule further up this file — this block wins on source order). */
body.post-type-archive-case_study .site-header__logo { display: block; }
body.post-type-archive-case_study .site-header__inner { justify-content: center; }

/* Reserve room at the top for the additional lead video. ~600px on desktop,
   scaled down on phones so it doesn't become a wall of black. Tune here. */
/* The lead space reserved room for an intro block that no longer renders, so
   it showed up as ~700px of black above the first hero. Clear the header and
   nothing more. */
.archive-page--campaigns {
  --camp-lead-space: 0px;
  /* The site header is fixed and floats over the page, so the hero can run
     right to the top edge. */
  --camp-top: 0px;
}

/* The hero was a 640px-tall band across a 1800px viewport — a ~2.8:1 letterbox
   that cropped most of a 1200x700 still away. Give it height and frame a bit
   above centre so faces survive the crop. */
.archive-page--campaigns .cs-intro {
  height: min(82vh, 900px);
  min-height: 420px;
}
.archive-page--campaigns .cs-intro__img,
.archive-page--campaigns .cs-intro__preview,
.archive-page--campaigns .cs-intro__video {
  object-position: 50% 35%;
}


/* === campaigns filter (added 2026-08-10) ===
   The UI lives inside #mobile-menu, so it has zero visual footprint on the
   Campaigns page until the top-right hamburger is opened. Choosing a category hides
   non-matching videos; the authored 1-4-1-4 layout is preserved exactly.
   Layout only — no tile is ever moved in the DOM. */
.camp-filter {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255,255,255,0.14);
  text-align: right;
}
.camp-filter__label {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.camp-filter__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-end;
}
.camp-filter__btn {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 7px 0;
  transition: color 0.25s var(--ease, ease);
}
.camp-filter__btn:hover,
.camp-filter__btn.is-active { color: #fff; }
.camp-filter__btn.is-active::after {
  content: ''; display: block; height: 1px; margin-top: 4px; background: currentColor;
}

/* Hidden tiles. !important because .cs-tile and .cs-intro both set display. */
.archive-page--campaigns .is-filtered-out { display: none !important; }

/* Flat grid: display:contents lifts each 4-box's children into <main>'s grid,
   so heroes and tiles from every chapter flow as one set of equal cells. */
/* Filtering hides only — it must NOT relayout. The previous version promoted
   every tile into a flat auto-fill grid (minmax(320px,1fr)) and normalised the
   full-bleed heroes to 16/9 cells, which shrank every video to thumbnail size.
   Now the 1-4-1-4 layout stays exactly as authored: heroes stay full-bleed,
   4-box cells keep their size, there are simply fewer of them. */

.camp-filter__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: clamp(60px, 12vw, 140px) var(--gutter);
}
.camp-filter__empty[hidden] { display: none; }

@media (max-width: 700px) {
  .archive-page--campaigns.is-filtered { grid-template-columns: 1fr; }
}


/* === single hero facade (added 2026-08-10) === */
.single-page__hero-facade{position:relative;display:block;width:100%;height:100%;padding:0;border:0;
  background:#000;cursor:pointer;overflow:hidden;}
.single-page__hero-facade-img{width:100%;height:100%;object-fit:cover;display:block;}
.single-page__hero-facade-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:clamp(56px,6vw,84px);height:clamp(56px,6vw,84px);border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.92);color:#000;transition:transform .25s ease,background .25s ease;}
.single-page__hero-facade:hover .single-page__hero-facade-btn{transform:translate(-50%,-50%) scale(1.08);background:#fff;}
.single-page__hero-facade-btn svg{width:42%;height:42%;margin-left:8%;}
/* The swapped-in player must fill the same box the facade occupied. */
.single-page__hero-bleed-video iframe.cs-single__hero-media{width:100%;height:100%;border:0;display:block;}






/* === homepage content left shift v2 (added 2026-08-10) ===
/* v1 used margin-left:-100px. .about-slider is a flex + scroll-snap carousel,
   so a negative margin pulled each slide's content outside its snap box and
   broke the slider. This computes the centred offset and subtracts the shift,
   floored at the gutter — never negative, so nothing escapes its container. */
@media (min-width: 1100px) {
  .section-about__inner {
    --home-shift: 100px;
    margin-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 - var(--home-shift)));
    margin-right: auto;
  }
  .section-episodic__header {
    --home-shift: 100px;
    padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter) - var(--home-shift)));
  }
}


/* === featured-cs shift + perle cta (added 2026-08-10) ===
/* Case-study slider titles: match The Beginning's left edge exactly. Same
   floored formula — never negative, so it can't break the slide track the
   way a negative margin broke .about-slider. Extra class for specificity. */
@media (min-width: 1100px) {
  .section-featured-cs .section-featured-cs__inner {
    --home-shift: 100px;
    margin-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 - var(--home-shift)));
    margin-right: auto;
  }
}

/* PERLE 'Visit the Studio': .btn--dark is a solid black fill with a black
   border, invisible on this dark section. Make it an outline button and
   centre it in its column. */
.section-culture__cta.btn--dark {
  background: #fff;
  border: 1px solid #fff;
  color: #000;
  padding: 14px 28px;
  display: flex;
  width: fit-content;
  margin-inline: auto;
  justify-content: center;
  transition: background 0.25s var(--ease, ease), color 0.25s var(--ease, ease), border-color 0.25s var(--ease, ease);
}
.section-culture__cta.btn--dark:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  opacity: 1;
}


/* === hero caption width (added 2026-08-10) ===
/* Was max-width:24ch, which wrapped after 'Filmmaker. Creator.'. The two
   phrases are 33 and 36 characters, so 40ch fits each on its own line and
   still forces the break between them. text-wrap:balance would even the
   lines out and split mid-phrase, so keep it off. */
.section-quote .section-quote__text {
  /* Headroom so 'Filmmaker. Creator. Entrepreneur.' (33 chars) can't be
     broken up, but balance does the real work: the two phrases are 33 and
     36 chars, so balancing splits exactly between them and pulls the
     rendered lines in rather than filling the full width. */
  max-width: 42ch;
  text-wrap: balance;
}
.section-quote .section-quote__inner { max-width: 1200px; }


/* === cities type size (added 2026-08-10) ===
/* Los Angeles / New York / Miami — nudged down ~15% from
   clamp(3.5rem, 15vw, 18rem). The vw term is what drives it at most
   viewport widths, so that's the one that matters here. */
.section-display-text--cities .section-display-text__city {
  font-size: clamp(3rem, 12.75vw, 15.3rem);
}

/* Black band, plain white type. The per-city images were being clipped into
   the letterforms, which left them unreadable at this size. */
.section-display-text--cities,
.section-display-text--cities.section-display-text--light {
  background: var(--color-black);
  padding-block: clamp(14px, 1.6vw, 24px);
}
/* The per-city image is set inline by the template, so it needs !important
   to clear; the cities render as plain type on the black ground. */
.section-display-text--cities .section-display-text__city,
.section-display-text--cities .section-display-text__city--has-bg {
  color: var(--color-white);
  background-image: none !important;
  background-color: transparent !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff;
}
.section-display-text--cities .section-display-text__subtext {
  color: rgba(255,255,255,0.72);
}

/* ---- Cities as the OBB locations band ----
   One black row, names side by side in the display face, separated by thin
   vertical rules, rather than stacked oversized lines. */
.section-display-text--cities .section-display-text__text {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.section-display-text--cities .section-display-text__city {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(4px, 0.6vw, 10px) clamp(16px, 3vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}
/* Divider between neighbours, matching OBB's hairline rules. */
.section-display-text--cities .section-display-text__city + .section-display-text__city::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 62%;
  width: 1px;
  background: rgba(255,255,255,0.35);
}
.section-display-text--cities .section-display-text__subtext {
  margin-top: clamp(10px, 1.4vw, 18px);
  text-align: center;
}
/* Chromatic split on hover, same as the CTAs. The city sets a white
   text-fill, which the layers would inherit and lose their colour to. */
.section-display-text--cities .section-display-text__city .nema-glitch__layer {
  -webkit-text-fill-color: currentColor;
}
@media (max-width: 600px) {
  .section-display-text--cities .section-display-text__city {
    flex: 0 0 100%;
    padding-block: 10px;
  }
  .section-display-text--cities .section-display-text__city + .section-display-text__city::before {
    display: none;
  }
}

/* === recovered final adjustments from the 2026-08-13 work session === */
.section-featured-cs__excerpt {
  font-size: clamp(16px, 1.33vw, 19px);
  line-height: 1.55;
}

.page-cinematic__bg { background-attachment: fixed; }

.single-page--project .single-page__hero--bleed {
  padding: clamp(72px, 6vw, 96px) clamp(16px, 2vw, 32px) clamp(32px, 4vw, 64px);
  background-size: cover;
}
.single-page--project .single-page__hero-bleed-inner { max-width: 1100px; }
.single-page__nav { max-width: 960px; }

.single-page__hero-bleed-video .cs-video-sound {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .12em;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.single-page__hero-bleed-video .cs-video-sound:hover {
  background: #fff;
  color: #000;
}

.cs-tile[href*="buffalo-wild-wings-amanda-batula"] .cs-tile__img,
.cs-tile[href*="buffalo-wild-wings-amanda-batula"] .cs-tile__video,
.cs-intro[href*="baskin-robbins-sweet-on-sydney"] .cs-intro__img,
.cs-intro[href*="baskin-robbins-sweet-on-sydney"] .cs-intro__preview {
  object-position: center top;
}

/* Restored verbatim from the successful 2026-08-13 editor save. */
.section-quote .section-quote__text { font-family: var(--font-heading); }

/* ---- By the Numbers as one line ----
   Sits between the hero video and the write-up on a case study, where the
   client/year/talent list used to be. Scrolls rather than wraps on narrow
   screens so it stays a single line. */
/* By the Numbers — a full-bleed black bar between the hero and the write-up,
   with the figures spread across its width. It runs edge to edge regardless
   of the container it sits in, and the same on both case study layouts. */
.cs-statline {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--color-black);
  border: 0;
  padding-block: clamp(20px, 2.6vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-statline::-webkit-scrollbar { display: none; }
.cs-statline__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 44px);
  width: 100%;
  padding-inline: clamp(20px, 5vw, 96px);
}
.cs-statline__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.cs-statline__item {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}
.cs-statline__value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.cs-statline__label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Narrow screens: let it scroll rather than crush the figures together. */
@media (max-width: 860px) {
  .cs-statline__inner {
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    gap: 28px;
  }
}

/* ---- Section headings on the display face ----
   Episodic, In The Chair, PERLE, About and the marquee labels all read as
   display type, so they take the Perle face uppercase. Body copy, quotes and
   the analytics figures deliberately stay on --font-heading. */
.section-podcasts__heading,
.section-episodic__heading,
.section-culture__heading,
.section-about__heading,
.section-label-marquee__item,
.section-case-studies .cs-card__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* The top quote slot carries the hero statement, so it runs large. The face
   itself is set with the other white bands further down — serif, as before. */
#quote_top .section-quote__text {
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  line-height: 1.02;
}
/* Campaigns page: the side menu keeps its links. (They used to be hidden
   here in favour of the category filter, which only renders once campaigns
   are tagged, so the menu opened empty.) */

/* ---- Perle wordmark in place of the Culture heading ----
   Matched to the live perle.nyc logo: Archivo Black at 125% width, tight
   tracking, and a pink full stop sitting on the baseline. */
.section-culture__heading--logo {
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 1;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}
.perle-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.129em;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-black);
}
.perle-logo__dot {
  display: block;
  width: 0.174em;
  height: 0.174em;
  border-radius: 50%;
  background: #ea3aa0;
}
.section-culture--text-only .section-culture__heading--logo { text-align: center; }

/* Perle copy, sized up so it reads as the statement it is. */
.section-culture__body {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: rgba(0,0,0,0.72);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cs-single__content,
.cs-single__overview-lede {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.65;
}
.cs-single__writeup-text {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.65;
}
.cs-writeup strong { font-weight: 700; }
.cs-writeup em { font-style: italic; }

.site-header__menu-toggle {
  width: 58px;
  height: 58px;
  min-width: 58px;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  flex: 0 0 58px;
  background: rgba(10,10,10,0.82);
  border-radius: 50%;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header__menu-toggle .hamburger { width: 30px; gap: 7px; }
.site-header__menu-toggle .hamburger span { height: 2px; }

@media (max-width: 600px) {
  .site-header__menu-toggle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex-basis: 52px;
  }
  .site-header__menu-toggle .hamburger { width: 27px; gap: 6px; }
}

/* One canonical top logo on every page. The homepage previously used a
   separate hero logo with different responsive coordinates. */
.site-header,
.home .site-header {
  padding: 28px var(--gutter);
}
.site-header__inner,
.home .site-header__inner,
body:not(.home) .site-header__inner,
body.single-case_study .site-header__inner,
body.post-type-archive-case_study .site-header__inner {
  position: relative;
  justify-content: center;
}
.site-header__logo,
.home .site-header__logo,
.home .site-header:not(.scrolled) .site-header__logo,
body.single-case_study .site-header__logo,
body.post-type-archive-case_study .site-header__logo {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
}
.site-header__logo img,
.site-header__logo-img {
  height: 32px;
  width: auto;
}
.site-header__menu-toggle,
.home .site-header__menu-toggle {
  position: absolute;
  right: 0;
  top: calc(50% + 1px);
  margin: 0;
  transform: translateY(-50%);
}
.section-hero__logo { display: none; }

/* Keep the logo at the same coordinate after the header gains its scroll
   background; only the backdrop changes. */
.site-header.scrolled,
.home .site-header.scrolled {
  padding: 28px var(--gutter);
}

@media (min-width: 601px) {
  .site-header { min-height: 58px; }
}

/* Seamless handoff from The Beginning into In The Chair. Preserve the warm
   ombre below, but make its top stop identical to the preceding black and
   remove the one-pixel divider that exposed the boundary. */
.ombre-bg--warm { --ombre-1: #0a0a0a; }
.section-about + .section-podcasts { border-top: 0; }

/* Preserve the editorial hierarchy authored in the case-study document:
   display title, bold standfirst, readable body, and spaced paragraphs. */
.cs-writeup {
  display: flex;
  flex-direction: column;
  gap: 1.35em;
}
.cs-writeup p {
  margin: 0;
}
.cs-writeup .cs-writeup__title {
  margin-bottom: -0.48em;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.35vw, 35px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #000;
}
.cs-writeup .cs-writeup__dek {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

@media (max-width: 600px) {
  .cs-writeup { gap: 1.2em; }
  .cs-writeup .cs-writeup__title {
    margin-bottom: -0.35em;
    font-size: 27px;
  }
  .cs-writeup .cs-writeup__dek { font-size: 20px; }
}

/* The source document intentionally sets CeraVe's title at 16pt while the
   Gravy and Ariana titles are 15pt. Preserve that 16:15 scale difference. */
body.postid-53 .cs-writeup .cs-writeup__title {
  font-size: clamp(30px, 2.5vw, 37px);
}
@media (max-width: 600px) {
  body.postid-53 .cs-writeup .cs-writeup__title { font-size: 29px; }
}

/* ==========================================================================
   WHITE BANDS — the serif, as before
   The quote bands and the section label marquee go back to Instrument Serif.
   They were on it until a later rule pulled them onto the heading face; the
   display face belongs on the dark sections, not these.
   ========================================================================== */
.section-quote .section-quote__text,
#quote_top .section-quote__text,
#quote_mid .section-quote__text,
.section-label-marquee__item {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Episodic titles and the small eyebrow labels join the display face — the
   year markers and EP numbers were still set in the cursive accent face. */
.episodic-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
}
.section-about__eyebrow,
.episodic-card__ep-num {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CTA hover — the arrow also steps right. */
.section-featured-banner__more svg { transition: transform 0.25s var(--ease); }
.section-featured-banner__more:hover svg { transform: translateX(5px); }

/* .cs-statline is a black bar in both layouts, so --dark needs no overrides. */

/* ==========================================================================
   CASE STUDY BLUEPRINT — black page, white type
   The featured layout now runs dark end to end, matched to the Duracell
   mock: title and a pink "By the Numbers" on black, stacked figures with
   pink units, then the write-up on a raised panel with a larger heading
   hierarchy on the right.
   ========================================================================== */
.cs-single--blueprint {
  --cs-pink: #ea3aa0;
  --cs-blue: #6fd0f0; /* the blue perle.nyc shows */
  background: var(--color-black);
  color: var(--color-white);
}

/* Title + eyebrow */
.cs-single--blueprint .cs-single__head {
  border-bottom: 0;
  padding-bottom: clamp(20px, 2.4vw, 36px);
}
.cs-single--blueprint .cs-single__title {
  color: var(--color-white);
  font-size: clamp(2.2rem, 6.6vw, 6.5rem);
}
.cs-single--blueprint .cs-single__title-x {
  color: var(--cs-blue);
  font-style: normal;
  font-weight: 700;
  font-size: 0.7em;
  vertical-align: 0.1em;
}
.cs-single__head-eyebrow {
  margin: clamp(14px, 1.8vw, 26px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--cs-pink);
}

/* By the Numbers — figure over label, hairline rules between. The eyebrow
   moved up under the title. */
.cs-single--blueprint .cs-statline__eyebrow { display: none; }
.cs-single--blueprint .cs-statline { padding-block: clamp(16px, 2.2vw, 30px); }
.cs-single--blueprint .cs-statline__inner {
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding-inline: clamp(12px, 3vw, 48px);
}
.cs-single--blueprint .cs-statline__item {
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 0.9vw, 14px);
  padding-inline: clamp(12px, 2vw, 32px);
  position: relative;
}
.cs-single--blueprint .cs-statline__item + .cs-statline__item::before {
  content: '';
  position: absolute;
  left: 0; top: 4%; bottom: 4%;
  width: 1px;
  background: rgba(255,255,255,0.28);
}
.cs-single--blueprint .cs-statline__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.cs-single--blueprint .cs-statline__unit {
  color: var(--cs-pink);
  font-size: 0.5em;
  margin-left: 0.04em;
}
.cs-single--blueprint .cs-statline__label {
  font-size: clamp(10px, 0.95vw, 14px);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
}

/* Write-up panel */
.cs-single--blueprint .cs-single__body {
  padding-top: clamp(24px, 3vw, 48px);
}
.cs-single--blueprint .cs-single__body-grid {
  background: transparent; /* one black for the whole page */
  padding: clamp(8px, 1vw, 16px) 0;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}
.cs-single--blueprint .cs-single__sidebox {
  background: #0a0a0a;
  border: 1px solid rgba(111,208,240,0.55);
}
.cs-single--blueprint .cs-single__overview { justify-content: center; }

/* Right column — bigger heading hierarchy */
.cs-single--blueprint .cs-writeup { gap: clamp(14px, 1.4vw, 22px); }
.cs-single--blueprint .cs-writeup .cs-writeup__title {
  margin-bottom: -0.3em;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1;
  color: var(--color-white);
}
.cs-single--blueprint .cs-writeup .cs-writeup__dek {
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1.2;
  color: var(--color-white);
}
.cs-single--blueprint .cs-writeup .cs-writeup__statement,
.cs-single--blueprint .cs-writeup h2:not(.cs-writeup__title) {
  margin: 0.25em 0 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.cs-single--blueprint .cs-writeup__accent,
.cs-single--blueprint .cs-writeup mark {
  background: none;
  color: var(--cs-pink);
}
.cs-single--blueprint .cs-writeup p:not(.cs-writeup__title):not(.cs-writeup__dek),
.cs-single--blueprint .cs-single__overview-lede,
.cs-single--blueprint .cs-single__content {
  color: rgba(255,255,255,0.8);
}
.cs-single--blueprint .cs-single__content h2,
.cs-single--blueprint .cs-single__content h3,
.cs-single--blueprint .cs-single__content a { color: var(--color-white); }

/* The Work / Why We Made It / … */
.cs-single--blueprint .cs-single__writeup-label {
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--color-white);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cs-blue);
}
.cs-single--blueprint .cs-single__writeup-text {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

/* Footer of the page */
.cs-single--blueprint .cs-single__home-link { color: rgba(255,255,255,0.85); }
.cs-single--blueprint .cs-single__home-link:hover { color: var(--cs-pink); }

@media (max-width: 860px) {
  .cs-single--blueprint .cs-statline__inner { justify-content: flex-start; }
  .cs-single--blueprint .cs-statline__item { flex: 0 0 auto; }
}
@media (max-width: 900px) {
  .cs-single--blueprint .cs-single__body-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-single--blueprint .cs-single__writeup { grid-template-columns: minmax(0, 1fr); }
  /* min-height × 16:9 forced the box wider than a phone. */
  .cs-single--blueprint .cs-single__sidebox { min-height: 0; }
}

/* In The Chair 'Listen Now' — sized to match Perle's 'Visit the Studio'. */
.section-podcasts__cta.btn {
  margin-top: 20px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: fit-content;
}

/* Header logo hides once the hero has scrolled past (main.js adds
   .past-hero), and comes back on the way up. */
.site-header__logo { transition: opacity 0.3s var(--ease); }
.site-header.past-hero .site-header__logo,
.home .site-header.past-hero .site-header__logo,
body.single-case_study .site-header.past-hero .site-header__logo,
body.post-type-archive-case_study .site-header.past-hero .site-header__logo {
  opacity: 0;
  pointer-events: none;
}

/* In The Chair copy — same scale as the Perle description. */
.section-podcasts .section-podcasts__body {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
}

/* THE HITS — the slider heading runs big and bold, like the
   reference's section title. */
.section-featured-banner__title {
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

/* Episode titles link to their page; keep the type as it was. */
.episodic-card__title a { color: inherit; text-decoration: none; }

/* Episode page — the strip under the hero carries the credit, runtime and
   network instead of campaign figures. */
.episodic-statline .cs-statline__inner { justify-content: center; gap: clamp(28px, 6vw, 96px); }
.episodic-statline .cs-statline__item { flex-direction: column; align-items: center; gap: 10px; }
.episodic-statline .cs-statline__value { text-transform: uppercase; }
.episodic-statline .nema-peacock-logo { height: 0.9em; width: auto; display: block; color: #fff; }
.episodic-single__body {
  text-align: center;
  padding-block: clamp(28px, 4vw, 56px);
}
.episodic-single__tagline {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.15vw, 18px);
  color: rgba(255,255,255,0.7);
  margin: 0 0 20px;
}
.episodic-single__watch { margin-inline: auto; }

/* Talking-head video in the case study's left box. Portrait footage, so the
   box keeps a 9:16 shape on phones instead of the 16:9 placeholder. */
.cs-single__sidebox--video {
  position: relative;
  overflow: hidden;
}
.cs-single__talk-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  display: block;
  background: #000;
}
@media (max-width: 900px) {
  .cs-single--blueprint .cs-single__sidebox--video {
    aspect-ratio: 9 / 16;
    max-height: 80vh;
    width: min(100%, 45vh);
    margin-inline: auto;
  }
}

/* The box takes the footage's own 9:16 shape so nothing is cropped; the
   write-up column takes the rest of the row. */
.cs-single--blueprint .cs-single__body-grid:has(.cs-single__sidebox--video) {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;  /* write-up sits level with the video, not hung off its top */
  gap: clamp(28px, 3.5vw, 64px);
}
/* Narrow enough that the 9:16 box runs about the write-up's height. */
.cs-single--blueprint .cs-single__sidebox--video {
  width: clamp(240px, 22vw, 360px);
  aspect-ratio: 9 / 16;
  min-height: 0;
}
@media (max-width: 900px) {
  .cs-single--blueprint .cs-single__body-grid:has(.cs-single__sidebox--video) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-culture__logo-link { color: inherit; text-decoration: none; display: inline-block; }

/* Beside a video the write-up gets more room to breathe, so the two
   columns end together. */
.cs-single--blueprint .cs-single__body-grid:has(.cs-single__sidebox--video) .cs-single__overview {
  gap: clamp(32px, 3.4vw, 56px);
}
.cs-single--blueprint .cs-single__body-grid:has(.cs-single__sidebox--video) .cs-single__writeup {
  row-gap: clamp(32px, 3.4vw, 52px);
}
.cs-single--blueprint .cs-single__body-grid:has(.cs-single__sidebox--video) .cs-single__writeup-text {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
}


/* ==========================================================================
   LANDING FEATURE VIDEO — muted 10s loop, click for the full film
   ========================================================================== */
.section-hero--feature .section-hero__iframe { pointer-events: none; }
.hero-feature__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border: 0; padding: 0; background: transparent; cursor: pointer;
}
.hero-feature__pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px 16px 20px;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .2em; text-transform: uppercase;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.hero-feature__pill svg { width: 22px; height: 22px; }
.hero-feature__play:hover .hero-feature__pill,
.hero-feature__play:focus-visible .hero-feature__pill {
  background: #fff; color: #000; transform: scale(1.05);
}
.hero-feature__full {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; border: 0; background: #000;
}
.hero-feature__close {
  position: absolute; top: 76px; left: 18px; z-index: 4; /* clear of the header's logo and menu button */
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(0,0,0,.65); color: #fff;
  font: 300 28px/1 var(--font-body);
  cursor: pointer;
}
.hero-feature__close:hover { background: #fff; color: #000; }
.hero-feature__play[hidden] { display: none; }

/* ==========================================================================
   SIDE MENU — big, bold, and it lights up blue-to-pink on hover
   ========================================================================== */
.mobile-menu__list { gap: 0; }
.mobile-menu__list li {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: .13s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: .18s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: .23s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: .28s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) { transition-delay: .33s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(7) { transition-delay: .38s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(8) { transition-delay: .43s; }

.mobile-menu__list li a {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  opacity: 1;
  padding-block: 10px;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
/* Gradient underline, drawn in from the right on hover. */
.mobile-menu__list li a::after {
  content: '';
  position: absolute; right: 0; bottom: 3px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #6fd0f0 0%, #9a56bc 50%, #ea3aa0 100%);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.mobile-menu__list li a:hover,
.mobile-menu__list li a:focus-visible {
  transform: translateX(-10px);
  color: transparent;
  background-image: linear-gradient(90deg, #6fd0f0 0%, #9a56bc 50%, #ea3aa0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}
.mobile-menu__list li a:hover::after,
.mobile-menu__list li a:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__list li { transition: none; opacity: 1; transform: none; }
  .mobile-menu__list li a:hover { transform: none; }
}
/* Fill the hero edge to edge (the embed is 16:9) instead of letterboxing. */
.section-hero--feature .section-hero__media { overflow: hidden; }
.section-hero--feature .section-hero__iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100%, 177.78svh); height: max(100%, 56.25vw);
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   NOV 2026 ROUND — side menu, Hits tiles, Perle, Peacock, About headings,
   and the mobile centring pass.
   ========================================================================== */

/* Side menu: every item on one line ("All Campaigns" was breaking in two).
   The panel widens a touch to make room. */
.mobile-menu { width: min(440px, 94vw); }
.mobile-menu__list li a { white-space: nowrap; }
@media (max-width: 420px) {
  .mobile-menu { padding-inline: 24px; }
  .mobile-menu__list li a { font-size: clamp(24px, 8vw, 32px); }
}

/* Perle: the button holds its place but goes nowhere until the studio's
   site is ready. */
.section-culture__cta--soon,
.section-culture__cta--soon:hover {
  cursor: default;
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  opacity: 1;
}
.section-culture .section-culture__cta--soon { color: inherit; border-color: currentColor; }
span.section-culture__logo-link { cursor: default; }

/* Peacock wordmark, about twice the size it was. */
.episodic-card__streaming { font-size: 13px; gap: 10px; }
.episodic-card__streaming .nema-peacock-logo { height: 30px; transform: translateY(2px); }
.episodic-statline .nema-peacock-logo { height: 1.8em; }

/* About: each heading on one line. main.js sets --about-heading-size to the
   largest size at which the longest of the four fits its column, starting
   from the shared section-heading size. The copy column takes half the row
   (was two-fifths) so the long ones don't shrink to nothing. */
.section-about__heading {
  white-space: nowrap;
  font-size: var(--about-heading-size, var(--section-heading));
  line-height: 1;
}
@media (min-width: 769px) {
  .section-about__inner { grid-template-columns: 1fr 1fr; }
}
.section-about__eyebrow:empty { display: none; }

/* ---- Mobile: centre everything, and nothing too small to read ---- */
@media (max-width: 768px) {
  /* The Hits header: title over the link, both centred */
  .section-featured-banner__header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  /* Featured case study */
  .section-featured-cs__content {
    text-align: center;
    margin-inline: auto;
  }
  .section-featured-cs__excerpt { font-size: 15px; line-height: 1.55; margin-inline: auto; }
  .section-featured-cs__cta { margin-inline: auto; }
  .cs-featured-counter { left: 0; right: 0; justify-content: center; text-align: center; }

  /* About */
  .section-about__content { text-align: center; }
  .section-about__body {
    font-size: 15px;
    line-height: 1.7;
    max-width: 34em;
    margin-inline: auto;
  }
  .section-about__content .btn { margin-inline: auto; }

  /* Perle + In The Chair copy */
  .section-culture__body,
  .section-podcasts__body { font-size: 15px; line-height: 1.65; }

  /* Episodic */
  .section-episodic__header-inner { align-items: center; text-align: center; }
  .section-episodic__heading { text-align: center; }
  .section-episodic__body { text-align: center; font-size: 14px; margin-inline: auto; }
  .episodic-card__body { align-items: center; text-align: center; }
  .episodic-card__meta-top { justify-content: center; }
  .episodic-card__tagline { font-size: 14px; }
  .episodic-card__credit { font-size: 13px; }
  /* "Streaming on Peacock" was pinned to the bottom-right corner and ran
     off the edge on phones; it sits under the credit instead. */
  .episodic-card__streaming {
    position: static;
    justify-content: center;
    margin-top: 14px;
  }

  /* Footer */
  .site-footer__top,
  .site-footer__bottom { align-items: center; text-align: center; }
  .site-footer__social { justify-content: center; }
  .site-footer__email { font-size: 13px; }
}

/* LA / New York / Miami on phones: stacked one per line, so each can run
   big. "Los Angeles" spans most of the width at 13vw. */
@media (max-width: 600px) {
  .section-display-text--cities .section-display-text__city {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
    padding-block: 6px;
  }
}

/* Section label bands: the bullets inherited white and vanished on the light
   band. They take the label colour. The track gets its own compositor layer
   so the long loop stays smooth instead of shimmering. */
.section-label-marquee--light .section-label-marquee__dot { color: #000; }
.section-label-marquee--dark  .section-label-marquee__dot { color: #fff; }
.section-label-marquee__track {
  will-change: transform;
  backface-visibility: hidden;
  animation-name: label-marquee;
}
@keyframes label-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   RESPONSIVE PASS (Nov 2026) — phone 375, tablet 768, laptop 1024, desktop
   ========================================================================== */

/* The Hits on phones: a swipe row that snaps tile to tile, with the next one
   peeking in, instead of nine full-width tiles stacked ~4,600px tall. Every
   tile still shows. */
@media (max-width: 767px) {
  .section-featured-banner__stage {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
  }
  .section-featured-banner__row { flex-wrap: nowrap; width: max-content; }
  .section-featured-banner__tile,
  .section-featured-banner__tile:nth-child(n+4),
  .section-featured-banner__tile:nth-child(n+5) {
    flex: 0 0 76vw;
    width: 76vw;
    scroll-snap-align: start;
  }
}

/* Slider arrows (featured case studies, About) sat on top of the copy from
   tablet up to small laptops. Give the copy a lane clear of them. */
@media (min-width: 769px) {
  .section-featured-cs__inner {
    padding-left: max(var(--gutter), calc(clamp(48px, 5vw, 72px) + 24px));
    padding-right: max(var(--gutter), calc(clamp(48px, 5vw, 72px) + 24px));
  }
  .section-about__inner {
    padding-inline: max(var(--gutter), calc(clamp(48px, 6vw, 80px) + 20px));
  }
}

/* About on phones and tablets: no empty grey box while a slide has no photo
   yet. The slide counter stays in the arrow strip. */
@media (max-width: 768px) {
  .section-about__image-placeholder { display: none; }
  .section-about__media { position: static; }
}

/* Small print that was 9–10px. */
.about-counter { font-size: 12px; }
.episodic-card__ep-num,
.episodic-card__duration { font-size: 11px; }
.cs-statline__label { font-size: 12px; }
.cs-statline__eyebrow { font-size: 11px; }
.site-footer__email { font-size: 12px; }
.site-footer__copy { font-size: 11px; }
.section-episodic__body { font-size: clamp(13px, 1vw, 15px); }

/* Footer icons: 22px glyphs with 40px tap targets. */
.site-footer__social { gap: 6px; }
.site-footer__social-link {
  padding: 8px;
  margin: -4px 0;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
}
.site-footer__email { display: inline-block; padding-block: 8px; }

/* By the Numbers on phones and tablets: the figures wrap into rows instead
   of running off the right edge as a hidden side-scroller. */
@media (max-width: 860px) {
  .cs-statline { overflow-x: visible; }
  .cs-statline__inner,
  .cs-single--blueprint .cs-statline__inner {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    min-width: 0;
    column-gap: 28px;
    row-gap: 16px;
  }
  .cs-statline__eyebrow { flex: 0 0 100%; text-align: center; }
  .cs-single--blueprint .cs-statline__item { flex: 0 0 33.333%; }
  .cs-single--blueprint .cs-statline__item:nth-child(3n+2)::before { display: none; }
  .episodic-statline .cs-statline__inner { column-gap: 32px; }
}

/* Case study and episode heroes on phones and tablets: the video was pinned
   to the top of a full-screen block, leaving most of the screen empty. The
   hero now wraps the video and title, and the numbers follow straight on. */
@media (max-width: 900px) {
  .single-page__hero--bleed,
  .single-page--project .single-page__hero--bleed {
    min-height: 0;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 36px;
  }
  .single-page__bleed-title { font-size: clamp(1.25rem, 5vw, 1.6rem); }
}

/* In The Chair — the show logo stands in for the text heading. The art
   carries its own type, so the display-face sizing above doesn't apply. */
.section-podcasts__heading--logo {
  font-size: 0;
  line-height: 0;
}
/* One gap between logo, copy and Listen Now. The column is already a flex
   column, so the gap does the spacing and the old per-element margins
   (heading 12–20px, copy 20–28px, button 20px on top) are zeroed. */
.section-podcasts .section-podcasts__col--text { gap: clamp(20px, 2.4vw, 32px); }
.section-podcasts .section-podcasts__col--text > * { margin-top: 0; margin-bottom: 0; }
.section-podcasts__logo {
  display: block;
  width: clamp(280px, 34vw, 560px);
  max-width: 100%;
  height: auto;
}
.section-podcasts--text-only .section-podcasts__logo { margin-inline: auto; }
@media (max-width: 768px) {
  .section-podcasts__logo { width: min(92vw, 420px); margin-inline: auto; }
}

/* ==========================================================================
   LAUNCH COPY (19 Nov 2026)
   ========================================================================== */
/* In The Chair, Perle and the bio chapters: even out the lines so a paragraph
   never ends on a word or two (the templates also tie the last three words
   together with non-breaking spaces). */
.section-podcasts__body,
.section-culture__body,
.section-about__body { text-wrap: pretty; }

/* Perle: "Website Coming Soon" stays on one line. */
.section-culture__cta--soon { white-space: nowrap; }

/* ==========================================================================
   ABOUT CHAPTERS — launch templates (deck pages 9-12, 19 Nov 2026)
   One layout per chapter: maroon highlight in the heading, pink rule under
   the copy, pink offset frame behind the main photo.
   ========================================================================== */
.section-about--chapters {
  --ch-maroon: #7a0f2e;
  --ch-pink: #e8336d;
  --ch-bg: #111111;
  --ch-lane: max(var(--gutter), calc(clamp(48px, 6vw, 80px) + 20px));
  --ch-title: clamp(2.4rem, 4.4vw, 4.6rem);
  background: var(--ch-bg);
  padding-block: clamp(48px, 6vw, 96px);
}
.section-about--chapters .about-slide { display: flex; align-items: center; }
.section-about--chapters img { -webkit-user-drag: none; user-select: none; }

.chapter {
  width: 100%;
  max-width: calc(1440px + 2 * var(--ch-lane));
  margin-inline: auto;
  padding-inline: var(--ch-lane);
  display: grid;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}

/* Heading */
.chapter__title {
  font-family: var(--font-display);
  font-size: var(--ch-title);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #f4f1ec;
  margin: 0 0 clamp(18px, 2vw, 30px);
}
.chapter__line { display: block; }
.chapter__title mark {
  background: var(--ch-maroon);
  color: #fff;
  padding: 0.02em 0.1em 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.chapter__title small,
.chapter__line--small { font-size: 0.5em; line-height: 1.15; }
.chapter__title small { vertical-align: 0.55em; margin-left: 0.15em; }

/* Copy */
.chapter__body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  text-wrap: pretty;
}
.chapter__body p + p { margin-top: 1em; }
.chapter__rule {
  display: block;
  width: clamp(80px, 8vw, 128px);
  height: 2px;
  background: var(--ch-pink);
  margin-top: clamp(22px, 2.6vw, 40px);
}

/* Photos */
.chapter__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.chapter__frame { position: relative; }
.chapter__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(clamp(12px, 1.6vw, 25px), clamp(12px, 1.6vw, 25px));
  border: 2px solid var(--ch-pink);
  pointer-events: none;
}
.chapter__frame .chapter__photo { position: relative; }
.chapter__tile { aspect-ratio: 5 / 6; }

/* 1 — THE FIRST ACT: copy left; tall photo right in its frame, smaller
   photo overlapping its lower-left corner. */
.chapter--1 { grid-template-columns: 1fr 1.05fr; }
.chapter--1 .chapter__media {
  position: relative;
  padding: 0 clamp(14px, 1.6vw, 26px) clamp(30px, 3.4vw, 52px) 0;
}
.chapter--1 .chapter__frame--main { width: 66%; margin-left: auto; aspect-ratio: 486 / 704; }
.chapter--1 .chapter__photo--inset {
  position: absolute; left: 0; bottom: 0;
  width: 41%; height: auto; aspect-ratio: 4 / 3;
  z-index: 2;
}

/* 2 — FROM REAL LIFE TO REALITY TV: heading and copy side by side, four
   photos in a row underneath. */
.chapter--2 { grid-template-columns: 0.8fr 1fr; row-gap: clamp(32px, 4vw, 64px); align-items: start; }
.chapter--2 .chapter__head .chapter__title { margin: 0; font-size: calc(var(--ch-title) * 1.12); }
.chapter--2 .chapter__body { font-size: clamp(15px, 1.12vw, 18px); }
.chapter--2 .chapter__tiles {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 16px);
}
.chapter--2 .chapter__tile:nth-child(1) { object-position: 40% 50%; }

/* 3 — NEW YORK OR NOWHERE: two photos either side, bracketed heading and
   centred copy between them. */
.chapter--3 {
  grid-template-columns: 1fr 1.75fr 1fr;
  grid-template-areas: "a text b" "c text d";
  column-gap: clamp(24px, 3.4vw, 56px);
  row-gap: clamp(10px, 1.2vw, 20px);
}
.chapter--3 .chapter__tile { aspect-ratio: 374 / 410; }
.chapter--3 .chapter__tile--a { grid-area: a; object-position: 50% 28%; }
.chapter--3 .chapter__tile--b { grid-area: b; object-position: 50% 22%; }
.chapter--3 .chapter__tile--c { grid-area: c; object-position: 50% 25%; }
.chapter--3 .chapter__tile--d { grid-area: d; object-position: 70% 50%; }
.chapter--3 .chapter__text { grid-area: text; text-align: center; }
.chapter--3 .chapter__bracket {
  position: relative;
  padding: clamp(14px, 1.6vw, 24px) clamp(28px, 3.6vw, 56px);
  margin-bottom: clamp(20px, 2.4vw, 36px);
}
.chapter--3 .chapter__bracket::before,
.chapter--3 .chapter__bracket::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 12px;
  border: 2px solid var(--ch-pink);
}
.chapter--3 .chapter__bracket::before { left: 0; border-right: 0; }
.chapter--3 .chapter__bracket::after { right: 0; border-left: 0; }
.chapter--3 .chapter__title { margin: 0; font-size: calc(var(--ch-title) * 1.05); }
.chapter--3 .chapter__body { font-size: clamp(15px, 1.12vw, 18px); }
.chapter--3 .chapter__rule { margin-inline: auto; width: clamp(120px, 14vw, 250px); }

/* 4 — NEMA INC: copy left with the sticker strip under it, tall framed
   photo right. */
.chapter--4 { grid-template-columns: 1.15fr 1fr; }
.chapter--4 .chapter__stickers {
  width: 62%; height: auto; aspect-ratio: 634 / 276;
  margin: clamp(24px, 3vw, 48px) 0 0 auto;
  object-fit: cover;
}
.chapter--4 .chapter__media { padding: 0 clamp(14px, 1.6vw, 26px) clamp(14px, 1.6vw, 26px) 0; }
.chapter--4 .chapter__frame--main { width: 86%; margin-left: auto; aspect-ratio: 4 / 5; }

/* Slide counter sits just under the chapter. */
.section-about--chapters .chapter__counter {
  position: absolute; left: 0; right: 0; bottom: 0;
  justify-content: center;
}
.section-about--chapters .about-slide { position: relative; }

/* Spacing: one even band above and below, and each chapter keeps its own
   height (main.js sizes the slider to the chapter on screen), so the shorter
   ones aren't padded out to match the tallest. */
.section-about--chapters { padding-block: clamp(32px, 3.4vw, 56px); }
.section-about--chapters .about-slider {
  align-items: flex-start;
  transition: height 0.35s var(--ease);
}
.section-about--chapters .about-slide { align-items: flex-start; }
@media (min-width: 769px) {
  .section-about--chapters .about-slide { padding-bottom: 40px; }
}

/* Tablet: narrower columns, chapter 3 stacks its photos under the copy. */
@media (max-width: 1100px) and (min-width: 769px) {
  .chapter--3 {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: "text text text text" "a b c d";
  }
  .chapter--1, .chapter--4 { grid-template-columns: 1fr 1fr; }
}

/* Phones: one column, heading and copy centred, photos below. */
@media (max-width: 768px) {
  .section-about--chapters { padding-block: 32px 0; }
  .section-about--chapters .about-slide { padding-bottom: 76px; }
  .chapter { grid-template-columns: 1fr !important; gap: 28px; padding-inline: 20px; text-align: center; }
  .chapter__title { font-size: clamp(2rem, 10vw, 2.9rem); }
  .chapter--2 .chapter__head .chapter__title,
  .chapter--3 .chapter__title { font-size: clamp(2rem, 10vw, 2.9rem); }
  .chapter__body,
  .chapter--2 .chapter__body,
  .chapter--3 .chapter__body { font-size: 15px; line-height: 1.7; }
  .chapter__rule { margin-inline: auto; }
  .chapter--2 { row-gap: 22px; }
  .chapter--2 .chapter__tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .chapter--3 {
    grid-template-areas: "text text" "a b" "c d";
    grid-template-columns: 1fr 1fr !important;
    column-gap: 8px; row-gap: 8px;
  }
  .chapter--3 .chapter__text { margin-bottom: 20px; }
  .chapter--3 .chapter__bracket { padding-inline: 24px; }
  .chapter--1 .chapter__media { padding-bottom: 32px; padding-right: 14px; }
  .chapter--1 .chapter__frame--main { width: 70%; }
  .chapter--1 .chapter__photo--inset { width: 46%; }
  .chapter--4 .chapter__stickers { width: 100%; margin: 24px 0 0; }
  .chapter--4 .chapter__frame--main { width: 88%; margin-inline: auto 14px; }
  .section-about--chapters .chapter__counter { bottom: 0; }
}

/* Case study with no talking-head video: no empty box on the left; the
   write-up takes the whole row, held to a readable width. */
.cs-single__body-grid--solo,
.cs-single--blueprint .cs-single__body-grid--solo {
  grid-template-columns: minmax(0, 1fr);
}
.cs-single__body-grid--solo .cs-single__overview {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

/* About chapters, single-column layout on large phones and small tablets
   (to 768px): hold it to a phone-like width so the copy doesn't run long
   and the photos don't blow up past their source size. */
@media (max-width: 768px) {
  .chapter { max-width: 560px; }
}
