/* Palm Court website: the landing page and the content pages. Same tokens and type as the game (play/index.html). */
:root {
  --ink: #09131d;
  --ink-2: #0f1f30;
  --ink-3: #13263a;
  --edge: rgba(242, 245, 238, 0.13);
  --line: rgba(242, 245, 238, 0.08);
  --chalk: #f2f5ee;
  --mist: #9fb2c5;
  --optic: #d6f04a;
  --optic-ink: #1b2300;
  --court: #2c5d9e;
  --clay: #c8643b;
  --grass: #4f8a3a;
  --coral: #ff7a62;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gut: max(16px, env(safe-area-inset-left));
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--chalk); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--optic); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--optic); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--optic); color: var(--optic-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.eyebrow { margin: 0 0 10px; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--optic); }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; margin: 0; }
h2 { font-size: clamp(38px, 6vw, 58px); }
h3 { font: 700 20px/1.25 var(--body); margin: 0 0 6px; }
.lede { color: var(--mist); font-size: clamp(17px, 2vw, 20px); max-width: 60ch; margin: 14px 0 0; }
.ball { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--optic); vertical-align: .04em; margin-left: .06em; box-shadow: inset -.08em -.06em 0 rgba(0,0,0,.18); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--edge);
  background: rgba(242,245,238,.06); color: var(--chalk); font: 700 16px/1.1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s var(--ease-out), border-color .15s; }
.btn:hover { background: rgba(242,245,238,.12); border-color: rgba(242,245,238,.3); text-decoration: none; }
.btn.primary { background: var(--optic); color: var(--optic-ink); border-color: var(--optic); }
.btn.primary:hover { background: #e2f86a; }
.btn.big { min-height: 58px; padding: 14px 28px; font-size: 18px; }
.btn.primary::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .15s var(--ease-out); }
.btn.primary:hover::after { transform: translateX(3px) rotate(45deg); }
.btn[aria-disabled="true"] { opacity: .7; cursor: default; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- header / nav ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(9,19,29,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.logo img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--chalk); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--optic); }
.site-head .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }
@media (max-width: 820px) {
  .site-head .wrap { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .site-head .btn { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 -10px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}

/* ---------- landing: hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: flex-end; padding: 120px 0 56px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9,19,29,.92) 0%, rgba(9,19,29,.7) min(520px, 60%), rgba(9,19,29,.1) min(900px, 100%)), linear-gradient(0deg, var(--ink) 0%, rgba(9,19,29,0) 42%); }
.hero h1 { font-size: clamp(64px, 12vw, 148px); line-height: .8; }
.hero .lede { color: #c9d5e0; max-width: 34ch; font-size: clamp(18px, 2.2vw, 22px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--mist); font-size: 15px; font-weight: 600; }
.chips li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--optic); margin-right: 8px; vertical-align: .12em; }
@media (max-width: 640px) {
  .hero { min-height: 0; padding: 0 0 36px; flex-direction: column; align-items: stretch; }
  .hero-img { position: static; height: auto; aspect-ratio: 16 / 9; }
  .hero::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(9,19,29,0) 30%); height: calc(100vw * 9 / 16); }
  .hero .wrap { margin-top: -28px; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; border-top: 1px solid var(--line); }
.section.tint { background: var(--ink-2); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: rgba(242,245,238,.035); border: 1px solid var(--line); padding: 22px 22px 20px; }
.card p { margin: 0; color: var(--mist); }
.card .ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: rgba(214,240,74,.12); color: var(--optic); }
.card .ico svg { width: 24px; height: 24px; }
/* controls: five ways to swing (3 + 2 across on wide screens, the last card full width in a two-column layout) */
.ways { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); counter-reset: way; }
@media (min-width: 1000px) { .ways { grid-template-columns: repeat(6, 1fr); } .way { grid-column: span 2; } .way:nth-child(n+4) { grid-column: span 3; } }
@media (min-width: 548px) and (max-width: 999px) { .ways { grid-template-columns: repeat(2, 1fr); } .way:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.way { position: relative; background: var(--ink); border: 1px solid var(--edge); padding: 24px 22px; }
.way .tagline { display: inline-block; margin-bottom: 10px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--optic-ink); background: var(--optic); padding: 5px 8px; }
.way .tagline.muted { background: rgba(242,245,238,.12); color: var(--chalk); }
.way ol { margin: 12px 0 0; padding-left: 20px; color: var(--mist); }
.way li + li { margin-top: 6px; }
.way h3 { font: 900 30px/1 var(--display); text-transform: uppercase; }
/* the tour: fictional pros */
.pros { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.pro { background: rgba(242,245,238,.035); border: 1px solid var(--line); padding: 16px; display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; }
.pro img { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; background: var(--ink-3); }
.pro b { font: 900 24px/1 var(--display); text-transform: uppercase; }
.pro .meta { color: var(--optic); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pro p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--mist); font-size: 15px; line-height: 1.45; }
.note { color: var(--mist); font-size: 14px; margin-top: 18px; }
/* feature strip with the three surfaces */
.surfaces { display: flex; gap: 8px; margin-top: 14px; }
.surfaces span { flex: 1; height: 8px; }
/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); background: rgba(242,245,238,.03); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--optic); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--mist); }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin-bottom: 0; }
/* Steam call to action */
.cta { display: grid; gap: 22px; grid-template-columns: 1fr auto; align-items: center; background: linear-gradient(120deg, #13263a, #0c1a28); border: 1px solid var(--edge); padding: clamp(24px, 4vw, 44px); }
.cta h2 { font-size: clamp(34px, 5vw, 50px); }
.cta p { margin: 10px 0 0; color: var(--mist); max-width: 52ch; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } .cta .btn { width: 100%; } }

/* ---------- article pages ---------- */
.page-head { padding: clamp(40px, 7vw, 80px) 0 28px; border-bottom: 1px solid var(--line); background: radial-gradient(90% 140% at 100% 0%, rgba(44,93,158,.28), transparent 60%); }
.page-head h1 { font-size: clamp(48px, 8vw, 88px); }
.page-head .meta { color: var(--mist); font-size: 14px; margin: 14px 0 0; }
.layout { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) 240px; padding: 40px 0 72px; }
.layout.single { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 88px; align-self: start; font-size: 15px; }
.toc b { display: block; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--edge); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--mist); text-decoration: none; }
.toc a:hover { color: var(--chalk); }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { display: none; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(32px, 4.4vw, 42px); margin: 48px 0 14px; scroll-margin-top: 80px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: #d3dde6; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--chalk); }
.prose kbd, .keys kbd { display: inline-block; min-width: 1.8em; padding: 1px 7px; border: 1px solid var(--edge); border-bottom-width: 2px; background: var(--ink-3); font: 600 14px/1.5 var(--body); text-align: center; color: var(--chalk); }
.box { background: var(--ink-2); border: 1px solid var(--edge); border-left: 3px solid var(--optic); padding: 16px 20px; margin: 20px 0; }
.box p:first-child { margin-top: 0; } .box p:last-child, .box ul:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--mist); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
td:first-child { color: var(--chalk); font-weight: 600; }

