/* shawn-silverman.com v2. SS brand. Tokens in tokens.css. No em dashes in content. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/var(--lh-body) var(--font); font-variant-numeric: lining-nums; text-rendering: optimizeLegibility; }
::selection { background: var(--accent-blue); color: var(--paper); }
input, textarea { caret-color: var(--accent-blue); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--accent-blue); }
:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 4px; }
.surface-ink :focus-visible, .panel :focus-visible, .contact :focus-visible, .foot :focus-visible { outline-color: var(--ice); }
button { font: inherit; color: inherit; cursor: pointer; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; transition: background var(--t-acknowledge) var(--ease), color var(--t-acknowledge) var(--ease), border-color var(--t-acknowledge) var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--ice); border-color: var(--ice); color: var(--ink); }
.btn--ghost-light { border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn--quiet { border-color: transparent; text-decoration: underline; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s3); font-weight: 700; letter-spacing: -.04em; font-size: 19px; text-decoration: none; }
.brand .mark { width: 36px; height: 36px; flex: none; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--s5); font-size: 15px; }
.nav a { text-decoration: none; padding-block: 12px; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 720px) { .nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 360px) { .brand span { font-size: 17px; } .top .btn { padding: 0 12px; } }

.sec-head { display: grid; gap: var(--s3); max-width: 60ch; margin-bottom: var(--s7); }
.sec-head h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.sec-head p { font-size: var(--fs-lede); line-height: var(--lh-lede); color: var(--muted); }

/* Hero */
.hero { background: #ffffff; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); row-gap: var(--s6); align-items: end; }
.hero__title { grid-column: 1 / span 9; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 11ch; }
.hero__mark { grid-column: 10 / span 3; width: 100%; max-width: 300px; height: auto; justify-self: end; align-self: end; }
.hero__lede { grid-column: 1 / span 7; font-size: var(--fs-lede); line-height: var(--lh-lede); max-width: 46ch; }
.quest { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s4); padding-top: var(--s5); border-top: 2px solid var(--ink); }
.quest__q { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.04em; }
.quest__opts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.quest__opt { min-height: 48px; padding: 0 18px; border: 2px solid var(--ink); background: transparent; font-weight: 700; font-size: 16px; transition: background var(--t-acknowledge) var(--ease), color var(--t-acknowledge) var(--ease); }
.quest__opt:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.quest__opt[aria-pressed="true"] { background: var(--ink); color: var(--ice); }
.quest__status { flex-basis: 100%; font-size: 16px; min-height: 1.5em; }
.quest__status button { border: 0; background: none; padding: 0; margin-left: var(--s2); text-decoration: underline; text-underline-offset: .22em; font-weight: 700; min-height: 44px; }
html:not(.js) .quest { display: none; }
@media (max-width: 760px) {
  .hero__title { grid-column: 1 / -1; }
  .hero__mark { grid-column: 9 / -1; grid-row: 1; max-width: 96px; align-self: start; }
  .hero__lede { grid-column: 1 / -1; }
  .quest__opt { flex: 1 1 100%; justify-content: flex-start; text-align: left; }
}

/* Quest-driven content */
[data-for] { display: none; }
html[data-quest=""] [data-for="default"], html[data-quest="looking"] [data-for="default"],
html[data-quest="hire"] [data-for="hire"], html[data-quest="fractional"] [data-for="fractional"], html[data-quest="speaking"] [data-for="speaking"] { display: revert; }
html:not(.js) [data-for="default"] { display: revert; }
.contact__title [data-for] { display: none; }
html[data-quest=""] .contact__title [data-for="default"], html[data-quest="looking"] .contact__title [data-for="default"],
html[data-quest="hire"] .contact__title [data-for="hire"], html[data-quest="fractional"] .contact__title [data-for="fractional"], html[data-quest="speaking"] .contact__title [data-for="speaking"] { display: inline; }

