/* ============================================================
   CASE-STUDY PAGES — lighter-touch market theme
   Shares :root tokens + header/footer from styles.css
   ============================================================ */

.cs-main { background: var(--crema); }

/* breadcrumb / back */
.cs-back {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 16px; background: #fff;
  transition: transform .16s ease, background .16s ease;
}
.cs-back:hover { transform: translateX(-3px); background: var(--pear); }

/* ---------- HERO ---------- */
.cs-hero { padding: clamp(26px, 4vw, 46px) 0 clamp(34px, 5vw, 60px); }
.cs-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 46px); }
.cs-plu { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .05em; }

.cs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.cs-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); white-space: nowrap;
  border: 2px solid var(--tomato); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.cs-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1.02; margin: 0 0 .14em; color: var(--ink);
}
.cs-role {
  font-family: var(--font-mono); font-size: clamp(.84rem, 1.1vw, 1rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--mint-deep);
  display: block; margin: 22px 0 20px;
}
.mm-featured {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; margin: 0 0 22px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  color: var(--ink); background: var(--pear);
  border: 2px solid var(--ink); border-radius: 999px; padding: 9px 17px;
  box-shadow: 0 2px 0 rgba(43,33,24,.2); transition: transform .15s ease;
}
.mm-featured:hover { transform: translateY(-2px); }
.mm-featured strong { font-weight: 700; }
.mm-featured-star { color: var(--tomato); font-size: 1rem; }
.cs-lede { font-size: clamp(1.04rem, 1.3vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; margin: 0 0 24px; }
.cs-metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-chip {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: 8px 15px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--pear); color: var(--ink); box-shadow: 0 2px 0 rgba(43,33,24,.2);
}
.cs-chip.t-sky { background: var(--sky); color: var(--denim-deep); }
.cs-chip.t-mint { background: var(--mint); color: #fff; }
.cs-chip.t-tomato { background: var(--tomato); color: #fff; }

.cs-hero-photo {
  position: relative;
  border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 0 rgba(43,33,24,.12), 0 20px 40px rgba(43,33,24,.18);
  rotate: 1.2deg;
}
.cs-hero-photo image-slot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.cs-hero-tape {
  position: absolute; top: -14px; left: 50%; translate: -50% 0;
  width: 120px; height: 30px; background: rgba(238,191,67,.62);
  border: 1px dashed rgba(43,33,24,.4); rotate: -3deg; z-index: 2;
}

/* ---------- STICKY JUMP NAV ---------- */
.cs-jumpnav {
  position: sticky; top: 64px; z-index: 50;
  background: var(--crema-card);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  box-shadow: 0 6px 18px rgba(43,33,24,.08);
}
.cs-jumpnav-inner {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 12px 0; scrollbar-width: none;
}
.cs-jumpnav-inner::-webkit-scrollbar { display: none; }
.cs-jump {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink); text-decoration: none;
  padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px;
  background: #fff; white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cs-jump:hover { transform: translateY(-2px); }
.cs-jump .n { font-family: var(--font-head); font-size: .92rem; color: var(--tomato); }
.cs-jump.active { background: var(--ink); color: #fff; }
.cs-jump.active .n { color: var(--pear); }

/* ---------- SECTIONS ---------- */
.cs-section { padding: clamp(54px, 8vw, 104px) 0; border-bottom: 2px dashed rgba(43,33,24,.18); scroll-margin-top: 128px; }
.cs-section:last-of-type { border-bottom: none; }
.cs-sec-head { max-width: 60ch; margin-bottom: clamp(26px, 3.5vw, 44px); }
.cs-sec-num {
  font-family: "Mansalva", cursive;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: .01em; color: var(--tomato); text-transform: none;
}
.cs-sec-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1; margin: 8px 0 0; color: var(--ink); }
.cs-sec-hand {
  font-family: var(--font-hand); font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--mint-deep);
  display: block; margin-top: 10px; rotate: -1deg;
}
.cs-sec-copy { font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; margin: 18px 0 0; }
.cs-sec-copy + .cs-sec-copy { margin-top: 14px; }

/* image galleries — slots in varied layouts */
.cs-gallery { display: grid; gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(26px, 3.5vw, 42px); }
.cs-gallery.g-2 { grid-template-columns: repeat(2, 1fr); }
.cs-gallery.g-3 { grid-template-columns: repeat(3, 1fr); }
.cs-gallery.g-bigleft { grid-template-columns: 1.6fr 1fr; }
.cs-shot {
  position: relative; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden;
  background: var(--crema-card); box-shadow: 0 3px 0 rgba(43,33,24,.1), 0 12px 26px rgba(43,33,24,.12);
}
.cs-shot image-slot { display: block; width: 100%; height: 100%; }
.cs-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-shot.r-43 { aspect-ratio: 4 / 3; }
.cs-shot.r-169 { aspect-ratio: 16 / 9; }
.cs-shot.r-23 { aspect-ratio: 2 / 3; }
.cs-shot.r-11 { aspect-ratio: 1 / 1; }
.cs-shot.r-tall { aspect-ratio: 9 / 16; }
.cs-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-shot.r-43 image-slot { aspect-ratio: 4 / 3; }
.cs-shot.r-169 image-slot { aspect-ratio: 16 / 9; }
.cs-shot.r-23 image-slot { aspect-ratio: 2 / 3; }
.cs-shot.r-11 image-slot { aspect-ratio: 1 / 1; }
.cs-shot.r-tall image-slot { aspect-ratio: 9 / 16; }
.cs-shot .cs-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em;
  color: #fff; background: linear-gradient(transparent, rgba(43,33,24,.62));
  padding: 22px 12px 9px; pointer-events: none;
}

