/* DEMODAY: Paddle Night. A late-night TV set: tangerine studio, cocoa floor, cream cards with ink outlines. */
/* Hallmark · macrostructure: scroll-scene TV set · genre: playful · pre-emit critique: P5 H4 E5 S4 R5 V5 */
@font-face { font-family: Shrikhand; font-display: swap; src: url(/assets/fonts/shrikhand-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 400; font-display: swap; src: url(/assets/fonts/familjen-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 500; font-display: swap; src: url(/assets/fonts/familjen-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 600; font-display: swap; src: url(/assets/fonts/familjen-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 700; font-display: swap; src: url(/assets/fonts/familjen-grotesk-latin-700-normal.woff2) format('woff2'); }

:root {
  --tang: #ec7a3c; --cocoa: #2a1810; --cream: #ede6d6; --rose: #f2a3b3; --butter: #ffd46b;
  --green: #256c42; --red: #ff4b3e; --ink: #1b1a1f; --soft: #3f2417;
  --top: 68px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: calc(var(--top) + 8px); }
body { background: var(--tang); color: var(--cocoa); font: 18px/1.5 'Familjen Grotesk', sans-serif; overflow-x: hidden; }
h1, h2, h3 { font-family: Shrikhand, serif; font-weight: 400; line-height: 1.04; }
a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.pn-cocoa :focus-visible, .pn-foot :focus-visible { outline-color: var(--butter); }

/* ---------- header ---------- */
.pn-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; min-height: var(--top); padding: 10px 4vw; border-bottom: 4px solid var(--ink); background: var(--tang); }
.pn-brand { display: flex; align-items: center; gap: 10px; font: 30px/1 Shrikhand, serif; color: var(--cocoa); text-decoration: none; flex: none; }
.pn-brand img { width: 44px; height: 44px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.pn-brand:hover img { transform: rotate(-12deg) scale(1.06); }
.pn-nav { display: flex; gap: 22px; margin-left: 20px; font-weight: 600; }
.pn-nav a { text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; }
.pn-nav a:hover, .pn-nav a.is-here { border-bottom-color: var(--cocoa); }
.pn-act { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pn-chip, .pn-btn { display: inline-flex; align-items: center; gap: 6px; border: 3px solid var(--ink); border-radius: 999px; padding: 7px 16px; font: 600 16px/1.2 'Familjen Grotesk', sans-serif; background: var(--cream); color: var(--cocoa); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.pn-chip:hover, .pn-btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.pn-chip:active, .pn-btn:active { transform: none; box-shadow: none; }
.pn-ca b { font-weight: 700; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
.pn-buy { background: var(--butter); }
.pn-phantom.is-on { background: var(--green); color: var(--cream); }
.pn-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cocoa); color: var(--cream); display: grid; place-items: center; transition: transform .2s; }
.pn-ico:hover { transform: rotate(-10deg) scale(1.08); }

/* ---------- the set ---------- */
.pn-set { position: relative; background: var(--tang); }
.pn-run { position: relative; height: 330vh; }
.pn-stick { position: sticky; top: var(--top); height: calc(100vh - var(--top)); min-height: 600px; overflow: hidden; }
.pn-hall { position: absolute; inset: 0; }
.pn-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pn-title { position: absolute; z-index: 2; left: 4.5vw; top: 6vh; width: min(470px, 34vw); }
.pn-title h1 { font-size: clamp(40px, 4vw, 62px); }
.pn-title p { margin: 16px 0 22px; font-size: 19px; max-width: 32ch; }
.pn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pn-title .pn-btn { padding: 12px 24px; font-size: 18px; box-shadow: 5px 5px 0 var(--ink); }
.pn-title .pn-btn:hover { box-shadow: 7px 7px 0 var(--ink); }
.pn-btn-red { background: var(--red); color: var(--ink); }
.pn-tags { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.pn-stick .pn-tags { margin-top: 20px; }
.pn-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; background: var(--cocoa); color: var(--cream); font-size: 15px; }
.pn-tag b { font-weight: 700; color: var(--butter); }
.pn-lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 75, 62, .3); animation: pn-onair 1.6s ease-in-out infinite; flex: none; }
@keyframes pn-onair { 50% { opacity: .35; box-shadow: 0 0 0 0 rgba(255, 75, 62, 0); } }
.pn-cue { position: absolute; z-index: 2; right: 4.5vw; bottom: 22px; text-align: right; color: var(--cream); font-size: 19px; font-weight: 500; max-width: 46ch; min-height: 1.5em; transition: opacity .3s; }

/* svg parts that are HTML */
.pn-mark { cursor: pointer; }
.pn-mark:focus-visible { outline: none; }
.pn-mark:focus-visible rect { stroke: var(--ink); stroke-width: 7; }
.pn-cheque { height: 100%; background: var(--cream); border: 5px solid var(--ink); border-radius: 18px; padding: 18px 26px; color: var(--cocoa); font-family: 'Familjen Grotesk', sans-serif; position: relative; box-shadow: 8px 8px 0 var(--ink); }
.pn-cheque-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.pn-cheque-top b { font: 26px Shrikhand, serif; }
.pn-cheque-to { margin-top: 10px; font-size: 20px; border-bottom: 2px solid var(--cocoa); }
.pn-cheque-amt { font: 44px/1.2 Shrikhand, serif; margin-top: 4px; }
.pn-cheque-memo { font-size: 16px; }
.pn-cheque-memo a { font-weight: 700; }
.pn-pen { position: absolute; right: 22px; bottom: 26px; transform: rotate(-7deg); color: #c4271c; font: 700 24px 'Familjen Grotesk', sans-serif; border: 3px solid #c4271c; border-radius: 12px; padding: 2px 10px; background: var(--cream); }
.pn-bubble-slot { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 0 0 26px; }
.pn-bubble { position: relative; background: var(--cream); color: var(--cocoa); border: 4px solid var(--ink); border-radius: 22px; padding: 12px 16px; font-size: 16px; line-height: 1.35; box-shadow: 5px 5px 0 var(--ink); max-height: 100%; overflow: hidden; }
.pn-bubble::after { content: ''; position: absolute; left: 34px; bottom: -18px; width: 26px; height: 26px; background: var(--cream); border: 4px solid var(--ink); border-top: 0; border-left: 0; transform: rotate(45deg) skew(10deg, 10deg); }
.pn-bubble b { display: block; font: 19px Shrikhand, serif; margin-bottom: 2px; }

/* ---------- bands ---------- */
.pn-band { padding: 96px 4.5vw; position: relative; }
.pn-band h2 { font-size: clamp(40px, 4.4vw, 68px); max-width: 16ch; }
.pn-lede { font-size: 21px; max-width: 54ch; margin: 18px 0 40px; }
.pn-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pn-btn-small { padding: 6px 14px; font-size: 15px; }
.pn-cocoa { background: var(--cocoa); color: var(--cream); border-top: 4px solid var(--ink); }
.pn-cocoa .pn-btn { border-color: var(--butter); }
.pn-rose { background: var(--rose); border-top: 4px solid var(--ink); }
.pn-butter { background: var(--butter); border-top: 4px solid var(--ink); }
.pn-cream { background: var(--cream); border-top: 4px solid var(--ink); }

/* lineup: the founder seats */
.pn-seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pn-seats .dd-slot { border: 4px solid var(--butter); border-radius: 22px; padding: 22px; min-height: 220px; color: var(--cream); display: flex; flex-direction: column; gap: 8px; text-decoration: none; position: relative; transition: transform .25s, background .25s; }
.pn-seats a.dd-slot:hover { transform: translateY(-6px) rotate(-1deg); background: rgba(255, 212, 107, .08); }
.pn-seats .dd-slot-open { border-style: dashed; }
.pn-seat-face { width: 64px; height: 64px; border-radius: 18px; background: var(--butter); border: 3px solid var(--cream); display: grid; place-items: center; font: 30px Shrikhand, serif; color: var(--cocoa); }
.pn-seat-name { font: 28px/1.05 Shrikhand, serif; color: var(--butter); overflow-wrap: anywhere; }
.pn-seat-sub { font-size: 16px; opacity: .9; }
.pn-seat-thesis { font-size: 16px; }
.pn-votebar { margin-top: auto; height: 12px; border-radius: 99px; background: rgba(237, 230, 214, .2); overflow: hidden; }
.pn-votebar i { display: block; height: 100%; background: var(--butter); border-radius: 99px; transition: width .6s; }
.pn-seat-votes { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; align-items: center; }
.pn-vote { border: 3px solid var(--butter); background: var(--butter); color: var(--cocoa); border-radius: 999px; padding: 4px 14px; font: 700 15px 'Familjen Grotesk', sans-serif; cursor: pointer; }
.pn-vote:hover { background: var(--cream); }
.pn-vote[disabled] { opacity: .55; cursor: default; }
.pn-script { margin-top: 44px; max-width: 900px; border-top: 3px dashed rgba(237, 230, 214, .4); padding-top: 26px; }
.pn-script-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.pn-script-head b { font: 28px Shrikhand, serif; color: var(--butter); }
.pn-lines { list-style: none; padding: 0; display: grid; gap: 12px; max-height: 460px; overflow: auto; }
.pn-lines li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; font-size: 17px; }
.pn-lines li b { color: var(--butter); font-weight: 700; }
.pn-lines li.is-vc b { color: var(--rose); }

/* panel: the VC cards */
.pn-judges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.pn-judge { background: var(--cream); border: 5px solid var(--ink); border-radius: 26px; padding: 26px; box-shadow: 8px 8px 0 var(--ink); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s; }
.pn-judge:hover { transform: translate(-3px, -6px) rotate(-1deg); box-shadow: 11px 14px 0 var(--ink); }
.pn-judge-face { width: 76px; height: 76px; border-radius: 50%; background: var(--butter); border: 4px solid var(--ink); display: grid; place-items: center; font: 36px Shrikhand, serif; }
.pn-judge h3 { font-size: 34px; margin-top: 12px; }
.pn-judge q { display: block; margin-top: 10px; font-size: 19px; }
.pn-judge-cash { margin-top: 16px; font-size: 16px; color: var(--soft); }
.pn-judge-cash b { color: var(--cocoa); }
.pn-picks { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 4px; font-size: 16px; }
.pn-picks li { display: flex; justify-content: space-between; gap: 10px; border-top: 2px dotted var(--soft); padding-top: 4px; }

/* deals and board: ruled stubs */
.pn-stub { border: 4px solid var(--ink); border-radius: 22px; background: var(--cream); padding: 26px 30px; max-width: 980px; box-shadow: 8px 8px 0 var(--ink); }
.pn-cream .pn-stub { background: var(--butter); }
.pn-scroll { overflow-x: auto; }
.pn-sheet { width: 100%; border-collapse: collapse; font-size: 17px; }
.pn-sheet th { text-align: left; font-weight: 700; padding: 6px 10px 10px; border-bottom: 3px solid var(--cocoa); }
.pn-sheet td { padding: 10px; border-bottom: 2px dashed rgba(42, 24, 16, .35); vertical-align: top; }
.pn-sheet tbody:empty { display: none; }
.pn-sheet:has(tbody:empty) { display: none; }
.pn-sheet a { font-weight: 700; }
.pn-empty { font-size: 19px; }
.pn-soft { color: var(--soft); }

/* enter */
.pn-enter { text-align: center; padding: 120px 4.5vw; background: var(--tang); border-top: 4px solid var(--ink); }
.pn-enter h2 { font-size: clamp(44px, 5vw, 76px); max-width: 14ch; margin: 0 auto 22px; }
.pn-enter > p { font-size: 20px; max-width: 52ch; margin: 0 auto 30px; }
.pn-enter > .pn-btn { padding: 14px 28px; font-size: 19px; box-shadow: 6px 6px 0 var(--ink); }
.pn-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1060px; margin: 64px auto 0; text-align: left; }
.pn-rules p { background: var(--cream); border: 4px solid var(--ink); border-radius: 20px; padding: 20px 22px; font-size: 17px; }
.pn-rules b { display: block; font: 24px Shrikhand, serif; margin-bottom: 4px; }

/* sub pages (/round, /vcs, /enter, /founder) */
.pn-page { padding: 64px 4.5vw 96px; min-height: 70vh; background: var(--cream); }
.pn-page h1 { font-size: clamp(40px, 4.6vw, 70px); max-width: 18ch; }
.pn-page .pn-lede { margin-bottom: 30px; }
.pn-page .pn-judges { margin-top: 30px; }
.pn-page .pn-seats .dd-slot { background: var(--cocoa); }
.pn-back { display: inline-block; margin-bottom: 22px; font-weight: 600; }
.pn-form { display: grid; gap: 14px; max-width: 620px; background: var(--butter); border: 4px solid var(--ink); border-radius: 22px; padding: 26px; box-shadow: 8px 8px 0 var(--ink); }
.pn-form label { font-weight: 700; }
.pn-form input { font: 500 17px 'Familjen Grotesk', sans-serif; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); color: var(--cocoa); width: 100%; }
.pn-form .pn-btn { justify-self: start; }
.pn-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 30px; }
.pn-stat { background: var(--butter); border: 4px solid var(--ink); border-radius: 18px; padding: 12px 18px; }
.pn-stat b { display: block; font: 30px Shrikhand, serif; }
.pn-founder-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pn-founder-hero .pn-seat-face { width: 96px; height: 96px; font-size: 46px; border-color: var(--ink); }

