/* Bingo Night public pages. A paper table, not a dashboard. */

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 80;
  transform: translateY(-180%);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border: var(--line) solid var(--ink);
  border-radius: 12px;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline-color: var(--ink);
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  min-height: 100vh;
}

/* ---------- header: dark cardstock strip ---------- */

.mast {
  position: relative;
  z-index: 20;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
  border-bottom: 6px solid var(--cardstock);
  box-shadow: 0 8px 0 rgba(17, 24, 32, 0.35);
}

.mast-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.45rem 4vw;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 68px;
  max-width: none;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-label {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.75rem;
  background: var(--yellow);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  font-family: var(--font-ui);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--yellow-edge);
}

.nav-icon {
  width: 18px;
  height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 5px / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 10px / 100% 2px no-repeat;
}

.nav-toggle:focus-visible + .nav-label {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin-left: auto;
}

.nav a {
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  border-radius: 8px;
}

.nav a.btn {
  color: var(--ink);
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav a.btn:hover {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 3px;
}

/* ---------- buttons: pressable cardstock ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 1rem;
  border-radius: 14px;
  border: var(--line) solid var(--ink);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  transition: transform 80ms ease, box-shadow 80ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(4px);
}

.btn-cream {
  background: var(--cream);
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 var(--cardstock-edge);
}

.btn-cream:active {
  box-shadow: inset 0 1px 0 #fff, 0 0 0 var(--cardstock-edge);
}

.btn-yellow {
  background: var(--yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 0 var(--yellow-edge);
}

.btn-yellow:active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 var(--ink);
}

.btn:focus-visible,
.sheet :focus-visible,
.scene-card:focus-visible,
.peek:focus-visible {
  outline-color: var(--ink);
}

.btn-cta {
  background: var(--tangerine);
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.95rem 1.35rem;
  min-height: 58px;
  border-radius: 16px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 5px 0 var(--tangerine-edge),
    0 9px 0 var(--ink);
}

.btn-cta:active {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 1px 0 var(--ink);
}

.btn .arrow {
  font-family: var(--font-body);
  font-weight: 700;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
  gap: 1rem 2rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.6rem 4vw 2.4rem;
  min-height: 640px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 1rem;
}

.hero-logo {
  display: block;
  width: min(100%, 480px);
  height: auto;
}

.hero-lead {
  margin: 0.85rem 0 0.35rem;
  max-width: 16ch;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
}

.hero-note {
  margin: 0 0 1.15rem;
  max-width: 34ch;
  font-size: 1.08rem;
}

.mascot {
  display: block;
  width: 124px;
  height: auto;
  margin-top: 0.85rem;
  filter: drop-shadow(4px 6px 0 rgba(32, 42, 54, 0.18));
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 4.5rem 0 0.6rem;
}

.scenery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.sky-cloud,
.peek-bush {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.sky-cloud-a { width: 148px; top: 4px; left: 6px; }
.sky-cloud-b { width: 176px; top: 0; right: 8px; }
.peek-bush { width: 132px; left: -6px; bottom: 86px; }
.peek-bush.right { left: auto; right: -4px; bottom: 96px; width: 118px; }

.board-scene {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  transform: rotate(-3deg);
}

.tabletop {
  height: 34px;
  margin: 6px 2% 0;
  background-color: var(--cardstock);
  background-image: var(--fiber), linear-gradient(#f6ead4, #d7c4a2);
  border: var(--line) solid var(--ink);
  border-radius: 8px 8px 16px 16px;
  box-shadow: 0 9px 0 #b89a6e;
}

/* ---------- bingo card ---------- */

.board {
  position: relative;
}

.board-back {
  position: absolute;
  inset: 12px -10px -14px 10px;
  background: #d9c49a;
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  transform: rotate(1.6deg);
}

.board-face {
  position: relative;
  background-color: var(--cardstock);
  background-image: var(--fiber);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  padding: 0.85rem 0.7rem 0.7rem;
  box-shadow: 0 10px 0 rgba(32, 42, 54, 0.14);
}

.board-face::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.ribbon {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 14px;
  margin: 0;
  padding: 0.18rem 0.5rem;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

.board-title {
  margin: 0 1.4rem 0.45rem;
  text-align: center;
  font-family: var(--font-note);
  font-size: 1.55rem;
  line-height: 1;
}

.squares {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  margin: 0;
  padding: 3px;
  background: var(--ink);
  border-radius: 6px;
}

.sq {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 3px;
  background-color: var(--paper);
  background-image: var(--fiber);
  text-align: center;
  min-width: 0;
}

.sq-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.58rem, 1.15vw, 0.78rem);
  line-height: 1.05;
  color: var(--ink);
}

