/* ── /case-studies/etsy-v2/ — VERSION 2 · RESULTS-FIRST EDITORIAL ─────────
   A genuinely different composition from v1 (Nacim, 2026-08-10 — "yo queria
   algo diferente, una version nueva completamente"). Where v1 stacks
   hero → about → problem/solution toggle → how → results → quote, this
   INVERTS the order and changes the form:
     · The MASTHEAD leads with the outcome — the numbers are the biggest ink
       on the page, a giant hairline stat band, not a footnote at the end.
     · The story unpacks in NUMBERED EDITORIAL CHAPTERS (01–04): a big
       accent numeral + kicker + title in a sticky left rail, an asymmetric
       two-column body on the right, thin rules between chapters.
     · Problem and solution are sequential chapters — the v1 toggle is gone.
     · One full-bleed DARK pull quote gives the light editorial a beat of
       contrast before the CTA.
   Magazine rhythm, brand type + tokens only. All rules scoped
   under .p-case-study-etsy-v2. Same copy as v1, verbatim. */

.p-case-study-etsy-v2 {
  --ce-accent: var(--color-blue);
  --ce-gutter: 20px;
}
@media (min-width: 1024px) { .p-case-study-etsy-v2 { --ce-gutter: 24px; } }

/* ══════════ MASTHEAD — the result, stated first ══════════ */
.p-case-study-etsy-v2 .ce-masthead {
  display: flex;
  /* off-white stage so the first chapter card reads WHITE against it
     (Sofia, 2026-08-11 round 3) */
  background: var(--color-background);
}
.p-case-study-etsy-v2 .ce-masthead__inner {
  margin-inline: auto;
  width: 100%;
  max-width: var(--container-large);
  /* the masthead OWNS the first viewport (Sofia, 2026-08-11: "you're
     not using the full viewport"): full fold minus the announcement
     seat (the hero-estate rule), content centered in the leftover —
     the top padding still guards the overlaid nav on short screens */
  min-height: calc(100svh - var(--hl-seat, 0px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 104px var(--ce-gutter) 64px;
}
@media (min-width: 768px) { .p-case-study-etsy-v2 .ce-masthead__inner { padding: 118px var(--ce-gutter) 80px; } }

/* top row: wordmark left, fact list right — plain (the pill retired,
   Sofia 2026-08-11 rounds 2-3) */
.p-case-study-etsy-v2 .ce-masthead__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
/* the top row mirrors the split's grid, so the fact list and the stat
   stack share one left edge (Sofia, 2026-08-11: "align the stats with
   the taglines") */
@media (min-width: 1024px) {
  .p-case-study-etsy-v2 .ce-masthead__top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
  }
}
.p-case-study-etsy-v2 .ce-masthead__logo { height: 38px; width: auto; }
.p-case-study-etsy-v2 .ce-masthead__meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
}
@media (min-width: 640px) { .p-case-study-etsy-v2 .ce-masthead__meta { grid-template-columns: repeat(3, auto); } }
.p-case-study-etsy-v2 .ce-masthead__meta-item { min-width: 0; }
.p-case-study-etsy-v2 .ce-masthead__meta dt {
  font-size: var(--fs-xs);
  color: var(--color-blue);
  margin-bottom: 4px;
}
.p-case-study-etsy-v2 .ce-masthead__meta dd {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: var(--color-black);
  max-width: 26ch;
}

/* split stage: copy + CTA left, compact stat stack right. NO flex
   grow — the top row and the split center TOGETHER as one group in
   the full-viewport inner (Sofia, 2026-08-11: "center everything to
   this section") */
@media (min-width: 1024px) {
  .p-case-study-etsy-v2 .ce-masthead__split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
    align-items: center;
    margin-top: 64px;
  }
}
.p-case-study-etsy-v2 .ce-masthead__title {
  margin: 36px 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 500;
  /* a size down (Sofia, 2026-08-11 round 2: "too big") */
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: var(--track-tighter);
  text-wrap: balance;
  color: var(--color-black);
}
.p-case-study-etsy-v2 .ce-masthead__dek {
  margin: 24px 0 0;
  /* four-line measure (Sofia, 2026-08-11) */
  max-width: 470px;
  font-size: var(--fs-xl);
  line-height: var(--leading-snug);
  color: var(--color-grey-on-white);
}

