/* ============================================================
   PeakPlay
   Monochrome. Off-black ground, white as the only accent.
   One family (Archivo) + mono for numbers.
   ============================================================ */
:root {
  --ink:      #0A0A0A;
  --surface:  #101010;
  --raise:    #161616;
  --raise-2:  #1D1D1D;
  --line:     #232323;
  --line-2:   #2E2E2E;

  --paper:    #FAFAFA;
  --text:     #A3A3A3;
  --muted:    #6B6B6B;

  --live:     #4ADE80;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-xs:  0.75rem;
  --t-sm:  0.875rem;
  --t-md:  1rem;
  --t-lg:  1.125rem;
  --t-xl:  clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --t-2xl: clamp(1.6rem, 1.25rem + 1.6vw, 2.25rem);
  --t-3xl: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  --t-4xl: clamp(2.7rem, 1.2rem + 6.2vw, 5.75rem);

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem;   --s6: 4rem; --s7: 6rem;

  --r:    12px;
  --r-lg: 18px;
  --shell: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  color: var(--paper);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
}
h1 { font-size: var(--t-4xl); font-weight: 900; letter-spacing: -0.045em; }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 4px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--s3); }
.shell--wide { max-width: 1340px; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--paper); color: #000; padding: var(--s1) var(--s2); }
.skip:focus { left: 0; }