.mark {
  width: 74%;
  height: 74%;
  display: block;
}

.is-marked .mark {
  transform: rotate(-8deg);
}

.is-marked:nth-child(odd) .mark {
  transform: rotate(7deg);
}

.is-free {
  background-color: var(--yellow);
}

.is-free .sq-label {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 400;
}

.is-free .mark {
  position: absolute;
  width: 42%;
  height: 42%;
  right: 1px;
  bottom: 1px;
}

.board-lg {
  width: min(100%, 460px);
}

.board-lg .sq-label {
  font-size: clamp(0.66rem, 1.5vw, 0.88rem);
}

/* ---------- sheet below the hero ---------- */

.sheet {
  position: relative;
  background-color: var(--cream);
  background-image: var(--fiber);
  border-top: var(--line) solid var(--ink);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 0 var(--cardstock);
  margin-top: -0.5rem;
}

.band {
  padding: 3.2rem 0;
}

.band-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4vw;
}

.band-stamp {
  background-color: #f6e4cf;
  background-image: var(--fiber);
  border-block: var(--line) solid var(--ink);
}

.section-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.section-lead {
  margin: 0 0 1.4rem;
  max-width: 46rem;
  font-size: 1.12rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note {
  font-family: var(--font-note);
  font-size: 1.35rem;
  line-height: 1.25;
}

/* three paper scenes */

.scene-grid,
.peek-grid,
.desk-grid,
.stamp-grid {
  display: grid;
  gap: 1.1rem;
}

.scene-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-card,
.peek,
.panel,
.step,
.aside-note,
.exhibit-card {
  background-color: var(--paper);
  background-image: var(--fiber);
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.scene-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.9rem 0.9rem 1rem;
  color: inherit;
  text-decoration: none;
  position: relative;
  transform: rotate(var(--tilt, -0.6deg));
}

.scene-card:nth-child(2) { --tilt: 0.7deg; }
.scene-card:nth-child(3) { --tilt: -0.4deg; }

.scene-card:hover {
  text-decoration: none;
}

.scene-card:focus-visible {
  outline-offset: 5px;
}

.scene-card h3,
.step h2,
.peek-title {
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1.15;
}

.scene-card h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.35rem;
}

.scene-card p,
.step p,
.panel p {
  margin: 0.25rem 0 0;
}

.scene-num,
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.more {
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* paper dioramas */

.scene-art {
  position: relative;
  height: 168px;
  margin: 0.35rem 0 0.55rem;
  overflow: hidden;
}

.kit-card,
.plugboard,
.monitor,
.stamp-sheet,
.mini-board {
  position: absolute;
  background: var(--cream);
  border: var(--line) solid var(--ink);
}

.kit-card {
  width: 132px;
  height: 104px;
  left: 8px;
  top: 28px;
  border-radius: 8px;
  transform: rotate(-7deg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 6px;
  background: var(--ink);
}

.kit-card span {
  background: var(--paper);
}

.kit-card span:nth-child(3),
.kit-card span:nth-child(8) {
  background: var(--yellow);
}

.slip {
  position: absolute;
  margin: 0;
  padding: 0.25rem 0.45rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--font-note);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 2px 3px 0 rgba(32, 42, 54, 0.2);
}

.slip-a { left: 118px; top: 12px; transform: rotate(5deg); background: var(--yellow); }
.slip-b { left: 156px; top: 62px; transform: rotate(-4deg); }
.slip-c { left: 132px; bottom: 16px; transform: rotate(3deg); background: var(--pink); }

.plugboard {
  left: 4px;
  top: 22px;
  width: 188px;
  padding: 0.45rem 0.55rem 0.55rem;
  border-radius: 10px;
  transform: rotate(-3deg);
}

.plug-title {
  margin: 0 0 0.2rem;
  font-family: var(--font-ui);
  font-weight: 600;
}

.plugboard ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.plugboard li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.08rem 0;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  border: 2px solid var(--ink);
  flex: 0 0 auto;
}

