/* ============================================================
   DAF — Case Study layout (Burger King · The Moldy Whopper)
   Inherits tokens + chrome from styles.css + layout.css
   ============================================================ */

.case { background: var(--paper); }

/* FILM */
.cs-film { background: var(--ink); }
.film-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.film-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.film-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transition: transform .18s ease, opacity .25s ease, background .18s ease, color .18s ease;
}
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--blue); color: var(--white); }
.film-wrap.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-still { display: block; width: 100%; height: auto; }

/* shared section frame */
.cs {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.cs-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 96px) var(--pad);
}
/* faint plus mark, top-right of a section */
.cs-plus {
  position: absolute; top: 22px; right: 22px;
  width: 18px; height: 18px; opacity: .4; color: var(--ink);
  pointer-events: none;
}
.cs-plus::before, .cs-plus::after { content:""; position:absolute; background: currentColor; }
.cs-plus::before { left:50%; top:0; width:1px; height:100%; transform:translateX(-50%); }
.cs-plus::after { top:50%; left:0; height:1px; width:100%; transform:translateY(-50%); }

.eyebrow {
  font-family: var(--grotesk); font-weight: 600; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue);
  display: block;
}
.cs-lead {
  font-family: var(--serif); font-weight: 400; line-height: 1.04;
  letter-spacing: -0.015em; font-optical-sizing: auto;
}

/* ---------------- HERO ---------------- */
.cs-hero { border-bottom: 1px solid var(--line); }
.cs-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) 1.08fr;
  align-items: stretch;
}
.cs-hero-copy {
  padding: clamp(40px, 4.6vw, 78px) clamp(34px, 3.6vw, 60px) clamp(34px, 3.6vw, 54px) var(--pad);
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
}
.cs-hero-copy .eyebrow { margin-bottom: 22px; }
.cs-hero-h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5.2vw, 84px); line-height: 0.96;
  letter-spacing: -0.02em; font-optical-sizing: auto;
  margin-bottom: clamp(22px, 2.2vw, 30px);
}
.cs-hero-copy .dek {
  font-family: var(--grotesk); font-weight: 400; font-size: 15px; line-height: 1.62;
  color: var(--muted); max-width: 40ch; text-wrap: pretty;
  margin-bottom: auto;
}
.cs-hero-copy .dek + .dek { margin-top: 12px; }

/* inline stat strip */
.statline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(34px, 3.4vw, 54px);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.statline .s { padding-right: 18px; border-right: 1px solid var(--line-soft); }
.statline .s:last-child { border-right: 0; }
.statline .n {
  font-family: var(--grotesk); font-weight: 700; color: var(--blue);
  font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.01em; line-height: 1;
}
.statline .l {
  font-family: var(--grotesk); font-weight: 500; font-size: 9.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin-top: 9px; line-height: 1.35;
}
.cs-hero-img { position: relative; background: var(--ink); overflow: hidden; }
.cs-hero-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Guard: the hero cells are sized by the grid — stray inline width/height
   (e.g. from accidental drag-resize) must never collapse the hero. */
.cs-hero-copy { height: auto !important; }
.cs-hero-img image-slot { width: 100% !important; height: 100% !important; }

/* ---------------- HERO — full-bleed variant ----------------
   Viewport rule (shared with Red Bull / BBVA):
   ≥1920px   : composition as designed (clamps hit their caps)
   1000–1919 : proportional — copy width + type scale in lockstep with the
               photo (vw values = 1920px size ÷ 19.2, so the handoff is seamless)
   <1000px   : stacked — image on top, copy below */