/* ---------- ads (content pages only, never over the game) ---------- */
.ad { margin: 40px auto; max-width: 970px; text-align: center; }
.ad-label { display: block; margin-bottom: 6px; color: var(--mist); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.ad ins { display: block; min-height: 250px; background: rgba(242,245,238,.02); }
.prose .ad { margin: 36px 0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--mist); font-size: 15px; background: #070f17; }
.site-foot .wrap { display: grid; gap: 24px; grid-template-columns: 1.4fr repeat(2, 1fr); }
.site-foot p { margin: 10px 0 0; max-width: 42ch; }
.site-foot h2 { font: 700 12px/1 var(--body); letter-spacing: .16em; color: var(--chalk); margin: 6px 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li + li { margin-top: 6px; }
.site-foot a { color: var(--mist); text-decoration: none; }
.site-foot a:hover { color: var(--chalk); text-decoration: underline; }
.site-foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; max-width: none; }
@media (max-width: 640px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .wrap > div:first-child { grid-column: 1 / -1; } }
.site-foot a.social { display: inline-flex; align-items: center; gap: 7px; }
.site-foot a.social svg { flex: none; }


/* ---------- landing page: livelier, like the game's menu (slanted shapes, a bouncing ball, motion that stops for reduced-motion) ---------- */
.landing .btn.big { clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-inline: 34px; border-color: transparent; }
.landing .btn.big:not(.primary) { background: rgba(242,245,238,.1); }
.landing .btn.primary.pulse { animation: lvPulse 2.4s ease-in-out infinite; }
@keyframes lvPulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(214,240,74,0)); } 50% { filter: drop-shadow(0 0 14px rgba(214,240,74,.55)); } }
.landing .btn:hover { transform: translateY(-2px); }

