/* ---------- Pantheon (Dec 1, late, her notes) ----------
   "pantheon section also deviates a bit too much from everything else", "needs to change color when light vs. dark
   mode", "too much serif at the beginning do some show not tell", "the best signal thing is weird", "coo needs to be
   bigger as a title", "it shouldn't be 'zeus and ares' in the coo title thing", "talk about finding next alexandr wang".
   So the section uses the site's own colors (light or dark with the page) and type: the title, the role as a big sans
   line, the demo and her reel first, one line on why, three numbers in the same style as Debate's, how it works as three
   plain cards, and the link out. One serif heading only, the site's in-section one. Old navy version: scratchpad
   pantheon-before-v6.css. Behavior (the cards rising in): features/pantheon.js. */
#pantheon.pan { display: block; padding-top: clamp(48px, 5.5vw, 88px); }
#pantheon a.pan-link { color: var(--acc); text-decoration: none; font-weight: 600; }
#pantheon a.pan-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* the head: the mark, the title, the role as a title of its own */
#pantheon .pan-head { display: grid; justify-items: start; gap: 8px; }
#pantheon .pan-logo { height: clamp(28px, 2.3vw, 34px); width: auto; }
[data-theme="dark"] #pantheon .pan-logo { filter: brightness(0) invert(0.94); }
#pantheon .sec-title { margin: 4px 0 0; }
#pantheon .pan-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 2px 0 0; }
#pantheon .pan-role b { font: 650 clamp(26px, 2.5vw, 36px)/1.1 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
#pantheon .pan-role span { font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; color: var(--muted); }

/* show first: the demo beside her reel, one height (the reel is 9:16, so its column is 81/256 of the demo's) */
#pantheon .pan-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.3164fr); gap: clamp(14px, 1.6vw, 24px); align-items: start; margin-top: clamp(26px, 2.8vw, 40px); }
#pantheon .pan-demo .vp, #pantheon .pan-reel .vp { overflow: hidden; }
#pantheon .pan-reel { margin: 0; }
#pantheon .pan-reel figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 10px; margin-top: 10px; font-size: 14px; line-height: 1.3; color: var(--muted); }
#pantheon .pan-av { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
#pantheon .pan-cap b { color: var(--ink); font-weight: 650; }
#pantheon .pan-views { font-size: 13px; }

/* then one line on why */
#pantheon .pan-lead { max-width: 52ch; margin: clamp(36px, 3.8vw, 56px) 0 0; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.45; font-weight: 500; color: var(--ink-2); text-wrap: pretty; }
#pantheon .pan-lead b { font-weight: 700; color: var(--ink); }

/* three numbers, the same style as Debate's */
#pantheon .pan-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 36px); margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; list-style: none; }
#pantheon .pan-stats li { display: grid; align-content: start; gap: 8px; }
#pantheon .pan-stats b { font: 650 clamp(42px, 4.4vw, 68px)/0.95 var(--sans); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
#pantheon .pan-stats span { max-width: 26ch; font-size: 16.5px; line-height: 1.4; color: var(--muted); }

/* how it works: the deck's bracket, back by her ask ("i want the bracket back that was gorg"). The mark, a thin
   bracket that draws itself, three glowing points, a short line each. In the page's own colors, light or dark. */
#pantheon .pan-sys { margin-top: clamp(60px, 6vw, 96px); text-align: center; }
#pantheon .pan-sys-h { margin: 0; font: 400 var(--t-block) var(--serif); color: var(--ink); }
#pantheon .pan-tree { max-width: 1000px; margin: clamp(26px, 3vw, 40px) auto 0; }
#pantheon .pan-root { display: block; height: 28px; width: auto; margin: 0 auto 12px; }
[data-theme="dark"] #pantheon .pan-root { filter: brightness(0) invert(0.94); }
#pantheon .pan-wire { display: block; width: 100%; height: 56px; overflow: visible; }
#pantheon .pan-wire path { fill: none; stroke: color-mix(in srgb, var(--ink) 38%, transparent); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#pantheon .pan-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
#pantheon .pan-steps > li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; padding-top: 24px; }
#pantheon .pan-steps > li::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 8%, transparent), 0 0 18px color-mix(in srgb, var(--acc) 35%, transparent); }
#pantheon .pan-steps h4 { margin: 0; font: 650 var(--t-card)/1.2 var(--sans); color: var(--ink); }
#pantheon .pan-steps p { max-width: 26ch; margin: 0; font-size: 16.5px; line-height: 1.45; color: var(--ink-2); }
#pantheon .pan-steps .pan-link { margin-top: 2px; font-size: 15.5px; }