.cs-hero--bleed { position: relative; overflow: hidden; min-height: 41.67vw; display: flex; align-items: center; }
.cs-hero--bleed .cs-hero-bg { position: absolute; inset: 0; z-index: 0; background: #0A0E14; }
.cs-hero--bleed .cs-hero-bg image-slot { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.cs-hero--bleed .cs-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,8,11,.74) 0%, rgba(7,8,11,.5) 32%, rgba(7,8,11,0) 60%),
    linear-gradient(180deg, rgba(7,8,11,.3) 0%, rgba(7,8,11,0) 32%, rgba(7,8,11,.42) 100%);
}
.cs-hero--bleed .cs-hero-copy {
  position: relative; z-index: 2; border-right: 0; height: auto;
  max-width: min(680px, 35.4vw);
  padding: clamp(48px, 5vw, 96px) clamp(34px, 3.13vw, 60px) clamp(48px, 5vw, 96px) var(--pad);
}
.cs-hero--bleed .eyebrow { color: var(--paper); opacity: .85; font-size: clamp(9px, 0.58vw, 11px); }
.cs-hero--bleed .cs-hero-h1 { color: var(--paper); font-size: clamp(34px, 3.854vw, 74px); }
.cs-hero--bleed .dek { color: rgba(242, 239, 233, 0.8); margin-bottom: 0; font-size: clamp(11px, 0.78vw, 15px); }
@media (max-width: 999px) {
  .cs-hero--bleed { display: block; min-height: 0; }
  .cs-hero--bleed .cs-hero-bg { position: relative; inset: auto; aspect-ratio: 2880 / 1200; }
  .cs-hero--bleed .cs-hero-scrim { display: none; }
  .cs-hero--bleed .cs-hero-copy { max-width: 100%; padding-top: 40px; padding-bottom: 48px; background: #0A0E14; }
}

/* ---------------- HERO — full-width band (2880×1200 masters) ----------------
   Set --hero-img (and optionally --hero-bg) on the section.
   Viewport rule shared by all full-width heroes:
   ≥1920px   : composition as designed
   1000–1919 : copy width + type scale in lockstep with the photo
   <1000px   : stacked — full image on top, copy below */
.cs-hero--band {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  min-height: 41.67vw; /* = width / 2.4, the master ratio — image shows uncropped */
  display: flex; align-items: center;
  background: var(--hero-bg, var(--paper)) var(--hero-img) no-repeat center / cover;
}
.cs-hero--band .cs-hero-grid { display: block; position: static; width: 100%; }
.cs-hero--band .cs-hero-copy {
  position: relative; z-index: 2; border-right: 0;
  max-width: min(640px, 33.33vw);
  padding: clamp(40px, 4.06vw, 78px) clamp(34px, 3.13vw, 60px) clamp(40px, 3.65vw, 70px) var(--pad);
  justify-content: center;
}
.cs-hero--band .cs-hero-h1 { font-size: clamp(34px, 4.06vw, 78px); margin-bottom: clamp(16px, 1.46vw, 28px); }
.cs-hero--band .eyebrow { font-size: clamp(9px, 0.58vw, 11px); }
.cs-hero--band .dek { font-size: clamp(11px, 0.78vw, 15px); }
@media (max-width: 999px) {
  .cs-hero--band { display: block; min-height: 0; background: var(--hero-bg, var(--paper)); }
  .cs-hero--band::before {
    content: ""; display: block; width: 100%; aspect-ratio: 2880 / 1200;
    background: var(--hero-img) no-repeat center / cover;
    border-bottom: 1px solid var(--line);
  }
  .cs-hero--band .cs-hero-copy { max-width: 100%; padding-top: 40px; padding-bottom: 48px; }
}

/* ---------------- generic two-column with left label ---------------- */
.cs-row { display: grid; gap: clamp(34px, 4vw, 72px); align-items: start; }
.cs-row.r-3070 { grid-template-columns: 0.92fr 1.18fr; }
.cs-row.r-impact { grid-template-columns: 0.78fr 1.42fr; }
.cs-row.r-mech { grid-template-columns: 0.5fr 1.5fr; }
.cs-row.r-awards { grid-template-columns: 0.62fr 1.5fr; }

.head-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 40px); line-height: 1.04; letter-spacing: -0.012em;
  font-optical-sizing: auto;
}
.body-sm {
  font-family: var(--grotesk); font-weight: 400; font-size: 13.5px; line-height: 1.62;
  color: var(--muted); max-width: 40ch; text-wrap: pretty; margin-top: 18px;
}
.body-sm.tight { margin-top: 14px; }

/* ---------------- THE IDEA — pull quote ---------------- */
.cs-quote { overflow: hidden; }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1fr;
  align-items: stretch;
}
.quote-block {
  position: relative;
  padding: clamp(64px, 8.5vw, 132px) clamp(34px, 4vw, 64px) clamp(64px, 8.5vw, 132px) var(--pad);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.quote-block .eyebrow { display: block; margin-bottom: clamp(22px, 2.6vw, 38px); }
.quote-lead {
  position: relative;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(25px, 2.7vw, 42px);
  line-height: 1.2; letter-spacing: -0.014em;
  color: var(--ink); text-wrap: pretty;
  margin: 0; max-width: 22ch;
}
.quote-lead em {
  font-style: italic; color: var(--blue);
}
.quote-lead .qmark {
  position: absolute; left: -0.62em; top: -0.04em;
  font-family: var(--serif); color: var(--blue);
  font-size: 1.15em; line-height: 1;
}
.quote-img { position: relative; background: var(--paper); overflow: hidden; min-height: 420px; }
.quote-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 940px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .quote-lead { max-width: none; }
  .quote-img { min-height: 360px; }
}
@media (max-width: 720px) {
  .quote-lead .qmark { position: static; margin-right: 0.06em; }
}