/* the stat stack — compact 2x2 on the stage's right (Sofia,
   2026-08-11: "move the big stats to the right side, make them
   smaller"); phones keep the 2-up flow under the copy */
.p-case-study-etsy-v2 .ce-figures {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
@media (min-width: 1024px) { .p-case-study-etsy-v2 .ce-figures { margin-top: 40px; gap: 36px 32px; } }
.p-case-study-etsy-v2 .ce-figure {
  /* grey hairline (Sofia, 2026-08-11: "make the lines grey") — the
     2px ink rules read too heavy against the compact figures */
  border-top: 1px solid var(--color-grey-200);
  padding-top: 16px;
}
.p-case-study-etsy-v2 .ce-figure__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 0.95;
  letter-spacing: var(--track-tightest);
  color: var(--color-black);
}
.p-case-study-etsy-v2 .ce-figure__cap {
  margin: 16px 0 0;
  max-width: 24ch;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--color-grey-on-white);
}
.p-case-study-etsy-v2 .ce-masthead__actions { margin-top: 36px; }

/* ══════════ STACKING CHAPTER CARDS (Sofia, 2026-08-11) ══════════
   Each chapter leads with a compact bar (number + name). The bars are
   sticky against the whole stack, so they ACCUMULATE at the top as the
   next card slides over — rounded card edges, hairlines, no shadows —
   and every stacked bar stays clickable (case-etsy-stack.js scrolls
   its chapter back under it). Chapters scroll free underneath, so tall
   content is never trapped. --ce-bar-h and --ce-stack-base feed both
   the CSS offsets and the JS scroll targets. */
.p-case-study-etsy-v2 .ce-stack {
  --ce-bar-h: 76px;
  --ce-stack-base: 68px;
  position: relative;
}
/* THE curtain lip (Sofia, 2026-08-11 round 2: the site's rounded-
   section treatment, thicker strips): each bar is a pronounced
   28px-radius card edge on the off-white ground, so the corners read
   against the white chapter it slides over — hairline + contrast carry
   the elevation, no shadows */
.p-case-study-etsy-v2 .ce-stack__bar {
  position: sticky;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: var(--ce-bar-h);
  padding: 0 var(--ce-gutter);
  border: 0;
  border-top: 1px solid var(--color-border-light);
  border-radius: 28px 28px 0 0;
  background: var(--color-white);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.p-case-study-etsy-v2 .ce-stack__bar:hover { background: var(--color-grey-100); }
/* the apron: an opaque 28px extension under the docked bar, reaching
   exactly to the question's sticky seat — the right column's content
   cuts at the SAME height as the question instead of vanishing under
   the bar (Sofia, 2026-08-11) */
.p-case-study-etsy-v2 .ce-stack__bar::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--color-white);
  transition: background-color 0.45s ease;
}
.p-case-study-etsy-v2 .ce-stack__bar.is-dim::after { background: var(--color-background); }
/* scroll-driven focus (Sofia, 2026-08-11 round 3): every card is WHITE
   while it's the newest one on the stack; the moment the next card
   docks, the covered card dims to off-white (case-etsy-stack.js flips
   .is-dim) — the eye always lands on the focused card */
.p-case-study-etsy-v2 .ce-stack__bar { background: var(--color-white); }
.p-case-study-etsy-v2 .ce-stack__bar,
.p-case-study-etsy-v2 .ce-stack .ce-chapter {
  transition: background-color 0.45s ease;
}
.p-case-study-etsy-v2 .ce-stack__bar.is-dim,
.p-case-study-etsy-v2 .ce-stack .ce-chapter.is-dim {
  background: var(--color-background);
}
.p-case-study-etsy-v2 .ce-stack__bar.is-dim:hover { background: var(--color-grey-100); }
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(1) { top: calc(var(--ce-stack-base)); z-index: 5; }
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(2) { top: calc(var(--ce-stack-base) + var(--ce-bar-h)); z-index: 6; }
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(3) { top: calc(var(--ce-stack-base) + var(--ce-bar-h) * 2); z-index: 7; }
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(4) { top: calc(var(--ce-stack-base) + var(--ce-bar-h) * 3); z-index: 8; }
/* the bars are now the ONLY chapter identity (the in-card number +
   kicker repeats retired, Sofia 2026-08-11) — the type steps up */