.yarn {
  position: absolute;
  left: 176px;
  top: 78px;
  width: 72px;
  height: 36px;
  border-top: 4px dashed var(--pink-edge);
  border-right: 4px dashed var(--pink-edge);
  border-radius: 0 18px 0 0;
  transform: rotate(8deg);
}

.mini-side {
  position: absolute;
  right: 6px;
  bottom: 22px;
  width: 88px;
  height: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  background: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  transform: rotate(6deg);
}

.mini-side i {
  background: var(--paper);
  display: block;
  aspect-ratio: 1;
}

.mini-side i.on { background: var(--yellow); }

.monitor {
  width: 176px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 12px;
  background: var(--ink);
  padding: 8px 8px 16px;
}

.monitor-label {
  margin: 0 0 4px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-align: center;
}

.screen {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--cardstock);
  padding: 3px;
}

.screen i {
  display: block;
  height: 16px;
  background: var(--paper);
}

.step .screen i {
  height: 22px;
}

.screen i.on { background: var(--tangerine); }

.stand {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 54px;
  height: 10px;
  transform: translateX(-50%);
  background: var(--cardstock);
  border: 2px solid var(--ink);
  border-radius: 2px;
}

/* stamp + desk */

.stamp-grid,
.desk-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 1.5rem 2rem;
}

.stamp-art,
.panel {
  position: relative;
  min-height: 240px;
}

.stamp-sheet {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 1.2rem 1rem 1rem;
  border-radius: 16px;
  transform: rotate(-2deg);
  text-align: center;
}

.stamp-sheet .mark {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.3rem;
}

.stamp-name {
  margin: 0;
  font-family: var(--font-note);
  font-size: 1.6rem;
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: var(--line) solid var(--ink);
}

.swatch.sun { background: var(--yellow); }
.swatch.heart { background: var(--pink); }
.swatch.leaf { background: var(--leaf); }

.tape {
  position: absolute;
  top: -10px;
  left: 28px;
  width: 78px;
  height: 20px;
  background: rgba(242, 139, 162, 0.78);
  border: 2px solid rgba(32, 42, 54, 0.45);
  transform: rotate(-8deg);
}

.panel {
  padding: 0.9rem;
}

.panel h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.3rem;
}

.fake-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.15rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
}

.chip.live {
  background: var(--tangerine);
}