/* ---------------- PROBLEM — circle flow ---------------- */
.flow {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 6px; flex-wrap: nowrap;
}
.flow-node { display: flex; flex-direction: column; align-items: center; flex: 0 1 auto; max-width: 180px; }
.flow-node .cap {
  font-family: var(--grotesk); font-weight: 600; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px; text-align: center;
}
.circle {
  width: clamp(120px, 11vw, 156px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 18px;
  font-family: var(--grotesk); font-weight: 500; font-size: 11.5px; line-height: 1.4;
}
.circle.c-paper { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.circle.c-ink { background: var(--ink); color: var(--paper); }
.circle.c-blue { background: var(--blue); color: var(--white); }
.flow-arrow {
  align-self: center; margin-top: 26px; color: var(--ink); opacity: .55;
  flex: 0 0 auto; width: 30px;
}

/* ---------------- STRATEGIC UNLOCK ---------------- */
.unlock-grid {
  display: grid; grid-template-columns: 1fr 0.62fr;
  gap: clamp(18px, 2vw, 32px); align-items: start;
}
.unlock-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.2vw, 50px); line-height: 1.08; letter-spacing: -0.018em;
  font-optical-sizing: auto; margin-bottom: clamp(28px, 3vw, 44px);
}
.unlock-h .blue { color: var(--blue); }
.unlock-body p {
  font-family: var(--grotesk); font-weight: 400; font-size: 13.5px; line-height: 1.62;
  color: var(--muted); margin-bottom: 0; max-width: 40ch; text-wrap: pretty;
}
.unlock-body p:last-child { margin-bottom: 0; }

