/* 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); }

/* case studies: clips sit in the strip like screenshots; "Up close" pairs a crop with a short note */
.shot--clip video { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 22px; background: #0c0703; box-shadow: 0 0 0 1px rgba(255, 253, 249, .08), 0 30px 60px -40px rgba(0, 0, 0, .6); }
.upclose { padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(48px, 6vw, 88px); }
.upclose__head { margin-bottom: clamp(24px, 3vw, 40px); }
.upclose__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.detail { margin: 0; display: flex; flex-direction: column; border-radius: var(--r-slab, 28px); overflow: hidden; background: rgba(255, 253, 249, .05); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .12); }
.detail__img { aspect-ratio: 4 / 3; overflow: hidden; background: #f3eee8; display: grid; place-items: center; }
.detail__img img { width: 100%; height: 100%; object-fit: contain; object-position: center; cursor: zoom-in; }
.detail figcaption { padding: 18px 22px 22px; display: grid; gap: 6px; }
.detail figcaption b { font-weight: 500; font-size: 17px; }
.detail figcaption span { font-size: 15px; line-height: 1.5; opacity: .78; }
@media (max-width: 900px) { .upclose__grid { grid-template-columns: 1fr; } }
/* cache refresh 2026-10-24 */

/* case studies, for scanning: a short "at a glance" list up top, body-sized long text, decisions with a heading line */
.case__glance { margin: 22px 0 0; }
.case__glance p { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.case__glance ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.case__glance li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.4; }
.case__glance li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; border-radius: 2px; background: var(--ember); }
.xnote__text.case__text { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; font-weight: 400; letter-spacing: 0; max-width: 62ch; }
.case__text p { margin: 0 0 14px; }
.case__list { gap: 22px; max-width: 62ch; }
.case__list li { display: grid; gap: 4px; padding-left: 18px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }
.case__list li b { font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; line-height: 1.35; }
.case__list li span { opacity: .82; }
.play .case__facts dt { font-size: 11px; }
.play .case__facts dd { font-size: 16px; line-height: 1.45; }
@media (max-width: 640px) { .case__glance li { font-size: 15px; } }

/* talk decks: one slide at a time, swipe or step; the lightbox shows them large */
.prose .sdeck { margin: 40px 0 48px; }
.sdeck__track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; box-shadow: 0 0 0 1px rgba(20, 12, 6, .1), 0 30px 60px -40px rgba(20, 12, 6, .45); background: #eef0f6; }
.sdeck__track::-webkit-scrollbar { display: none; }
.sdeck__track:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sdeck__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0 !important; padding: 0 !important; }
.sdeck__slide::before { display: none !important; }
.sdeck__slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: zoom-in; margin: 0; border-radius: 0; }
.sdeck__bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 13px; }
.sdeck__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(20, 12, 6, .18); background: transparent; color: inherit; font: inherit; font-size: 16px; cursor: pointer; }
.sdeck__btn:hover { background: rgba(20, 12, 6, .06); }
.sdeck__hint { margin-left: auto; opacity: .6; }
@media (max-width: 600px) { .sdeck__hint { display: none; } }