/* phone-frame shots for social/video verticals */
.cs-gallery.g-phones { grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }

/* results strip */
.cs-results {
  margin-top: clamp(26px, 3.5vw, 42px);
  display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 20px);
}
.cs-result {
  flex: 1 1 180px; min-width: 160px;
  border: 3px solid var(--ink); border-radius: 14px; padding: 18px 20px;
  background: #fff; box-shadow: 0 3px 0 rgba(43,33,24,.1);
}
.cs-result .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--tomato); }
.cs-result .lbl { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-top: 7px; display: block; }
.cs-result .note { font-size: .72rem; color: var(--mint-deep); margin-top: 5px; display: block; font-weight: 600; }
.cs-result:nth-child(2) .num { color: var(--denim); }
.cs-result:nth-child(3) .num { color: var(--mint-deep); }
.cs-result:nth-child(4) .num { color: var(--orange); }

/* ---------- BY THE NUMBERS band ---------- */
.cs-numbers { background: var(--mint); color: #fff; padding: clamp(48px, 7vw, 92px) 0; }

/* ---------- callout STICKERS (market-theme stat callouts) ---------- */
.cs-stickers {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: clamp(20px, 3vw, 46px);
  margin-top: clamp(30px, 4vw, 54px);
}
.cs-sticker {
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 3px solid var(--ink); color: var(--ink);
  padding: clamp(18px, 2.2vw, 28px) clamp(22px, 2.6vw, 34px);
  box-shadow: 0 5px 0 rgba(43,33,24,.18), 0 14px 26px rgba(43,33,24,.2);
  rotate: var(--rot, -3deg);
}
.cs-sticker .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .85; }
.cs-sticker .lbl { font-family: "Mansalva", cursive; font-size: clamp(1rem, 1.4vw, 1.3rem); margin-top: 8px; line-height: 1.08; max-width: 16ch; }
.cs-sticker.s-round { border-radius: 50%; width: clamp(172px, 20vw, 232px); height: clamp(172px, 20vw, 232px); }
.cs-sticker.s-oval { border-radius: 999px; }
.cs-sticker.s-tag { border-radius: 18px; }
.cs-sticker.c-pear { background: var(--pear); }
.cs-sticker.c-sky  { background: var(--sky); }
.cs-sticker.c-tomato { background: var(--tomato); color: #fff; }
.cs-sticker.c-cream { background: var(--crema-card); }
@media (max-width: 540px) {
  .cs-sticker.s-round { width: clamp(150px, 46vw, 200px); height: clamp(150px, 46vw, 200px); }
}
.cs-numbers .cs-num-head { text-align: center; margin-bottom: clamp(30px, 4vw, 50px); }
.cs-numbers .cs-num-eyebrow {
  font-family: "Mansalva", cursive; font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--pear); display: block; rotate: -1.5deg;
}
.cs-numbers h2 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1; margin: 6px 0 0; color: #fff;
}
.cs-num-sub {
  max-width: 56ch; margin: 16px auto 0;
  font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.5; color: #fff;
}
.cs-num-sub strong { color: var(--pear); }
.cs-num-sub .cs-organic {
  display: inline-block; color: var(--ink); background: var(--pear);
  font-weight: 800; padding: 2px 12px; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: 0 2px 0 rgba(43,33,24,.25);
  rotate: -1.5deg;
}
.cs-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.cs-stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; }
.cs-stat-grid.cols-3.big .num { font-size: clamp(3rem, 5vw, 4.4rem); }
.cs-stat-grid.cols-3.big .lbl { font-size: clamp(.92rem, 1.3vw, 1.15rem); }
.cs-stat {
  background: var(--crema-card); border: 3px solid var(--ink); border-radius: 16px;
  padding: clamp(20px, 2.4vw, 30px); text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 4px 0 rgba(43,33,24,.22);
  rotate: var(--tilt, 0deg);
}
.cs-stat .num {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: .9; color: var(--tomato); display: block;
}
.cs-stat:nth-child(2) .num { color: var(--denim); }
.cs-stat:nth-child(3) .num { color: var(--mint-deep); }
.cs-stat:nth-child(4) .num { color: var(--orange); }
.cs-stat .lbl {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink); display: block; margin-top: 10px;
}
.cs-stat .note { font-size: .8rem; color: var(--ink-soft); display: block; margin-top: 5px; line-height: 1.35; }
@media (max-width: 860px) { .cs-stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cs-stat-grid { grid-template-columns: 1fr; } }