.activity {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.activity li {
  padding: 0.2rem 0;
  border-top: 1px dashed var(--cardstock-edge);
}

.overlay-frame {
  background:
    linear-gradient(45deg, #d7e3ea 25%, transparent 25%),
    linear-gradient(-45deg, #d7e3ea 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d7e3ea 75%),
    linear-gradient(-45deg, transparent 75%, #d7e3ea 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-color: #eef3f6;
  border-radius: 12px;
  padding: 0.8rem;
  border: 2px dashed var(--ink);
}

.overlay-frame .board-face {
  box-shadow: none;
}

/* example peeks */

.peek-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.peek {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

.peek:nth-child(1) { transform: rotate(-1.2deg); }
.peek:nth-child(2) { transform: rotate(1deg); }
.peek:nth-child(3) { transform: rotate(-0.4deg); }

.peek:hover { text-decoration: none; }

.peek-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 3px;
  background: var(--ink);
  border-radius: 4px;
}

.peek-cells i {
  display: block;
  aspect-ratio: 1;
  background: var(--paper);
}

.peek-cells i.on { background: var(--yellow); }
.peek:nth-child(2) .peek-cells i.on { background: var(--pink); }
.peek:nth-child(3) .peek-cells i.on { background: var(--leaf); }

.peek-title {
  font-size: 1.25rem;
  margin-top: 0.3rem;
}

.peek-sub {
  font-family: var(--font-note);
  font-size: 1.2rem;
}

/* encore + footer */

.encore {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(246, 206, 84, 0.16), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
  color: var(--cream);
  text-align: center;
  padding: 3rem 4vw 2.6rem;
  border-top: 6px solid var(--cardstock);
}

.encore .hero-logo {
  width: min(100%, 360px);
  margin: 0 auto 0.6rem;
}

.encore h2 {
  margin: 0.2rem 0 1rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--paper);
}

.site-footer {
  background: #17202b;
  color: var(--cream);
  padding: 1.2rem 4vw 1.6rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 64px;
  height: auto;
}

.footer-brand p,
.footer-note {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
}

.wordmark {
  font-family: var(--font-ui);
  font-weight: 600;
}

.board-caption {
  position: relative;
  z-index: 1;
  margin: 0.55rem 0 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  color: var(--yellow);
  font-family: var(--font-ui);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.footer-note {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cardstock);
}

/* ---------- interior pages ---------- */

.skyband {
  position: relative;
  padding: 2.2rem 4vw 3.4rem;
  overflow: hidden;
}

.skyband-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.skyband h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.88;
  text-shadow: 5px 5px 0 var(--yellow);
}

.skyband .lede {
  margin: 0;
  max-width: 40rem;
  font-size: 1.2rem;
}

.skyband .mascot {
  width: 110px;
  margin: 0;
}

.page-how .sheet,
.page-examples .sheet {
  padding: 2.2rem 0 3rem;
}

.steps,
.catalog {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4vw;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem 1.4rem;
  align-items: center;
  padding: 1.3rem 1.1rem 1.15rem;
  margin: 0 0 1.6rem;
  position: relative;
}

.step:nth-child(even) .step-copy { order: 2; }

.step-num {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
}

.step h2 {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
}

.step .scene-art {
  height: 220px;
  margin: 0;
}

.step .kit-card { width: 168px; height: 132px; }
.step .slip-a { left: 156px; }
.step .slip-b { left: 204px; }
.step .slip-c { left: 176px; }
.step .monitor { width: 230px; }
.step .plugboard { width: 210px; }
.step .yarn { left: 198px; width: 128px; top: 78px; }
.step .mini-side { right: auto; left: 300px; bottom: 36px; }

.aside-note {
  max-width: 1100px;
  margin: 0.4rem auto 0;
  padding: 1rem 1.1rem;
  transform: rotate(-0.4deg);
}

.aside-note h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.4rem;
}

.catalog {
  display: grid;
  gap: 2rem;
}

.exhibit {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(260px, 480px);
  gap: 1.2rem 2rem;
  align-items: center;
  justify-content: center;
}

.exhibit:nth-child(even) .exhibit-copy { order: 2; }

.exhibit h2 {
  margin: 0.1rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.exhibit-card {
  padding: 1.3rem 0.9rem 1rem;
  position: relative;
}

.exhibit:nth-child(1) .exhibit-card { transform: rotate(-1.5deg); }
.exhibit:nth-child(2) .exhibit-card { transform: rotate(1.3deg); }
.exhibit:nth-child(3) .exhibit-card { transform: rotate(-0.8deg); }

.exhibit-card .tape.alt { background: rgba(246, 206, 84, 0.8); left: auto; right: 36px; }
.exhibit-card .tape.leaf { background: rgba(114, 155, 105, 0.75); }

/* ---------- mobile: one column, nothing stacked on the title ---------- */

@media (max-width: 899px) {
  .mast-inner {
    flex-wrap: wrap;
    min-height: 72px;
  }

  .brand img { height: 54px; }

  .nav-label { display: inline-flex; }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 0.6rem;
    padding: 0.35rem 0 0.2rem;
    gap: 0.35rem;
  }

  .nav-toggle:checked ~ .nav { display: flex; }

  .nav a {
    padding: 0.55rem 0.2rem;
  }

  .nav .btn {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 1.2rem;
    align-items: start;
  }

  .hero-copy,
  .stage {
    width: 100%;
    min-height: 0;
  }

  .hero-lead { max-width: 22ch; }

  .stage {
    padding-top: 0.4rem;
  }

  .sky-cloud,
  .peek-bush {
    display: none;
  }

  .step .mini-side {
    left: auto;
    right: 6px;
    bottom: 22px;
  }

  .step .yarn {
    left: 168px;
    width: 64px;
    top: 72px;
  }

  .board-scene,
  .scene-card,
  .peek,
  .exhibit-card,
  .step,
  .aside-note {
    transform: none;
  }

  .scene-grid,
  .peek-grid,
  .stamp-grid,
  .desk-grid,
  .step,
  .step:nth-child(even),
  .exhibit,
  .exhibit:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .step:nth-child(even) .step-copy,
  .exhibit:nth-child(even) .exhibit-copy {
    order: 0;
  }

  .skyband-inner {
    grid-template-columns: 1fr;
  }

  .skyband .mascot {
    width: 84px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .sq-label { font-size: 0.52rem; }
  .hero-logo { width: 100%; }
}