/* Signal board: the signature interaction. Berry result on the left, Ink story on the right, joined by the throughline. */
.work { padding-block: clamp(72px, 9vw, 128px); }
.work > .wrap { container-type: inline-size; }
.board { position: relative; }
.board__signals { list-style: none; margin: 0; padding: 0; }
.sig { display: grid; grid-template-columns: 1fr; gap: var(--s2); padding: var(--s5) 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: color var(--t-acknowledge) var(--ease); }
.board__signals li:last-child .sig { border-bottom: 1px solid var(--line); }
.sig__num { font-size: clamp(40px, 6.2cqi, 84px); font-weight: 700; line-height: .95; letter-spacing: var(--ls-metric); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sig__meta { display: grid; gap: 2px; font-size: 15px; line-height: 1.35; }
.sig__name { font-weight: 700; color: var(--ink); }
.sig:hover { color: var(--ink); }
.sig[aria-selected="true"] { color: var(--accent-blue); }
.panel { background: var(--ink); color: var(--paper); padding: clamp(28px, 4cqi, 56px); display: grid; gap: var(--s5); align-content: start; }
.panel + .panel { margin-top: var(--s4); }
.panel__title { font-size: clamp(30px, 3.6cqi, 50px); line-height: 1; letter-spacing: -.05em; max-width: 18ch; }
.panel__meta { font-size: 14px; color: var(--ice); margin-top: calc(var(--s3) * -1); }
.panel__line { font-size: var(--fs-lede); line-height: var(--lh-lede); max-width: 44ch; }
.panel__angle { font-size: 17px; color: var(--ice); max-width: 52ch; padding-top: var(--s4); border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.panel__prose { max-width: 60ch; }
.panel__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); padding-top: var(--s5); }
.panel__stats dt { font-size: clamp(26px, 3cqi, 40px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.panel__stats dd { font-size: 14px; line-height: 1.4; color: var(--ice); margin-top: var(--s2); }
.panel__cta { margin-top: var(--s2); }
.board__line { display: none; }

html.js .board { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
html.js .panel[hidden] { display: none; }
html.js .panel + .panel { margin-top: 0; }
html.js .board__panels { position: sticky; top: 96px; }
html.js .board__line { display: block; position: absolute; left: calc(5 / 12 * (100% - 56px)); width: 56px; height: 18px; background: var(--ink); top: 0; transform: translateY(var(--line-y, 0px)); transition: transform var(--t-expand) var(--ease); }
@container (max-width: 860px) {
  html.js .board { display: block; }
  html.js .board__panels { position: static; }
  html.js .board__line { display: none; }
  html.js .board__signals { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0; scrollbar-width: thin; }
  html.js .board__signals li { flex: 0 0 auto; scroll-snap-align: start; }
  html.js .sig { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding: var(--s4) var(--s4) var(--s3); border: 1px solid var(--line); border-bottom: 6px solid transparent; min-width: 150px; }
  html.js .board__signals li:last-child .sig { border-bottom: 6px solid transparent; }
  html.js .sig[aria-selected="true"] { border-bottom-color: var(--ink); }
  html.js .sig__num { font-size: 34px; }
  .panel__stats { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 480px) { .panel__stats { grid-template-columns: 1fr; } }

/* Videos: click to load */
.vid { display: grid; gap: var(--s3); }
.vid__play { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; color: var(--paper); }
.vid__play img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-expand) var(--ease), filter var(--t-expand) var(--ease); }
.vid__play:hover img { transform: scale(1.03); filter: saturate(1.1); }
.vid__btn { position: absolute; left: 0; bottom: 0; width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent-blue); color: var(--paper); }
.vid__btn svg { width: 28px; height: 28px; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid figcaption { font-size: 14px; line-height: 1.45; max-width: 60ch; }
.vid__views { font-weight: 700; white-space: nowrap; }
.panel .vid figcaption { color: color-mix(in srgb, var(--paper) 86%, var(--ice)); }

/* About */
.about { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.about__title { grid-column: 1 / -1; font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.about__bio { grid-column: 1 / span 7; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.02em; max-width: 30ch; }
.about__practice { grid-column: 9 / span 4; display: grid; gap: var(--s5); align-content: start; border-top: 2px solid var(--ink); padding-top: var(--s4); }
.about__practice h3 { font-size: var(--fs-title); letter-spacing: var(--ls-title); line-height: var(--lh-title); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
.facts dt { font-size: clamp(34px, 3.4vw, 48px); font-weight: 700; color: var(--accent-blue); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { font-size: 14px; line-height: 1.4; margin-top: var(--s2); }
.about__more { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .about__bio, .about__practice { grid-column: 1 / -1; } }

/* The run */
.run { padding-block: clamp(72px, 9vw, 128px); background: var(--paper); border-top: 1px solid var(--line); }
.run__tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: var(--s6); }
.run__tab { border: 0; background: none; padding: var(--s4) var(--s5) var(--s3) 0; margin-right: var(--s5); border-bottom: 6px solid transparent; margin-bottom: -1px; font-weight: 700; font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -.04em; color: var(--muted); min-height: 48px; font-variant-numeric: tabular-nums; }
.run__tab:hover { color: var(--ink); }
.run__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent-blue); }
.era { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
.era + .era { margin-top: var(--s8); }
html.js .run__board .era + .era { margin-top: 0; }
html.js .era[hidden] { display: none; }
.era__label { grid-column: 1 / -1; font-size: var(--fs-title); letter-spacing: var(--ls-title); }
html.js .era__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.era__intro { grid-column: 1 / span 4; font-size: var(--fs-lede); line-height: var(--lh-lede); }
.era__roles { grid-column: 6 / span 7; border-top: 2px solid var(--ink); }
.era__roles li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.era__year { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .era__intro, .era__roles { grid-column: 1 / -1; } }

/* Voices */
.voices { background: #ffffff; padding-block: clamp(72px, 9vw, 128px); }
.voices .sec-head p { color: var(--ink); }
.voices__filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; font-weight: 700; font-size: 15px; }
.chip:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ice); }
.chip__n { font-weight: 400; font-variant-numeric: tabular-nums; }
.voices__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--s7) var(--s6); }
.voice { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.voice[hidden] { display: none; }
.voice blockquote p { font-size: 19px; line-height: 1.45; }
.voice blockquote p::before { content: "\201C"; }
.voice blockquote p::after { content: "\201D"; }
.voice--short blockquote p { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
.voice--lead { grid-column: 1 / -1; }
.voice--lead blockquote p { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; max-width: 22ch; }
.voice figcaption { margin-top: var(--s4); font-size: 15px; display: grid; gap: 2px; }
.voice__name { font-weight: 700; }

/* Speaking */
.speaking { padding-block: clamp(72px, 9vw, 128px); }
.speaking__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); align-items: start; }
.speaking__text { grid-column: 1 / span 6; display: grid; gap: var(--s5); }
.speaking__text h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.speaking__lede { font-size: var(--fs-lede); line-height: var(--lh-lede); }
.talks { border-top: 2px solid var(--ink); }
.talks li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.talks__year { font-weight: 700; font-variant-numeric: tabular-nums; }
.speaking__also { color: var(--muted); font-size: 16px; }
.vid--talk { grid-column: 8 / span 5; }
@media (max-width: 900px) { .speaking__text, .vid--talk { grid-column: 1 / -1; } }

