/* Inner pages in the v2 language: molten hero sheets, inset bands, slabs, rows, segmented filters.
   Loaded after sample.css; scoped to body.v2. */

/* ---------- hero: an inset sheet with a field in the page's identity ---------- */
.v2 .sheet--hero { position: relative; isolation: isolate; overflow: hidden; margin: var(--tight); border-radius: var(--r-panel); color: #fff; background: none;
  min-height: calc(100svh - var(--tight) * 2); padding-left: var(--edge); padding-right: var(--edge); padding-bottom: var(--edge); }
.v2 .sheet--hero > .molten__field { position: absolute; inset: 0; z-index: -2; background: var(--field); }
.v2 .sheet--hero > .molten__field::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 84% 6%, rgba(255, 136, 60, .45), transparent 70%), radial-gradient(40% 32% at 8% 26%, rgba(28, 10, 2, .55), transparent 70%); }
.v2 .sheet--hero > .molten__field::after { content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* identities: Mentorship orange, Lab near-black with an ember glow */
.v2[data-page="mentorship"] .sheet--hero > .molten__field { background: linear-gradient(180deg, #7a2a05 0%, #c04c00 30%, #df5a06 55%, #dc5f0e 78%, #d2611f 100%); }
.v2[data-page="lab"] .sheet--hero { background: none; }
.v2[data-page="lab"] .sheet--hero > .molten__field { background: linear-gradient(180deg, #0c0b0a 0%, #15110e 55%, #2a170b 100%); }
.v2[data-page="lab"] .sheet--hero > .molten__field::before { background: radial-gradient(50% 40% at 82% 100%, rgba(232, 125, 51, .28), transparent 70%); }
.v2 .lhero__field { z-index: -1; }

/* copy on the field */
.v2 .sheet--hero .eyebrow { color: rgba(255, 253, 249, .86); }
.v2 .sheet--hero .pulse { background: #fff; } .v2 .sheet--hero .pulse::after { border-color: #fff; }
.v2 .sheet--hero h1 { color: #fff; }
.v2 .sheet--hero h1 strong, .v2 .sheet--hero h1 .serif { color: transparent; background: linear-gradient(180deg, #fff 30%, #ffd5bf); -webkit-background-clip: text; background-clip: text; }
.v2 .sheet--hero h1 strong .dw, .v2 .sheet--hero h1 .serif .dw { color: transparent; background: inherit; -webkit-background-clip: text; background-clip: text; }
.v2 .sheet--hero .phero__lede, .v2 .sheet--hero .lhero__lede, .v2 .sheet--hero .rhero__count { color: rgba(255, 253, 249, .88); }
.v2 .sheet--hero .phero__lede b, .v2 .sheet--hero .lhero__lede b, .v2 .sheet--hero .rhero__count b { color: #fff; }
.v2 .sheet--hero .lhero__hud { color: rgba(255, 253, 249, .6); right: var(--edge); }
@media (max-width: 1000px) {
  .v2 .sheet--hero { min-height: calc(100svh - var(--tight) * 2); padding-left: var(--edge); padding-right: var(--edge); padding-bottom: var(--edge); }
}

/* ---------- full-width bands become inset sheets ---------- */
.v2 .below, .v2 .mentor, .v2 .bigquote, .v2 .cta { margin-inline: var(--tight); border-radius: var(--r-panel); overflow: hidden; }
.v2 .mentor--fit { margin-top: calc(-1 * var(--r-panel)); }
.v2 .mentor--voices .mentor__inner { padding-bottom: calc(clamp(96px, 14vw, 180px) + var(--r-panel)); }
.v2 .cta { margin-block: var(--tight); }
/* the closing call to action: a warm sheet with pill buttons (identity pages keep their own colour) */
.v2 .cta:not(.cta--dark) { position: relative; isolation: isolate; color: #fff; background: linear-gradient(160deg, #4a1703 0%, #8f3302 30%, #cc5500 62%, #ea650f 100%); }
.v2 .cta:not(.cta--dark)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 88% 0%, rgba(255, 136, 60, .4), transparent 70%); }
.v2 .cta:not(.cta--dark) .eyebrow { color: rgba(255, 253, 249, .82); }
.v2 .cta:not(.cta--dark) .cta__title strong { color: #ffd5bf; }
.v2 .cta .btn { border-radius: 999px; }
.v2 .cta:not(.cta--dark) .btn--ink { background: #fff; color: var(--ink); }
.v2 .cta:not(.cta--dark) .btn--ghost-ink, .v2 .cta:not(.cta--dark) .btn--ghost { color: #fff; background: rgba(255, 253, 249, .14); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .35); }

/* ---------- slabs: white, rounded, nearly touching ---------- */
.v2 .scope__card, .v2 .process__steps > li, .v2 .inpractice, .v2 .feature, .v2 .letterbox,
.v2 .note__paper, .v2 .cinfo__block, .v2 .notyet .door, .v2 .stat {
  background: #fff; border-radius: var(--r-slab); box-shadow: 0 0 0 1px rgba(22, 11, 2, .05); }
.v2 .scope__grid, .v2 .notyet__grid, .v2 .shelf__grid { gap: var(--tight); }
.v2 .scope__card { padding: clamp(24px, 2.4vw, 36px); }
.v2 .process__steps { gap: var(--tight); }
.v2 .process__steps > li { padding: clamp(24px, 2.6vw, 40px); }
.v2 .process__steps::before, .v2 .process__steps::after { display: none; }
.v2 .inpractice { padding: clamp(24px, 3vw, 44px); border-top: 0; }
.v2 .cinfo { gap: var(--tight); padding-top: 0; }
.v2 .cinfo__block { padding: 24px 26px; }
.v2 .letterbox { background: #fff; }
.v2 .notyet .door { min-height: 220px; }
.v2 .feature { overflow: hidden; }

/* figures: the reference's dimmed tail on big numbers */
.v2 .stats { gap: var(--tight); border-top: 0; margin-top: clamp(56px, 7vw, 96px); }
.v2 .stat { padding: 26px 28px 30px; }
.v2 .stat__num { font-weight: 500; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.v2 .stat__plus { color: var(--ember); opacity: .6; font-weight: 500; }

/* ---------- rows: rounded, light, close together ---------- */
.v2 .faq__list { border-top: 0; display: grid; gap: 6px; }
.v2 .qa { border: 0; border-radius: 20px; background: var(--slab-2); padding-inline: 22px; transition: background .3s; }
.v2 .qa:hover, .v2 .qa[open] { background: #fff; box-shadow: 0 0 0 1px rgba(22, 11, 2, .05); }
.v2 .year__list { border-top: 0; display: grid; gap: 6px; }
.v2 .entry a { border-bottom: 0; border-radius: 18px; background: var(--slab-2); padding: 18px 22px; transition: background .3s, transform .35s var(--ease); }
.v2 .entry a:hover { background: #fff; box-shadow: 0 0 0 1px rgba(22, 11, 2, .05); transform: translateX(4px); }
.v2 .values__list { border-top: 0; display: grid; gap: 6px; }
.v2 .values__list li { border: 0; border-radius: 20px; background: var(--slab-2); padding: 22px 26px; }

/* ---------- topic filters become a segmented control ---------- */
.v2 .filters { padding: 4px; gap: 0; border-radius: 999px; background: var(--slab-2); width: fit-content; max-width: 100%; }
.v2 .filter { box-shadow: none; border-radius: 999px; padding: 10px 16px; }
.v2 .filter:hover { box-shadow: none; color: var(--ink); }
.v2 .filter.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(22, 11, 2, .07); }
.v2[data-page="lab"] .filters { background: rgba(255, 253, 249, .08); }
.v2[data-page="lab"] .filter { box-shadow: none; }
.v2[data-page="lab"] .filter.is-on { background: #f5f2ee; color: var(--ink); }
@media (max-width: 900px) { .v2 .filters { width: auto; border-radius: 999px; } }

/* ---------- the pinned "one level below" band keeps its own room ---------- */
.v2 .below { background: var(--slab-2); }

@media (max-width: 900px) {
  .v2 .below, .v2 .mentor, .v2 .bigquote, .v2 .cta { margin-inline: var(--tight); }
}

/* process: each step is its own slab; the timeline dot becomes a status mark in the corner */
.v2 .process__line { display: none; }
.v2 .process__steps > li.step { padding-top: clamp(24px, 2.6vw, 40px); }
.v2 .step__dot { top: clamp(24px, 2.6vw, 34px); left: auto; right: clamp(24px, 2.6vw, 34px); width: 10px; height: 10px; }
@media (max-width: 900px) { .v2 .process__steps > li.step { padding: 24px; } }

/* the Lab is dark from top to bottom: keep its own canvas behind the sample layer */
body.v2[data-page="lab"], body.v2[data-page="experiment"] { background: var(--id-lab, #0c0b0a); color: var(--paper); }
/* on the Lab the scrolled header stays dark glass */
body.v2[data-page="lab"] .nav.is-paper, body.v2[data-page="experiment"] .nav.is-paper { background: rgba(12, 11, 10, .72); box-shadow: 0 0 0 1px rgba(255, 253, 249, .1), 0 10px 40px -20px rgba(0, 0, 0, .6); }
body.v2[data-page="lab"] .nav.is-paper .nav__logo img { filter: brightness(0) invert(1); }
body.v2[data-page="lab"] .nav.is-paper .nav__links { background: rgba(255, 253, 249, .08); }
body.v2[data-page="lab"] .nav.is-paper .nav__links a { color: rgba(255, 253, 249, .72); }
body.v2[data-page="lab"] .nav.is-paper .nav__links a:hover, body.v2[data-page="lab"] .nav.is-paper .nav__links a.is-current { color: #fff; }
body.v2[data-page="lab"] .nav.is-paper .nav__ind { background: rgba(255, 253, 249, .16); box-shadow: none; }
body.v2[data-page="lab"] .nav.is-paper .nav__cta { background: #fff; color: var(--ink); }

/* ---------- article: the photo becomes the field, toned in the warm gradient, darkest behind the copy ---------- */
.v2 .ahead.sheet--hero { display: flex; flex-direction: column; justify-content: flex-end; }
.v2 .ahead.sheet--hero > .molten__field { z-index: -1; opacity: .9; mix-blend-mode: multiply;
  background: linear-gradient(0deg, #1c0a02 0%, #4a1703 28%, #8f3302 52%, #cc5500 76%, #ea650f 100%); }
.v2 .ahead.sheet--hero .ahead__bg { z-index: -2; }
.v2 .ahead.sheet--hero .ahead__bg::after { display: none; }
.v2 .ahead.sheet--hero .ahead__bg img { filter: grayscale(1) contrast(1.05); }
.v2 .ahead.sheet--hero:not(.ahead--photo) > .molten__field { mix-blend-mode: normal; opacity: 1; }
.v2 .ahead.sheet--hero .ahead__title { color: #fff; }
.v2 .ahead.sheet--hero .ahead__lede { color: rgba(255, 253, 249, .88); }
.v2 .ahead.sheet--hero .ahead__meta, .v2 .ahead.sheet--hero .back { color: rgba(255, 253, 249, .78); }
.v2 .ahead.sheet--hero .back:hover { color: #fff; }
.v2 .ahead.sheet--hero .tag { color: #fff; border-color: rgba(255, 253, 249, .4); background: rgba(255, 253, 249, .12); }
.v2 .ahead.sheet--hero .ahead__arch { color: #ffd5bf; }
.v2 .ahead.sheet--hero .ahead__credit { color: var(--ink-2); }

/* related articles as slabs; newer / older as rounded rows */
.v2 .related__grid { gap: var(--tight); }
.v2 .rel { background: #fff; border-radius: var(--r-slab); box-shadow: 0 0 0 1px rgba(22, 11, 2, .05); border: 0; padding: clamp(22px, 2.2vw, 32px); }
.v2 .pns { border-block: 0; gap: var(--tight); margin-inline: var(--tight); }
.v2 .pn { border-radius: 22px; background: var(--slab-2); padding: 22px 26px; border: 0 !important; transition: background .3s; }
.v2 .pn:hover { background: #fff; box-shadow: 0 0 0 1px rgba(22, 11, 2, .05); }
.v2 .pn--empty { background: transparent; }

/* ---------- experiment: the Lab's dark sheet; notes as rounded panels ---------- */
.v2[data-page="experiment"] .sheet--hero > .molten__field { background: linear-gradient(180deg, #0c0b0a 0%, #15110e 55%, #2a170b 100%); }
.v2[data-page="experiment"] .sheet--hero > .molten__field::before { background: radial-gradient(50% 40% at 82% 100%, rgba(232, 125, 51, .28), transparent 70%); }
.v2[data-page="experiment"] .xhead.sheet--hero { min-height: 0; padding-top: clamp(120px, 12vw, 150px); }
.v2 .xnotes { gap: var(--tight); padding-inline: var(--tight); }
.v2 .xnote { border-radius: var(--r-slab); }
.v2 .play__stage { border-radius: var(--r-slab); }
.v2[data-page="experiment"] .cta--dark { background: #15110e; }

/* ---------- 404: the warm sheet ---------- */
.v2 .nf.sheet--hero .nf__title, .v2 .nf.sheet--hero h1 { color: #fff; }
.v2 .nf.sheet--hero p { color: rgba(255, 253, 249, .88); }

/* 404: the way-out tiles on the warm sheet read as paper glass (the ember tile keeps its colour) */
.v2 .nf.sheet--hero .door:not(.door--ember) { background: rgba(255, 253, 249, .78); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.v2 .nf.sheet--hero .door:not(.door--ember) .door__num { color: var(--ember-ink); }
.v2 .nf.sheet--hero .door:not(.door--ember) .door__title, .v2 .nf.sheet--hero .door:not(.door--ember) .door__arrow { color: var(--ink); }
.v2 .nf.sheet--hero .door:not(.door--ember) .door__note { color: var(--ink-2); }

/* phones: the open menu is paper, so the logo returns to its colour */
.menu-open body.v2 .nav__logo img, .menu-open .v2 .nav__logo img { filter: none; }
/* phones: the photo credit sits top-right under the header, clear of the copy */
@media (max-width: 700px) {
  .v2 .ahead.sheet--hero .ahead__credit { top: calc(var(--edge) + 64px); bottom: auto; right: var(--edge); }
}

/* ---------- article footer: one left line, clear steps between blocks ---------- */
.v2 .pns { margin: clamp(48px, 6vw, 88px) var(--gutter) 0; }
.v2 .letterbox--article { margin: clamp(24px, 3vw, 40px) var(--gutter) 0; }
.v2[data-page="article"] .related { padding-top: clamp(64px, 8vw, 112px); }

/* ---------- Mentorship testimonials: a calm sand sheet, orange only as accent ---------- */
/* (the orange hero stays special; the burnt-orange "who this is for" below regains its contrast) */
.v2[data-page="mentorship"] .mentor--voices { background: #f4e9df; color: var(--ink); }
.v2[data-page="mentorship"] .mentor--voices .mentor__inner::before { background: radial-gradient(circle, rgba(234, 101, 15, .12), transparent 62%); }
.v2[data-page="mentorship"] .mentor--voices .eyebrow { color: var(--id-mentor-solid); }
.v2[data-page="mentorship"] .mentor--voices .h2 { color: var(--ink); }
.v2[data-page="mentorship"] .mentor--voices .h2 strong { color: var(--ink); }
/* the quote sits on a white card */
.v2[data-page="mentorship"] .twall__stage { background: #fff; box-shadow: 0 0 0 1px rgba(22, 11, 2, .05), 0 30px 60px -40px rgba(74, 23, 3, .35); }
.v2[data-page="mentorship"] .twall__stage .quote__mark { color: var(--id-mentor-solid); }
.v2[data-page="mentorship"] .tslide p { color: var(--ink); }
.v2[data-page="mentorship"] .tslide figcaption b { color: var(--ink); }
.v2[data-page="mentorship"] .tslide figcaption span { color: var(--ink-2); }
.v2[data-page="mentorship"] .twall__arrow { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(22, 11, 2, .18); }
.v2[data-page="mentorship"] .twall__arrow:hover { background: var(--ink); color: var(--paper); }
.v2[data-page="mentorship"] .twall__count { color: var(--ink-2); }
.v2[data-page="mentorship"] .twall__count b { color: var(--ink); }
.v2[data-page="mentorship"] .twall__timer { background: rgba(22, 11, 2, .1); }
.v2[data-page="mentorship"] .twall__timer i { background: var(--id-mentor-solid); }
/* names: quiet outlines, the selected one in Mentorship orange */
.v2[data-page="mentorship"] .mentor--voices .names__btn { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(22, 11, 2, .16); background: rgba(255, 253, 249, .5); }
.v2[data-page="mentorship"] .mentor--voices .names__btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.v2[data-page="mentorship"] .mentor--voices .names__btn.is-on { background: var(--id-mentor-solid); color: #fff; box-shadow: none; }
.v2[data-page="mentorship"] .mentor--voices .rating { border-color: rgba(22, 11, 2, .12); }
.v2[data-page="mentorship"] .mentor--voices .rating__stars { color: var(--id-mentor-solid); }
.v2[data-page="mentorship"] .mentor--voices .rating p { color: var(--ink-2); }
.v2[data-page="mentorship"] .mentor--voices .btn--ember { background: var(--ink); color: var(--paper); }
.v2[data-page="mentorship"] .mentor--voices .btn--ember::before { background: var(--id-mentor-solid); }
.v2[data-page="mentorship"] .mentor--voices .btn--ember:hover { color: #fff; }
.v2[data-page="mentorship"] .mentor--voices .twall__side .names { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 900px) {
  .v2[data-page="mentorship"] .mentor--voices .twall__side .names {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
}
/* testimonials: the phrase that carries each quote stands out, the rest steps back */
.v2[data-page="mentorship"] .tslide p { color: rgba(22, 11, 2, .62); }
.v2[data-page="mentorship"] .tslide p strong { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 62%, rgba(204, 85, 0, .16) 62%); }

/* article opening letter: a light raised initial standing on the first line, so it works however short
   the opening paragraph is and reads as a letter, not a bar */
.v2 .prose > p:first-child::first-letter { float: none; font-weight: 300; font-size: 2.9em; line-height: 0; margin: 0 .01em 0 -.03em; letter-spacing: 0; color: var(--ember); }
.v2 .prose > p:first-child { padding-top: .9em; }

/* Clarity page: the quiet shift as before/after pairs, and the price as plain practical information */
.clarity__price { margin: clamp(28px, 3vw, 44px) var(--gutter) 0; max-width: 60ch; color: var(--ink-2); }
.clarity-shift { padding: clamp(72px, 9vw, 140px) 0 0; }
.shift__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gutter); }
.shift { margin: 0; }
.shift__k { margin: 0 0 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-ink); }
.shift > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--hair); }
.shift > div::before { content: "→"; grid-column: 2; grid-row: 1; color: var(--ember); }
.shift dt { grid-column: 1; grid-row: 1; color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(22, 11, 2, .25); }
.shift dd { grid-column: 3; grid-row: 1; margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .shift__grid { grid-template-columns: 1fr; gap: 40px; } }
.process--after { padding-top: clamp(72px, 9vw, 140px); }
/* Clarity page spacing: sections share the page gutter, and each gets room from the one before */
.clarity__price { margin-left: 0; margin-right: 0; }
.clarity-shift { padding: clamp(64px, 8vw, 120px) var(--gutter) 0; }
.clarity-shift .section-head { padding: 0; }
.shift__grid { padding: 0; }
.mentor--fit + .process { padding-top: clamp(72px, 9vw, 140px); }

/* Lab: until the experiments are written up, one quiet note in place of the grid */
.shelf--soon .soon { margin: 0 var(--gutter); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-slab, 28px); background: rgba(255, 253, 249, .06); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .14); max-width: 860px; }
.shelf--soon .soon__text { margin: 12px 0 18px; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 300; }
.shelf--soon .soon__text strong { font-weight: 600; }

/* Lab project cards: a real screenshot, a kicker, a title and one line */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0 var(--gutter) clamp(48px, 6vw, 88px); }
.pcard { display: flex; flex-direction: column; border-radius: var(--r-slab, 28px); overflow: hidden; background: rgba(255, 253, 249, .06); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .14); color: inherit; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s; }
.pcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .3); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: #0c0703; display: grid; place-items: start center; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pcard__meta { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__meta .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.pcard__meta h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; }
.pcard__meta p { margin: 0; opacity: .8; line-height: 1.45; }
.pcard__l { margin-top: auto; padding-top: 12px; font-size: 14px; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }

/* case study pages */
.case__go { margin: 28px 0 0; }
.case__go .pillbtn { text-decoration: none; }
.phero__eyebrow a { color: inherit; }
.case { padding: clamp(48px, 6vw, 96px) var(--gutter) 0; }
.case__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 0 0 clamp(40px, 5vw, 72px); padding: 0; }
.case__facts div { padding-top: 14px; border-top: 1px solid var(--hair); }
.case__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-ink); }
.case__facts dd { margin: 6px 0 0; color: var(--ink); line-height: 1.4; }
.case__shots { display: grid; gap: var(--gap); margin: 0 0 clamp(48px, 6vw, 96px); align-items: start; }
.case__shots--phone { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; }
.case__shots--wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 1px rgba(22, 11, 2, .08), 0 30px 60px -40px rgba(74, 23, 3, .5); background: #fff; }
.shot figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .02em; color: var(--mute); line-height: 1.4; }
.case__body { max-width: 760px; }
.case__block { padding: 0 0 clamp(36px, 4vw, 56px); }
.case__h { margin: 0 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); font-weight: 500; color: var(--ember-ink); }
.case__block p { margin: 0 0 14px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }
.case__block p b { color: var(--ink); font-weight: 600; }
.case__point { padding-left: 18px; border-left: 2px solid rgba(204, 85, 0, .35); }
.case__more { margin: 0 0 clamp(64px, 8vw, 120px); }
@media (max-width: 900px) { .case__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case__shots--phone { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .case__shots--phone { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }
.case__shots--wide:has(> .shot:only-child) { max-width: 760px; }

/* case studies on the experiment frame: real screenshots where the placeholder art used to be */
.case__art { overflow: hidden; background: #0c0703; display: grid; place-items: start center; }
.case__art img, .case__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.case__thumb { background: #0c0703; place-items: start center; }
.case__text p { margin: 0 0 12px; }
.case__list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.case__list li { padding-left: 16px; border-left: 2px solid rgba(204, 85, 0, .45); line-height: 1.55; }
.play .case__facts { margin: 28px 0 0; grid-template-columns: 1fr; gap: 0; }
.play .case__facts div { padding: 12px 0; border-top: 1px solid rgba(255, 253, 249, .14); }
.play .case__facts dd { color: inherit; opacity: .85; }
.play__stage.case__shots { margin: 0; }
.play__stage .shot figcaption { color: inherit; opacity: .7; }

/* lightbox for case-study screenshots */
.shot img, .case__art img { cursor: zoom-in; }
.shot img:focus-visible, .case__art img:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 7, 3, .92); color: #fffdf9; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .3s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 72px 40px; cursor: zoom-out; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); cursor: default; }
.lightbox__fig figcaption { font-size: 12px; letter-spacing: .04em; opacity: .75; text-align: center; max-width: 60ch; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255, 253, 249, .12); color: #fffdf9; font: inherit; font-size: 18px; cursor: pointer; transition: background .25s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgba(255, 253, 249, .24); outline: none; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 16px; top: 16px; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
@media (max-width: 640px) {
  .lightbox__fig { padding: 64px 12px 28px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
  .lightbox__fig img { max-height: calc(100vh - 170px); }
}
/* phone screenshots: as many per row as fit; a wide one joins the strip at full width */
.case__shots--phone { grid-template-columns: repeat(auto-fit, minmax(180px, 260px)); }
.case__shots--phone .shot--wide { grid-column: 1 / -1; }
/* Lab: the "due to be published" note under the project cards, as its own quiet panel */
.shelf--projects .soon { margin: clamp(40px, 5vw, 72px) 0 0; padding: clamp(24px, 3vw, 40px); max-width: 860px; border-radius: var(--r-slab, 28px); background: rgba(255, 253, 249, .04); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .12); }
.shelf--projects .soon__text { margin: 12px 0 0; max-width: 56ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; letter-spacing: -0.01em; font-weight: 300; color: rgba(255, 253, 249, .82); }
.shelf--projects .soon__text strong { font-weight: 500; color: #fffdf9; }

/* Insights: the language switch beside the topic filters, and the origin line under each article */
.archive__bar .langs { margin-top: 14px; }
.archive__bar .langs sup { font-size: .7em; opacity: .6; margin-left: 2px; }
.prose .origin { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 12px; letter-spacing: .04em; color: var(--mute); }