/* the numbers last, quieter, in one row */
#pantheon .pan-stats { margin-top: clamp(56px, 5.6vw, 88px); }
#pantheon .pan-out { margin: clamp(28px, 3vw, 40px) 0 0; font-size: 16px; }

/* the bracket draws itself and the points rise in, once (features/pantheon.js adds .in) */
html.motion #pantheon .pan-sys:not(.in) .pan-wire path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion #pantheon .pan-sys .pan-wire path { stroke-dasharray: 1; transition: stroke-dashoffset 1.4s var(--e-out); }
html.motion #pantheon .pan-sys:not(.in) .pan-steps > li, html.motion #pantheon .pan-sys:not(.in) .pan-root { opacity: 0; translate: 0 14px; }
html.motion #pantheon .pan-sys .pan-steps > li, html.motion #pantheon .pan-sys .pan-root { transition: opacity 0.7s var(--e-out), translate 0.7s var(--e-out); }
html.motion #pantheon .pan-sys .pan-steps > li:nth-child(1) { transition-delay: 0.45s; }
html.motion #pantheon .pan-sys .pan-steps > li:nth-child(2) { transition-delay: 0.6s; }
html.motion #pantheon .pan-sys .pan-steps > li:nth-child(3) { transition-delay: 0.75s; }

@media (max-width: 760px) {
  #pantheon .pan-show { grid-template-columns: minmax(0, 1fr); }
  #pantheon .pan-reel { width: min(62%, 240px); justify-self: center; }
  #pantheon .pan-stats { gap: 12px; }
  #pantheon .pan-stats b { font-size: 36px; }
  #pantheon .pan-stats span { font-size: 13.5px; }
  #pantheon .pan-sys { text-align: left; }
  #pantheon .pan-root, #pantheon .pan-wire { display: none; }
  #pantheon .pan-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  #pantheon .pan-steps > li { justify-items: start; padding: 0 0 0 24px; }
  #pantheon .pan-steps > li::before { top: 7px; left: 0; margin-left: 0; }
}

/* ---------- cleaner still (Dec 1, late, her note: "pantheon section even kinda cleaner, rn it still looks messy") ----------
   One axis: everything centered, like the bracket. No logo above the title (the bracket carries the mark), the role on
   one line, the reel's caption is just the handle and views, one sentence on why, short links. */
#pantheon.pan { text-align: center; }
#pantheon .pan-head { justify-items: center; }
#pantheon .pan-role { justify-content: center; }
#pantheon .pan-show { max-width: 1120px; margin-left: auto; margin-right: auto; }
#pantheon .pan-reel figcaption { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
#pantheon .pan-reel figcaption b { color: var(--ink); font-weight: 650; }
#pantheon .pan-lead { max-width: 34ch; margin-left: auto; margin-right: auto; font: 400 clamp(26px, 2.4vw, 36px)/1.25 var(--serif); color: var(--ink); text-wrap: balance; }
#pantheon .pan-lead b { font-weight: 400; font-style: italic; color: var(--ink); }
#pantheon .pan-stats { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
#pantheon .pan-stats li { justify-items: center; }
#pantheon .pan-stats span { margin: 0 auto; }
@media (max-width: 760px) {
  #pantheon .pan-sys { text-align: left; }
  #pantheon .pan-lead { font-size: 24px; }
}
#pantheon .pan-lead b { white-space: nowrap; }
/* order (her note, Dec 1, late): the demo, the three numbers right under it, the bracket, then the Alexandr Wang paragraph */
#pantheon .pan-stats { margin-top: clamp(30px, 3.2vw, 48px); }
#pantheon .pan-sys { margin-top: clamp(56px, 5.6vw, 88px); }
#pantheon .pan-lead { max-width: 40ch; margin-top: clamp(48px, 5vw, 76px); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; }
/* the demo's cover is its own "Pantheon Portals" title frame (0:08), so its play button sits in the corner and the
   cover title overlay steps aside */