/* footer, toast, standby */
.pn-foot { background: var(--cocoa); color: var(--cream); padding: 40px 4.5vw; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; border-top: 4px solid var(--ink); }
.pn-foot .pn-brand { color: var(--cream); }
.pn-foot p { flex: 1 1 260px; font-size: 18px; }
.pn-foot-icons { display: flex; gap: 10px; }
.pn-foot .pn-ico { background: var(--tang); color: var(--ink); }
.pn-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--cocoa); color: var(--cream); border: 3px solid var(--butter); border-radius: 16px; padding: 12px 18px; font-weight: 600; max-width: calc(100vw - 32px); }
.pn-standby { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--tang); transition: opacity .45s, visibility .45s; }
.pn-standby.is-done { opacity: 0; visibility: hidden; }
.pn-standby-card { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--cream); border: 5px solid var(--ink); border-radius: 26px; padding: 26px 44px; box-shadow: 8px 8px 0 var(--ink); animation: pn-wobble 1.2s ease-in-out infinite; }
.pn-standby-card b { font: 44px Shrikhand, serif; }
.pn-standby-card span { font-weight: 600; }
@keyframes pn-wobble { 50% { transform: rotate(-2deg) translateY(-4px); } }

/* ---------- phones ---------- */
@media (max-width: 819px) {
  :root { --top: 60px; }
  .pn-top { gap: 8px; padding: 8px 4vw; }
  .pn-brand { font-size: 24px; } .pn-brand img { width: 38px; height: 38px; }
  .pn-nav { display: none; }
  .pn-ca { padding: 6px 10px; font-size: 14px; }
  .pn-act { gap: 6px; }
  .pn-chip { padding: 6px 11px; font-size: 15px; }
  .pn-ico { width: 36px; height: 36px; }
  .pn-run { height: auto; }
  .pn-stick { position: static; height: auto; min-height: 0; overflow: visible; }
  .pn-title { position: static; width: auto; padding: 26px 5vw 10px; }
  .pn-title h1 { font-size: clamp(38px, 11vw, 48px); }
  .pn-title p { font-size: 17px; }
  .pn-stick .pn-tags { margin-top: 18px; }
  .pn-hall { position: relative; height: 640px; }
  .pn-cue { position: static; text-align: left; background: var(--cocoa); padding: 6px 5vw 18px; font-size: 16px; max-width: none; }
  .pn-bubble { display: none; }
  .pn-cheque { padding: 10px 14px; border-width: 4px; box-shadow: 5px 5px 0 var(--ink); }
  .pn-cheque-top b { font-size: 18px; } .pn-cheque-top { font-size: 13px; }
  .pn-cheque-to { font-size: 14px; margin-top: 4px; } .pn-cheque-amt { font-size: 28px; } .pn-cheque-memo { font-size: 12px; }
  .pn-pen { font-size: 14px; right: 12px; bottom: 12px; border-width: 2px; }
  .pn-seats, .pn-judges, .pn-rules { grid-template-columns: 1fr; }
  .pn-band { padding: 64px 5vw; }
  .pn-lede { font-size: 18px; }
  .pn-stub { padding: 18px; }
  .pn-lines li { grid-template-columns: 1fr; gap: 2px; }
  .pn-enter { padding: 80px 5vw; }
}
@media (max-width: 520px) {
  .pn-wide { display: none; }
  .pn-brand span { display: none; }
  .pn-act { margin-left: auto; }
  .pn-top { gap: 6px; padding: 8px 3vw; }
  .pn-act { gap: 5px; }
  .pn-chip { padding: 5px 9px; font-size: 14px; }
  .pn-ca b { display: inline-block; max-width: 6.5ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
  .pn-ico { width: 32px; height: 32px; }
  .pn-ico svg { width: 15px; height: 15px; }
  .pn-brand img { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  .pn-top { gap: 6px; padding: 8px 3vw; }
  .pn-act { gap: 5px; }
  .pn-chip { padding: 4px 7px; font-size: 13px; border-width: 2px; }
  .pn-ca b { max-width: 4ch; }
  .pn-ico { width: 30px; height: 30px; }
  .pn-ico svg { width: 15px; height: 15px; }
  .pn-brand img { width: 32px; height: 32px; }
}
@media (min-width: 820px) and (max-width: 1100px) {
  .pn-nav { gap: 14px; margin-left: 6px; font-size: 16px; }
  .pn-nav a:last-child { display: none; }
  .pn-wide, .pn-brand span { display: none; }
  .pn-top { gap: 12px; }
  .pn-act { gap: 8px; }
  .pn-chip { padding: 6px 12px; font-size: 15px; }
  .pn-ico { width: 36px; height: 36px; }
  .pn-seats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-title { width: min(440px, 44vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pn-run { height: auto; }
  .pn-stick { position: relative; top: 0; }
}

/* sub-page pieces */
.pn-page .pn-script { background: var(--cocoa); color: var(--cream); border-radius: 22px; padding: 26px; margin-top: 30px; }
.pn-page .pn-stub { margin-top: 24px; }
.pn-deal p { margin: 4px 0; }
.pn-og { display: block; width: 100%; max-width: 720px; height: auto; margin-top: 30px; border-radius: 18px; border: 3px solid var(--cocoa); }
.pn-ca-line { word-break: break-all; font-size: 14px; }
.pn-soft-in { font-weight: 400; opacity: .85; }
.pn-msg { margin: 10px 0 0; color: var(--cocoa); }
.pn-msg.is-bad { font-weight: 700; text-decoration: underline wavy var(--red); }
.pn-sheet tr.is-top td { font-weight: 700; }
