/* Squirrel Siege site styles. One file for every page. */

:root {
  --garden: #264a2e;      /* deep garden green */
  --garden-dark: #1b3622;
  --grass: #6aa84f;
  --grass-light: #86c063;
  --gold: #f6be3a;
  --gold-lip: #cf8f17;
  --wood: #a8703e;
  --wood-dark: #8f5c30;   /* wood that carries cream text (AA) */
  --wood-lip: #5f3a1c;
  --bark: #4a2c1a;
  --ink: #341e14;
  --red: #cc4236;
  --red-deep: #b93a2f;    /* red that carries cream text (AA) */
  --cream: #fff4d6;
  --cream-shade: #f1dfb0;
  --sky: #2f7fe0;
  --sky-deep: #1c4f9c;
  --sky-mid: #2463bd;

  --display: "Baloo 2", "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --line: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--garden);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 5.5vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--gold); color: var(--ink);
  padding: 0.6rem 1rem; border: var(--line) solid var(--ink); border-radius: 12px;
  font-weight: 800;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Section bands ---------- */

.band { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; }
.band--cream { background: var(--cream); color: var(--ink); }
.band--grass { background: var(--grass); color: var(--ink); }
.band--bark { background: var(--bark); color: var(--cream); }
.band--garden { background: var(--garden); color: var(--cream); }

/* The dark outline the game draws under every path and panel, used between bands. */
.band + .band, .band--edge { border-top: 6px solid var(--ink); }

/* Low-poly lawn: big soft triangles, like the game's ground. */
.facets {
  background-color: var(--garden);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='208' viewBox='0 0 240 208'%3E%3Cpath fill='%232b5334' d='M0 0h120L60 104z'/%3E%3Cpath fill='%23234529' d='M120 0h120l-60 104z'/%3E%3Cpath fill='%23294f31' d='M60 104 120 0l60 104z'/%3E%3Cpath fill='%23214227' d='M0 208l60-104 60 104z'/%3E%3Cpath fill='%232d5636' d='M60 104h120l-60 104z'/%3E%3Cpath fill='%23274c2f' d='M120 208l60-104 60 104z'/%3E%3Cpath fill='%23254829' d='M0 0l60 104H0zM240 0v104h-60z'/%3E%3Cpath fill='%232a5132' d='M0 104h60L0 208zM240 104v104l-60-104z'/%3E%3C/svg%3E");
  background-size: 240px 208px;
}

/* ---------- Buttons: wooden and gold slabs with a darker lower lip ---------- */

.btn {
  --face: var(--gold);
  --lip: var(--gold-lip);
  --text: var(--ink);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 3.5rem;
  padding: 0.55rem 1.5rem 0.95rem;
  background: var(--face);
  color: var(--text);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  box-shadow: inset 0 -7px 0 var(--lip), inset 0 3px 0 rgb(255 255 255 / 0.28), 0 5px 0 var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 80ms ease-out, box-shadow 80ms ease-out;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 -7px 0 var(--lip), inset 0 3px 0 rgb(255 255 255 / 0.28), 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 -3px 0 var(--lip), inset 0 3px 0 rgb(255 255 255 / 0.28), 0 1px 0 var(--ink); }
.btn--big { font-size: clamp(1.35rem, 3.4vw, 1.7rem); padding: 0.8rem 2rem 1.25rem; border-radius: 20px; }
.btn--wood { --face: var(--wood-dark); --lip: var(--wood-lip); --text: var(--cream); }
.btn--small { min-height: 2.75rem; font-size: 1.05rem; padding: 0.3rem 1rem 0.65rem; border-radius: 13px; }

/* Store buttons. site.js swaps the note when a real URL is set. */
.store { min-width: 10.5rem; }
.store__note {
  font-family: var(--body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.01em;
  color: var(--cream); opacity: 0.95;
}
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"]:hover { transform: none; box-shadow: inset 0 -7px 0 var(--lip), inset 0 3px 0 rgb(255 255 255 / 0.28), 0 5px 0 var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 0.8rem; align-items: flex-start; }

/* ---------- Header ---------- */

.top {
  background: var(--garden-dark);
  border-bottom: 4px solid var(--ink);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1;
  color: var(--gold); text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); font-weight: 700; }
.nav a:not(.btn) { text-decoration: none; padding: 0.4rem 0.1rem; }
.nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 400px) { .brand span { font-size: 1.1rem; } }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in {
  position: relative;
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
}