/* Contact */
.contact { background: var(--ink); color: var(--paper); padding-block: clamp(72px, 10vw, 144px); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); align-items: end; }
.contact__lead { grid-column: 1 / span 7; display: grid; gap: var(--s4); }
.contact__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.contact__body { font-size: var(--fs-lede); line-height: var(--lh-lede); color: var(--ice); max-width: 36ch; }
.contact__actions { grid-column: 8 / span 5; display: grid; gap: var(--s4); }
.contact__ask { font-size: 15px; color: var(--ice); }
.contact__ask [data-for] { display: none; }
html[data-quest=""] .contact__ask [data-for="default"], html[data-quest="looking"] .contact__ask [data-for="default"], html[data-quest="hire"] .contact__ask [data-for="hire"], html[data-quest="fractional"] .contact__ask [data-for="fractional"], html[data-quest="speaking"] .contact__ask [data-for="speaking"], html:not(.js) .contact__ask [data-for="default"] { display: inline; }
.contact__email { font-size: clamp(24px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.04em; overflow-wrap: anywhere; user-select: all; }
.contact__buttons { display: flex; flex-wrap: wrap; gap: var(--s2); }
.rooms--live .rooms__list .room { min-height: 0; }
.contact__status { font-size: 15px; min-height: 1.5em; color: var(--ice); }
.contact__loc { font-size: 15px; color: var(--ice); }
@media (max-width: 900px) { .contact__lead, .contact__actions { grid-column: 1 / -1; } }

/* Footer */
.foot { background: var(--ink); color: var(--paper); border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); padding-block: var(--s7); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.foot__sig { grid-column: 1 / span 4; display: flex; align-items: center; gap: var(--s3); }
.psig { width: 32px; height: 32px; color: var(--ice); flex: none; }
.foot__nav { grid-column: 5 / span 5; display: grid; gap: var(--s3); }
.foot__h { color: var(--ice); }
.foot__nav ul { display: grid; gap: var(--s2); }
.foot__meta { grid-column: 10 / span 3; display: grid; gap: var(--s2); align-content: start; color: var(--ice); }
.foot__meta a { color: var(--paper); }
@media (max-width: 900px) { .foot__sig, .foot__nav, .foot__meta { grid-column: 1 / -1; } }

/* Case pages */
.crumbs { padding-block: var(--s4); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--s2); color: var(--muted); }
.crumbs a { padding-block: 12px; }
.case-hero { background: #ffffff; padding-block: clamp(48px, 8vw, 112px); }
.case-hero__grid { display: grid; gap: var(--s5); }
.case-hero__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 14ch; }
.case-hero__meta { font-size: 16px; }
.case-hero__signal { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s4); padding-top: var(--s5); border-top: 2px solid var(--ink); }
.case-hero__num { font-size: var(--fs-metric); line-height: var(--lh-metric); letter-spacing: var(--ls-metric); font-weight: 700; color: var(--accent-blue); font-variant-numeric: tabular-nums; }
.case-hero__count { font-size: var(--fs-lede); font-weight: 700; }
.case-hero__line { font-size: var(--fs-lede); line-height: var(--lh-lede); max-width: 44ch; }
.case-hero .btn { margin-top: var(--s3); }
.case-body { padding-block: clamp(56px, 8vw, 112px); }
.case-body__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s7) var(--s5); align-items: start; }
.case-body__prose { grid-column: 1 / span 7; display: grid; gap: var(--s5); font-size: 19px; line-height: 1.6; max-width: 66ch; }
.case-body__prose p:first-child { font-size: var(--fs-lede); line-height: var(--lh-lede); }
.case-body__aside { grid-column: 9 / span 4; position: sticky; top: 96px; display: grid; gap: var(--s6); }
.case-facts { display: grid; gap: var(--s3); border-top: 2px solid var(--ink); padding-top: var(--s4); font-size: 15px; }
.case-facts div { display: grid; grid-template-columns: 90px 1fr; gap: var(--s3); }
.case-facts dt { color: var(--muted); }
.ledger { display: grid; gap: var(--s4); }
.ledger div { border-top: 1px solid var(--line); padding-top: var(--s3); }
.ledger dt { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--accent-blue); font-variant-numeric: tabular-nums; }
.ledger dd { font-size: 15px; margin-top: var(--s1); }
.games { border-top: 1px solid var(--line); padding-top: var(--s4); }
.games summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.games p { margin-top: var(--s3); font-size: 16px; }
@media (max-width: 900px) { .case-body__prose, .case-body__aside { grid-column: 1 / -1; } .case-body__aside { position: static; } }
.case-videos { padding-block: 0 clamp(56px, 8vw, 112px); }
.case-videos h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); margin-bottom: var(--s6); }
.case-videos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.vid--lead { grid-column: 1 / -1; }
@media (max-width: 760px) { .case-videos__grid { grid-template-columns: 1fr; } }
.next-case { border-top: 1px solid var(--line); }
.next-case__link { display: grid; gap: var(--s2); padding-block: clamp(48px, 7vw, 96px); text-decoration: none; }
.next-case__label { font-size: 15px; color: var(--muted); }
.next-case__num { font-size: var(--fs-metric); line-height: var(--lh-metric); letter-spacing: var(--ls-metric); font-weight: 700; color: var(--accent-blue); }
.next-case__title { font-size: var(--fs-title); font-weight: 700; letter-spacing: var(--ls-title); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.next-case__link:hover .next-case__title { text-decoration-color: var(--accent-blue); }

/* ======================================================================
   v4: one light site with deliberate Ink and Orchid sections; scroll choreography throughout.
   ====================================================================== */

/* Brand surfaces keep their own values. .run is the page's single theme switch to Ink. */
.hero, .voices, .case-hero, .panel, .contact, .foot, .case-cta { --paper: #ffffff; --ink: #202020; --accent-blue: #454545; --muted: #626262; --line: #d8d8d8; }
.run { --paper: #202020; --ink: #ffffff; --accent-blue: #e5e5e5; --muted: #c4c4c4; --line: #555555; background: #202020; color: #ffffff; border-top: 0; padding-block: 0; }
.run :focus-visible { outline-color: #e5e5e5; }

/* Header: Ask replaces the nav bar; scroll progress runs along its bottom edge. */
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent-blue); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.nav { display: none; }
.ask-open { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; width: min(300px, 36vw); padding: 0 10px 0 14px; border: 1px solid var(--line); background: rgba(32, 32, 32, .04); color: var(--muted); font-size: 15px; text-align: left; transition: border-color var(--t-acknowledge) var(--ease), color var(--t-acknowledge) var(--ease); }
.ask-open:hover { border-color: var(--ink); color: var(--ink); }
.ask-open svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.ask-open__text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-open kbd { font: 700 12px/1 var(--font); border: 1px solid var(--line); padding: 4px 7px; color: var(--muted); }
html:not(.js) .ask-open { display: none; }
html:not(.js) .top__cta { margin-left: auto; }
@media (max-width: 720px) {
  .ask-open { width: 44px; padding: 0; justify-content: center; flex-shrink: 0; }
  .ask-open__text, .ask-open kbd { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top .btn.top__cta { margin-left: 0; }
}
@media (max-width: 480px) {
  .top__bar { gap: var(--s2); }
  .brand { gap: var(--s2); font-size: 16px; letter-spacing: -.03em; }
  .brand .mark { width: 30px; height: 30px; }
  .top .btn.top__cta { padding: 0 12px; font-size: 14px; }
}

/* Ask dialog */
.ask { width: min(760px, calc(100vw - 32px)); max-height: min(84vh, 760px); margin: 8vh auto auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 30px 80px rgba(32, 32, 32, .35); }
.ask::backdrop { background: rgba(32, 32, 32, .6); backdrop-filter: blur(6px); }
.ask[open] { animation: ask-in var(--t-expand) var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(-16px) scale(.98); } }
.ask__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s3) var(--s4); padding: var(--s5) var(--s6) var(--s4); border-bottom: 2px solid var(--ink); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.ask__who { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s3); }
.ask__avatar { width: 44px; height: 44px; image-rendering: pixelated; background: var(--ice); flex: none; }
.ask__label { font-size: 15px; font-weight: 700; }
.ask__input { font: 700 clamp(22px, 4vw, 34px)/1.15 var(--font); letter-spacing: -.03em; border: 0; background: none; color: var(--ink); padding: var(--s2) 0; min-width: 0; width: 100%; }
.ask__input:focus { outline: none; }
.ask__input::-webkit-search-cancel-button { display: none; }
.ask__input::placeholder { color: var(--muted); opacity: 1; }
.ask__close { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: none; font-size: 14px; font-weight: 700; }
.ask__close:hover { border-color: var(--ink); }
.ask__note { padding: var(--s4) var(--s6) 0; font-size: 14px; color: var(--muted); }
.ask__suggest { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s4) var(--s6) var(--s5); }
.ask__suggest:empty { display: none; }
.ask__suggest button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: none; font-size: 14px; font-weight: 700; transition: background var(--t-acknowledge) var(--ease), color var(--t-acknowledge) var(--ease); }
.ask__suggest button:hover { background: var(--ink); color: var(--paper); }
.ask .ask__results { list-style: none; margin: 0; padding: 0 var(--s6) var(--s6); display: grid; }
.ask__results:empty { display: none; }
.ask__hit { display: grid; gap: var(--s2); padding: var(--s5) 0; border-top: 1px solid var(--line); text-decoration: none; }
.ask__hit strong { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.ask__hit span { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.ask__hit:hover strong, .ask__hit:focus-visible strong { color: var(--accent-blue); text-decoration: underline; text-underline-offset: .2em; }
.ask__empty { padding: var(--s5) 0; border-top: 1px solid var(--line); font-size: 16px; }
@media (max-width: 560px) {
  .ask { margin-top: 16px; max-height: calc(100svh - 32px); }
  .ask__form, .ask__note, .ask__suggest, .ask .ask__results { padding-inline: var(--s4); }
}

/* Hero: moves away as one piece; the mark draws in, then its strokes split. */
.hero { overflow: clip; }
[data-hero-inner] { transform: translate3d(0, var(--hy, 0px), 0); opacity: var(--ho, 1); }
.hero__ambient { grid-column: 1 / span 7; font-size: 15px; font-weight: 700; margin-bottom: calc(var(--s4) * -1); }
.hero__ambient:empty { display: none; }
.handle { white-space: nowrap; }
.handle__img { display: inline-block; width: 1.35em; height: 1.35em; vertical-align: -.3em; margin-right: .22em; image-rendering: pixelated; background: var(--paper); }
@media (max-width: 760px) { .hero__ambient { grid-column: 1 / -1; } }

/* The company band: the page's one marquee. Scroll drives it; speed leans it. */
.band { overflow: clip; padding-block: clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.band__track { display: flex; width: max-content; transform: translate3d(var(--bx, 0px), 0, 0) skewX(var(--bs, 0deg)); }
.band__list { display: flex; margin: 0; padding: 0; list-style: none; }
.band__list li { display: flex; align-items: center; font-size: clamp(44px, 7.4vw, 116px); font-weight: 700; letter-spacing: -.055em; line-height: 1; white-space: nowrap; padding-right: .5em; }
.band__list li::after { content: ""; width: .22em; height: .22em; background: var(--accent-blue); margin-left: .5em; flex: none; }
.band__list li:nth-child(3n+2) { color: transparent; -webkit-text-stroke: 2px var(--ink); }

/* Anything that rises into place as it enters. At rest it is exactly where CSS puts it. */
[data-rise] { transform: translate3d(0, var(--ry, 0px), 0); opacity: var(--ro, 1); }
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); }
[data-reveal] .w { color: var(--muted); transition: color var(--t-settle) var(--ease); }
[data-reveal] .w.on { color: var(--ink); }

/* Case files */
.board__signals, .sig { position: relative; } /* keeps visually hidden text inside the swipe strip */
.sig__num { display: block; }
.sig { transition: color var(--t-acknowledge) var(--ease), transform var(--t-expand) var(--ease); }
.sig:hover { transform: translateX(6px); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.panel.is-arriving > * { animation: rise var(--t-expand) var(--ease) both; }
.panel.is-arriving > *:nth-child(2) { animation-delay: 40ms; }
.panel.is-arriving > *:nth-child(3) { animation-delay: 80ms; }
.panel.is-arriving > *:nth-child(n+4) { animation-delay: 120ms; }

/* Video posters: branded, and nothing loads from YouTube until someone presses play. */
.vid__play { container-type: inline-size; }
.vid__poster { position: absolute; inset: 0; display: grid; align-content: start; padding: clamp(16px, 6cqi, 32px); background: var(--ice); color: #202020; overflow: hidden; --accent-blue: #454545; --ink: #202020; }
.vid__t { position: relative; z-index: 1; font-size: clamp(18px, 6.4cqi, 40px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; max-width: 16ch; }
.vid__mark { position: absolute; right: -8%; bottom: -22%; width: 64%; height: auto; opacity: .9; transition: transform var(--t-expand) var(--ease); }
.vid__play:hover .vid__mark { transform: translate(-4%, -6%) rotate(-4deg); }
.vid__btn { transition: transform var(--t-acknowledge) var(--ease); z-index: 1; }
.vid__play:hover .vid__btn { transform: scale(1.08); }
.vid__note { color: var(--muted); font-size: 13px; }
.panel .vid__note { color: var(--ice); }

/* About: portrait with the photo drifting inside its frame. */
.about__portrait { grid-column: 1 / span 4; grid-row: 2 / span 2; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ice); position: relative; }
.about__portrait img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 20%; transform: translate3d(0, var(--dy, -6%), 0); }
.about__portrait::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 18px; background: var(--accent-blue); }
.about__bio { grid-column: 6 / -1; max-width: 32ch; }
.about__practice { grid-column: 6 / -1; }
.about__practice .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 900px) { .about__portrait { grid-column: 1 / -1; grid-row: auto; max-width: 420px; } .about__bio, .about__practice { grid-column: 1 / -1; } }