.p-case-study-etsy-v2 .ce-stack__bar-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
/* each bar's number carries its chapter's accent (the bars sit outside
   the chapters, so they can't inherit --ce-accent) */
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(1) .ce-stack__bar-num { color: var(--color-etsy-orange); }
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(2) .ce-stack__bar-num { color: var(--color-red-600); }
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(3) .ce-stack__bar-num,
.p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(4) .ce-stack__bar-num { color: var(--color-blue); }
.p-case-study-etsy-v2 .ce-stack__bar-label {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  letter-spacing: var(--track-tight);
  color: var(--color-black);
}

/* ══════════ EDITORIAL CHAPTERS ══════════ */
.p-case-study-etsy-v2 .ce-chapter { border-top: 1px solid var(--color-border-light); background: var(--color-white); }
.p-case-study-etsy-v2 .ce-chapter--client { --ce-accent: var(--color-etsy-orange); }
.p-case-study-etsy-v2 .ce-chapter--problem { --ce-accent: var(--color-red-600); }
.p-case-study-etsy-v2 .ce-chapter--solution,
.p-case-study-etsy-v2 .ce-chapter--how { --ce-accent: var(--color-blue); }

.p-case-study-etsy-v2 .ce-chapter__inner {
  margin-inline: auto;
  max-width: var(--container-large);
  padding: 72px var(--ce-gutter);
}
@media (min-width: 768px) { .p-case-study-etsy-v2 .ce-chapter__inner { padding-block: 104px; } }
@media (min-width: 900px) {
  .p-case-study-etsy-v2 .ce-chapter__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    gap: 64px;
    align-items: start;
  }
}
@media (min-width: 1200px) { .p-case-study-etsy-v2 .ce-chapter__inner { gap: 88px; } }

/* the head rail — big accent numeral, kicker, title; sticky on desktop */
.p-case-study-etsy-v2 .ce-chapter__head { position: relative; }
/* the question stays visible while the right column runs (Sofia,
   2026-08-11): each head's seat clears ITS chapter's docked bars
   (base 68 + n x 76 + 28 air) — 108px sat the head UNDER the stack */
@media (min-width: 900px) {
  .p-case-study-etsy-v2 .ce-chapter__head {
    position: sticky;
    top: 172px;
    align-self: start;
  }
  .p-case-study-etsy-v2 .ce-chapter--problem .ce-chapter__head { top: 248px; }
  .p-case-study-etsy-v2 .ce-chapter--solution .ce-chapter__head { top: 324px; }
  /* the dark beat sits after the stack — no bars over it */
  .p-case-study-etsy-v2 .ce-chapter--dark .ce-chapter__head { top: 120px; }
}
.p-case-study-etsy-v2 .ce-chapter__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: var(--track-tighter);
  color: var(--ce-accent);
}
.p-case-study-etsy-v2 .ce-chapter__head .kicker { margin-top: 20px; color: var(--ce-accent); }
.p-case-study-etsy-v2 .ce-chapter__title {
  margin: 14px 0 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  color: var(--color-black);
}
/* the body column — lead then content */
.p-case-study-etsy-v2 .ce-chapter__body { margin-top: 40px; }
@media (min-width: 900px) { .p-case-study-etsy-v2 .ce-chapter__body { margin-top: 0; } }
.p-case-study-etsy-v2 .ce-lead {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.45;
  letter-spacing: var(--track-tight);
  color: var(--color-black);
}
.p-case-study-etsy-v2 .ce-body {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: 17px;
  line-height: var(--leading-body);
  color: var(--color-grey-on-white);
}

/* problem — a numbered editorial list */
.p-case-study-etsy-v2 .ce-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.p-case-study-etsy-v2 .ce-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--color-border-light);
}
.p-case-study-etsy-v2 .ce-list__item:first-child { border-top: 0; padding-top: 8px; }
.p-case-study-etsy-v2 .ce-list__idx {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-xl);
  line-height: 1.2;
  letter-spacing: var(--track-tight);
  color: var(--ce-accent);
}
.p-case-study-etsy-v2 .ce-list__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  letter-spacing: var(--track-tight);
  color: var(--color-black);
}
.p-case-study-etsy-v2 .ce-list__line {
  margin: 8px 0 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-grey-on-white);
}
/* the chapter's closing statement — set apart by scale + air, no accent bar */
.p-case-study-etsy-v2 .ce-pull {
  margin: 48px 0 0;
  padding-top: 32px;
  max-width: 620px;
  border-top: 1px solid var(--color-border-light);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.32;
  letter-spacing: var(--track-tight);
  color: var(--color-black);
}

