/* v9 (Pixel, 2026-10-18): Charming's v8 feedback. Loaded after academy.css. */

/* 13. Less zoom: more of the page fits on each screen, type stays readable */
@media (min-width: 1100px) { :root { --z: .9; } }
@media (min-width: 1700px) { :root { --z: 1; } }
@media (min-width: 1900px) { :root { --z: 1.06; } }
@media (min-width: 2200px) { :root { --z: 1.2; } }
@media (min-width: 2450px) { :root { --z: 1.36; } }

/* 7. The bio: photo stays in place while the copy column (bio, the 3 A's, the three story stops) scrolls */
.producer, .showcase { overflow: clip; }   /* hidden made them scroll boxes, which stopped the sticky photo and side column */
.tl-lead::after { content: none; }   /* Charming: the floating gold line under the last italic line looked odd */
.v9-prow { grid-column: 1 / -1; display: grid; grid-template-columns: 46% 1fr; }
@media (max-width: 980px) { .v9-prow { grid-template-columns: 1fr; } }
.pro-copy .rzband { grid-column: auto; margin: 30px 0 0; padding: 54px 44px 50px; border-radius: 18px; }
.pro-copy .rzband::before { left: 10%; width: 120%; }
.pro-copy .rz-loop { display: none; }
.pro-copy .rz { grid-template-columns: 1fr; gap: 34px; }
.pro-copy .rz li { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.pro-copy .rz-n { grid-row: 1 / span 2; margin: 0; font-size: 104px; }
.pro-copy .rz p { font-size: clamp(36px, calc(3 * var(--vw)), 54px); }
.pro-copy .rz p.v9-def { grid-column: 2; margin: 10px 0 0; max-width: 42ch; font: 400 19px/1.5 var(--sans); color: #D6DCE7; }
.v9-apply { position: relative; z-index: 2; margin: 40px 0 0; padding-top: 30px; border-top: 1px solid rgba(212,175,55,.3); font: italic 500 clamp(22px, calc(1.7 * var(--vw)), 30px)/1.38 var(--serif); color: var(--white); }
.pro-copy .rz-by { margin-top: 30px; }
.pro-copy .tl2 { display: block; grid-column: auto; margin: 46px 0 0; padding: 0 0 0 40px; background: none; }
.pro-copy .tl2::before { left: 9px; right: auto; top: 12px; bottom: 24px; width: 2px; height: auto; background: linear-gradient(var(--gold), rgba(212,175,55,.25)); }
.pro-copy .tl2 .tl-stop { padding-top: 0; margin: 0 0 30px; }
.pro-copy .tl2 .tl-stop::before { left: -40px; top: 2px; }
.pro-copy .tl2 .tl-stop p { font-size: 19px; }
.pro-copy { padding-bottom: 90px; }
@media (max-width: 980px) {
  .pro-copy .rzband { padding: 44px 26px; }
  .pro-copy .rz li { grid-template-columns: 70px minmax(0, 1fr); column-gap: 12px; }
  .pro-copy .rz-n { font-size: 80px; }
  .pro-copy .rz p { font-size: 38px; }
  .pro-copy .rz p.v9-def { font-size: 17px; }
}

/* 9. The quote carries its own quote marks now, so the big decorative mark goes */
.manifesto .v9-q::before { content: none; }
.manifesto .v9-q { padding-top: 54px; }

/* 11. The showcase: the heading, the group list and the count stay put while the requests scroll */
.sc-body { grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr); padding-top: 20px; }
.sc-side { position: sticky; top: 92px; align-self: start; max-height: calc(100 * var(--vh) - 110px); overflow: auto; scrollbar-width: none; padding-bottom: 10px; }
.sc-side::-webkit-scrollbar { display: none; }
.sc-side .sc-eyebrow { margin-bottom: 18px; }
.sc-side h2 { margin: 0 0 28px; font-size: clamp(40px, calc(3.3 * var(--vw)), 62px); line-height: 1.02; }
.sc-side .sc-rail { position: static; }
.sc-side .sc-count { margin-top: 22px; }
.sc-side .sc-count b { font-size: 60px; }
.v9-lead { margin: 0 0 56px; max-width: 46ch; }
@media (max-width: 980px) {
  .sc-body { grid-template-columns: 1fr; }
  .sc-side { position: static; max-height: none; overflow: visible; }
  .sc-side h2 { font-size: 44px; }
  .v9-lead { margin-bottom: 40px; }
}

/* 4. Where Does It Go: a line follows the route behind the cards, used teammates grow, the rest step back */
.wd-grid { position: relative; }
.wd-tile { position: relative; z-index: 1; transition: border-color .35s, background .35s, transform .45s var(--ease), box-shadow .35s, opacity .35s; }
.wd-tile > * { transition: opacity .35s, filter .35s; }
.wd-grid.playing .wd-tile:not(.lit) { background: #F1EDE4; border-color: #E6E0D2; transform: scale(.95); }
.wd-grid.playing .wd-tile:not(.lit) > * { opacity: .42; filter: grayscale(1); }
.wd-grid.playing .wd-tile:not(.lit) .wd-l { display: none; }
.wd-tile.lit { transform: scale(1.03); z-index: 2; box-shadow: 0 16px 28px -22px rgba(156,126,37,.8); }
.wd-tile.lit.now { transform: scale(1.06) translateY(-2px); }
.wd-tile.lit .av { width: 56px; }
.wd-tile.lit .wd-n { font-size: 21px; }
.v9-n { position: absolute; top: -10px; left: -10px; z-index: 3; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-hi); font: 700 13px/1 var(--sans); box-shadow: 0 0 0 3px var(--paper); }
.v9-path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.v9-path path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease); }
.v9-path path.on { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .v9-path path { transition: none; } .wd-tile { transition: none; } }