/* Logo: gold over cream, ink outline and a dropped lip, after the title screen. */
.logo {
  margin: 0;
  font-size: clamp(3.1rem, 15.5vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--gold);
  --o: 0.045em;
  text-shadow:
    var(--o) 0 var(--ink), calc(var(--o) * -1) 0 var(--ink), 0 var(--o) var(--ink), 0 calc(var(--o) * -1) var(--ink),
    calc(var(--o) * 0.7) calc(var(--o) * 0.7) var(--ink), calc(var(--o) * -0.7) calc(var(--o) * 0.7) var(--ink),
    calc(var(--o) * 0.7) calc(var(--o) * -0.7) var(--ink), calc(var(--o) * -0.7) calc(var(--o) * -0.7) var(--ink),
    calc(var(--o) * 0.92) calc(var(--o) * 0.38) var(--ink), calc(var(--o) * -0.92) calc(var(--o) * 0.38) var(--ink),
    calc(var(--o) * 0.92) calc(var(--o) * -0.38) var(--ink), calc(var(--o) * -0.92) calc(var(--o) * -0.38) var(--ink),
    calc(var(--o) * 0.38) calc(var(--o) * 0.92) var(--ink), calc(var(--o) * -0.38) calc(var(--o) * 0.92) var(--ink),
    calc(var(--o) * 0.38) calc(var(--o) * -0.92) var(--ink), calc(var(--o) * -0.38) calc(var(--o) * -0.92) var(--ink),
    0 0.1em 0 var(--ink), var(--o) 0.1em 0 var(--ink), calc(var(--o) * -1) 0.1em 0 var(--ink),
    0 0.14em 0 var(--ink), calc(var(--o) * 0.7) 0.14em 0 var(--ink), calc(var(--o) * -0.7) 0.14em 0 var(--ink);
}
.logo span { display: block; }
.logo span + span { color: var(--cream); padding-top: 0.08em; }

.ribbon {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin: clamp(1.4rem, 3vw, 2rem) 0 1.2rem;
  padding: 0.25em 0.8em 0.3em;
  background: var(--red-deep); color: var(--cream);
  border: var(--line) solid var(--ink); border-radius: 10px;
  box-shadow: inset 0 -5px 0 #8d2a22, 0 4px 0 var(--ink);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 4.6vw, 2rem); line-height: 1.2; letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}
.acorn { width: 0.8em; height: 0.8em; flex: none; }

.hero__lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 34ch; margin-bottom: 1.6rem; }
.hero__stores { margin-top: 1.1rem; }