/* sub-blocks inside a section (e.g. WHM + PRIDE) */
.cs-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(22px, 3vw, 36px); }
.cs-sub h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0 0 6px; }
.cs-sub .cs-sec-copy { margin-top: 8px; }
@media (max-width: 720px) { .cs-subgrid { grid-template-columns: 1fr; } }

/* tools / tags list */
.cs-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cs-tool {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  padding: 6px 12px; border: 1.5px solid var(--ink-soft); border-radius: 999px; color: var(--ink-soft);
}

/* generic editable button placeholder (e.g. small-biz socials) */
.cs-linkbtn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: #fff; background: var(--ink); text-decoration: none;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--ink);
  transition: transform .15s ease, background .15s ease;
}
.cs-linkbtn:hover { transform: translateY(-2px); background: var(--tomato); }

/* next-up footer link to other projects */
.cs-nextup { background: var(--crema-card); border-top: 2px solid var(--ink); padding: clamp(40px,6vw,72px) 0; }
.cs-nextup h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem,3vw,2.4rem); margin: 0 0 22px; }
.cs-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-next {
  display: block; text-decoration: none; color: var(--ink);
  border: 3px solid var(--ink); border-radius: 14px; padding: 22px;
  background: #fff; box-shadow: 0 3px 0 rgba(43,33,24,.1);
  transition: transform .16s ease, box-shadow .16s ease;
}
.cs-next:hover { transform: translateY(-4px); box-shadow: 0 9px 0 rgba(43,33,24,.08), 0 20px 34px rgba(43,33,24,.16); }
.cs-next .role { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tomato); }
.cs-next h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; margin: 6px 0 0; }
.cs-next .go { font-family: var(--font-mono); font-size: .76rem; font-weight: 700; margin-top: 12px; display: inline-block; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .cs-hero-grid { grid-template-columns: 1fr; }
  .cs-hero-photo { rotate: 0deg; max-width: 560px; }
  .cs-gallery.g-3, .cs-gallery.g-bigleft, .cs-gallery.g-phones { grid-template-columns: repeat(2, 1fr); }
  .cs-next-grid { grid-template-columns: 1fr; }
  /* drop sticky chrome on mobile */
  .site-header { position: static; }
  .cs-jumpnav { position: static; top: auto; }
  /* receipts: 3-up gets cramped/cut off on phones — stack cleanly */
  .cs-stat-grid.cols-3 { grid-template-columns: 1fr; max-width: 420px; }
  .cs-stat-grid.cols-3.big .num { font-size: clamp(3rem, 12vw, 4rem); }
}
@media (max-width: 520px) {
  .cs-gallery.g-2, .cs-gallery.g-3, .cs-gallery.g-bigleft { grid-template-columns: 1fr; }
  .cs-gallery.g-phones { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- wide landscape hero (showcase image) ---------- */
.eh-hero-head { max-width: 900px; }
.eh-hero-head .cs-role { margin-top: 26px; }
.eh-hero-img {
  margin: clamp(26px, 3.5vw, 46px) 0 0;
  border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 0 rgba(43,33,24,.12), 0 22px 46px rgba(43,33,24,.2);
  rotate: -.4deg;
}
.eh-hero-img img { display: block; width: 100%; height: auto; }
.eh-hero-img image-slot { display: block; width: 100%; aspect-ratio: 16 / 9; }

/* ---------- responsive video embed ---------- */
.cs-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 4px 0 rgba(43,33,24,.12), 0 18px 36px rgba(43,33,24,.18);
  margin-top: clamp(22px, 3vw, 36px);
}
.cs-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- invitation callout ---------- */
.cs-invite {
  border-left: 6px solid var(--tomato); background: var(--crema-card);
  border-radius: 0 16px 16px 0; padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3vw, 36px);
  margin-top: clamp(22px, 2.8vw, 32px);
}
.cs-invite p { font-size: clamp(1.02rem, 1.3vw, 1.22rem); line-height: 1.62; color: var(--ink); margin: 0 0 14px; }
.cs-invite p:last-child { margin-bottom: 0; }
.cs-invite .q { font-family: "Mansalva", cursive; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--tomato); }

