/* Pantheon, the deck's story (Dec 3). Her notes: "look at pantheon deck 'yayyyy' and see what else would be good to add
   and explain this startup", "storyline of pantheon needs to be better articulated", "stuff is too spread out", "the coo
   title not amazing ... host it better", "pantheon should have a cute little pantheon hat or logo in the backsplash this
   backsplash should be larger than everything else". Order: the problem, the insight, the proof, what we built, an
   example, how it works. Each part opens on the same small label (.pa-k). */

/* ---------- the backdrop: taller than the other bands, with the deck's temple on the title like a hat ---------- */
@media (min-width: 641px) { html main > #pantheon.sec > .band { min-height: clamp(420px, 37vw, 560px); } }
@media (max-width: 640px) { html main > #pantheon.sec > .band { min-height: 430px; } }
/* Dec 3, her notes: "pantheon logo is tilted and weird and the words aren't centered on that", "just write that i'm coo
   don't do the ai looking tag thing". The temple stands straight, and the temple, title, line and role are one centered
   column (the column itself still sits at the bottom left, like every backdrop). */
#pantheon .band .band-text { display: flex; flex-direction: column; align-items: center; text-align: center; width: fit-content; }
#pantheon .band .pb-mark { display: block; width: clamp(58px, 5.4vw, 90px); height: auto; margin: 0 0 clamp(2px, 0.4vw, 6px); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
#pantheon .band .sec-title { font-size: clamp(56px, 6.4vw, 104px); }
#pantheon .band .pb-role { margin: clamp(8px, 0.8vw, 12px) 0 0; font: 500 clamp(15.5px, 1.2vw, 17.5px)/1.3 var(--sans); color: rgba(255, 255, 255, 0.82); }

/* ---------- the story, closer together ---------- */
#pantheon .pn-why { max-width: 50em; }
#pantheon .pn-hook { margin: 0; font: 600 clamp(22px, 2.1vw, 31px)/1.3 var(--sans); letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
#pantheon .pn-hook em, #pantheon .pn-built em { font: italic 400 1.16em/1 var(--serif); letter-spacing: 0; }
#pantheon .pn-hook s { color: var(--muted); font-weight: 500; text-decoration-thickness: 0.07em; }
#pantheon .pn-sub { margin: 12px 0 0; max-width: 52ch; font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.5; color: var(--ink-2); }
#pantheon .pn-built { margin: 0 0 12px; max-width: 18em; font: 600 clamp(24px, 2.3vw, 34px)/1.18 var(--sans); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }

/* every part sits the same, shorter step apart */
html #pantheon .p20, html #pantheon .pa-top, html #pantheon .pw, html #pantheon .pa-flow { margin-top: clamp(44px, 4.6vw, 68px); margin-bottom: 0; }
html #pantheon .p20 { align-items: start; }
html #pantheon .pa-top { align-items: center; }
#pantheon .pa-k { margin-bottom: clamp(12px, 1.1vw, 16px); }


/* ---------- the journey (Dec 3, her note: "it should be a journey as you scroll down vertically") ----------
   One rail runs down the left of the five parts. A garnet line fills it as you scroll (--p, from features/pantheon-story.js)
   and each part's label gets a dot on the rail that lights when you reach it (.on). */
#pantheon .pn-journey { --rx: 9px; --pl: clamp(40px, 4.4vw, 72px); position: relative; padding-left: var(--pl); }
#pantheon .pn-rail { position: absolute; left: var(--rx); top: 8px; bottom: 0; width: 2px; translate: -50% 0; border-radius: 2px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
#pantheon .pn-rail i { position: absolute; inset: 0; border-radius: inherit; background: var(--acc); transform-origin: top; scale: 1 var(--p, 0); }
#pantheon .pn-journey > :not(.pn-rail) { position: relative; }
#pantheon .pn-journey > :not(.pn-rail) > .pa-k, #pantheon .pn-journey .pa-k { position: static; }
#pantheon .pn-journey .pa-k::before { content: ""; position: absolute; left: calc(var(--rx) - var(--pl) - 7px); width: 14px; height: 14px; margin-top: -1px; border-radius: 50%;
  background: var(--bg, #F4EFE6); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 22%, transparent); transition: background-color 0.4s ease, box-shadow 0.4s ease, scale 0.5s var(--e-out, ease); }
#pantheon .pn-journey .on .pa-k::before, #pantheon .pn-journey .pa-k.on::before { background: var(--acc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--acc) 16%, transparent); scale: 1.08; }
[data-theme="dark"] #pantheon .pn-journey .pa-k::before { background: #121110; }
[data-theme="dark"] #pantheon .pn-journey .on .pa-k::before { background: var(--acc); }
html #pantheon .pn-journey > .p20, html #pantheon .pn-journey > .pa-top, html #pantheon .pn-journey > .pw, html #pantheon .pn-journey > .pa-flow { margin-top: clamp(52px, 5vw, 76px); }
@media (max-width: 640px) { #pantheon .pn-journey { --rx: 6px; --pl: 28px; } #pantheon .pn-journey .pa-k::before { width: 12px; height: 12px; left: calc(var(--rx) - var(--pl) - 6px); } }
#pantheon .pn-hook s { white-space: nowrap; }

/* ---------- Dec 3 (her note: "its too long"): the proof is one part, the 17 of 20 beside the Alexandr Wang search ----------
   The 20 are a short two-column list (name, then the competition in grey), and the three with none stay faded. The
   journey's parts sit a little closer. */
#pantheon .pn-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
html #pantheon .pn-proof .p20 { display: block; margin: 0; }
#pantheon .pn-proof .p20-n { font-size: clamp(64px, 6.4vw, 104px); }
#pantheon .pn-proof .p20-h { margin-top: 8px; font-size: clamp(21px, 1.8vw, 26px); max-width: 20em; }
#pantheon .pn-proof .p20-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin-top: 18px; }
#pantheon .pn-proof .p20-grid li { display: block; padding: 3px 0; border-radius: 0; background: none; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 1.35; }
#pantheon .pn-proof .p20-grid li b { display: inline; font: 650 14px/1.35 var(--sans); }
#pantheon .pn-proof .p20-grid li span { display: none; }
#pantheon .pn-proof .p20-grid li i { display: inline; margin: 0 0 0 6px; font: 400 13.5px/1.35 var(--sans); color: var(--muted); }
#pantheon .pn-proof .p20-grid li.n, [data-theme="dark"] #pantheon .pn-proof .p20-grid li.n { box-shadow: none; background: none; }
.motion #pantheon .pn-proof .p20.pre li.y:not(.lit) { background: none; box-shadow: none; opacity: 0.35; scale: 1; }
[data-theme="dark"] #pantheon .pn-proof .p20-grid li, [data-theme="dark"] .motion #pantheon .pn-proof .p20.pre li.y:not(.lit) { background: none; box-shadow: none; }
#pantheon .pn-proof .p20-grid li.y.lit i { color: var(--ink-2); }
html #pantheon .pn-proof .pw { display: block; margin: 0; }
#pantheon .pn-proof .pw-words { margin: 0 0 14px; }
#pantheon .pn-proof .pw-h { margin: 0; font-size: clamp(22px, 1.9vw, 28px); }
#pantheon .pn-proof .pw-demo { justify-self: stretch; width: 100%; max-width: none; }
html #pantheon .pn-journey > .pn-proof { margin-top: clamp(44px, 4.2vw, 64px); }
html #pantheon .pn-journey > .pa-top, html #pantheon .pn-journey > .pa-flow { margin-top: clamp(44px, 4.2vw, 64px); }
@media (max-width: 1000px) { #pantheon .pn-proof { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { #pantheon .pn-proof .p20-grid { grid-template-columns: minmax(0, 1fr); } }
#pantheon .pn-proof .p20-grid li { white-space: normal; overflow: visible; padding: 2px 0 3px; }