/* Mascot on the app icon's sunburst. */
.burst {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  border: 5px solid var(--ink);
  background:
    radial-gradient(circle at 50% 40%, #8fd0ff 0 24%, #5fb3f6 24.3% 38%, transparent 38.3%),
    repeating-conic-gradient(from 8deg at 50% 40%, var(--sky) 0 18deg, #4a97ee 18deg 36deg);
  box-shadow: 0 8px 0 var(--ink);
}
.burst::after {           /* the green hill from the icon */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(120% 60% at 40% 112%, var(--grass) 0 60%, transparent 60.5%);
}
.burst img {
  position: absolute; z-index: 1;
  left: 50%; bottom: 2%;
  width: 66%; height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 0 rgb(52 30 20 / 0.35));
  animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 820px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .burst { width: min(62vw, 15rem); }
}

/* ---------- Screenshots ----------
   Captures are 1500x690 with a notch pill at the left edge. The frame shows the
   middle 1300px: the image is drawn 15.4% wider than the frame and shifted left. */

.shot {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 1300 / 690;
  background: var(--garden-dark);
  border: 4px solid var(--ink);
  border-radius: clamp(12px, 2vw, 22px);
  box-shadow: 0 8px 0 var(--ink);
}
.shot img { width: 115.385%; max-width: none; margin-left: -7.692%; }
a.shot { transition: transform 120ms ease-out; }
a.shot:hover { transform: translateY(-3px) rotate(-0.4deg); }

figure { margin: 0; }
figcaption { margin-top: 1rem; font-size: 0.95rem; font-weight: 700; max-width: 60ch; }

/* ---------- What the game is ---------- */

.about { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.about__shot { transform: rotate(1.2deg); }
.about p { font-size: 1.12rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__shot { transform: none; } }

/* ---------- The Dive: breaks the grid ---------- */

.dive {
  background:
    repeating-conic-gradient(from 0deg at 78% 46%, var(--sky-deep) 0 10deg, var(--sky-mid) 10deg 20deg);
  color: #fff;
  overflow: hidden;
}
.dive__head { max-width: 46rem; }
.dive h2 { font-size: clamp(2.6rem, 9vw, 6rem); line-height: 0.92; margin-bottom: 0.35em; text-shadow: 0 0.07em 0 var(--ink); }
.dive__lede { font-size: clamp(1.15rem, 2.4vw, 1.4rem); max-width: 40ch; }
.dive__stage {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.dive__big {
  /* runs off the right edge of the page on wide screens */
  margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap) - 2 * var(--gutter)) / 2) - 1rem);
  transform: rotate(-1.4deg);
  transform-origin: left center;
}
.dive__big .shot { border-width: 5px; border-radius: 26px 0 0 26px; box-shadow: 0 12px 0 var(--ink); }
.dive__after { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.dive__small { flex: 0 1 24rem; transform: rotate(2.4deg); }
.dive__out { flex: 1 1 18rem; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15; max-width: 22ch; text-shadow: 0 0.08em 0 var(--ink); }
.dive__big figcaption, .dive__small figcaption { color: #fff; }
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 12px;
  box-shadow: inset 0 -4px 0 var(--gold-lip), 0 3px 0 var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; padding-bottom: 3px;
}
.steps h3 { margin-bottom: 0.2em; }
.steps p { margin: 0; }

@media (max-width: 900px) {
  .dive__stage { grid-template-columns: 1fr; }
  .dive__big { order: -1; margin-left: calc(-1 * var(--gutter) + 0.75rem); }
  .dive__after { flex-direction: column; align-items: stretch; }
  .dive__small { flex: none; transform: rotate(1deg); }
  .dive__out { flex: none; }
}

/* ---------- Towers: laid out like the in-game build menu ---------- */

.towers { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
.towers__side { position: sticky; top: 1.5rem; }
@media (max-width: 900px) { .towers { grid-template-columns: 1fr; } .towers__side { position: static; } }

.menu {
  background: var(--bark);
  border: 4px solid var(--ink); border-radius: 22px;
  box-shadow: inset 0 0 0 3px var(--wood-lip), 0 8px 0 var(--ink);
  padding: clamp(0.8rem, 2vw, 1.25rem);
  display: grid; gap: 0.8rem;
}
.menu__row {
  background: var(--grass); color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 16px;
  box-shadow: inset 0 -6px 0 #4f8a3a, inset 0 3px 0 rgb(255 255 255 / 0.22);
  padding: 0.9rem 1.1rem 1.25rem;
}
.menu__name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 0.15em; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.dot { width: 1.1em; height: 1.1em; flex: none; border-radius: 50%; border: var(--line) solid var(--ink); background: var(--c, var(--gold)); }
.menu__row p { margin: 0 0 0.7rem; font-weight: 600; }
.branches { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.branches li {
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px;
  padding: 0.3rem 0.65rem; font-size: 0.92rem; line-height: 1.35;
}
.branches b { font-family: var(--display); font-weight: 800; font-size: 1.02rem; }

/* ---------- Squirrels ---------- */

.roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.roster > div { padding: 1rem 0; border-top: var(--line) solid var(--ink); }
.roster dt { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.roster dd { margin: 0.2rem 0 0; font-weight: 600; }
.king {
  margin-top: 1.5rem;
  background: var(--gold); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 22px; box-shadow: inset 0 -8px 0 var(--gold-lip), 0 8px 0 var(--ink);
  padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.2rem);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1.5rem;
}
.king h3 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.king p { margin: 0; font-weight: 700; flex: 1 1 18rem; }
.aim { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; margin-top: clamp(3rem, 7vw, 5rem); }
.aim__shot { transform: rotate(-1deg); }
@media (max-width: 860px) { .aim { grid-template-columns: 1fr; } .aim__shot { transform: none; } }
.modes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.modes li {
  background: var(--garden); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 10px; padding: 0.2rem 0.7rem 0.3rem;
  font-family: var(--display); font-weight: 700;
}

/* ---------- Seasons ---------- */

.seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.season:nth-child(even) { margin-top: clamp(0rem, 5vw, 3.5rem); }
.season h3 {
  display: inline-block; position: relative; z-index: 1;
  margin: 0 0 -0.9rem 1rem; padding: 0.15em 0.7em 0.3em;
  background: var(--s, var(--gold)); color: var(--st, var(--ink));
  border: var(--line) solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 var(--ink);
  transform: rotate(-2deg);
}
.season figcaption { color: var(--ink); }
@media (max-width: 640px) { .seasons { grid-template-columns: 1fr; } .season:nth-child(even) { margin-top: 0; } }

.types { margin-top: clamp(3rem, 7vw, 5rem); }
.types dl { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); gap: 0 2rem; }
.types dl > div { padding: 0.8rem 0; border-top: var(--line) solid var(--ink); }
.types dt { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.types dd { margin: 0; }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2rem; }
.gallery li { grid-column: span 2; }
.gallery li:nth-child(1), .gallery li:nth-child(2) { grid-column: span 3; }
.gallery figcaption { color: var(--cream); font-weight: 600; margin-top: 0.9rem; }
@media (max-width: 860px) { .gallery li, .gallery li:nth-child(1), .gallery li:nth-child(2) { grid-column: span 3; } }
@media (max-width: 560px) { .gallery li, .gallery li:nth-child(1), .gallery li:nth-child(2) { grid-column: span 6; } }

.lightbox {
  border: 4px solid var(--ink); border-radius: 18px; padding: 0; background: var(--bark); color: var(--cream);
  width: min(96vw, 1300px); max-height: 94vh; overflow: hidden;
}
.lightbox::backdrop { background: rgb(20 12 8 / 0.82); }
.lightbox .shot { border: 0; border-radius: 0; box-shadow: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.8rem 0.9rem 1rem; }
.lightbox__bar p { margin: 0; font-weight: 700; font-size: 0.95rem; }

/* ---------- Platforms ---------- */

.platforms { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } }
.plist > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 1.1rem 0 1.3rem; border-top: var(--line) solid rgb(255 244 214 / 0.35); }
.plist > li:last-child { border-bottom: var(--line) solid rgb(255 244 214 / 0.35); }
.plist h3 { margin: 0; }
.plist p { margin: 0; opacity: 0.92; }