/* ---------- experience flow (stations) ---------- */
.cs-flow { display: flex; flex-direction: column; gap: clamp(26px, 3.5vw, 48px); margin-top: clamp(30px, 3.8vw, 48px); }
.cs-flow-step { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 3.4vw, 46px); align-items: center; }
.cs-flow-step:nth-child(even) .cs-flow-img { order: 2; }
.cs-flow-img {
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--ink); border-radius: 16px; overflow: hidden;
  box-shadow: 0 3px 0 rgba(43,33,24,.1), 0 14px 28px rgba(43,33,24,.14);
}
.cs-flow-img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.cs-flow-img image-slot { display: block; width: 100%; height: 100%; }
.cs-flow-n { display: inline-block; font-family: var(--font-head); font-size: clamp(1.8rem, 2.8vw, 2.6rem); color: var(--tomato); line-height: 1; }
.cs-flow-copy h3 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 6px 0 12px; line-height: 1; }
.cs-flow-tag { font-family: "Mansalva", cursive; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--mint-deep); display: block; margin-bottom: 10px; }
.cs-flow-copy p { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) {
  .cs-flow-step { grid-template-columns: 1fr; gap: 16px; }
  .cs-flow-step:nth-child(even) .cs-flow-img { order: 0; }
}

/* full-film CTA spacing */
.cs-watch { margin-top: clamp(26px, 3.4vw, 42px); display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- video cards (cover + play badge + watch link) ---------- */
.cs-videocard { position: relative; }
.cs-videocard .cs-shot { position: relative; }
.cs-videocard .play {
  position: absolute; inset: 0; margin: auto;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(217,49,11,.92); border: 3px solid #fff; color: #fff;
  display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 6px 18px rgba(43,33,24,.4); z-index: 2;
}
.cs-videocard .play::after { content: ""; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.cs-videocard .vlabel { display: block; margin-top: 12px; font-family: var(--font-head); font-size: 1.15rem; }
.cs-videocard .vsub { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); }

/* ---------- AI strategy: 3 steps + pipeline ---------- */
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(26px, 3.4vw, 42px); }
.cs-step {
  border: 3px solid var(--ink); border-radius: 16px; background: #fff; padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 3px 0 rgba(43,33,24,.1);
}
.cs-step .sn { font-family: var(--font-head); font-size: 2rem; color: var(--tomato); line-height: 1; display: block; }
.cs-step h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 8px 0 8px; }
.cs-step p { font-size: .96rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.cs-keychips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 2.6vw, 30px); }
.cs-keychip {
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pear); color: var(--ink);
  box-shadow: 0 2px 0 rgba(43,33,24,.2);
}
.cs-pipeline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: clamp(22px, 2.6vw, 32px);
  padding: clamp(18px, 2.2vw, 26px); border: 3px dashed var(--mint); border-radius: 16px; background: var(--crema-card);
}
.cs-pipe { font-family: var(--font-mono); font-weight: 600; font-size: .9rem; padding: 9px 15px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; }
.cs-pipe.src { background: var(--sky); color: var(--denim-deep); }
.cs-pipe-arrow { font-family: var(--font-head); font-size: 1.4rem; color: var(--tomato); }
.cs-ongoing {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--mint-deep); background: rgba(129,136,7,.12); border: 2px solid var(--mint);
  padding: 6px 14px; border-radius: 999px; margin-top: 4px;
}
.cs-ongoing::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
@media (max-width: 760px) {
  .cs-steps { grid-template-columns: 1fr; }
}