/* social post card */
.post {
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(10,10,10,.4);
  font-family: var(--grotesk);
}
.post--img { padding: 0; border-radius: 12px; overflow: hidden; background: transparent; border: 0; box-shadow: none; max-width: 340px; width: 100%; justify-self: start; margin-top: 51px; transform: scale(1.2); transform-origin: center; }
.post--img image-slot { width: 100%; height: auto; aspect-ratio: 1010 / 1041; display: block; }
.post-top { display: flex; align-items: flex-start; gap: 11px; padding: 14px 14px 10px; }
.post-av { width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); flex: 0 0 auto; overflow: hidden; }
.post-av image-slot { width: 100%; height: 100%; display: block; }
.post-id { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.post-name { font-weight: 700; font-size: 12.5px; color: var(--ink); }
.post-sub { font-size: 11px; color: var(--muted); }
.post-follow { font-size: 11px; font-weight: 600; color: var(--blue); flex: 0 0 auto; }
.post-text { padding: 0 14px 12px; font-size: 11.5px; line-height: 1.5; color: var(--ink); }
.post-text .h { color: var(--blue); }
.post-text .more { color: var(--muted); }
.post-media { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.post-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.post-cap { padding: 11px 14px; border-top: 1px solid var(--line); }
.post-cap .t { font-size: 11px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.post-cap .src { font-size: 10px; color: var(--muted); margin-top: 5px; }

/* ---------------- CAMPAIGN MECHANIC ---------------- */
.frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.frame { position: relative; border-right: 1px solid var(--line); }
.frame:last-child { border-right: 0; }
.frame .day {
  position: absolute; top: -30px; left: 2px;
  font-family: var(--grotesk); font-weight: 600; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
}
.frame-img { position: relative; aspect-ratio: 1/1; background: var(--ink); overflow: hidden; }
.frame-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mech-track {
  display: flex; align-items: center; gap: 0; margin-top: 26px; color: var(--ink);
}
.mech-track .knob { width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 50%; flex: 0 0 auto; }
.mech-track .ln { height: 1px; background: var(--line); flex: 1; }
.mech-frames-wrap { padding-top: 30px; }

/* ---------------- BUSINESS IMPACT — big stats ---------------- */
.bigstats-col { display: flex; flex-direction: column; }
.bigstats-col .eyebrow { display: block; }
.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); }
.bigstats .bs { padding: 0 22px; border-right: 1px solid var(--line-soft); }
.bigstats .bs:first-child { padding-left: 0; }
.bigstats .bs:last-child { border-right: 0; padding-right: 0; }
.bigstats .n {
  font-family: var(--grotesk); font-weight: 700; color: var(--blue);
  font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -0.02em; line-height: 1;
}
.bigstats .l {
  font-family: var(--grotesk); font-weight: 500; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-top: 14px; line-height: 1.4;
}

/* ---------------- CULTURAL IMPACT ---------------- */
.cult-grid { display: grid; grid-template-columns: 0.72fr 1.18fr 0.62fr; gap: clamp(26px, 3vw, 52px); align-items: center; }
.map {
  position: relative; aspect-ratio: 2/1;
  background-image: radial-gradient(currentColor 1px, transparent 1.4px);
  background-size: 9px 9px;
  color: rgba(10,10,10,.20);
  -webkit-mask-image: radial-gradient(ellipse 78% 86% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 86% at 50% 50%, #000 55%, transparent 100%);
}
.map .pin {
  position: absolute; width: 10px; height: 10px; color: var(--blue);
}
.map .pin::before, .map .pin::after { content:""; position:absolute; background: currentColor; }
.map .pin::before { left:50%; top:0; width:1.4px; height:100%; transform:translateX(-50%); }
.map .pin::after { top:50%; left:0; height:1.4px; width:100%; transform:translateY(-50%); }
.cult-stats { display: flex; flex-direction: column; gap: 22px; }
.cult-stats .cstat { border-top: 1px solid var(--line); padding-top: 12px; }
.cult-stats .cstat:first-child { border-top: 0; padding-top: 0; }
.cult-stats .n {
  font-family: var(--grotesk); font-weight: 700; color: var(--blue);
  font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; line-height: 1;
}
.cult-stats .l {
  font-family: var(--grotesk); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-top: 10px;
}

/* ---------------- AWARDS ---------------- */
.awards { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); }
.award {
  padding: 6px 18px 4px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0; min-height: 124px;
}
.award .emblem {
  width: 100%; height: 46px; color: var(--ink);
  display: flex; align-items: center; justify-content: flex-start; margin-bottom: 18px;
}
.award .emblem img { height: 100%; width: auto; max-width: 46px; object-fit: contain; display: block; }
.award .org {
  font-family: var(--grotesk); font-weight: 700; font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink);
}
.award .cat {
  font-family: var(--grotesk); font-weight: 500; font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); line-height: 1.45; margin-top: 5px;
}

/* ---------------- CLOSING ---------------- */
.close-grid { display: grid; grid-template-columns: 1.1fr 0.86fr auto; gap: clamp(30px, 4vw, 70px); align-items: end; }
.close-grid--center { align-items: center; }
.close-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 56px); line-height: 1.0; letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.close-h .blue { color: var(--blue); }
.close-body p {
  font-family: var(--grotesk); font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--ink);
  max-width: 36ch;
}
.close-body p.alt { color: var(--blue); margin-top: 16px; }
.close-logo { display: flex; align-items: flex-end; justify-content: flex-end; }
.bk-lockup {
  width: 132px; height: auto; display: block; object-fit: contain;
}

/* back link */
.cs-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--grotesk); font-weight: 600; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
}
.cs-back .arr { transform: rotate(180deg); }
.cs-back:hover { color: var(--blue); }

/* ---------------- CAMPAIGN GALLERY ---------------- */
.cs-gallery .gal-head { margin-bottom: clamp(28px, 3vw, 46px); }
.cs-gallery .gal-head .eyebrow { display: block; margin-bottom: 16px; }
#galGrid { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); }
.gal-grid {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.gal-grid--tall { grid-template-columns: repeat(4, 1fr); }
.gal-grid--wide { grid-template-columns: repeat(3, 1fr); }
.gal-item {
  position: relative; background: var(--paper-2); overflow: hidden;
}
.gal-grid--tall .gal-item { aspect-ratio: 2 / 3; }
.gal-grid--wide .gal-item { aspect-ratio: 16 / 9; }
.gal-item image-slot {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block;
}
.gal-grad {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .28s ease;
  background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,.42));
}
.gal-item:has(image-slot[data-filled]):hover .gal-grad { opacity: 1; }
.gal-idx {
  position: absolute; left: 15px; bottom: 13px; z-index: 2;
  font-family: var(--grotesk); font-weight: 600; font-size: 11px; letter-spacing: 0.16em;
  color: var(--paper); opacity: 0; transition: opacity .28s ease; pointer-events: none;
}
.gal-item:has(image-slot[data-filled]):hover .gal-idx { opacity: 1; }
.gal-zoom {
  position: absolute; top: 13px; right: 13px; z-index: 3;
  width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.94); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.gal-zoom svg { width: 16px; height: 16px; }