/* ---------- Footer ---------- */

.foot { background: var(--garden-dark); border-top: 6px solid var(--ink); padding-block: 2.5rem 3rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-weight: 700; }
.foot p { margin: 0; font-size: 0.95rem; }

/* ---------- Text pages (privacy, press) ---------- */

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); color: var(--gold); text-shadow: 0 0.07em 0 var(--ink); margin: 0 0 0.2em; }
.page-head p { font-size: 1.2rem; margin: 0; }

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; max-width: 62ch; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--red-deep); }
.note {
  background: var(--cream-shade); border: var(--line) solid var(--ink); border-radius: 16px;
  padding: 1rem 1.25rem; margin: 0 0 2rem; box-shadow: 0 5px 0 var(--ink);
}
.note p { margin: 0; font-weight: 700; }

.facts { margin: 0 0 2.5rem; border-bottom: var(--line) solid var(--ink); max-width: 52rem; }
.facts > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.25rem 1.5rem; padding: 0.8rem 0; border-top: var(--line) solid var(--ink); }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; } }

.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 2rem 1.5rem; margin-top: 1.5rem; }
.downloads figcaption { color: var(--ink); display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; justify-content: space-between; font-weight: 600; }
.downloads figcaption a { font-weight: 800; }
.icon-dl { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 1.5rem; }
.icon-dl img { width: 9rem; height: 9rem; border-radius: 22%; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.icon-dl .mascot-tile { background: var(--sky); object-fit: contain; }
.icon-dl ul { display: grid; gap: 0.4rem; font-weight: 800; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The big Dive shot bleeds off the right edge; keep its caption on the page. */
.dive__big figcaption { padding-right: calc(var(--gutter) + 1.5rem); }
.plist > li > div { flex: 1 1 12rem; }