/* ---------- slide-deck carousel (campaign recaps) ---------- */
.cs-deck-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(26px, 3.4vw, 42px); }
.cs-deck-pair .cs-deck { margin-top: 0; }
.cs-deck-pair .cs-deck + .cs-deck { margin-top: 0; }
@media (max-width: 760px) { .cs-deck-pair { grid-template-columns: 1fr; } }

/* portrait carousels (4:5 social slides), shown as a responsive trio */
.cs-deck-trio { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(26px, 3.4vw, 42px); align-items: start; }
.cs-deck-trio .cs-deck { margin-top: 0; display: grid; grid-template-rows: subgrid; grid-row: 1 / span 3; }
.cs-deck-trio .cs-deck-head { align-items: flex-end; }
.cs-deck-portrait .cs-deck-track { background: var(--crema-deep); }
.cs-deck-portrait .cs-deck-track img { aspect-ratio: 4 / 5; }
.cs-deck-portrait .cs-deck-nav { width: 38px; height: 38px; font-size: 1.4rem; }
.cs-deck-portrait .cs-deck-nav.prev { left: 8px; }
.cs-deck-portrait .cs-deck-nav.next { right: 8px; }
@media (max-width: 820px) {
  .cs-deck-trio { grid-template-columns: 1fr; grid-template-rows: none; max-width: 420px; margin-inline: auto; gap: clamp(28px, 7vw, 44px); }
  .cs-deck-trio .cs-deck { display: flex; flex-direction: column; grid-row: auto; }
  .cs-deck-trio .cs-deck-head { align-items: baseline; }
}