#pantheon .vp-demo .vp-cover .vp-title { display: none; }
#pantheon .vp-demo .vp-big { left: 28px; top: auto; bottom: 22px; translate: 0 0; }
#pantheon .vp-demo .vp-cover .vp-dur { left: 102px; bottom: 42px; }

/* ---------- Her pick A "Product page" (Dec 1, late) ----------
   Overrides everything above for the new markup: left-aligned like the other sections, title and role on one line,
   one big demo, the numbers in a row, then the line and the links as small buttons. */
#pantheon.pan-a { text-align: left; }
#pantheon.pan-a .pan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(18px, 2vw, 28px); }
#pantheon.pan-a .sec-title { margin: 0; }
#pantheon.pan-a .pan-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
#pantheon.pan-a .pan-role b { font: 650 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -0.01em; }
#pantheon.pan-a .pan-demo .vp { overflow: hidden; }
#pantheon.pan-a .pan-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); max-width: none; margin: clamp(26px, 2.8vw, 40px) 0 0; padding: 0; list-style: none; text-align: left; }
#pantheon.pan-a .pan-stats li { display: grid; justify-items: start; gap: 6px; }
#pantheon.pan-a .pan-stats b { font: 650 clamp(44px, 4.4vw, 64px)/0.95 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
#pantheon.pan-a .pan-stats span { margin: 0; max-width: 28ch; font-size: 15.5px; line-height: 1.4; color: var(--muted); }
#pantheon.pan-a .pan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 34px; margin-top: clamp(34px, 3.6vw, 52px); }
#pantheon.pan-a .pan-lead { flex: 1 1 420px; max-width: 34ch; margin: 0; font: 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); color: var(--ink); text-align: left; text-wrap: balance; }
#pantheon.pan-a .pan-lead b { font-weight: 400; font-style: italic; white-space: nowrap; }
#pantheon.pan-a .pan-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
#pantheon.pan-a .pan-pill { padding: 10px 16px; border-radius: 999px; background: var(--sheet); color: var(--acc); font-weight: 600; font-size: 15px; text-decoration: none; transition: translate 0.3s var(--e-out); }
@media (hover: hover) { #pantheon.pan-a .pan-pill:hover { translate: 0 -2px; } }
#pantheon.pan-a .pan-pill:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
@media (max-width: 760px) {
  #pantheon.pan-a .pan-stats { gap: 12px; }
  #pantheon.pan-a .pan-stats b { font-size: 34px; }
  #pantheon.pan-a .pan-stats span { font-size: 13.5px; }
}
/* the bracket, back in the product page (her ask): centered between the numbers and the line */
#pantheon.pan-a .pan-sys { margin-top: clamp(56px, 5.6vw, 88px); text-align: center; }
#pantheon.pan-a .pan-foot { margin-top: clamp(48px, 5vw, 72px); }

/* Dec 1, night (her note: "for pantheon the demo vid is too too big right now"): on computers the demo takes about
   two thirds of the row and the three numbers stand in a column beside it, so the video is about 40% smaller and the
   section is shorter. Phones and tablets keep the demo on top with the numbers under it. */
@media (min-width: 900px) {
  #pantheon.pan-a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(36px, 4.4vw, 72px); align-items: center; }
  #pantheon.pan-a > * { grid-column: 1 / -1; }
  #pantheon.pan-a > .pan-demo { grid-column: 1; }
  #pantheon.pan-a > .pan-stats { grid-column: 2; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 2.4vw, 34px); margin: 0; }
  #pantheon.pan-a .pan-stats b { font-size: clamp(42px, 3.8vw, 58px); }
}

/* ---------- Her mix of mockups 1 and 3 (Dec 1, night: "i like 1 ... i also like 3 ... mix those two") ----------
   One clean card (from 1): the words, numbers and buttons on the left, the demo on the right with her reel tucked over
   its corner. The demo is the root of the bracket (from 3), which branches down from it to the three steps. Phones stack
   it: words, the demo and reel, then the steps as a short list. Site colors, light or dark, no lines but the bracket. */
#pantheon.pan-mix { text-align: left; }
#pantheon .pm-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 3.6vw, 60px); align-items: center; padding: clamp(26px, 3.2vw, 48px); background: var(--sheet); }
#pantheon .pm-words .sec-title { margin: 0; }
#pantheon .pm-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 6px 0 0; }
#pantheon .pm-role b { font: 650 clamp(21px, 1.9vw, 27px)/1.15 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
#pantheon .pm-role span { font-size: 16px; font-weight: 500; color: var(--muted); }
#pantheon .pm-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: clamp(22px, 2.4vw, 32px) 0; padding: 0; list-style: none; }
#pantheon .pm-nums li { display: grid; align-content: start; gap: 6px; }
#pantheon .pm-nums b { font: 650 clamp(34px, 3.2vw, 46px)/0.95 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
#pantheon .pm-nums span { font-size: 14.5px; line-height: 1.35; color: var(--muted); }
#pantheon .pm-lead { max-width: 34ch; margin: 0; font: 400 clamp(20px, 1.7vw, 24px)/1.32 var(--serif); color: var(--ink); text-wrap: pretty; }
#pantheon .pm-lead i { white-space: nowrap; }
#pantheon .pm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
#pantheon.pan-mix .pan-pill { padding: 9px 14px; border-radius: 999px; background: var(--page); color: var(--acc); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: translate 0.3s var(--e-out); }
@media (hover: hover) { #pantheon.pan-mix .pan-pill:hover { translate: 0 -2px; } }
#pantheon.pan-mix .pan-pill:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* the demo, with the reel tucked over its lower left corner like a phone; the demo's play button moves to the middle */
#pantheon .pm-show { min-width: 0; }
#pantheon .pm-media { position: relative; padding-left: clamp(30px, 3.4vw, 48px); }
#pantheon .pm-media > .vp-demo { overflow: hidden; }
#pantheon .pm-reel { position: absolute; left: 0; bottom: 0; z-index: 2; width: 23%; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 4px var(--ink), 0 20px 34px -14px rgba(0, 0, 0, 0.6); }
#pantheon .pm-reel .vp { overflow: hidden; }
#pantheon.pan-mix .vp-demo .vp-big { left: 50%; top: 50%; bottom: auto; translate: -50% -50%; }
#pantheon.pan-mix .vp-demo .vp-cover .vp-dur { left: auto; right: 14px; bottom: 12px; }
#pantheon .pm-reel .vp-big { width: 40px; height: 40px; }
#pantheon .pm-reel .vp-big::after { left: 15px; top: 12px; border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
#pantheon .pm-reel .vp-cover .vp-dur, #pantheon .pm-reel .vp-cover::before { display: none; }

/* the bracket hangs from the demo's middle (it starts past the reel's room, so it is centered under the demo) */
#pantheon.pan-mix .pan-sys { margin: 0; padding-left: clamp(30px, 3.4vw, 48px); text-align: center; }
#pantheon.pan-mix .pan-wire { height: 44px; }
#pantheon.pan-mix .pan-steps { gap: clamp(10px, 1.4vw, 20px); }
#pantheon.pan-mix .pan-steps > li { gap: 6px; padding-top: 20px; }
#pantheon.pan-mix .pan-steps h4 { font-size: 16.5px; }
#pantheon.pan-mix .pan-steps p { max-width: 22ch; font-size: 14.5px; line-height: 1.4; }

@media (max-width: 899px) {
  #pantheon .pm-card { grid-template-columns: minmax(0, 1fr); }
  #pantheon .pm-media { padding-left: 0; padding-bottom: clamp(40px, 10vw, 70px); }
  #pantheon .pm-reel { left: auto; right: 12px; bottom: 0; width: 26%; }
  #pantheon.pan-mix .pan-sys { padding-left: 0; margin-top: 8px; text-align: left; }
}
/* the bracket, fixed (Dec 1, night, her note: "pantheon bracket looks weird rn"): it was squashed against the demo with
   faint lines. Now a clear stem drops from the demo, the bar spreads, three branches drop to glowing points that sit
   exactly on the branch ends (no grid gap, so the columns' centers are at 1/6, 1/2 and 5/6), and the steps read larger */
#pantheon.pan-mix .pan-sys { margin-top: 0; }
#pantheon.pan-mix .pan-wire { height: 76px; }
#pantheon.pan-mix .pan-wire path { stroke: color-mix(in srgb, var(--ink) 46%, transparent); stroke-width: 1.5; }
#pantheon.pan-mix .pan-steps { gap: 0; }
#pantheon.pan-mix .pan-steps > li { padding: 22px 8px 0; }
#pantheon.pan-mix .pan-steps > li::before { top: -6px; width: 12px; height: 12px; margin-left: -6px; }
#pantheon.pan-mix .pan-steps h4 { font-size: 17.5px; }
#pantheon.pan-mix .pan-steps p { max-width: 24ch; font-size: 15px; }

/* ---------- Pantheon's backdrop (Dec 1, night, her note: "pantheon also needs a delineation with the backsplash") ----------
   Her old banner, cleaned (images/band-pantheon.webp): the navy halftone, no logo or tagline, dots on the right. It's
   already dark, so it isn't dimmed like the photo backdrops, and the halftone sits to the right of the words. The card
   follows on the sheet like every section; the role now opens the card. */
#pantheon.pan:has(> .band) { padding-top: 0; }
#pantheon .band-bg { filter: none; object-position: 100% 50%; }
#pantheon .band { background: #1D2434; }
#pantheon .pm-role { margin-top: 0; }
#pantheon .pm-role b { font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 760px) { #pantheon .band-bg { object-position: 45% 50%; } }

/* Dec 2 (her notes): the reel is gone, pantheonprep.com is the one main link, and the demos sit in the steps they
   show: Aftershock under Custom competitions, Zeus under Student rankings */
#pantheon .pan-step-link { display: inline-flex; gap: 4px; margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--acc); text-decoration: none; }
#pantheon .pan-step-link:hover, #pantheon .pan-step-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Portals on its own, full width (Dec 1, night, her notes) ----------
   "pantheon video is just for the portals though", "just say that portals are another part of pantheon", "it's not full
   wide screen as i want it to be". The bracket starts from the Pantheon mark again (like the deck) in the card's right
   column, and the Portals demo plays edge to edge under the card, with one line saying what Portals is. */
#pantheon .pm-show { display: grid; justify-items: center; }
#pantheon.pan-mix .pan-root { display: block; height: clamp(30px, 2.6vw, 40px); width: auto; margin: 0 auto; }
[data-theme="dark"] #pantheon.pan-mix .pan-root { filter: brightness(0) invert(0.94); }
#pantheon.pan-mix .pan-sys { width: 100%; padding-left: 0; margin-top: 10px; }
#pantheon.pan-mix .pan-wire { height: 64px; }
#pantheon .pm-portals { margin: clamp(44px, 4.6vw, 72px) calc(50% - 50vw) 0; }
#pantheon .pm-portals-k { max-width: 70ch; margin: 0 0 clamp(16px, 1.6vw, 22px); padding: 0 var(--pad, 52px); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); }
#pantheon .pm-portals-k b { color: var(--ink); font-weight: 650; }
#pantheon .pm-portals > .vp-demo { width: 100%; margin: 0; border-radius: 0; overflow: hidden; }
#pantheon.pan-mix .pm-portals .vp-demo .vp-big { width: 84px; height: 84px; }
#pantheon.pan-mix .pm-portals .vp-demo .vp-big::after { left: 33px; top: 26px; border-left-width: 24px; border-top-width: 16px; border-bottom-width: 16px; }
@media (max-width: 899px) { #pantheon .pm-show { margin-top: 18px; } }

/* Portals, smaller (Dec 2, her note: "for portals the video is too big"). It no longer runs edge to edge: inside the page
   margins, its line on the left and the demo on the right at about 60% of the row, the same split as the card above it.
   Phones stack them, the demo at the content width. */
#pantheon .pm-portals { margin-left: 0; margin-right: 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 3.6vw, 60px); align-items: center; }
#pantheon .pm-portals-k { margin: 0; padding: 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); }
#pantheon.pan-mix .pm-portals .vp-demo .vp-big { width: 68px; height: 68px; }
#pantheon.pan-mix .pm-portals .vp-demo .vp-big::after { left: 26px; top: 21px; border-left-width: 19px; border-top-width: 13px; border-bottom-width: 13px; }
@media (max-width: 899px) {
  #pantheon .pm-portals { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
/* the Portals line, in the card now that the demo video is off the page (Dec 2, her note: "remove the mockup") */
#pantheon .pm-portals-line { max-width: 40ch; margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
#pantheon .pm-portals-line b { color: var(--ink); font-weight: 650; }
/* the product-shot backdrop (Dec 2): Zeus's leaderboards on the right, navy on the left under the title. Phones show more
   of the screen. */
@media (max-width: 760px) { #pantheon .band-bg { object-position: 36% 50%; } }
/* Portals, larger (Dec 2, her note: "portals thing and text description needs to be larger"): the demo takes about
   two thirds of the row and the line is bigger */
@media (min-width: 900px) {
  #pantheon .pm-portals { grid-template-columns: minmax(0, 3.3fr) minmax(0, 6.7fr); }
}
#pantheon .pm-portals-k { max-width: 22ch; font-size: clamp(20px, 2vw, 30px); line-height: 1.4; }
@media (max-width: 899px) { #pantheon .pm-portals-k { max-width: none; font-size: 19px; } }

/* ---------- Dec 2: Portals joins the bracket (her note: "add one part for portals like students prepare on the
   portals"). Four steps now: Preparation (Portals, its link drops to the demo below), Custom competitions, Student
   rankings, Talent search. The wire branches to four points. */
@media (min-width: 761px) { #pantheon .pan-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#pantheon.pan-mix .pan-steps p { max-width: 20ch; }
html.motion #pantheon .pan-sys .pan-steps > li:nth-child(4) { transition-delay: 0.9s; }

/* ---------- Dec 2, no card (her notes: "why is pantheon stuff on a card that's ugly it should match conventions of
   everything else", "demo for pantheon portals nested better in that place", "pantheonprep.com also linked under
   preparation", "i need to click the backsplash and see something or needs to be a better highlight") ----------
   - No box: the role and her line on the left, the three numbers in Debate's size and style on the right.
   - The bracket runs across the page. Preparation (Portals) is its first branch, and the Portals demo hangs under it,
     joined by a short stem of the bracket's own line. On phones it sits right under that step.
   - The backdrop opens the whole Zeus leaderboard screen (data-full, features/bands.js), and brightens under the pointer. */
#pantheon .pm-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
#pantheon .pm-top .pm-lead { max-width: 30ch; margin-top: 14px; }
#pantheon .pm-nums { margin: 0; gap: clamp(18px, 2.2vw, 36px); }
#pantheon .pm-nums b { font-size: clamp(42px, 4.4vw, 68px); line-height: 0.95; margin-bottom: 2px; }
#pantheon .pm-nums li:first-child b { color: var(--acc); }
#pantheon .pm-nums span { font-size: 16.5px; line-height: 1.4; }
#pantheon .pm-show { display: block; margin-top: clamp(56px, 6vw, 96px); text-align: center; }
#pantheon.pan-mix .pan-sys { padding-left: 0; }
#pantheon.pan-mix .pan-steps p { max-width: 24ch; font-size: 15.5px; }
#pantheon.pan-mix .pan-steps h4 { font-size: var(--t-card, 19px); }
@media (min-width: 761px) {
  #pantheon .pan-steps { --cg: clamp(16px, 2.4vw, 36px); column-gap: var(--cg); row-gap: 0; grid-template-rows: auto auto auto auto; }
  #pantheon .pan-steps > li:not(.pan-prep) { grid-row: 1 / 4; }
  #pantheon .pan-steps > li.pan-prep { display: contents; }
  #pantheon .pan-steps > li.pan-prep::before { display: none; }   /* its dot lives on its h4 here (a contents box still draws ::before, which floated to the top of the section) */
  #pantheon .pan-prep > h4 { grid-column: 1; grid-row: 1; position: relative; justify-self: center; padding-top: 20px; }
  #pantheon .pan-prep > h4::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 8%, transparent), 0 0 18px color-mix(in srgb, var(--acc) 35%, transparent); }
  #pantheon .pan-prep > p { grid-column: 1; grid-row: 2; justify-self: center; margin-top: 6px; }
  #pantheon .pan-prep > .pan-step-link { grid-column: 1; grid-row: 3; justify-self: center; margin-top: 8px; }
  /* the demo under Preparation: a stem drops from the step to the video's top edge */
  #pantheon .pan-prep > .pm-portals { position: relative; grid-column: 1 / -1; grid-row: 4; margin: 34px 0 0; text-align: left; grid-template-columns: minmax(0, 6.4fr) minmax(0, 3.6fr); align-items: center; }
  #pantheon .pan-prep > .pm-portals::before { content: ""; position: absolute; left: calc((100% - 3 * var(--cg)) / 8 - 0.75px); top: -30px; width: 1.5px; height: 30px; background: color-mix(in srgb, var(--ink) 46%, transparent); }
  #pantheon .pan-prep > .pm-portals .pm-portals-k { max-width: 24ch; font-size: clamp(19px, 1.7vw, 26px); }
  html.motion #pantheon .pan-sys:not(.in) .pan-prep > * { opacity: 0; translate: 0 14px; }
  html.motion #pantheon .pan-sys .pan-prep > * { transition: opacity 0.7s var(--e-out), translate 0.7s var(--e-out); transition-delay: 0.45s; }
}
@media (max-width: 899px) { #pantheon .pm-top { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
@media (max-width: 760px) {
  #pantheon .pan-prep .pm-portals { margin: 14px 0 6px; width: 100%; }
  #pantheon .pm-nums b { font-size: 40px; }
  #pantheon .pm-nums span { font-size: 14.5px; }
}
#pantheon .band .band-bg { transition: filter 0.5s ease, scale 0.9s var(--e-out, ease-out); }
@media (hover: hover) { #pantheon .band:has(.band-open:hover) .band-bg { filter: brightness(1.12); scale: 1.02; } }
/* phones: each step's dot sits beside its title, not above it */
@media (max-width: 760px) { #pantheon.pan-mix .pan-steps > li { padding-top: 0; } #pantheon .pan-steps > li::before { top: 8px; } }

/* ---------- Dec 2, the demo inside Preparation (her note: "the video is embedded really weirdly also now no need to explain
   portals rework it"). No Portals line and no stem: the demo sits in Preparation's own column, under its link, the
   width of the column, like a thumbnail that plays where it is (the player's own full-screen button makes it big).
   The four steps stay one even row on top. */
@media (min-width: 761px) {
  #pantheon .pan-steps { grid-template-rows: none; row-gap: 0; }
  #pantheon .pan-steps > li:not(.pan-prep) { grid-row: auto; }
  #pantheon .pan-steps > li.pan-prep { display: grid; }
  #pantheon .pan-steps > li.pan-prep::before { display: block; }
  #pantheon .pan-prep > h4 { padding-top: 0; }
  #pantheon .pan-prep > h4::before { display: none; }
  #pantheon .pan-prep > p, #pantheon .pan-prep > .pan-step-link { margin-top: 0; }
  #pantheon .pan-prep > .pm-portals { display: block; margin: 12px 0 0; width: 100%; }
  #pantheon .pan-prep > .pm-portals::before { display: none; }
}
#pantheon .pan-prep .pm-portals { display: block; }
#pantheon .pan-prep .pm-portals > .vp-demo { width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.6); }
#pantheon.pan-mix .pan-prep .pm-portals .vp-demo .vp-big { width: 54px; height: 54px; }
#pantheon.pan-mix .pan-prep .pm-portals .vp-demo .vp-big::after { left: 21px; top: 17px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }

/* ---------- Dec 2, layout A (her pick from lab/pantheon-compact.html) ----------
   About half the old height. Left: her role, the Alexandr Wang line, the three numbers (Debate's style, the first in
   the accent). Right: the Portals demo. Below: the four steps in one row, numbered and joined by a thin line, each
   with its link. Phones stack it and the steps become a short numbered list. */
#pantheon .pa-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 3.6vw, 56px); align-items: center; }
#pantheon .pa-role { margin: 0; }
#pantheon .pa-role b { font: 700 clamp(22px, 1.9vw, 28px)/1.15 var(--sans); color: var(--ink); }
#pantheon .pa-lead { max-width: 34ch; margin: 12px 0 0; font: 400 clamp(19px, 1.6vw, 23px)/1.35 var(--serif); color: var(--ink); text-wrap: pretty; }
#pantheon .pa-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: clamp(22px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; }
#pantheon .pa-nums li { display: grid; align-content: start; gap: 6px; }
#pantheon .pa-nums b { font: 650 clamp(40px, 4vw, 58px)/0.95 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
#pantheon .pa-nums li:first-child b { color: var(--acc); }
#pantheon .pa-nums span { font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }
#pantheon .pa-demo { min-width: 0; }
#pantheon .pa-demo > .vp-demo { width: 100%; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.55); }
#pantheon .pa-flow { margin-top: clamp(32px, 3.4vw, 48px); }
#pantheon .pa-k { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
#pantheon .pa-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin: 0; padding: 0; list-style: none; counter-reset: pa; }
#pantheon .pa-steps li { position: relative; padding-top: 26px; }
#pantheon .pa-steps li::before { counter-increment: pa; content: counter(pa); position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: var(--page); font: 700 11.5px/19px var(--sans); text-align: center; }
#pantheon .pa-steps li::after { content: ""; position: absolute; left: 28px; right: -6px; top: 9px; height: 1.5px; background: color-mix(in srgb, var(--ink) 26%, transparent); }
#pantheon .pa-steps li:last-child::after { display: none; }
#pantheon .pa-steps h4 { margin: 0; font: 700 clamp(16.5px, 1.3vw, 18px)/1.25 var(--sans); color: var(--ink); }
#pantheon .pa-steps p { margin: 5px 0 0; max-width: 28ch; font-size: 15px; line-height: 1.42; color: var(--ink-2); }
#pantheon .pa-steps a { display: inline-flex; gap: 4px; margin-top: 7px; font-size: 14.5px; font-weight: 600; color: var(--acc); text-decoration: none; }
#pantheon .pa-steps a:hover, #pantheon .pa-steps a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { #pantheon .pa-top { grid-template-columns: minmax(0, 1fr); } #pantheon .pa-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } #pantheon .pa-steps li:nth-child(2)::after { display: none; } }
@media (max-width: 560px) {
  #pantheon .pa-nums b { font-size: 36px; }
  #pantheon .pa-nums span { font-size: 13.5px; }
  #pantheon .pa-steps { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  #pantheon .pa-steps li { padding: 0 0 0 30px; }
  #pantheon .pa-steps li::before { top: 1px; }
  #pantheon .pa-steps li::after { display: none; }
}
/* Dec 2: the plain description sits right under her role, and her Alexandr Wang line follows as the smaller serif */
#pantheon .pa-what { max-width: 46ch; margin: 12px 0 0; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
#pantheon .pa-what b { font-weight: 650; }
#pantheon .pa-what + .pa-lead { margin-top: 12px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }

/* Dec 3: her pick C, the whole pipeline, is now live screens: features/pantheon-band.css and .js. */

/* Dec 3 (her note: "put my role a little more subtly for pantheon"): the role is a quiet line, the size of the other
   sections' role lines, in the muted ink, so the description under it leads. */
html #pantheon .pa-role b { font: 600 clamp(15.5px, 1.15vw, 17px)/1.3 var(--sans); color: var(--muted); letter-spacing: 0.01em; }
html #pantheon .pa-role { margin-bottom: 2px; }