/* solution — the hiring funnel as a vertical journey */
.p-case-study-etsy-v2 .ce-funnel { margin-top: 48px; }
.p-case-study-etsy-v2 .ce-funnel__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
}
.p-case-study-etsy-v2 .ce-funnel__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-case-study-etsy-v2 .ce-funnel__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in oklab, var(--ce-accent) 30%, transparent);
  background: var(--color-blue-100);
  color: var(--ce-accent);
}
.p-case-study-etsy-v2 .ce-funnel__rail {
  flex: 1;
  width: 2px;
  min-height: 24px;
  margin: 8px 0;
  background: linear-gradient(var(--color-border-light), color-mix(in oklab, var(--ce-accent) 30%, transparent));
}
.p-case-study-etsy-v2 .ce-funnel__icon { width: 24px; height: 24px; }
.p-case-study-etsy-v2 .ce-funnel__copy { padding-bottom: 40px; }
.p-case-study-etsy-v2 .ce-funnel__step:last-child .ce-funnel__copy { padding-bottom: 0; }
.p-case-study-etsy-v2 .ce-funnel__stage {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  letter-spacing: var(--track-tight);
  color: var(--color-black);
}

/* how it works — a 2-column editorial grid */
.p-case-study-etsy-v2 .ce-howgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 48px;
}
@media (min-width: 640px) { .p-case-study-etsy-v2 .ce-howgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p-case-study-etsy-v2 .ce-howgrid__item { border-top: 1px solid var(--color-border-light); padding-top: 22px; }
.p-case-study-etsy-v2 .ce-howgrid__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in oklab, var(--color-blue) 30%, transparent);
  background: var(--color-blue-100);
  color: var(--color-blue);
}

/* ══════════ how it works — the standalone dark beat (Sofia,
   2026-08-11): ink curtain sliding over the stack's last card, on-dark
   type; the light icon tiles carry the one bright accent ══════════ */
.p-case-study-etsy-v2 .ce-chapter--dark {
  position: relative;
  margin-top: -28px;
  border-top: 0;
  border-radius: 28px 28px 0 0;
  background: var(--color-rich-black);
  color: var(--color-white);
}
.p-case-study-etsy-v2 .ce-chapter--dark .ce-chapter__title { color: var(--color-white); }
/* canonical contrast (Sofia, 2026-08-11: "no blue over black, ever") —
   the on-dark kicker takes the global on-dark value, outranking the
   accent rule above */
.p-case-study-etsy-v2 .ce-chapter--dark .ce-chapter__head .kicker {
  color: rgba(255, 255, 255, 0.5);
}
/* icon tiles trade the light plates for ink-ground ones: quiet white
   wash + hairline, Blue 200 glyphs */
.p-case-study-etsy-v2 .ce-chapter--dark .ce-howgrid__tile {
  border-color: color-mix(in oklab, var(--color-white) 18%, transparent);
  background: color-mix(in oklab, var(--color-white) 7%, transparent);
  color: var(--color-blue-200);
}
.p-case-study-etsy-v2 .ce-chapter--dark .ce-list__name { color: var(--color-white); }
.p-case-study-etsy-v2 .ce-chapter--dark .ce-list__line { color: var(--color-grey-on-black); }
.p-case-study-etsy-v2 .ce-chapter--dark .ce-howgrid__item {
  border-top-color: color-mix(in oklab, var(--color-white) 16%, transparent);
}

/* ══════════ testimonial — the standardized centered story block
   (the industries ind-story recipe verbatim; Sofia, 2026-08-11: "use
   the component that's already standardized") ══════════ */