/* thought-leadership repurposing pair (carousel + single piece) */
.cs-repurp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(20px, 2.6vw, 30px); align-items: start; }
.cs-repurp .cs-deck { margin-top: 0; }
.cs-repurp .cs-piece { display: flex; flex-direction: column; }
.cs-repurp .cs-piece .cs-shot { aspect-ratio: 4 / 5; }
.cs-repurp .cs-piece .plabel { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
@media (max-width: 760px) { .cs-repurp { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* single AI case study: centered, leveled media */
.cs-case { max-width: 760px; margin: clamp(22px, 2.8vw, 34px) auto 0; }
.cs-medialabel { display: block; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tomato); text-align: center; margin: 0 0 12px; }
.cs-case .cs-pipeline { justify-content: center; margin: clamp(22px, 2.8vw, 32px) 0; }
.cs-article { margin: 0; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 0 rgba(43,33,24,.12), 0 18px 36px rgba(43,33,24,.18); }
.cs-article img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.cs-portrait-single { max-width: 430px; margin: 0 auto; }
.cs-portrait-single + .cs-medialabel { margin-top: 0; }

/* before / after reputation score */
.cs-beforeafter { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 44px); flex-wrap: wrap; margin-top: clamp(30px, 4vw, 50px); }
.cs-ba-card { border: 3px solid var(--ink); border-radius: 18px; background: #fff; padding: clamp(20px, 2.4vw, 30px) clamp(30px, 3.4vw, 48px); text-align: center; box-shadow: 0 4px 0 rgba(43,33,24,.18); min-width: 190px; }
.cs-ba-card .tag { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); display: block; }
.cs-ba-card .big { font-family: var(--font-head); font-size: clamp(2.8rem, 5.5vw, 4rem); line-height: 1; display: block; margin-top: 8px; }
.cs-ba-card.before .big { color: var(--ink-soft); }
.cs-ba-card.after { border-color: var(--mint-deep); background: rgba(129,136,7,.08); }
.cs-ba-card.after .big { color: var(--mint-deep); }
.cs-ba-arrow { font-family: var(--font-head); font-size: 2.2rem; color: var(--tomato); }
.cs-ba-cap { text-align: center; font-size: clamp(.96rem, 1.2vw, 1.1rem); line-height: 1.5; color: var(--ink-soft); max-width: 56ch; margin: 18px auto 0; }

/* ---------- SciPlayer Spotlights: all videos on one line ---------- */
.cs-videorow { display: flex; flex-wrap: nowrap; gap: clamp(16px, 2.4vw, 34px); align-items: center; justify-content: center; margin-top: clamp(26px, 3.4vw, 42px); }
.cs-videorow .cs-spot { display: flex; flex-direction: column; align-items: center; min-width: 0; flex: 1 1 0; }
.cs-videorow .cs-spot:has(.horiz) { flex: 2.4 1 0; }
.cs-videorow .cs-medialabel { margin-bottom: 10px; text-align: center; }
.cs-videorow .cs-embed { margin: 0; width: 100%; height: auto; }
.cs-videorow .cs-embed.horiz { aspect-ratio: 16 / 9; }
.cs-videorow .cs-embed.vert { aspect-ratio: 9 / 16; }
.cs-videorow .cs-vert-slot { aspect-ratio: 9 / 16; height: auto; width: 100%; margin: 0; }
.cs-vert-slot { display: grid; place-items: center; text-align: center; padding: 24px; border: 3px dashed var(--ink); border-radius: 16px; background: var(--crema-card); }
.cs-vert-note { font-family: var(--font-mono); font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
/* single centered video (brand anniversary) */
.cs-video-single { max-width: 1000px; margin: clamp(26px, 3.4vw, 42px) auto 0; }
.cs-video-single .cs-embed { margin-top: 0; }
/* Moya social row — vertical videos share the row evenly */
.mm-social-row .cs-spot { flex: 1 1 0; }
@media (max-width: 820px) {
  .cs-videorow { flex-direction: column; align-items: center; }
  .cs-videorow .cs-spot, .cs-videorow .cs-spot:has(.horiz) { width: 100%; flex: none; align-items: center; }
  .cs-videorow .cs-embed.horiz { width: 100%; max-width: 520px; }
  .cs-videorow .cs-embed.vert, .cs-videorow .cs-vert-slot { width: min(86vw, 420px); aspect-ratio: 9 / 16; }
}

/* ---------- AI rework: article + carousel + strategy, results below ---------- */
.cs-airework { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: clamp(22px, 2.8vw, 34px); }
.cs-airework .cs-deck { width: 100%; max-width: 430px; margin-inline: auto; }
.cs-airework .cs-air-col:last-child .cs-deck-head { position: absolute; margin: 0; top: 10px; right: 14px; z-index: 3; }
.cs-airework .cs-air-col:last-child .cs-deck-count { background: rgba(255,255,255,.85); border-radius: 999px; padding: 3px 10px; }
.cs-airework .cs-air-col:last-child .cs-deck { position: relative; }
.cs-air-col { display: flex; flex-direction: column; min-width: 0; }
.cs-air-col .cs-deck, .cs-air-col .cs-article { margin-top: 0; }
/* prominent repurposing strategy band */
.cs-strategy { margin-top: clamp(30px, 4vw, 56px); border: 3px solid var(--ink); border-radius: 20px; background: var(--mint); padding: clamp(26px, 3.4vw, 44px); text-align: center; box-shadow: 0 4px 0 rgba(43,33,24,.2); }
.cs-strategy-label { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--pear); }
.cs-strategy h3 { font-family: var(--font-head); color: #fff; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.05; margin: 8px 0 24px; }
.cs-strategy-flow { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 34px); flex-wrap: wrap; }
.cs-strategy-dests { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cs-strategy .cs-pipe { font-size: clamp(.9rem, 1.2vw, 1.05rem); padding: 13px 24px; border-width: 2.5px; }
.cs-strategy .cs-pipe.src { background: var(--sky); color: var(--denim-deep); }
.cs-strategy-arrow { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; }
@media (max-width: 760px) {
  .cs-airework { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
.cs-deck { margin-top: clamp(26px, 3.4vw, 42px); }
.cs-deck + .cs-deck { margin-top: clamp(34px, 4.5vw, 60px); }
.cs-deck-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cs-deck-head h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; line-height: 1; }
.cs-deck-count { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.cs-deck-count b { color: var(--tomato); }
.cs-deck-view { position: relative; }
.cs-deck-track {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  border: 3px solid var(--ink); border-radius: 16px; background: var(--ink);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 0 rgba(43,33,24,.12), 0 18px 36px rgba(43,33,24,.18);
}
.cs-deck-track::-webkit-scrollbar { display: none; }
.cs-deck-track img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  scroll-snap-align: center; display: block; cursor: zoom-in;
}
.cs-deck-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--crema-card); color: var(--ink);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 4px;
  box-shadow: 0 3px 0 rgba(43,33,24,.25); transition: transform .14s ease, background .14s ease;
}
.cs-deck-nav:hover { background: var(--pear); }
.cs-deck-nav:active { transform: translateY(-50%) scale(.94); }
.cs-deck-nav.prev { left: 12px; }
.cs-deck-nav.next { right: 12px; }
.cs-deck-nav[disabled] { opacity: .35; pointer-events: none; }
.cs-deck-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.cs-deck-dots button {
  width: 11px; height: 11px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid var(--ink); background: transparent; transition: background .14s ease, transform .14s ease;
}
.cs-deck-dots button.active { background: var(--tomato); transform: scale(1.15); }
@media (max-width: 560px) {
  .cs-deck-nav { width: 38px; height: 38px; font-size: 1.4rem; }
}

/* ---------- click-to-enlarge lightbox ---------- */
.cs-shot, .cs-hero-photo, .cs-flow-img, .cs-brief-img, .eh-hero-img { cursor: zoom-in; }
.cs-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(43, 33, 24, .9);
  padding: clamp(16px, 4vw, 56px);
  cursor: zoom-out;
  opacity: 0; transition: opacity .22s ease;
}
.cs-lightbox.open { display: flex; opacity: 1; }
.cs-lightbox img {
  max-width: 100%; max-height: 100%;
  border: 4px solid #fff; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #fff;
}
.cs-lightbox-close {
  position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid #fff; background: var(--tomato); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.cs-lightbox-close:hover { background: var(--tomato-deep); }

/* ---------- split: copy + image (The Brief) ---------- */
.cs-brief { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(20px, 2.2vw, 32px); align-items: stretch; }
.cs-brief .cs-sec-head { margin-bottom: 0; }
.cs-brief-img {
  margin: 0;
  border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; rotate: .6deg;
  box-shadow: 0 3px 0 rgba(43,33,24,.1), 0 14px 28px rgba(43,33,24,.14);
}
.cs-brief-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-brief-img image-slot { display: block; width: 100%; height: 100%; }

/* ---------- split: text + video embed (The Experience) ---------- */
.cs-exp { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(24px, 3.6vw, 54px); align-items: start; }
.cs-exp .cs-sec-head { margin-bottom: 0; }
.cs-exp .cs-embed { margin-top: 0; }
@media (max-width: 820px) {
  .cs-brief { grid-template-columns: 1fr; }
  .cs-brief-img { max-width: 100%; aspect-ratio: 4 / 3; }
  .cs-brief-img img { aspect-ratio: 4 / 3; height: auto; }
  .cs-exp { grid-template-columns: 1fr; }
}