/* The rooms: the middle hero. Static by default; JS turns it into a pinned scene. */
.rooms__pin { display: grid; gap: var(--s7); padding: clamp(72px, 10vw, 140px) var(--gutter); max-width: var(--max-width); margin-inline: auto; }
.rooms__words { order: -1; display: grid; gap: var(--s4); }
.rooms__title { font-size: clamp(48px, 8.6vw, 140px); line-height: .92; letter-spacing: -.06em; max-width: 12ch; }
.rooms__a, .rooms__b { display: block; }
.rooms__b { color: var(--accent-blue); }
.rooms__sub { font-size: var(--fs-lede); line-height: var(--lh-lede); color: var(--muted); }
.rooms__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: var(--s3); }
.room { display: grid; align-content: start; gap: 4px; padding: var(--s4); border: 2px solid #e5e5e5; }
.room:nth-child(1) { min-height: 120px; background: #ffffff; color: #202020; border-color: #ffffff; }
.room:nth-child(2) { min-height: 190px; }
.room:nth-child(3) { min-height: 270px; }
.room:nth-child(4) { min-height: 360px; }
.room__year { font-size: clamp(32px, 4.4vw, 68px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: #e5e5e5; }
.room:nth-child(1) .room__year { color: #454545; }
.room__size { font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; line-height: 1.2; }
.room__where { font-size: 14px; color: var(--muted); }
.room:nth-child(1) .room__where { color: #626262; }
@media (max-width: 760px) { .rooms__list { grid-template-columns: 1fr 1fr; } }

.rooms--live { height: 470vh; }
.rooms--live .rooms__pin { position: sticky; top: 68px; height: calc(100svh - 68px); max-width: none; padding: 0; display: block; overflow: hidden; background: #ffffff; }
.rooms--live .rooms__list { display: block; position: absolute; inset: 0; }
.rooms--live .room { position: absolute; left: 0; top: 0; min-height: 0; width: var(--w, 0px); height: var(--h, 0px); transform: translate3d(var(--x, 0px), var(--y, 0px), 0); opacity: var(--o, 0); padding: clamp(14px, 2vw, 28px); background: none; color: #ffffff; border-color: #e5e5e5; }
.rooms--live .room { overflow: hidden; }
.rooms--live .room:nth-child(1) { background: #202020; border-color: #202020; color: #ffffff; }
.rooms--live .room:nth-child(1) .room__year { color: #e5e5e5; }
.rooms--live .room:nth-child(1) > * { opacity: var(--lo, 1); }
.rooms--live .room:nth-child(1) .room__where { color: #c4c4c4; }
.rooms--live .rooms__words { position: absolute; inset: 0; z-index: 2; display: grid; place-content: end start; justify-items: start; text-align: left; padding: var(--gutter) calc(var(--gutter) + 16px) clamp(40px, 7vh, 72px); pointer-events: none; }
.rooms--live .rooms__title { font-size: clamp(44px, 7.2vw, 124px); }
.rooms--live .rooms__title { max-width: 14ch; }
.rooms--live .rooms__a { opacity: var(--ta, 0); transform: translate3d(0, calc((1 - var(--ta, 0)) * 60px), 0) scale(calc(.92 + var(--ta, 0) * .08)); }
.rooms--live .rooms__b, .rooms--live .rooms__sub { opacity: var(--tb, 0); transform: translate3d(0, calc((1 - var(--tb, 0)) * 40px), 0); }

/* The eras, on Ink. */
.run__body { padding-block: clamp(56px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.run__progress { display: none; }
html.js .run--track .run__body { padding-block: 0; }
html.js .run--track .run__stage { position: relative; }
html.js .run--track .run__pin { position: sticky; top: 68px; height: calc(100svh - 68px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: var(--s6); }
html.js .run--track .run__tabs { position: relative; margin-bottom: 0; }
html.js .run--track .run__progress { display: block; position: absolute; left: 0; bottom: -1px; height: 6px; width: 100%; background: var(--accent-blue); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); }
html.js .run--track .run__tab[aria-current="true"] { color: var(--ink); }
html.js .run--track .run__board { display: flex; gap: var(--s8); width: max-content; transform: translate3d(var(--tx, 0px), 0, 0); }
html.js .run--track .era { flex: 0 0 min(78vw, 1040px); margin: 0; align-content: start; }
html.js .run--track .era[hidden] { display: grid; }
html.js .run--track .era__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; grid-column: 1 / -1; font-size: clamp(56px, 7vw, 104px); line-height: .9; letter-spacing: -.06em; color: var(--accent-blue); transform: translate3d(var(--lx, 0px), 0, 0); }

/* Case page: the conversation sits inside the story. */
.case-cta { display: grid; gap: var(--s4); justify-items: start; margin-top: var(--s4); padding: var(--s6); background: var(--ink); color: var(--paper); }
.case-cta__text { font-size: var(--fs-lede); line-height: var(--lh-lede); font-weight: 700; letter-spacing: -.02em; max-width: 30ch; }
.case-cta__text [data-for] { display: none; }
html[data-quest=""] .case-cta__text [data-for="default"], html[data-quest="looking"] .case-cta__text [data-for="default"], html[data-quest="hire"] .case-cta__text [data-for="hire"], html[data-quest="fractional"] .case-cta__text [data-for="fractional"], html[data-quest="speaking"] .case-cta__text [data-for="speaking"], html:not(.js) .case-cta__text [data-for="default"] { display: inline; }

/* Footer */
.foot__nav { grid-column: 1 / span 5; }
.foot__nav--site { grid-column: 6 / span 3; }
.foot__meta { grid-column: 10 / span 3; }
.foot__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3) var(--s5); padding-top: var(--s5); border-top: 1px solid rgba(241, 249, 252, .18); font-size: 14px; color: var(--ice); }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot__legal a, .motion-toggle { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; }
.motion-toggle { background: none; border: 0; padding: 0; font-size: 14px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.motion-toggle[aria-pressed="true"]::before { content: ""; width: 10px; height: 10px; background: var(--ice); margin-right: 8px; }
@media (max-width: 900px) { .foot__nav, .foot__nav--site, .foot__meta { grid-column: 1 / -1; } }

/* Legal pages */
.legal { display: grid; gap: var(--s7); padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 128px); }
.legal__head { display: grid; gap: var(--s4); padding-bottom: var(--s6); border-bottom: 2px solid var(--ink); }
.legal__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.legal__lede { font-size: var(--fs-lede); line-height: var(--lh-lede); max-width: 40ch; }
.legal__date { font-size: 15px; color: var(--muted); }
.legal__sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s3) var(--s5); }
.legal__sec h2 { grid-column: 1 / span 4; font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
.legal__sec > :not(h2) { grid-column: 5 / span 7; max-width: 64ch; font-size: 18px; line-height: 1.6; }
.legal__list { display: grid; gap: var(--s2); }
.legal__list li { position: relative; padding-left: 22px; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--accent-blue); }
@media (max-width: 760px) { .legal__sec h2, .legal__sec > :not(h2) { grid-column: 1 / -1; } }

/* Cross-page: the result number travels from the board into the case file. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: var(--t-expand); animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: no-preference) {
  html:not(.calm) .hero__mark path { stroke-dasharray: 1; animation: draw 900ms var(--ease) both; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  @view-transition { navigation: none; }
}
html.calm { scroll-behavior: auto; }
html.calm *, html.calm *::before, html.calm *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }

/* ======================================================================
   v5: real pictures everywhere, pain-first About, speaking reel
   ====================================================================== */

/* Video: self-hosted still, scale on hover. */
.vid__img { position: absolute; inset: 0; }
.vid__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 32, 32, .45), transparent 45%); pointer-events: none; }

/* About: the answer, then the problems it solves. */
.about__bio { grid-column: 6 / -1; max-width: 26ch; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; }
.pains { grid-column: 6 / -1; display: grid; gap: var(--s4); }
.pains__h { font-size: 15px; font-weight: 700; color: var(--muted); }
.pains__list { border-top: 2px solid var(--ink); }
.pain { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s2) var(--s5); align-items: baseline; padding: var(--s5) 0; border-bottom: 1px solid var(--line); transition: background var(--t-acknowledge) var(--ease); }
.pain__n { font-size: 14px; font-weight: 700; color: var(--accent-blue); font-variant-numeric: tabular-nums; }
.pain__p { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.pain__a { font-size: 17px; line-height: 1.5; color: var(--muted); }
.pain:hover .pain__a { color: var(--ink); }
.pains__cta { margin-top: var(--s2); }
.about__practice { grid-column: 6 / -1; }
.about__portrait { grid-row: 2 / span 3; position: sticky; top: 96px; }
@media (max-width: 900px) { .about__portrait { position: relative; top: auto; } .pains { grid-column: 1 / -1; } }
@media (max-width: 640px) { .pain { grid-template-columns: 36px minmax(0, 1fr); } .pain__a { grid-column: 2; } }

/* Rooms with pictures. */
.rooms__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.room { position: relative; overflow: hidden; isolation: isolate; }
.room:nth-child(2) { min-height: 180px; }
.room:nth-child(3) { min-height: 240px; }
.room:nth-child(4) { min-height: 300px; }
.room:nth-child(5) { min-height: 380px; }
.room__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(calc(1.25 - var(--g, 1) * .25)); }
.room--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(32, 32, 32, .92) 0%, rgba(32, 32, 32, .55) 45%, rgba(32, 32, 32, .15) 100%); }
.room--img .room__size { color: #ffffff; }
.room--img .room__where { color: #eeeeee; }
@media (max-width: 760px) { .rooms__list { grid-template-columns: 1fr 1fr; } .room:nth-child(5) { grid-column: 1 / -1; } }

/* Speaking: a photo reel beside the recorded talks. */
.speaking__text { grid-column: 1 / span 6; }
.speaking__media { grid-column: 8 / span 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4); align-items: start; }
.speaking__media .vid--talk { grid-column: 2; }
.reel { grid-row: 1 / span 2; display: grid; gap: var(--s2); }
.reel__frames { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.reel__img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ice); }
.reel__cap { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; align-items: center; }
.reel__cap [data-reel-cap], .reel__pause { display: none; }
.reel--live .reel__frames { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #202020; }
.reel--live .reel__img { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 900ms var(--ease); }
.reel--live .reel__img.is-on { opacity: 1; animation: kenburns 5200ms linear both; }
.reel--live [data-reel-cap] { display: inline; }
.reel--live .reel__pause { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
@keyframes kenburns { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
@media (max-width: 1000px) { .speaking__text, .speaking__media { grid-column: 1 / -1; } }
@media (max-width: 560px) { .speaking__media { grid-template-columns: 1fr; } .speaking__media .vid--talk { grid-column: 1; } .reel { grid-row: auto; } .reel--live .reel__frames { aspect-ratio: 4 / 5; } }

/* Case hero: the still from the case's lead video. */
.case-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); align-items: start; }
.case-hero__grid > * { grid-column: 1 / span 7; }
.case-hero__media { grid-column: 8 / -1; grid-row: 1 / span 4; align-self: center; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: #202020; }
.case-hero__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--dy, 0%), 0); }
.case-hero__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 18px; background: var(--accent-blue); }
@media (max-width: 900px) { .case-hero__grid > *, .case-hero__media { grid-column: 1 / -1; } .case-hero__media { grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; } }
.case-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.contact__buttons { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ======================================================================
   v6: the band drifts on its own; case galleries
   ====================================================================== */

/* Band: static and wrapped by default; JS makes it a drifting line. */
.band { display: flex; flex-direction: column; }
.band__track { flex-wrap: wrap; width: auto; transform: none; padding-inline: var(--gutter); }
.band__list { flex-wrap: wrap; }
.band__list[aria-hidden="true"], .band__pause { display: none; }
.band__list li { font-size: clamp(36px, 5.6vw, 92px); }
.band--live .band__track { flex-wrap: nowrap; width: max-content; padding-inline: 0; transform: translate3d(var(--bx, 0px), 0, 0) skewX(var(--bs, 0deg)); }
.band--live .band__list { flex-wrap: nowrap; }
.band--live .band__list[aria-hidden="true"] { display: flex; }
.band--live .band__pause { display: inline-flex; order: 2; align-self: flex-end; align-items: center; min-height: 36px; margin: var(--s3) var(--gutter) 0 0; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 700; }
.band--live .band__pause:hover { border-color: var(--ink); }

/* Case gallery */
.case-gallery { padding-block: 0 clamp(56px, 8vw, 112px); }
.case-gallery h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); margin-bottom: var(--s6); }
.case-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); align-items: start; }
.shot { display: grid; gap: var(--s3); }
.shot:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.shot__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #202020; }
.shot__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: top; transform: translate3d(0, var(--dy, 0%), 0); }
.shot figcaption { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .case-gallery__grid { grid-template-columns: 1fr; } .shot:nth-child(2) { margin-top: 0; } }