.tag {
  font-family: var(--mono); font-size: var(--t-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.lede { font-size: var(--t-lg); color: var(--text); }
.dim  { color: var(--muted); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ============================================================ nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #0A0A0AD9;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: var(--s3); height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.02rem; color: var(--paper); letter-spacing: -0.03em;
}
.brand__mark {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  background: var(--paper); display: grid; place-items: center;
}
.brand__mark svg { width: 11px; height: 11px; fill: #0A0A0A; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link {
  padding: 8px 14px; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 500; color: var(--text);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link:hover { color: var(--paper); background: var(--raise); }
.nav__link[aria-current="page"] { color: var(--paper); }
/* menu dropdown, top right */
.menu { position: relative; }
.menu__btn { display: inline-flex; align-items: center; gap: 8px; }
.menu__btn svg { width: 9px; height: 9px; fill: currentColor; transition: transform .18s var(--ease); }
.menu[data-open="true"] .menu__btn svg { transform: rotate(180deg); }
.menu[data-open="true"] .menu__btn { background: #FFFFFF14; border-color: #3A3A3A; }
.menu__panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 210px; padding: 6px;
  background: var(--raise); border: 1px solid var(--line-2);
  border-radius: var(--r); box-shadow: 0 18px 44px #000000A0;
  display: grid; gap: 2px;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.menu[data-open="true"] .menu__panel { opacity: 1; transform: none; pointer-events: auto; }
.menu__panel a {
  padding: 10px 12px; border-radius: 8px;
  font-size: var(--t-sm); font-weight: 500; color: var(--text);
}
.menu__panel a:hover { background: var(--raise-2); color: var(--paper); }
.menu__panel a.on { color: var(--paper); }
.menu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 5px 2px; }

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--paper); color: #0A0A0A; }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: #FFFFFF0A; color: var(--paper); border-color: var(--line-2); }
.btn--ghost:hover { background: #FFFFFF14; border-color: #3A3A3A; }
.btn--quiet { background: none; color: var(--text); }
.btn--quiet:hover { color: var(--paper); }
.btn--sm { padding: 9px 17px; font-size: var(--t-sm); }
.btn--wide { width: 100%; }
.btn--lock { background: none; color: var(--muted); border-color: var(--line-2); }
.btn--lock:hover { color: var(--paper); border-color: #3A3A3A; }

/* ============================================================ hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem) 0; text-align: center; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(#FFFFFF12 1px, transparent 1px),
    radial-gradient(58% 52% at 50% 0%, #FFFFFF0E, transparent 70%);
  background-size: 26px 26px, 100% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #0009 45%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, #0009 45%, transparent 78%);
}
.hero__in { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; margin-inline: auto; }
.hero h1 span { color: #FAFAFA45; }
.hero__lede { margin: var(--s3) auto 0; max-width: 46ch; }
.hero__lede b { color: var(--paper); font-weight: 600; }
.hero__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: var(--s4); }
.hero__note { margin-top: var(--s3); display: inline-flex; align-items: center; gap: 8px; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }

/* ---- browser frame ---- */
.frame {
  position: relative; z-index: 1;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  max-width: 1060px; text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--surface);
  box-shadow: 0 -1px 0 #FFFFFF0D inset, 0 40px 110px #00000090;
  overflow: hidden;
}
.frame__chrome {
  display: flex; align-items: center; gap: var(--s2);
  padding: 10px var(--s2) 0; background: #0C0C0C;
  border-bottom: 1px solid var(--line);
}
.frame__tabs { display: flex; gap: 4px; align-items: flex-end; }
.frame__tab {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 8px 8px 0 0;
  font-size: var(--t-xs); color: var(--muted);
}
.frame__tab--on { background: var(--surface); color: var(--paper); }
.frame__tab i { width: 11px; height: 11px; border-radius: 3px; background: var(--paper); flex: none; }
.frame__url {
  flex: 1; margin-bottom: 7px;
  font-family: var(--mono); font-size: var(--t-xs); color: var(--muted);
  background: var(--ink); border: 1px solid var(--line);
  border-radius: 7px; padding: 6px 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame__url b { color: var(--text); font-weight: 400; }
.frame__body { padding: var(--s3); }
.frame__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.frame__grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }

/* ============================================================ poster art */
.poster {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--raise);
  display: grid; place-items: center; padding: var(--s2);
  border-bottom: 1px solid var(--line);
}
.poster::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 50% -10%, #FFFFFF14, transparent 62%),
    repeating-linear-gradient(122deg, #FFFFFF07 0 1px, transparent 1px 16px);
}
.poster[data-tone="1"]::before { background: radial-gradient(100% 130% at 12% 0%, #FFFFFF16, transparent 60%), repeating-linear-gradient(58deg, #FFFFFF06 0 1px, transparent 1px 14px); }
.poster[data-tone="2"]::before { background: radial-gradient(80% 120% at 88% 8%, #FFFFFF12, transparent 60%), repeating-linear-gradient(0deg, #FFFFFF05 0 1px, transparent 1px 12px); }
.poster[data-tone="3"]::before { background: radial-gradient(120% 100% at 50% 110%, #FFFFFF14, transparent 62%), repeating-linear-gradient(90deg, #FFFFFF06 0 1px, transparent 1px 18px); }
.poster[data-tone="4"]::before { background: radial-gradient(70% 100% at 20% 100%, #FFFFFF12, transparent 58%), repeating-linear-gradient(148deg, #FFFFFF07 0 1px, transparent 1px 20px); }
.poster__name {
  position: relative; text-align: center;
  font-weight: 900; letter-spacing: -0.04em; line-height: .92;
  color: #FAFAFAEE; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  text-wrap: balance;
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster--sm .poster__name { font-size: clamp(.8rem, 1.5vw, 1rem); }

/* ============================================================ game card */
.game {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.game:hover { border-color: var(--line-2); background: var(--raise); }
.game__art { position: relative; }
.game__lock {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; justify-items: center;
  background: #0A0A0ACC; opacity: 0; transition: opacity .16s var(--ease);
}
.game[data-locked="true"] .game__lock { opacity: 1; }
.game__lock svg { width: 16px; height: 16px; fill: var(--paper); opacity: .85; }
.game__body { padding: var(--s2) var(--s2) calc(var(--s2) + 2px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); }
.game__top h3 { font-size: var(--t-md); }
.game__desc { font-size: var(--t-sm); color: var(--muted); flex: 1; line-height: 1.5; }
.game__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); margin-top: 2px; }

.badge {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--muted);
}
.badge--pro  { color: var(--paper); border-color: #3A3A3A; }
.badge--apex { color: #0A0A0A; background: var(--paper); border-color: var(--paper); }
.badge--new  { color: var(--live); border-color: #4ADE8055; }

.grid-games { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ============================================================ heads */
.head { max-width: 62ch; }
.head h2 { margin-top: 12px; }
.head p { margin-top: var(--s2); }
.head--center { margin-inline: auto; text-align: center; }
.head--center p { margin-inline: auto; }
.rowhead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }

/* ============================================================ steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--surface); padding: var(--s3); display: flex; flex-direction: column; gap: 10px; }
.step__n { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); }
.step h3 { font-size: var(--t-md); }
.step p { font-size: var(--t-sm); color: var(--muted); line-height: 1.55; }

/* ============================================================ split rows */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s4);
  padding-block: var(--s4); border-bottom: 1px solid var(--line);
  align-items: start;
}
.row h3 { font-size: var(--t-2xl); letter-spacing: -0.035em; }
.row p { font-size: var(--t-md); color: var(--muted); max-width: 58ch; }

/* ============================================================ pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s4) var(--s3) var(--s3);
}
.tier--on { border-color: #3A3A3A; background: var(--raise); }
.tier__flag {
  position: absolute; top: -10px; left: var(--s3);
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--paper); color: #0A0A0A; padding: 3px 10px; border-radius: 999px;
}
.tier__name { color: var(--paper); font-weight: 700; font-size: var(--t-sm); letter-spacing: .04em; }
.tier__price { display: flex; align-items: baseline; gap: 8px; }
.tier__price b { font-size: clamp(2.5rem, 4.5vw, 3.4rem); color: var(--paper); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.tier__price span { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); }
.tier__pitch { font-size: var(--t-sm); color: var(--muted); min-height: 3em; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tier li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: var(--t-sm); align-items: start; line-height: 1.45; }
.tier li svg { width: 13px; height: 13px; margin-top: 5px; fill: var(--paper); }
.tier li.no { color: var(--muted); }
.tier li.no svg { fill: #4A4A4A; }

/* ============================================================ filters + search */
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; fill: var(--muted); }
.search input {
  width: 100%; padding: 12px 14px 12px 40px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  color: var(--paper); font-family: var(--sans); font-size: var(--t-sm);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: #3A3A3A; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 10px; cursor: pointer;
  background: var(--ink); border: 1px solid var(--line);
  font-size: var(--t-sm); font-weight: 500; color: var(--text);
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.chip:hover { color: var(--paper); border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: #0A0A0A; }
.chip b { font-family: var(--mono); font-size: var(--t-xs); font-weight: 400; opacity: .6; }
/* ============================================================ faq */
.faq { display: grid; max-width: 800px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  color: var(--paper); font-weight: 600; font-size: var(--t-md);
  display: flex; justify-content: space-between; gap: var(--s2); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding-bottom: 20px; font-size: var(--t-sm); color: var(--muted); max-width: 70ch; line-height: 1.65; }

/* ============================================================ band */
.band {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: radial-gradient(70% 130% at 50% 0%, #FFFFFF0E, transparent 65%), var(--surface);
  padding: clamp(2.5rem, 6vw, 4rem); text-align: center;
}
.band h2 { max-width: 18ch; margin-inline: auto; }
.band p { margin: var(--s2) auto 0; max-width: 48ch; color: var(--muted); }

/* ============================================================ footer */
.foot { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s4); }
.foot__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: var(--s4); }
.foot__col h4 { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 14px; }
.foot__col a { display: block; font-size: var(--t-sm); padding: 5px 0; color: var(--text); }
.foot__col a:hover { color: var(--paper); }
.foot__bar {
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap;
  font-size: var(--t-xs); color: var(--muted);
}

/* ============================================================ discord button */
.discord {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--raise); border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px #00000080;
  transition: background-color .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease);
}
.discord:hover { background: var(--raise-2); border-color: #3F3F3F; transform: translateY(-2px); }
.discord svg { width: 24px; height: 24px; fill: var(--paper); }

/* ============================================================ modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--s2);
  background: #050505B8; backdrop-filter: blur(6px);
}
.modal__card {
  width: min(440px, 100%); background: var(--raise);
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: var(--s4);
  animation: pop .16s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.modal__card h3 { margin-bottom: 10px; }
.modal__card p { font-size: var(--t-sm); color: var(--muted); }
.modal__row { display: grid; gap: 8px; margin-top: var(--s3); }

/* ============================================================ reveal */
.rise { opacity: 0; transform: translateY(12px); }
.rise.in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }

/* ============================================================ responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: var(--s2); }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .frame__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .menu { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .frame__url { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; }
}

/* ============================================================
   Cover art
   Illustrated posters, one per game. Motion is a whisper: clouds
   drift, a sun turns, the top block settles. It stops entirely
   under prefers-reduced-motion and the poster still reads.
   ============================================================ */
.poster .art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.poster:has(.art)::before { display: none; }

.art .ttl {
  font-family: var(--sans);
  font-weight: 900;
  fill: #fff;
  stroke-width: 11;
  paint-order: stroke;
  stroke-linejoin: round;
  text-anchor: middle;
  letter-spacing: -0.5px;
}

.art .cloud { animation: drift 26s ease-in-out infinite; }
.art .cloud:nth-of-type(even) { animation-duration: 34s; animation-direction: reverse; }
@keyframes drift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(16px); }
  100% { transform: translateX(0); }
}

.art .rays { animation: turn 44s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

.art--stack .topblock { animation: settle 3.4s ease-in-out infinite; }
.art--stack .zip { animation: zip 3.4s ease-out infinite; }
@keyframes settle {
  0%, 100% { transform: translateY(0); }
  46%      { transform: translateY(-7px); }
}
@keyframes zip {
  0%, 40%   { opacity: 0; }
  55%       { opacity: 1; }
  80%, 100% { opacity: 0; }
}

.art--bridge .fallplank { animation: fallaway 4.4s ease-in infinite; }
@keyframes fallaway {
  0%, 45%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  85%, 100% { transform: translateY(70px) rotate(38deg); opacity: 0; }
}

.art--flappy .bird { animation: hover 2.6s ease-in-out infinite; }
.art--flappy .wing { animation: beat .5s ease-in-out infinite alternate; transform-origin: 134px 286px; }
@keyframes hover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45%      { transform: translateY(-14px) rotate(-6deg); }
}
@keyframes beat { from { transform: scaleY(1); } to { transform: scaleY(.55); } }

.art--dino .dino { animation: bound 3s ease-in-out infinite; }
.art--dino .leg--a { animation: stride .32s steps(2, end) infinite; }
.art--dino .leg--b { animation: stride .32s steps(2, end) .16s infinite; }
@keyframes bound {
  0%, 55%, 82%, 100% { transform: translateY(0); }
  68%                { transform: translateY(-20px); }
}
@keyframes stride { from { transform: translateY(0); } to { transform: translateY(-5px); } }

.art--doodle .hopper { animation: springy 1.7s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes springy {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-22px); }
}

.art--class .plane { animation: sail 7s ease-in-out infinite; }
@keyframes sail {
  0%       { transform: translate(-60px, 300px) rotate(-10deg); opacity: 0; }
  14%      { opacity: 1; }
  76%      { opacity: 1; }
  100%     { transform: translate(340px, 130px) rotate(-10deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .art *, .art { animation: none !important; }
  .art--class .plane, .art--bridge .fallplank, .art--stack .zip { opacity: 0; }
}

/* ============================================================
   Join bar
   Sits above the library and says the one thing this visitor
   needs to hear next. Every state ends at the Discord.
   ============================================================ */
.joinbar {
  display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap;
  padding: 14px var(--s3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); margin-bottom: var(--s3);
}
.joinbar__icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--raise-2);
}
.joinbar__icon svg { width: 18px; height: 18px; fill: var(--paper); }
.joinbar__text { flex: 1 1 260px; min-width: 0; }
.joinbar__text b { display: block; color: var(--paper); font-weight: 600; font-size: var(--t-sm); }
.joinbar__text span { font-size: var(--t-sm); color: var(--muted); }
.joinbar--live .joinbar__icon { background: #4ADE801F; }
.joinbar--live .joinbar__icon svg { fill: var(--live); }

/* The hero mock shows the same covers, cropped a little shorter
   so the browser frame does not swallow the page. */
.frame .poster { aspect-ratio: 4 / 5; }