.gal-zoom:hover { background: var(--blue); color: var(--white); }
.gal-item:has(image-slot[data-filled]):hover .gal-zoom { opacity: 1; transform: scale(1); }

/* lightbox */
.gal-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,.94); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.gal-lightbox.open { opacity: 1; pointer-events: auto; }
.gl-img {
  max-width: 86vw; max-height: 84vh; object-fit: contain; display: block;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
  opacity: 0; transform: scale(.985); transition: opacity .25s ease, transform .25s ease;
}
.gal-lightbox.open .gl-img { opacity: 1; transform: scale(1); }
.gl-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-dk); background: transparent; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.gl-nav svg { width: 26px; height: 9px; }
.gl-nav:hover { background: var(--paper); color: var(--ink); }
.gl-prev { left: clamp(14px, 4vw, 48px); }
.gl-prev svg { transform: rotate(180deg); }
.gl-next { right: clamp(14px, 4vw, 48px); }
.gl-close {
  position: absolute; top: clamp(16px, 3vw, 34px); right: clamp(16px, 4vw, 48px);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-dk); background: transparent; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.gl-close svg { width: 20px; height: 20px; }
.gl-close:hover { background: var(--paper); color: var(--ink); }
.gl-count {
  position: absolute; bottom: clamp(20px, 3vw, 38px); left: 50%; transform: translateX(-50%);
  font-family: var(--grotesk); font-weight: 600; font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted-dk);
}
.gl-count #glCur { color: var(--paper); }

/* ============================================================
   GOOGLE CASE — additional components
   ============================================================ */

/* hero meta strip (label on top, value below) */
.metaline {
  display: grid; grid-template-columns: 0.82fr 1fr 1.05fr 1.1fr;
  margin-top: clamp(30px, 3vw, 46px);
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.metaline .m { padding: 0 24px; border-right: 1px solid var(--line-soft); }
.metaline .m:first-child { padding-left: 0; }
.metaline .m:last-child { border-right: 0; padding-right: 0; }
.metaline .mk {
  font-family: var(--grotesk); font-weight: 500; font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  line-height: 1.35;
}
.metaline .mv {
  font-family: var(--grotesk); font-weight: 600; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin-top: 14px; line-height: 1.55;
}
.metaline .mv.big {
  font-weight: 700; font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.02em; text-transform: none; line-height: 1;
}

/* ---------------- DIFFERENT CHALLENGES — 3 cards ---------------- */
.challenge-grid { display: grid; grid-template-columns: 0.82fr 2.05fr; gap: clamp(34px, 4vw, 72px); align-items: start; }
.ch-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 34px); }
.ch-card { display: flex; flex-direction: column; }
.ch-img { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.ch-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ch-t {
  font-family: var(--grotesk); font-weight: 700; font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink);
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
}
.ch-d {
  font-family: var(--grotesk); font-weight: 400; font-size: 12.5px; line-height: 1.55;
  color: var(--muted); margin-top: 11px; text-wrap: pretty;
}

/* ---------------- MAKE COMPLEXITY — equation ---------------- */
.principle-grid { display: grid; grid-template-columns: 0.9fr 1.55fr 0.78fr; gap: clamp(28px, 3.4vw, 60px); align-items: center; }
.equation { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 20px); }
.eq-op {
  font-family: var(--grotesk); font-weight: 400; font-size: clamp(20px, 2vw, 30px);
  color: var(--ink); flex: 0 0 auto; opacity: .7;
}
.principle-body p {
  font-family: var(--grotesk); font-weight: 400; font-size: 13.5px; line-height: 1.62;
  color: var(--muted); text-wrap: pretty;
}
.principle-body p + p { margin-top: 14px; }