.p-case-study-etsy-v2 .ce-quote {
  background: var(--color-background);
  color: var(--color-foreground);
  border-top: 1px solid var(--color-border-light);
  text-align: center;
}
.p-case-study-etsy-v2 .ce-quote__inner {
  margin-inline: auto;
  max-width: var(--container-large);
  padding: 96px var(--ce-gutter);
}
@media (min-width: 768px) { .p-case-study-etsy-v2 .ce-quote__inner { padding-block: 112px; } }
.p-case-study-etsy-v2 .ce-quote__text {
  margin: 28px auto 0;
  max-width: 820px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: var(--fs-3xl);
  line-height: 1.4;
  text-wrap: pretty;
  color: var(--color-black);
}
@media (min-width: 640px) { .p-case-study-etsy-v2 .ce-quote__text { font-size: 28px; } }
.p-case-study-etsy-v2 .ce-quote__logo {
  display: block;
  margin: 28px auto 0;
  height: 28px;
  width: auto;
}
.p-case-study-etsy-v2 .ce-quote__attr {
  display: block;
  margin-top: 24px;
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  color: var(--color-grey-on-white);
}

/* ══════════ MOBILE MASTHEAD RE-ORDER (Nacim, 2026-08-12) ══════════
   Desktop is a two-column stage and stays untouched (≥1024). On phones the
   masthead read logo → facts → title → body → CTA, but the intended reading
   order is logo → title → body → facts → CTA → numbers. The three structural
   wrappers (__top, __split, __copy) collapse to display:contents so their
   children become siblings of __inner's flex column, then `order` sequences
   them. Nothing here touches the desktop grid. */
@media (max-width: 1023px) {
  .p-case-study-etsy-v2 .ce-masthead__top,
  .p-case-study-etsy-v2 .ce-masthead__split,
  .p-case-study-etsy-v2 .ce-masthead__copy {
    display: contents;
  }
  .p-case-study-etsy-v2 .ce-masthead__inner { align-items: flex-start; }

  .p-case-study-etsy-v2 .ce-masthead__logo { order: 1; align-self: flex-start; }
  .p-case-study-etsy-v2 .ce-masthead__title { order: 2; }
  .p-case-study-etsy-v2 .ce-masthead__dek { order: 3; }
  .p-case-study-etsy-v2 .ce-masthead__meta { order: 4; width: 100%; margin-top: 30px; }
  .p-case-study-etsy-v2 .ce-masthead__actions { order: 5; }
  .p-case-study-etsy-v2 .ce-figures { order: 6; width: 100%; }
}

/* Compact fact list on phones — VERSION D (Nacim, 2026-08-12: "industry en
   una línea, commerce & marketplaces en otra, y un espacio más notorio antes
   de la siguiente"). Stacked label-over-value: the blue label sits tight on
   top of its value, then a pronounced gap separates each fact from the next,
   so the three read as three clear grouped pairs. */
@media (max-width: 639px) {
  .p-case-study-etsy-v2 .ce-masthead__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p-case-study-etsy-v2 .ce-masthead__meta dt { margin-bottom: 4px; }
  .p-case-study-etsy-v2 .ce-masthead__meta dd { max-width: none; }
}

/* ══════════ MOBILE STICKY BARS — flush to the header (Nacim, 2026-08-12)
   The docked chapter bar showed its 28px rounded corners + a gap under the
   fixed header, so the chapter text scrolled through the seam. On phones the
   bar becomes a flat strip that tucks flush under the header: no top radius,
   no top hairline (the header's own bottom border is the divider), a bottom
   hairline as the only rule it carries, a shorter height, and a dock offset
   matched to the header so nothing peeks above it. */
@media (max-width: 767px) {
  .p-case-study-etsy-v2 .ce-stack {
    --ce-bar-h: 60px;
    --ce-stack-base: 63px;
  }
  .p-case-study-etsy-v2 .ce-stack__bar {
    border-radius: 0;
    border-top: 0;
    border-bottom: 1px solid var(--color-border-light);
  }
  /* the desktop apron (28px opaque extension for the sticky question seat)
     is a no-op on phones where the head isn't sticky — drop it so the bar's
     bottom rule meets the chapter cleanly */
  .p-case-study-etsy-v2 .ce-stack__bar::after { height: 0; }

  /* NO accumulation on phones (Nacim, 2026-08-12): every bar docks at the
     SAME offset instead of the staggered pile. Later bars keep their higher
     z-index (5→8) and an opaque background, so as chapter 02's bar slides up
     it covers 01 exactly — one bar at the top at a time, the previous one
     hidden behind the current, not stacked. Desktop keeps its accumulation. */
  .p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(1),
  .p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(2),
  .p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(3),
  .p-case-study-etsy-v2 .ce-stack__bar:nth-of-type(4) {
    top: var(--ce-stack-base);
  }
}