/* 3. Back to Top on the sections the board tiles open */
.v9-top { margin: 34px 0 0; text-align: center; }
.v9-top a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; background: var(--white); }
.v9-top a::before { content: ""; width: 9px; height: 9px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateY(2px) rotate(45deg); }
.v9-top a:hover, .v9-top a:focus-visible { background: var(--navy); color: var(--white); outline: none; }
.rfa-agenda .v9-top, .write .v9-top { padding-bottom: 10px; }
.v9-modal .v9-top { display: none; }

/* 6 and 2. Board tiles open their piece in a pop-up; the close control is big, gold and always in view */
.v9-modal { width: min(1240px, 94vw); max-width: none; max-height: calc(92 * var(--vh)); margin: auto; padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--charcoal); box-shadow: 0 60px 120px -40px rgba(0,0,0,.6); overflow: hidden; }
.v9-modal[open] { display: flex; flex-direction: column; }
.v9-modal::backdrop { background: rgba(11,19,36,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.v9-mbar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 14px 28px; background: var(--navy); }
.v9-mtag { margin: 0; font: 700 13px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.v9-mx { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.v9-mx span { position: relative; width: 14px; height: 14px; }
.v9-mx span::before, .v9-mx span::after { content: ""; position: absolute; left: 6px; top: -1px; width: 2px; height: 16px; background: currentColor; transform: rotate(45deg); }
.v9-mx span::after { transform: rotate(-45deg); }
.v9-mx:hover, .v9-mx:focus-visible { background: var(--gold-hi); outline: 3px solid var(--white); outline-offset: 2px; }
.v9-mbody { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; }
.v9-mbody > * { margin: 0 !important; }
.v9-mbody > .wdig, .v9-mbody > .orm, .v9-mbody > #rffkit { padding: 40px; }
.v9-mbody #rffkit { border: 0; box-shadow: none; }
.v9-mbody section { min-height: 0 !important; }
.v9-mfoot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px 14px 28px; border-top: 1px solid var(--rule); background: var(--white); }
.v9-mnext { margin: 0; font-size: 16px; color: #4A4A48; }
.v9-mdone { flex: none; }
.v9-modal .reveal { opacity: 1 !important; translate: none !important; }
html.v9-lock { overflow: hidden; }
@media (max-width: 700px) {
  .v9-modal { width: 100vw; max-height: none; height: 100%; border-radius: 0; }
  .v9-mbar { padding: 10px 12px 10px 18px; }
  .v9-mtag { font-size: 11px; }
  .v9-mbody > .wdig, .v9-mbody > .orm, .v9-mbody > #rffkit { padding: 24px 18px; }
  .v9-mfoot { flex-direction: column; align-items: stretch; text-align: center; padding: 12px 16px; }
  .v9-mnext { font-size: 15px; }
}

/* 14. Table of contents: a rail on the right on wide screens, a Contents button on smaller ones */
.v9-toc { position: fixed; right: 16px; top: 50%; z-index: 40; transform: translateY(-50%); padding: 14px 12px; border-radius: 16px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s, background .3s, box-shadow .3s; }
.v9-toc.show { opacity: 1; visibility: visible; }
.v9-toc ol { position: relative; list-style: none; margin: 0; padding: 0; }
.v9-toc ol::before { content: ""; position: absolute; right: 5px; top: 8px; bottom: 8px; width: 2px; background: rgba(124,100,29,.25); }
.v9-toc ol::after { content: ""; position: absolute; right: 5px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: var(--gold); }
.v9-toc a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 3px 0; text-decoration: none; color: var(--navy); }
.v9-dot { position: relative; z-index: 1; flex: none; order: 2; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold-ink); box-shadow: 0 0 0 2px rgba(251,248,241,.7); }
.v9-toc a.past .v9-dot { background: var(--gold); border-color: var(--gold); }
.v9-toc a.on .v9-dot { background: var(--navy); border-color: var(--gold); transform: scale(1.35); }
.v9-tl { max-width: 0; overflow: hidden; white-space: nowrap; font: 600 14px/1.3 var(--sans); opacity: 0; transition: max-width .3s var(--ease), opacity .25s; }
.v9-toc-h { margin: 0 0 8px; display: flex; justify-content: flex-end; gap: 10px; font: 700 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.v9-toc-h > span:first-child { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .3s, opacity .25s; }
.v9-toc:hover, .v9-toc:focus-within { background: rgba(251,248,241,.97); box-shadow: 0 24px 50px -24px rgba(11,19,36,.45); }
.v9-toc:hover .v9-tl, .v9-toc:focus-within .v9-tl, .v9-toc:hover .v9-toc-h > span:first-child, .v9-toc:focus-within .v9-toc-h > span:first-child { max-width: 260px; opacity: 1; }
.v9-toc a.on .v9-tl { color: var(--gold-ink); }
.v9-toc a:hover .v9-tl, .v9-toc a:focus-visible .v9-tl { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.v9-toc a:focus-visible { outline: none; }
.v9-toc a:focus-visible .v9-dot { outline: 2px solid var(--navy); outline-offset: 2px; }
.v9-toc-btn { display: none; }
.v9-toc-sheet[hidden] { display: none; }
@media (max-width: 1279px) {
  .v9-toc { display: none; }
  .v9-toc-btn { position: fixed; left: 14px; bottom: 14px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1.5px solid var(--gold); border-radius: 999px; background: rgba(13,21,40,.92); color: var(--white); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .v9-toc-btn.show { opacity: 1; visibility: visible; }
  .float-bar .v9-toc-btn { position: static; opacity: 1; visibility: visible; padding: 10px 14px; background: transparent; }
  .v9-toc-btn::after { content: attr(data-pct); color: var(--gold-hi); }
  .v9-toc-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; background: rgba(11,19,36,.6); }
  .v9-sheet-in { width: 100%; max-height: 78vh; overflow: auto; padding: 8px 18px 22px; border-radius: 18px 18px 0 0; background: var(--paper); }
  .v9-sheet-top { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .v9-sheet-top p { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
  .v9-sheet-x { padding: 10px 16px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
  .v9-sheet-in ol { list-style: none; margin: 0; padding: 6px 0 0; counter-reset: t; }
  .v9-sheet-in li a { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--navy); text-decoration: none; font: 600 17px/1.3 var(--sans); }
  .v9-sheet-in li a::before { counter-increment: t; content: counter(t, decimal-leading-zero); flex: none; width: 26px; font-size: 13px; color: var(--gold-ink); }
  .v9-sheet-in li a.on { color: var(--gold-ink); }
  .v9-sheet-in .v9-dot { display: none; }
  .v9-sheet-in .v9-tl { max-width: none; overflow: visible; white-space: normal; opacity: 1; font: inherit; }
}
@media (max-width: 980px) { body > .v9-toc-btn { display: none; } }
@media (max-width: 700px) { .v9-mx { white-space: nowrap; padding: 11px 16px; font-size: 13px; } }