/* hero: the picture drifts, a light streak sweeps across it, the words rise in one by one and the ball bounces */
.landing .hero-img { transform-origin: 62% 55%; animation: lvDrift 28s ease-in-out infinite alternate; }
@keyframes lvDrift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1.2%, 0); } }
.hero-glint { position: absolute; top: -10%; bottom: -10%; left: -30%; width: 22%; z-index: -1; pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(214,240,74,0), rgba(214,240,74,.13), rgba(214,240,74,0)); animation: lvGlint 9s ease-in-out 1.2s infinite; }
@keyframes lvGlint { 0% { left: -30%; } 45%, 100% { left: 130%; } }
.eyebrow.stripe { display: inline-block; padding: 6px 12px 6px 10px; margin-bottom: 14px; color: var(--optic-ink); background: var(--optic); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.landing .hero h1 { transform: skewX(-8deg); transform-origin: 0 100%; }
.landing .hero h1 .h1-in { display: inline-block; background: linear-gradient(180deg, #fff 30%, #cfd9c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(0,0,0,.35)); }
.landing .hero h1 .ball { background: radial-gradient(circle at 34% 30%, #f6ffb0, #d6f04a 55%, #a3bd25); -webkit-text-fill-color: initial; transform-origin: 50% 100%; animation: lvBounce 1.7s cubic-bezier(.3, 0, .35, 1) infinite; filter: none; }
@keyframes lvBounce { 0%, 100% { transform: translateY(0) scale(1.16, .84); } 14% { transform: translateY(-.02em) scale(.96, 1.05); } 52% { transform: translateY(-.46em) scale(1, 1); } 90% { transform: translateY(-.02em) scale(.98, 1.03); } }
.swing-line { margin: 16px 0 0; font: 900 clamp(26px, 4.2vw, 44px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--chalk); transform: skewX(-8deg); transform-origin: 0 100%; }
.swing-line .rot { display: inline-block; position: relative; height: 1.05em; min-width: 6.4em; vertical-align: bottom; overflow: hidden; }
.swing-line .rot b { position: absolute; left: 0; top: 0; color: var(--optic); opacity: 0; transform: translateY(70%); animation: lvWord 10s infinite; }
.swing-line .rot b:nth-child(2) { animation-delay: 2s; } .swing-line .rot b:nth-child(3) { animation-delay: 4s; } .swing-line .rot b:nth-child(4) { animation-delay: 6s; } .swing-line .rot b:nth-child(5) { animation-delay: 8s; }
@keyframes lvWord { 0% { opacity: 0; transform: translateY(70%); } 4%, 18% { opacity: 1; transform: translateY(0); } 22%, 100% { opacity: 0; transform: translateY(-70%); } }
.landing .hero .lede { margin-top: 12px; }
.landing .hero .wrap > * { animation: lvRise .7s var(--ease-out) both; }
.landing .hero .wrap > :nth-child(2) { animation-delay: .08s; } .landing .hero .wrap > :nth-child(3) { animation-delay: .16s; } .landing .hero .wrap > :nth-child(4) { animation-delay: .24s; }
.landing .hero .wrap > :nth-child(5) { animation-delay: .32s; } .landing .hero .wrap > :nth-child(6) { animation-delay: .4s; }
@keyframes lvRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.landing .hero h1, .landing .swing-line { animation-name: lvRiseSkew; }
@keyframes lvRiseSkew { from { opacity: 0; transform: translateY(18px) skewX(-8deg); } to { opacity: 1; transform: skewX(-8deg); } }
@media (max-width: 640px) { .swing-line { margin-top: 12px; } .swing-line .rot { min-width: 5.6em; } }

/* the band: a slanted strip of ways to play, endlessly sliding */
.band { position: relative; z-index: 2; overflow: hidden; margin: -1px 0 0; background: var(--optic); color: var(--optic-ink); transform: skewY(-1.2deg); transform-origin: 0 0; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.band-track { display: flex; width: max-content; padding: 12px 0; animation: lvSlide 38s linear infinite; font: 900 22px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.band-track span { padding: 0 26px; position: relative; }
.band-track span::after { content: ''; position: absolute; right: -6px; top: 50%; width: 11px; height: 11px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff, #fffbd0 40%, #6b7a1d); opacity: .85; }
@keyframes lvSlide { to { transform: translateX(-50%); } }
.band:hover .band-track { animation-play-state: paused; }

/* numbers */
.stats { padding: clamp(36px, 6vw, 56px) 0 clamp(8px, 2vw, 18px); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 6px 4px; }
.stat b { display: block; font: 900 clamp(46px, 8vw, 84px)/.9 var(--display); color: var(--optic); text-shadow: 0 3px 0 rgba(0,0,0,.35); font-variant-numeric: tabular-nums; transform: skewX(-8deg); }
.stat span { display: block; margin-top: 8px; color: var(--mist); font: 700 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }

/* headings get a lime tick that slides in, cards lift and light up */
.landing .section-head h2 { transform: skewX(-6deg); transform-origin: 0 100%; position: relative; padding-bottom: 14px; }
.landing .section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; height: 5px; width: 72px; background: var(--optic); transition: width .7s var(--ease-out) .15s; }
.landing .section-head.seen h2::after, html:not(.js) .landing .section-head h2::after { width: 140px; }
.landing .card, .landing .way, .landing .pro { transition: transform .25s var(--ease-out), border-color .2s, background .2s, box-shadow .25s; }
.landing .card:hover, .landing .way:hover { transform: translateY(-5px); border-color: rgba(214,240,74,.5); background: rgba(214,240,74,.05); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.landing .card .ico { transition: transform .35s var(--ease-out), background .2s; }
.landing .card:hover .ico { transform: rotate(-10deg) scale(1.12); background: rgba(214,240,74,.24); }
.landing .way { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.landing .way::before { counter-increment: way; content: counter(way, decimal-leading-zero); position: absolute; right: 16px; top: 8px; font: 900 56px/1 var(--display); color: rgba(242,245,238,.06); transform: skewX(-8deg); pointer-events: none; }
.landing .pro { border-left: 3px solid var(--c, var(--optic)); min-width: 0; }
.landing .pro b { min-width: 0; overflow-wrap: anywhere; font-size: clamp(20px, 2.2vw, 24px); }
.landing .pro:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 12px 28px rgba(0,0,0,.35), inset 0 0 0 1px color-mix(in srgb, var(--c, #d6f04a) 45%, transparent); }
.landing .pro img { box-shadow: 0 0 0 3px var(--c, var(--optic)); }
.landing .pro .meta { color: var(--c, var(--optic)); }

/* the controller map */
.padmap { margin: 18px 0 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 18px; align-items: center; }
.padmap svg { width: 100%; height: auto; overflow: visible; }
.pm-body { fill: #162b41; stroke: rgba(242,245,238,.28); stroke-width: 1.5; }
.pm-bump { fill: #1d3752; stroke: rgba(242,245,238,.25); } .pm-r1 { fill: rgba(214,240,74,.28); stroke: var(--optic); }
.pm-t { fill: var(--mist); font: 700 8px var(--body); }
.pm-stick circle:first-child { fill: #0c1a28; stroke: var(--optic); stroke-width: 1.6; } .pm-stick circle:last-child { fill: rgba(214,240,74,.25); }
.pm-dpad path { fill: #0c1a28; stroke: rgba(242,245,238,.3); }
.pm-face text { fill: #0b1420; font: 900 12px var(--body); pointer-events: none; }
.pm-face circle { stroke: rgba(0,0,0,.35); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: lvPress 5.2s ease-in-out infinite; }
.pm-flat, .pm-dot.flat { fill: #d6f04a; background: #d6f04a; } .pm-top, .pm-dot.top { fill: #ff7a62; background: #ff7a62; }
.pm-slice, .pm-dot.slice { fill: #4ea3ff; background: #4ea3ff; } .pm-lob, .pm-dot.lob { fill: #ffb84d; background: #ffb84d; }
.pm-top { animation-delay: 1.3s !important; } .pm-slice { animation-delay: 2.6s !important; } .pm-lob { animation-delay: 3.9s !important; }
@keyframes lvPress { 0%, 18%, 100% { transform: scale(1); filter: none; } 6%, 12% { transform: scale(.82); filter: brightness(1.25); } }
.pm-key { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--mist); display: grid; gap: 3px; }
.pm-key b { color: var(--chalk); margin-right: 6px; }
.pm-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; fill: none; }
@media (max-width: 420px) { .padmap { grid-template-columns: 1fr; } .padmap svg { max-width: 220px; } }

/* screenshots: one wide, two beside it; each zooms a little on hover */
.shots { display: grid; gap: 14px; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.shot { position: relative; margin: 0; overflow: hidden; background: var(--ink-3); border: 1px solid var(--edge); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.shot.big { grid-row: span 2; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .8s var(--ease-out); }
.shot.big img { aspect-ratio: auto; min-height: 100%; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 18px 8px 12px; background: var(--optic); color: var(--optic-ink); font: 900 17px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } .shot.big { grid-row: auto; } .shot.big img { aspect-ratio: 16 / 9; } }

/* scroll reveal (only when the script runs, so nothing is ever hidden without it) */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: reduce) { .landing *, .landing *::before, .landing *::after { animation: none !important; } html.js .rv { opacity: 1; transform: none; } .band-track { width: auto; flex-wrap: wrap; justify-content: center; } .band-track span:nth-child(n+7) { display: none; } .swing-line .rot b { position: static; opacity: 1; transform: none; display: none; } .swing-line .rot b:first-child { display: inline; } }