/* Rooms ending: the last picture dims and a scrim sits under the words, so the title always reads on the final screen. */
.rooms--live .rooms__words { background: linear-gradient(to top, rgba(32, 32, 32, calc(.94 * var(--ta, 0))) 0%, rgba(32, 32, 32, calc(.8 * var(--ta, 0))) 42%, rgba(32, 32, 32, 0) 78%); }
.rooms--live .room:last-child .room__img { opacity: calc(1 - var(--g, 0) * .5); }
.rooms--live .rooms__title, .rooms--live .rooms__sub { text-shadow: 0 2px 24px rgba(32, 32, 32, .6); }

/* Speaking clips: muted loops behind the play buttons; the still shows until the clip is running. */
.vid__loop { position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; border: 0; pointer-events: none; opacity: 0; transition: opacity 700ms var(--ease); }
.vid__loop.is-on { opacity: 1; }
.clips-pause { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 700; }
.clips-pause:hover { border-color: var(--ink); }
@media (max-width: 560px) { .clips-pause { grid-column: 1; } }

/* Gallery: one wide photo across the top. */
.shot--wide { grid-column: 1 / -1; }
.shot--wide .shot__frame { aspect-ratio: 16 / 9; }
.shot--wide .shot__frame img { object-position: center; }
.shot--wide + .shot { margin-top: 0; }
.shot--wide + .shot + .shot { margin-top: clamp(0px, 8vw, 120px); }
@media (max-width: 760px) { .shot--wide + .shot + .shot { margin-top: 0; } }