/* clarity: "tap what feels true" turns the fit list into gentle toggles with a running tally */
body[data-page="clarity"] .fit__item { display: block; padding: 0; }
.fit__tap { display: grid; grid-template-columns: 56px 1fr 32px; align-items: baseline; gap: 16px; width: 100%; padding: 30px 20px 30px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fit__tap > * { transition: transform .6s var(--ease), color .4s, opacity .3s; }
.fit__item:hover .fit__tap > * { transform: translateX(16px); }
.fit__tap p { margin: 0; }
.fit__tap:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 12px; }
.fit__check { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 253, 249, .45); align-self: center; position: relative; }
.fit__tap[aria-pressed="true"] .fit__check { background: var(--ember, #cc5500); box-shadow: none; }
.fit__tap[aria-pressed="true"] .fit__check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fit__tap[aria-pressed="true"] p { color: #fff; }
.fit__item:has([aria-pressed="true"])::before { opacity: 1; }
.fit__tally { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; letter-spacing: .04em; opacity: .9; }
.fit__tally b { font-size: 28px; font-weight: 400; color: #fff; }
.fit__tally span { flex-basis: 100%; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 15px; opacity: .8; }
.fit__tally a { color: inherit; }

/* clarity: the free guide, offered quietly under the main step */
.freebie { position: relative; display: grid; gap: 6px; max-width: 520px; margin: 40px 0 0; padding: 22px 64px 22px 24px; border-radius: 20px; text-align: left; color: inherit; text-decoration: none; background: rgba(255, 253, 249, .06); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .16); transition: background .3s; }
.freebie:hover { background: rgba(255, 253, 249, .11); }
.freebie__k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.freebie__t { font-size: 19px; font-weight: 500; }
.freebie__d { font-size: 15px; opacity: .75; line-height: 1.5; }
.freebie i { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 20px; }

/* guided intake: one question at a time on a calm sheet */
.intake { position: relative; isolation: isolate; min-height: 100svh; margin: var(--tight, 10px); border-radius: var(--r-slab, 28px); overflow: hidden; padding: clamp(150px, 18vh, 200px) var(--gutter) 80px; background: #fbf6f0; color: var(--ink); }
.intake .molten__field { opacity: .22; }
.intake__back { position: absolute; top: clamp(104px, 12vh, 130px); left: var(--gutter); }
.intake__screen, .intake__form { display: none; max-width: 760px; margin: 0 auto; }
.intake__screen.is-on, .intake__form.is-on { display: block; }
.intake__title { font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.035em; font-weight: 300; margin: 18px 0 24px; }
.intake__title strong { font-weight: 600; color: var(--ember, #cc5500); }
.intake__lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 34em; opacity: .82; }
.intake__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.intake__notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.intake__progress { display: flex; align-items: center; gap: 16px; font-size: 13px; margin-bottom: 40px; }
.intake__bar { flex: 1; height: 2px; background: rgba(20, 12, 6, .12); border-radius: 2px; overflow: hidden; }
.intake__bar i { display: block; height: 100%; width: 0; background: var(--ember, #cc5500); transition: width .5s var(--ease); }
.intake__step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.intake__step.is-on { display: block; animation: intake-in .5s var(--ease) both; }
@keyframes intake-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .intake__step.is-on { animation: none; } }
.intake__q { display: flex; gap: 16px; align-items: baseline; padding: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.intake__q .mono { font-size: 13px; color: var(--ember, #cc5500); flex: none; }
.intake__help { margin: 14px 0 0; font-size: 16px; opacity: .65; }
.intake__step textarea, .intake__contact input { width: 100%; margin-top: 28px; padding: 18px 20px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 12, 6, .12); font: inherit; font-size: 18px; line-height: 1.55; color: inherit; resize: vertical; }
.intake__step textarea:focus, .intake__contact input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ember, #cc5500); }
.intake__options { display: grid; gap: 10px; margin-top: 28px; }
.intake__opt { display: block; cursor: pointer; }
.intake__opt input { position: absolute; opacity: 0; pointer-events: none; }
.intake__opt span { display: block; padding: 18px 22px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 12, 6, .12); font-size: 18px; transition: box-shadow .2s, background .2s; }
.intake__opt:hover span { box-shadow: inset 0 0 0 1px rgba(20, 12, 6, .35); }
.intake__opt input:checked + span { background: #fff3ea; box-shadow: inset 0 0 0 2px var(--ember, #cc5500); }
.intake__opt input:focus-visible + span { outline: 2px solid var(--ember, #cc5500); outline-offset: 3px; }
.intake__contact { display: grid; gap: 4px; margin-top: 10px; }
.intake__contact label > span { display: block; margin-top: 18px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.intake__contact input { margin-top: 8px; }
.intake__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.intake__nav [hidden] { display: none; }
.intake__hint { margin-left: auto; font-size: 12px; opacity: .5; }
.intake__error { min-height: 1.5em; margin-top: 16px; color: #a33a00; }
.intake .hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .intake__hint { display: none; } .intake__q { flex-direction: column; gap: 8px; } }

/* clarity: the free guide, previewed by its cover with an inside page peeking out */
.guide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding: clamp(80px, 10vw, 150px) var(--gutter); }
.guide__art { position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; justify-self: center; }
.guide__art img { position: absolute; width: 68%; height: auto; border-radius: 6px; box-shadow: 0 40px 80px -36px rgba(40, 14, 2, .55), 0 0 0 1px rgba(20, 12, 6, .08); transition: transform .8s var(--ease); }
.guide__page { right: 2%; top: 9%; transform: rotate(5deg); }
.guide__cover { left: 4%; top: 2%; transform: rotate(-4deg); }
.guide:hover .guide__cover { transform: rotate(-6deg) translate(-10px, -6px); }
.guide:hover .guide__page { transform: rotate(8deg) translate(10px, 4px); }
.guide__text .h2 { margin: 14px 0 22px; }
.guide__text .body { max-width: 34em; }
.guide__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.guide__list li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; }
.guide__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--ember, #cc5500); }
.guide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.guide__meta { font-size: 12px; letter-spacing: .06em; opacity: .6; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; } .guide__art { max-width: 360px; } }
@media (prefers-reduced-motion: reduce) { .guide__art img { transition: none; } }

/* steps read at full strength; only the dot lights up as you scroll */
.v2 .step { opacity: 1; }

/* clarity: the closing invitation, warm instead of a second dark slab, with a glimpse of the intake's first question */
.v2 .begin { padding-block: clamp(80px, 9vw, 140px); }
.begin__inner { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.begin .cta__title { margin-bottom: 26px; }
.begin__lede { max-width: 30em; color: rgba(255, 253, 249, .88); }
.begin__facts { list-style: none; padding: 0; margin: 26px 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.begin__facts li { padding: 8px 14px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 253, 249, .9); box-shadow: inset 0 0 0 1px rgba(255, 253, 249, .3); }
.begin__peek { display: grid; gap: 22px; padding: clamp(26px, 3vw, 40px); border-radius: 26px; color: var(--ink); text-decoration: none; background: #fbf6f0; box-shadow: 0 40px 80px -40px rgba(40, 10, 0, .6); transform: rotate(1.2deg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.begin__peek:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 50px 90px -40px rgba(40, 10, 0, .7); }
.begin__bar { display: flex; align-items: center; gap: 14px; font-size: 12px; opacity: .7; }
.begin__track { flex: 1; height: 2px; border-radius: 2px; background: rgba(20, 12, 6, .12); overflow: hidden; }
.begin__track i { display: block; width: 9%; height: 100%; background: var(--ember, #cc5500); }
.begin__q { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.begin__field { display: block; min-height: 120px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 12, 6, .12); font-size: 17px; color: rgba(20, 12, 6, .45); }
.begin__caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 3px; vertical-align: -.2em; background: var(--ember, #cc5500); animation: begin-blink 1.1s steps(1) infinite; }
@keyframes begin-blink { 50% { opacity: 0; } }
.begin__foot { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.begin__foot span:first-child { opacity: .55; }
.begin__foot span:last-child { color: var(--ember, #cc5500); }
@media (max-width: 900px) { .begin__inner { grid-template-columns: 1fr; } .begin__peek { transform: none; } }
@media (prefers-reduced-motion: reduce) { .begin__caret { animation: none; } .begin__peek { transition: none; } }

/* closing invitations: warm, two columns, with a small note card that previews writing to me */
.v2 .cta--split { padding-block: clamp(80px, 9vw, 140px); }
.split__inner { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.split__text .cta__title { margin-bottom: 30px; }
.split__text .body { max-width: 30em; color: rgba(255, 253, 249, .88); margin: -8px 0 30px; }
.writecard, .begin__peek { will-change: transform; }
.writecard { display: grid; gap: 18px; padding: clamp(24px, 2.6vw, 36px); border-radius: 26px; color: var(--ink); text-decoration: none; background: #fbf6f0; box-shadow: 0 40px 80px -40px rgba(40, 10, 0, .6); transform: rotate(1.2deg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.writecard:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 50px 90px -40px rgba(40, 10, 0, .7); }
.writecard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.writecard__head > span:first-child { opacity: .55; }
.writecard__topic { padding: 6px 12px; border-radius: 999px; color: var(--ember, #cc5500); box-shadow: inset 0 0 0 1px rgba(204, 85, 0, .35); }
.writecard__q { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.writecard__field { display: block; min-height: 108px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 12, 6, .12); font-size: 17px; color: rgba(20, 12, 6, .45); }
.writecard__caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 3px; vertical-align: -.2em; background: var(--ember, #cc5500); animation: begin-blink 1.1s steps(1) infinite; }
.writecard__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.writecard__foot span:first-child { opacity: .55; }
.writecard__foot span:last-child { color: var(--ember, #cc5500); }
@media (max-width: 900px) { .split__inner { grid-template-columns: 1fr; } .writecard { transform: none; } }
@media (prefers-reduced-motion: reduce) { .writecard__caret { animation: none; } .writecard { transition: none; } }

/* the write-to-me card, opened on the spot */
.writebox { width: min(620px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 26px; background: #fbf6f0; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(40, 10, 0, .7); overflow: auto; }
.writebox::backdrop { background: rgba(20, 8, 2, .55); backdrop-filter: blur(6px); }
.writebox[open] { animation: writebox-in .35s var(--ease) both; }
@keyframes writebox-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .writebox[open] { animation: none; } }
.writebox__form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 38px); }
.writebox__head { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.writebox__head > span:first-child { opacity: .55; margin-right: auto; }
.writebox__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(20, 12, 6, .06); color: inherit; font-size: 14px; cursor: pointer; transition: background .2s; }
.writebox__close:hover { background: rgba(20, 12, 6, .12); }
.writebox__q { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.writebox textarea, .writebox input:not(.hp) { width: 100%; padding: 16px 18px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 12, 6, .12); font: inherit; font-size: 17px; line-height: 1.5; color: inherit; resize: vertical; }
.writebox textarea:focus, .writebox input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ember, #cc5500); }
.writebox__who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.writebox__who label > span { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.writebox__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.writebox__foot > span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.writebox__err { margin: 0; min-height: 1.2em; color: #a33a00; font-size: 15px; }
.writebox__done { margin: 0; font-size: 17px; line-height: 1.55; opacity: .8; }
.writebox .hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .writebox__who { grid-template-columns: 1fr; } }