/* ---------------- FEATURED PROJECT ---------------- */
.feature-grid { display: grid; grid-template-columns: 0.8fr 1.32fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.feature-copy .body-sm + .body-sm { margin-top: 14px; }
.feature-copy .watch { margin-top: clamp(22px, 2.4vw, 32px); }
.watch.textlink .arr-d { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.watch.textlink:hover .arr-d { transform: translate(3px, -3px); }
.feature-img { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.feature-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------------- ROLE OF AI — icon flow ---------------- */
.ai-grid { display: grid; grid-template-columns: 0.78fr 1.7fr 0.66fr; gap: clamp(26px, 3vw, 52px); align-items: center; }
.ai-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.ai-step { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 1 auto; max-width: 118px; }
.ai-ic { width: 46px; height: 46px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ai-ic svg { width: 100%; height: 100%; }
.ai-step .cap {
  font-family: var(--grotesk); font-weight: 500; font-size: 10px; line-height: 1.4;
  color: var(--muted); margin-top: 16px; letter-spacing: 0.01em;
}
.ai-arrow { flex: 0 0 auto; width: 26px; color: var(--ink); opacity: .5; align-self: flex-start; margin-top: 16px; }
.ai-body p {
  font-family: var(--grotesk); font-weight: 400; font-size: 13px; line-height: 1.6;
  color: var(--muted); text-wrap: pretty;
}

/* ---------------- IMPACT statline (large words, 2×2) ---------------- */
.statline--impact {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(34px, 3.4vw, 60px);
  row-gap: clamp(28px, 2.8vw, 40px);
  margin-top: 0; border-top: 0; padding-top: 0;
}
.statline--impact .s {
  padding: 20px 0 0; border-right: 0;
  border-top: 1px solid var(--line);
}
.statline--impact .n {
  font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1;
}
.statline--impact .l {
  font-size: 10px; margin-top: 16px; line-height: 1.5; letter-spacing: 0.09em;
}

/* google G lockup */
.g-lockup { width: clamp(74px, 7vw, 104px); height: auto; display: block; }
.g-glyph {
  width: clamp(74px, 7vw, 104px); height: auto; display: block;
  fill: var(--ink);
}

/* ============================================================
   VISA CASE — Women's Football Partnership Spain
   ============================================================ */

/* generic VISA wordmark (typographic label, not the trademark) */
.visa-mark {
  font-family: var(--grotesk); font-weight: 700; font-style: italic;
  letter-spacing: -0.02em; line-height: 0.9; text-transform: uppercase;
  display: inline-block;
}
.visa-logo { display: inline-block; height: 0.78em; width: auto; fill: currentColor; vertical-align: baseline; }

/* hero overlay (VISA + partner line on the photo) */
.cs-hero-img .hero-overlay {
  position: absolute; z-index: 2;
  left: clamp(20px, 2.6vw, 40px); right: clamp(20px, 2.6vw, 40px);
  bottom: clamp(24px, 3vw, 46px);
  display: flex; align-items: flex-end; gap: clamp(16px, 1.8vw, 28px);
  color: #fff;
}
.hero-overlay .visa-mark { font-size: clamp(46px, 6vw, 88px); }
.hero-overlay .pp {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: clamp(14px, 1.4vw, 22px); padding-bottom: 4px;
  font-family: var(--grotesk); font-weight: 500;
  font-size: clamp(15px, 1.5vw, 22px); line-height: 1.18; letter-spacing: -0.005em;
}
.cs-hero-img .hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,12,0) 38%, rgba(10,10,12,.5));
}
.cs-hero-copy .hero-plus { margin-top: auto; }
.hero-plus .mark { color: var(--blue); opacity: .7; }

/* ---------------- STRATEGIC OPPORTUNITY — 3 icon columns ---------------- */
.opp-grid { display: grid; grid-template-columns: 0.92fr 1.9fr; gap: clamp(34px, 4vw, 72px); align-items: center; }
.opp-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.opp-col {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 clamp(16px, 1.6vw, 26px); border-left: 1px solid var(--line-soft);
}
.opp-col:first-child { border-left: 0; padding-left: 0; }
.opp-ic { width: 50px; height: 50px; color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.opp-ic svg { width: 100%; height: 100%; }
.opp-t {
  font-family: var(--grotesk); font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  color: var(--ink);
}
.opp-d {
  font-family: var(--grotesk); font-weight: 400; font-size: 11.5px; line-height: 1.5;
  color: var(--muted); margin-top: 12px; max-width: 22ch; text-wrap: pretty;
}

/* ---------------- THE WORK — 3 panels w/ blue card ---------------- */
.work-grid { display: grid; grid-template-columns: 0.82fr 2fr; gap: clamp(34px, 4vw, 64px); align-items: start; }
.work-panels { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
.work-panels--2 { grid-template-columns: 1fr 1fr; }
.work-panels--full { grid-template-columns: 1fr; }
.work-grid .work-panels--full .wp--full { aspect-ratio: 2132 / 737; background: var(--paper-2); }
.work-panels .wp { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.work-panels .wp image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.second-half {
  background: var(--blue); color: #fff;
  padding: clamp(20px, 2vw, 30px); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.second-half h3 {
  font-family: var(--grotesk); font-weight: 700; font-size: clamp(20px, 2.1vw, 32px);
  line-height: 0.98; letter-spacing: -0.015em; text-transform: uppercase;
}
.second-half p {
  font-family: var(--grotesk); font-weight: 400; font-size: 11.5px; line-height: 1.5;
  margin-top: 16px; color: rgba(255,255,255,.9); max-width: 24ch; text-wrap: pretty;
}
.second-half .visa-mark { margin-top: auto; font-size: clamp(24px, 2.4vw, 36px); }

/* ---------------- IMPACT — 5 percentage columns ---------------- */
.impact-grid { display: grid; grid-template-columns: 0.78fr 2fr; gap: clamp(34px, 4vw, 64px); align-items: center; }
.stat5 { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat5 .s { padding: 0 clamp(14px, 1.4vw, 22px); border-right: 1px solid var(--line-soft); }
.stat5 .s:first-child { padding-left: 0; }
.stat5 .s:last-child { border-right: 0; padding-right: 0; }
.stat5 .n {
  font-family: var(--grotesk); font-weight: 700; color: var(--blue);
  font-size: clamp(28px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.02em;
}
.stat5 .l {
  font-family: var(--grotesk); font-weight: 400; font-size: 10.5px; line-height: 1.5;
  color: var(--muted); margin-top: 16px; text-wrap: pretty;
}

/* ---------------- MAKING HISTORY — full-width stats + image strip ---------------- */
.history-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 18px; }
.history-stats .hs { padding: 26px clamp(20px, 2vw, 30px) 4px; border-right: 1px solid var(--line-soft); }
.history-stats .hs:first-child { padding-left: 0; }
.history-stats .hs:last-child { border-right: 0; padding-right: 0; }
.history-stats .n {
  font-family: var(--grotesk); font-weight: 700; color: var(--blue);
  font-size: clamp(28px, 3.2vw, 48px); line-height: 1; letter-spacing: -0.025em;
}
.history-stats .t {
  font-family: var(--grotesk); font-weight: 700; font-size: 12px; color: var(--ink);
  margin-top: 16px; line-height: 1.4; max-width: 26ch;
}
.history-stats .d {
  font-family: var(--grotesk); font-weight: 400; font-size: 11px; color: var(--muted);
  margin-top: 8px; line-height: 1.5; max-width: 26ch; text-wrap: pretty;
}
.history-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: clamp(26px, 2.8vw, 44px); }
.history-imgs .hi { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.history-imgs .hi image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------------- WHY IT MATTERED — icon equation ---------------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 2fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.why-eq { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(8px, 1.4vw, 18px); }
.why-node { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 1 auto; max-width: 150px; }
.why-ic { width: 46px; height: 46px; color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-ic svg { width: 100%; height: 100%; }
.why-node .cap {
  font-family: var(--grotesk); font-weight: 400; font-size: 11px; line-height: 1.45;
  color: var(--muted); text-wrap: pretty;
}
.why-node .visa-mark { color: var(--blue); font-size: clamp(28px, 2.8vw, 42px); margin-bottom: 18px; }
.why-eq .eq-op { align-self: flex-start; margin-top: 12px; }

/* ---------------- THE BOTTOM LINE ---------------- */
.bottom-grid { display: grid; grid-template-columns: 0.92fr 1.5fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.bottom-h {
  font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.04; letter-spacing: -0.018em; font-optical-sizing: auto;
}
.bottom-h .blue { color: var(--blue); display: block; margin-top: 8px; }
.bottom-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.bottom-imgs .bi { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.bottom-imgs .bi image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------------- MOSAIC — mixed-media collage (adapts to each material) ---------------- */
.cs-mosaic .mosaic-head { margin-bottom: clamp(28px, 3vw, 46px); }
.cs-mosaic .mosaic-head .eyebrow { display: block; margin-bottom: 14px; }
.mosaic { columns: 3; column-gap: 10px; }
.mosaic-item {
  break-inside: avoid; margin: 0 0 10px; position: relative; overflow: hidden;
  background: var(--paper-2); display: block; width: 100%; cursor: pointer;
}
.mosaic-item img, .mosaic-item video { display: block; width: 100%; height: auto; }
.mosaic-item .m-grad {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .28s ease;
  background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.4));
}
.mosaic-item[data-media="image"]:hover .m-grad { opacity: 1; }
.m-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink); padding-left: 3px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transition: transform .18s ease, opacity .25s ease, background .18s ease, color .18s ease;
}
.m-play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--blue); color: var(--white); }
.mosaic-item.is-playing .m-play { opacity: 0; pointer-events: none; }

/* lightbox (images) */
.m-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,.94); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.m-lightbox.open { opacity: 1; pointer-events: auto; }
.m-lightbox img {
  max-width: 88vw; max-height: 86vh; object-fit: contain; display: block;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
  opacity: 0; transform: scale(.985); transition: opacity .25s ease, transform .25s ease;
}
.m-lightbox.open img { opacity: 1; transform: scale(1); }
.m-close {
  position: absolute; top: clamp(16px, 3vw, 34px); right: clamp(16px, 4vw, 48px);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-dk); background: transparent; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.m-close svg { width: 20px; height: 20px; }
.m-close:hover { background: var(--paper); color: var(--ink); }

/* ---------------- responsive ---------------- */
@media (max-width: 940px) {
  .challenge-grid, .principle-grid, .feature-grid, .ai-grid { grid-template-columns: 1fr; }
  .ch-cards { grid-template-columns: repeat(3, 1fr); }
  .metaline { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .metaline .m:nth-child(2) { border-right: 0; }
  .equation { flex-wrap: wrap; }
  .mosaic { columns: 2; }
  .cs-hero-grid { grid-template-columns: 1fr; }
  .cs-hero-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .cs-hero-img { min-height: 360px; }
  .cs-row.r-3070, .cs-row.r-impact, .cs-row.r-mech, .cs-row.r-awards,
  .unlock-grid, .cult-grid, .close-grid,
  .opp-grid, .work-grid, .impact-grid, .why-grid, .bottom-grid { grid-template-columns: 1fr; }
  .bigstats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .bigstats .bs:nth-child(2) { border-right: 0; }
  .awards { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .frames { grid-template-columns: repeat(2, 1fr); }
  .gal-grid--tall { grid-template-columns: repeat(2, 1fr); }
  .gal-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .stat5 { grid-template-columns: repeat(5, 1fr); }
  .history-imgs { grid-template-columns: repeat(2, 1fr); }
  .bottom-imgs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .statline { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .statline--impact { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .ch-cards { grid-template-columns: 1fr; gap: 28px; }
  .ai-steps { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ai-arrow { transform: rotate(90deg); margin: 2px 0 2px 12px; align-self: flex-start; }
  .gal-grid--tall { grid-template-columns: repeat(2, 1fr); }
  .gal-grid--wide { grid-template-columns: 1fr; }
  .statline .s:nth-child(2) { border-right: 0; }
  .flow { flex-direction: column; align-items: center; gap: 4px; }
  .flow-arrow { transform: rotate(90deg); margin: 4px 0; }
  .bigstats { grid-template-columns: 1fr 1fr; }
  .opp-cols { grid-template-columns: 1fr; gap: 30px; }
  .opp-col { border-left: 0; padding: 0; }
  .work-panels { grid-template-columns: 1fr; }
  .work-panels .wp, .second-half { aspect-ratio: 16 / 10; }
  .stat5 { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat5 .s:nth-child(2) { border-right: 0; }
  .history-stats { grid-template-columns: repeat(2, 1fr); }
  .history-stats .hs:nth-child(2) { border-right: 0; }
  .history-imgs { grid-template-columns: repeat(2, 1fr); }
  .why-eq { flex-direction: column; align-items: center; gap: 10px; }
  .why-eq .eq-op { align-self: center; margin-top: 0; }
  .bottom-imgs { grid-template-columns: 1fr; }
  .mosaic { columns: 1; }
  .hero-overlay { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-overlay .pp { border-left: 0; padding-left: 0; }
}