/* ======================================================================
   UI/UX Pro Max audit fixes (2026-09-27). See design/2026-09-27-ux-audit.md
   ====================================================================== */
/* Press feedback and no tap delay on every control. */
a, button, summary { touch-action: manipulation; }
.btn:active, .chip:active, .quest__opt:active, .ask__suggest button:active, .band__pause:active, .clips-pause:active, .reel__pause:active { transform: translateY(1px); }
/* The clock line fills in after load; hold its space so the hero does not jump. */
html.js .hero__ambient:empty { display: block; min-height: 1.5em; }
/* Clip control is in the page from the start (no shift); shown only when clips run. */
.clips-pause { visibility: hidden; }
.clips--live .clips-pause { visibility: visible; }
html:not(.js) .clips-pause, html.calm .clips-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .clips-pause { display: none; } }
/* Keep the rooms scene's per-frame sizing work inside the scene. */
.rooms--live .rooms__pin, .rooms--live .room { contain: layout paint; }
/* Mobile: a shorter rooms scene (the skill: simplify scroll storytelling on mobile). */
@media (max-width: 760px) { .rooms--live { height: 340vh; } }


/* ======================================================================
   Round 1 (2026-09-29): avatar hero, animated nav mark, logo band,
   65 brands forming the S, stacked case files on small screens
   ====================================================================== */

