/* ==========================================================================
   pillars-lab.css — three directions for the feature section. Loads after pillars.css.
   1 paper  · editorial rows on white, hairlines, a voices interlude after row three
   2 stage  · one sticky product stage; copy scrolls, the stage swaps mock and quote
   3 rail   · a horizontal rail of feature cards, then a featured voices block
   ========================================================================== */

/* ---------- shared: voices ---------- */
.voices { display: grid; gap: 24px; }
.voice { margin: 0; }
.voice blockquote { margin: 0; }
.voice blockquote p { font: 400 clamp(17px, 1.6vw, 21px)/1.45 var(--font-serif); font-style: italic; color: var(--ink); text-wrap: pretty; }
.voice blockquote p strong { font-weight: 600; }
.voice figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font: 400 13.5px/1.4 var(--font-body); color: var(--v2-body); }
.voice figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.voice figcaption b { display: block; font: 600 14px/1.4 var(--font-display); color: var(--ink); }
.voices--band { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.voices--featured { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.voice--lead blockquote p { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.voices-rest { display: grid; gap: 28px; }
.voice--small blockquote p { font-size: 16px; }

/* ---------- 1 · paper ---------- */
.pillars-paper { padding: clamp(72px, 8vw, 120px) 0; }
.pillars-paper .head { margin-bottom: clamp(16px, 3vw, 32px); }
.paper-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid rgba(15, 13, 25, .09); }
.paper-row:nth-child(even) > :first-child { order: 2; }
.paper-row .pillar-graphic { max-width: 520px; width: 100%; justify-self: center; }
.paper-row .pillar-copy h3 { font-size: clamp(28px, 3.2vw, 40px); }
.paper-row .g-card { box-shadow: 0 0 0 1px rgba(15, 13, 25, .07), 0 20px 50px -34px rgba(15, 13, 25, .35); }
.paper-voices { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid rgba(15, 13, 25, .09); }
.proof-section .paper-voices { border-top: 0; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(72px, 8vw, 128px); }
.paper-voices .kicker-line { margin-bottom: 28px; font: 500 14px/1.4 var(--font-display); color: var(--v2-body); }
.paper-voices .kicker-line b { color: var(--ink); font-weight: 600; }
.paper-voices .voices--band { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(15, 13, 25, .07); }

/* the Bishops case on white */
.case-light { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.case-light-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; background: url("../images/Bishops-Cuts--Color-Hero.jpg") center / cover; box-shadow: 0 0 0 1px rgba(15, 13, 25, .07), 0 30px 70px -40px rgba(15, 13, 25, .5); overflow: hidden; cursor: pointer; }
.case-light-media .play { position: absolute; right: 16px; bottom: 14px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -16px rgba(15, 13, 25, .6); transition: transform .3s var(--ease-out); }
.case-light-media .play .icon { position: static; width: 22px; height: 22px; margin-left: 3px; transform: none; color: var(--ink); }
.case-light-media:hover .play { transform: scale(1.06); }
.case-light-tag { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(15, 13, 25, .72); color: #fff; font: 600 12px/1.3 var(--font-display); }
.case-light-eyebrow { font: 600 13.5px/1.4 var(--font-display); color: var(--v2-body); }
.case-light-body h3 { margin-top: 14px; font: 500 clamp(24px, 2.6vw, 34px)/1.25 var(--font-serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.case-light-body h3 em { font-style: italic; }
.case-light-who { margin-top: 18px; font: 400 13.5px/1.4 var(--font-body); color: var(--v2-body); }
.case-light-who b { display: block; font: 600 14px/1.4 var(--font-display); color: var(--ink); }
.case-light-stat { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(15, 13, 25, .09); font: 500 clamp(44px, 4.6vw, 60px)/1 var(--font-serif); letter-spacing: -.02em; color: var(--blue); }
.case-light-stat small { font-size: .5em; }
.case-light-stat em { flex-basis: 100%; font: 500 15px/1.4 var(--font-display); font-style: normal; color: var(--ink); }

/* ---------- 2 · stage ---------- */
.pillars-stage { padding: clamp(72px, 8vw, 120px) 0; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.stage { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 28px; background: #f6f7fb; box-shadow: inset 0 0 0 1px rgba(15, 13, 25, .06); overflow: hidden; }
.stage .blob { position: absolute; inset: -10%; z-index: 0; pointer-events: none; }
.stage .blob-canvas.is-loaded { opacity: .16; }
.stage > * { position: relative; z-index: 1; }
.stage-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.stage-tabs button { padding: 7px 12px; border-radius: 999px; font: 500 13px/1.3 var(--font-display); color: var(--v2-body); background: transparent; transition: background-color .25s, color .25s; }
.stage-tabs button:hover { color: var(--ink); }
.stage-tabs button.is-active { background: var(--ink); color: #fff; }
.stage-view { position: relative; min-height: 420px; }
.stage-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); pointer-events: none; }
.stage-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage-slide .pillar-graphic { width: 100%; max-width: 520px; }
.stage-quotes { position: relative; min-height: 124px; }
.stage-quote { position: absolute; inset: 0; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; opacity: 0; transition: opacity .4s var(--ease-out); }
.stage-quote.is-active { opacity: 1; }
.stage-quote img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.stage-quote p { font: 400 14px/1.5 var(--font-serif); font-style: italic; color: var(--ink); }
.stage-quote p strong { font-weight: 600; }
.stage-quote small { display: block; margin-top: 6px; font: 500 12.5px/1.4 var(--font-display); color: var(--v2-body); }
.stage-quote small b { color: var(--ink); }
.stage-items { display: grid; }
.stage-item { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; }
.stage-item + .stage-item { border-top: 1px solid rgba(15, 13, 25, .08); }
.stage-item .pillar-graphic { display: none; }
.stage-item .pillar-copy h3 { font-size: clamp(28px, 3.2vw, 40px); }

/* ---------- 3 · rail ---------- */
.pillars-rail { padding: clamp(72px, 8vw, 120px) 0; overflow: hidden; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 13, 25, .12); color: var(--ink); transition: background-color .2s; }
.rail-nav button:hover { background: var(--ghost); }
.rail-nav button .icon { width: 16px; height: 16px; }
.rail-nav button[data-dir="prev"] .icon { transform: scaleX(-1); }
.rail { display: flex; gap: 20px; margin: 0 calc(50% - 50vw); padding: 12px calc(50vw - 540px) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { flex: 0 0 440px; display: flex; flex-direction: column; scroll-snap-align: start; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 13, 25, .07), 0 24px 60px -36px rgba(15, 13, 25, .35); overflow: hidden; }
.rail-card .rail-shot { padding: 24px 24px 0; background: linear-gradient(180deg, #f6f7fb, #fff); }
.rail-card .rail-shot .g { zoom: .78; }
.rail-card .g-card { box-shadow: 0 0 0 1px rgba(15, 13, 25, .06), 0 16px 40px -28px rgba(15, 13, 25, .35); }
.rail-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.rail-body .tab { font: 600 12.5px/1.3 var(--font-display); color: var(--blue); }
.rail-body h3 { font: 500 22px/1.2 var(--font-serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.rail-body p { font: 400 14.5px/1.55 var(--font-body); color: var(--v2-body); }
.rail-body .pillar-link { margin-top: auto; padding-top: 8px; font-size: 14px; }
.rail-dots { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d4d8e6; transition: background-color .2s, transform .2s; }
.rail-dots i.is-active { background: var(--ink); transform: scale(1.3); }
.rail-voices { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(15, 13, 25, .09); }

/* ---------- breakpoints ---------- */
@media (max-width: 991px) {
  .voices--band, .voices--featured { grid-template-columns: 1fr; }
  .paper-row, .stage-grid, .case-light { grid-template-columns: 1fr; }
  .paper-row:nth-child(even) > :first-child { order: 0; }
  .stage { display: none; }
  .stage-item { min-height: 0; padding: 40px 0; }
  .stage-item .pillar-graphic { display: block; margin-bottom: 24px; }
  .rail { padding-left: 24px; padding-right: 24px; }
  .rail-card { flex-basis: 84vw; }
}