/* Hero: the pixel avatar holds the spot the big mark used to. */
.hero__avatar { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: center; justify-self: end; width: 100%; max-width: 420px; margin: 0; transform: translate3d(0, calc(var(--hp, 0) * -40px), 0) scale(calc(1 - var(--hp, 0) * .08)); }
.hero__avatar img { width: 100%; height: auto; image-rendering: pixelated; }
@media (max-width: 760px) { .hero__avatar { grid-column: 1 / -1; grid-row: 1; justify-self: start; max-width: 112px; align-self: start; } .hero__title { grid-column: 1 / -1; } }

/* Nav mark: every 20 seconds the two strokes pull apart and snap back. */
/* Nav: only the S moves. It draws in on load, top stroke then bottom (the mark's original entrance),
   and redraws the same way every 20 seconds. The name never moves. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.calm) .brand .mark path { stroke-dasharray: 1; }
  html:not(.calm) .brand .m-signal { animation: nav-draw-signal 20s var(--ease) infinite; }
  html:not(.calm) .brand .m-story { animation: nav-draw-story 20s var(--ease) infinite; }
}
@keyframes nav-draw-signal { 0% { stroke-dashoffset: 1; } 4.5%, 100% { stroke-dashoffset: 0; } }
@keyframes nav-draw-story { 0%, 0.9% { stroke-dashoffset: 1; } 5.4%, 100% { stroke-dashoffset: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Band: company logos in Ink; colour on hover (light logos stay one colour). */
.band__list li.blogo { font-size: inherit; letter-spacing: 0; color: inherit; -webkit-text-stroke: 0; padding-right: clamp(44px, 6vw, 96px); }
.band__list li.blogo::after { display: none; }
.blogo__mark { position: relative; display: block; height: clamp(30px, 4vw, 54px); width: min(280px, calc(clamp(30px, 4vw, 54px) * var(--ar))); background: var(--ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: background var(--t-acknowledge) var(--ease); }
.blogo__color { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity var(--t-acknowledge) var(--ease); }
.blogo:not(.is-light):hover .blogo__mark { background: transparent; -webkit-mask: none; mask: none; }
.blogo:not(.is-light):hover .blogo__color { opacity: 1; }
.band__track { align-items: center; }

/* Case files: the Game Master gets the avatar; panels share one height on desktop (set by JS). */
.panel { position: relative; }
.panel__avatar { width: clamp(120px, 34%, 240px); height: auto; image-rendering: pixelated; justify-self: end; align-self: end; }

/* Case files on phones, tablets and folded phones: each result opens its story right below it. */
html.js .board.board--stack { display: block; }
html.js .board--stack .board__signals { display: block; overflow: visible; }
html.js .board--stack .board__signals li { scroll-snap-align: none; }
html.js .board--stack .sig { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s1) var(--s4); min-width: 0; padding: var(--s4) 0; border: 0; border-top: 1px solid var(--line); background: none; width: 100%; text-align: left; font: inherit; }
html.js .board--stack .board__signals li:last-child .sig { border-bottom: 1px solid var(--line); }
html.js .board--stack .sig__num { font-size: clamp(34px, 9vw, 56px); }
html.js .board--stack .sig::after { content: ""; width: 14px; height: 14px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform var(--t-expand) var(--ease); grid-row: 1 / span 2; grid-column: 2; }
html.js .board--stack .sig[aria-expanded="true"]::after { transform: rotate(225deg); }
html.js .board--stack .sig[aria-expanded="true"] { color: var(--accent-blue); }
html.js .board--stack .sig__meta { grid-column: 1; }
html.js .board--stack .panel { margin: 0 0 var(--s5); min-height: 0 !important; }
html.js .board--stack .board__line { display: none; }

/* ---------- 65 brands ---------- */
.brands { --paper: #202020; --ink: #ffffff; --accent-blue: #e5e5e5; --muted: #c4c4c4; --line: #555555; background: #202020; color: #ffffff; overflow: clip; }
.brands :focus-visible { outline-color: #e5e5e5; }
.brands__pin { display: grid; gap: var(--s6); padding-block: clamp(72px, 9vw, 120px) var(--s6); }
.brands__text { display: grid; gap: var(--s4); align-content: start; max-width: 46ch; position: relative; z-index: 2; }
.brands__title { font-size: clamp(40px, 5.6vw, 88px); line-height: .95; letter-spacing: -.05em; }
.brands__sub { font-size: var(--fs-lede); line-height: var(--lh-lede); color: var(--muted); }
.brands__s { display: none; }
.brands__list { display: grid; gap: 0; padding-bottom: clamp(72px, 9vw, 120px); }
.bgroup { display: grid; gap: var(--s3); padding-block: var(--s5); border-top: 1px solid var(--line); }
.bgroup__name { font-size: 15px; font-weight: 700; letter-spacing: 0; display: flex; gap: var(--s2); align-items: baseline; }
.bgroup__n { color: #e5e5e5; font-variant-numeric: tabular-nums; }
.bgroup__row { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.bchip__btn { display: grid; place-items: center; height: 60px; min-width: 64px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: #ffffff; transition: background var(--t-acknowledge) var(--ease), border-color var(--t-acknowledge) var(--ease); }
.bchip__logo { position: relative; display: block; height: 30px; width: min(150px, calc(30px * var(--ar))); background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.bchip__color { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity var(--t-acknowledge) var(--ease); }
.bchip__type { font-size: 14px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.bchip__btn:hover { border-color: #e5e5e5; }
.bchip__btn[aria-pressed="true"] { background: #ffffff; border-color: #ffffff; color: #202020; }
.bchip.is-light .bchip__btn[aria-pressed="true"] { background: #303030; border-color: #e5e5e5; color: #ffffff; }
.bchip:not(.bchip--type) .bchip__btn[aria-pressed="true"] .bchip__logo { background: transparent; -webkit-mask: none; mask: none; }
.bchip__btn[aria-pressed="true"] .bchip__color { opacity: 1; }
@media (max-width: 699px) {
  .bgroup__row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .bgroup__row::-webkit-scrollbar { display: none; }
  .bchip { flex: none; scroll-snap-align: start; }
}

/* Detail card: beside the S on desktop, a sheet from the bottom elsewhere. */
.bcard { display: grid; gap: var(--s3); align-content: start; padding-top: var(--s4); border-top: 2px solid #ffffff; min-height: 11em; }
.bcard__hint { color: var(--muted); font-size: 16px; }
.bcard__mark { display: grid; place-items: center; justify-self: start; height: 88px; min-width: 160px; max-width: 100%; padding: 14px 20px; background: #ffffff; }
.bcard__mark.is-light { background: #303030; }
.bcard__mark img { max-height: 58px; max-width: 280px; width: auto; height: auto; object-fit: contain; }
.bcard__name { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
.bcard__co { font-size: 14px; font-weight: 700; color: #e5e5e5; }
.bcard__text { font-size: 17px; line-height: 1.5; max-width: 42ch; }
.bcard .btn { border-color: #ffffff; color: #ffffff; }
.bcard .btn:hover { background: #ffffff; color: #202020; }
.bcard__close { display: none; }
@media (max-width: 999px) {
  .bcard { min-height: 0; border-top: 0; padding: 0; }
  .bcard.is-open { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #202020; padding: var(--s5) var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom, 0px)); border-top: 3px solid #e5e5e5; box-shadow: 0 -24px 60px rgba(0, 0, 0, .4); max-height: 72vh; overflow: auto; }
  .bcard.is-open .bcard__close { display: inline-flex; justify-self: end; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: none; color: #ffffff; font-size: 14px; font-weight: 700; order: -1; }
  .bcard:not(.is-open) .bcard__hint { display: none; }
}

/* About on phones and tablets: every block runs the full width. */
@media (max-width: 900px) {
  .about__bio, .pains, .about__practice { grid-column: 1 / -1; max-width: none; }
  .about__portrait { grid-column: 1 / -1; grid-row: auto; position: relative; top: auto; max-width: none; aspect-ratio: 1; }
  .about__bio { font-size: clamp(26px, 7vw, 36px); }
}

@media (min-width: 761px) { .hero__title { grid-column: 1 / span 8; } }

/* Grid children default to their content's width; without this the swipe rows stretch the whole page on phones. */
.brands__list, .bgroup, .bgroup__row, .brands__pin > * { min-width: 0; }
.bgroup__row { max-width: 100vw; }
/* Keep visually hidden labels inside their own buttons (otherwise they sit at the far end of a swipe row). */
.bchip__btn, .blogo, .btile { position: relative; }
.btile { position: absolute; }
/* The narrowest phones (320px): the nav keeps the mark and drops the name, which stays as the link's label. */
@media (max-width: 374px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Long single words in display headings (e.g. "Accessibility") scale down on the smallest phones. */
.legal__title, .case-hero__title, .contact__title { font-size: min(var(--fs-display), 12.5vw); overflow-wrap: break-word; }
.legal > *, .legal__head > * { min-width: 0; }

/* ======================================================================
   Round 2 (2026-09-29): per-visitor About, desktop-only hint, the 1998 room builds the S
   ====================================================================== */
.about__variant { grid-column: 6 / -1; }
.about__variant > .about__bio, .about__variant > .pains { grid-column: auto; }
.about__variant > * + * { margin-top: var(--s6); }
@media (max-width: 900px) { .about__variant { grid-column: 1 / -1; } }
.work__beside { display: none; }
.work--tabs .work__beside { display: inline; }

.room__s { display: none; }
.rooms--live .room__s { display: block; position: absolute; right: 7%; bottom: 9%; width: min(46%, 56vh); height: auto; overflow: visible; opacity: var(--so, 1); pointer-events: none; }
