/* ==========================================================================
   Pinebyte

   Cinematic, built from key art. Every page opens on a full-bleed image of
   a game with the type set over it; the catalogue is a wall of posters.
   The chrome is neutral — plain greys in both themes — so the only colour
   on the page comes from the games. Light and dark follow the system and
   can be switched in the header. Fonts are Inter, served from this site;
   nothing is fetched from a third party.
   ========================================================================== */

@font-face {
  font-family: "Inter Display";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/InterDisplay-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/Inter-SemiBold.woff2") format("woff2");
}

/* Light is the base; dark overrides. Both are pure neutrals: no blue in the
   dark greys, and the dark background stops short of true black. */
:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --bg-3: #e9e9e9;
  --ink: #161616;
  --ink-2: #5e5e5e;
  --ink-3: #8c8c8c;
  --line: rgb(0 0 0 / 0.08);
  --line-2: rgb(0 0 0 / 0.16);

  /* Heroes and posters sit on a dark field whatever the theme, because the
     art is dark and the type over it is white. */
  --hero-bg: #161616;

  /* Set per page on <body>, and per poster inline. Used only for small
     marks — bullets, the rule beside a summary — never for surfaces. */
  --accent: #161616;
  --on-accent: #ffffff;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 76rem;
  --gutter: 1.25rem;
  --rule: 1px solid var(--line);
  --radius: 12px;
  --radius-lg: 18px;
  --top-h: 4rem;
}

@media (min-width: 40rem) { :root { --gutter: 2.5rem; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #151515;
    --bg-2: #1d1d1d;
    --bg-3: #262626;
    --ink: #f2f2f2;
    --ink-2: #a3a3a3;
    --ink-3: #747474;
    --line: rgb(255 255 255 / 0.08);
    --line-2: rgb(255 255 255 / 0.16);
    --hero-bg: #151515;
    --accent: #f2f2f2;
    --on-accent: #161616;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151515;
  --bg-2: #1d1d1d;
  --bg-3: #262626;
  --ink: #f2f2f2;
  --ink-2: #a3a3a3;
  --ink-3: #747474;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.16);
  --hero-bg: #151515;
  --accent: #f2f2f2;
  --on-accent: #161616;
}

/* --- base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 1rem); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

.skip {
  position: absolute;
  left: -9999px;
  padding: 0.625rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus { left: 0; top: 0; z-index: 50; }

/* --- shell and sections --------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section--tight { padding-block: 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section + .section { padding-top: 0; }

.section__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section__head { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.section__more {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.section__more:hover { color: var(--ink); }

/* --- type ----------------------------------------------------------------- */

.display {
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  max-width: 18ch;
  margin: 0 0 0.75rem;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0;
}
.lede--light { color: rgb(255 255 255 / 0.78); }

.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}
.link:hover { text-decoration-color: currentColor; }

.mono { font-family: var(--font-mono); font-size: 0.875em; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 1.75rem 0 0;
}
.actions .link { font-size: 0.9375rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 140ms, border-color 140ms, color 140ms;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.btn--ghost {
  border-color: var(--line-2);
  background: rgb(255 255 255 / 0.04);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }

/* Official store badges, unmodified, as both stores require. Apple's black
   badge goes on light backgrounds and the white-bordered one on dark, so
   both are in the markup and the theme (or the hero) picks one. Neither SVG
   carries clear space, so both render at the same height. */
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { width: auto; }
.badge img { height: 2.7rem; }
.badge__wht { display: none; }
:root[data-theme="dark"] .badge__blk, .hero .badge__blk { display: none; }
:root[data-theme="dark"] .badge__wht, .hero .badge__wht { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge__blk { display: none; }
  :root:not([data-theme="light"]) .badge__wht { display: block; }
}
:root[data-theme="light"] .hero .badge__blk { display: none; }
:root[data-theme="light"] .hero .badge__wht { display: block; }
.side__store { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.side__store .badge { flex: none; }

.tag {
  display: inline-block;
  padding: 0 0.45rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-2);
  vertical-align: 0.1em;
  white-space: nowrap;
}

/* --- header --------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--rule);
  transition: background-color 200ms, border-color 200ms;
}
/* Over a hero the bar floats on the image and only gains a background once
   the page scrolls. Set by site.js; without it the bar is simply solid. */
.top--over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top--over.top--solid { background: color-mix(in srgb, var(--bg) 86%, transparent); border-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* While it floats over the dark hero the bar is white-on-image in any theme. */
.top--over:not(.top--solid) { --ink: #ffffff; --ink-2: rgb(255 255 255 / 0.78); --bg: #161616; --line-2: rgb(255 255 255 / 0.3); }

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--top-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.wordmark__mark { width: 28px; height: 28px; border-radius: 7px; }

.topnav { display: flex; align-items: center; gap: clamp(0.75rem, 2.5vw, 1.75rem); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.topnav a { padding: 0.5rem 0; text-decoration: none; color: var(--ink-2); }
.wordmark { white-space: nowrap; }
@media (max-width: 26rem) { .topnav { font-size: 0.875rem; gap: 0.625rem; } .wordmark { font-size: 1rem; gap: 0.5rem; } }
.topnav a:hover, .topnav a[aria-current] { color: var(--ink); }
.topnav__cta {
  padding: 0.5rem 1rem !important;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink) !important;
}
.topnav__cta:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
@media (max-width: 30rem) { .topnav__cta { display: none; } }

.theme {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.theme svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme__sun { display: none; }
:root[data-theme="dark"] .theme__sun { display: block; }
:root[data-theme="dark"] .theme__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme__sun { display: block; }
  :root:not([data-theme="light"]) .theme__moon { display: none; }
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 92svh, 52rem);
  padding-top: var(--top-h);
  overflow: hidden;
  background: var(--hero-bg);
  color: #ffffff;
  --ink: #ffffff;
  --ink-2: rgb(255 255 255 / 0.78);
  --ink-3: rgb(255 255 255 / 0.62);
  --line-2: rgb(255 255 255 / 0.3);
}
.hero--game { min-height: clamp(30rem, 78svh, 44rem); }
.hero--short { min-height: clamp(24rem, 60svh, 34rem); }

.hero__art, .hero__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--hero-bg) 0%, rgb(22 22 22 / 0.85) 28%, rgb(22 22 22 / 0.25) 60%, rgb(22 22 22 / 0.15) 100%),
    linear-gradient(to right, rgb(22 22 22 / 0.55), transparent 60%);
}

.hero__inner {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero__eyebrow {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.72);
}
.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5.5rem);
  max-width: 14ch;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}
.hero__title--game { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.5rem); max-width: none; margin-bottom: 0.25rem; }
.hero__sub { margin: 0 0 0.625rem; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: rgb(255 255 255 / 0.8); }

.hero__lead {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 44rem;
}
.hero__leadname { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.hero__leadname a { text-decoration: none; }
.hero__leadname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero__leadkind { margin-left: 0.5rem; font-weight: 400; color: var(--ink-2); font-size: 0.9375rem; }
.hero__leadsum { margin: 0.125rem 0 0; color: rgb(255 255 255 / 0.78); font-size: 0.9688rem; line-height: 1.5; max-width: 52ch; }

.hero .meta { color: rgb(255 255 255 / 0.7); }
.hero .crumbs { margin-bottom: 1.25rem; color: rgb(255 255 255 / 0.65); }
.hero .btn--primary { background: #ffffff; color: #161616; }
.hero .btn--primary:hover { background: #e4e4e4; }
.hero .btn--ghost { color: #ffffff; border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.06); }
.hero .btn--ghost:hover { border-color: #ffffff; background: rgb(255 255 255 / 0.14); }

/* --- icon ----------------------------------------------------------------- */

.icon {
  display: grid;
  place-items: center;
  flex: none;
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--i1);
  color: var(--i-on);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08), 0 6px 18px rgb(0 0 0 / 0.25);
}
.icon img { width: 100%; height: 100%; object-fit: cover; }
.icon > span { font-family: var(--font-display); font-weight: 700; font-size: 46%; line-height: 1; }
.icon--sm { width: 2.75rem; }
.icon--md { width: 3.75rem; }
.icon--lg { width: clamp(4.5rem, 4rem + 2vw, 6rem); }

/* --- posters -------------------------------------------------------------- */

.posters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
.poster { min-width: 0; }
/* Six columns: a wide poster takes three, a normal one two, so two wide
   plus three normal fill two rows exactly. */
@media (min-width: 40rem) {
  .posters { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .poster { grid-column: span 2; }
  .poster--wide { grid-column: span 3; }
}


.poster__link {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #2a2a2a;
  color: #ffffff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--line) inset;
}
.poster__art {
  display: block;
  aspect-ratio: 16 / 10;
  background: #2a2a2a;
}
.poster--wide .poster__art { aspect-ratio: 16 / 9; }
.poster__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.poster__link:hover .poster__art img { transform: scale(1.03); }
.poster__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgb(16 16 16 / 0.92), rgb(16 16 16 / 0.55) 55%, transparent);
}
.poster__text { min-width: 0; }
.poster__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.poster--wide .poster__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.poster__kind { display: block; margin-top: 0.125rem; font-size: 0.8125rem; color: rgb(255 255 255 / 0.68); }

@media (max-width: 39.99rem) {
  .poster__art { aspect-ratio: 16 / 9; }
  .poster__title { font-size: 1.25rem; }
}

/* --- genres --------------------------------------------------------------- */

.genres { display: grid; gap: 0.875rem; }
@media (min-width: 40rem) { .genres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.genre__link {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.875rem;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  text-decoration: none;
  transition: box-shadow 140ms;
}
.genre__link:hover { box-shadow: 0 0 0 1px var(--line-2) inset; }
.genre__art {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a2a2a;
}
.genre__art img { width: 100%; height: 100%; object-fit: cover; }
.genre__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; }
.genre__count { display: block; font-size: 0.8125rem; color: var(--ink-3); }
.genre__blurb { display: block; margin-top: 0.375rem; font-size: 0.9062rem; color: var(--ink-2); line-height: 1.45; }

/* --- studio statement ----------------------------------------------------- */

.section--studio { border-top: var(--rule); margin-top: 1rem; }
.studio { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .studio { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; } }
.studio__statement {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  max-width: 18ch;
}
.studio__body { color: var(--ink-2); max-width: 44rem; }
.studio__body p { margin: 0 0 1em; }

/* --- filters -------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.filters a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.filters a:hover { color: var(--ink); border-color: var(--ink); }
.filters a.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters a.is-on:hover { color: var(--bg); background: color-mix(in srgb, var(--ink) 82%, var(--bg)); }

/* --- page headers --------------------------------------------------------- */

.pagehead { padding-block: clamp(3rem, 2rem + 4vw, 6rem) 0; }
.pagehead + .section { padding-top: clamp(2rem, 1rem + 2.5vw, 3rem); }

.crumbs { margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.375rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.gamehead__top { display: flex; align-items: flex-start; gap: 1.25rem; }
.gamehead__text { min-width: 0; }
.gamehead__top .display { margin: 0 0 0.25rem; max-width: none; }
.gamehead__sub { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.meta li:not(:last-child)::after { content: ""; display: inline-block; width: 1px; height: 0.8em; margin: 0 0.625rem -0.05em; background: currentColor; opacity: 0.4; }

.errcode { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* --- two-column body ------------------------------------------------------ */

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1fr) 19rem; gap: 5rem; }
  .side { position: sticky; top: calc(var(--top-h) + 1.5rem); }
}

.side {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.side__head { font-family: var(--font); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 0.5rem; }
.side__store { margin: 1.25rem 0 0; }
.side__store .btn { flex: 1 1 100%; }
.side__links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 0; font-size: 0.875rem; }

/* --- prose ---------------------------------------------------------------- */

.prose { max-width: 42rem; }
.prose p { margin: 0 0 1.1em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); margin: 1.8em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }

.standfirst { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.5; color: var(--ink) !important; }

.bullets { margin: 0 0 1.25em; }
.bullets li { position: relative; padding-left: 1.25rem; margin-bottom: 0.375rem; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--ink-3);
}

.note { font-size: 0.8125rem; color: var(--ink-3) !important; margin-top: 2rem; }

/* --- facts and topics ----------------------------------------------------- */

.facts { margin: 0; font-size: 0.9062rem; }
.facts > div { display: flex; gap: 1rem; padding: 0.5625rem 0; border-bottom: var(--rule); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { flex: none; width: 6.5rem; color: var(--ink-3); }
.facts dd { flex: 1 1 auto; min-width: 0; margin: 0; font-variant-numeric: tabular-nums; }

.topics { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .topics { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.topic {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.topic__head { font-size: 1.125rem; margin-bottom: 0.375rem; }
.topic__body { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.topic .link { font-size: 0.9375rem; }

/* --- privacy pages -------------------------------------------------------- */

.summary {
  margin: 0 0 2rem;
  padding: 1.25rem 1.25rem 1.25rem 1.375rem;
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.summary__head { font-size: 1.125rem; margin: 0 0 0.75rem; }
.summary__list li { position: relative; padding-left: 1.125rem; margin-bottom: 0.5rem; font-size: 0.9688rem; line-height: 1.5; }
.summary__list li:last-child { margin-bottom: 0; }
.summary__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--ink-3);
}
.summary__list strong { font-weight: 600; }

.facts--policy { margin-bottom: 1rem; border-top: var(--rule); }
.facts--policy > div:last-child { border-bottom: var(--rule); }
.facts--policy dt { width: 10rem; }
@media (max-width: 30rem) {
  .facts--policy > div { flex-direction: column; gap: 0.125rem; }
  .facts--policy dt { width: auto; font-size: 0.8125rem; }
}

.policies { margin: 0 0 1.5em; border-top: var(--rule); }
.policy { border-bottom: var(--rule); }
.policy__link { display: flex; align-items: center; gap: 0.875rem; padding: 0.75rem 0; text-decoration: none !important; }
.policy__body { min-width: 0; }
.policy__title { display: block; font-weight: 600; font-size: 0.9688rem; color: var(--ink); }
.policy__meta { display: block; font-size: 0.8125rem; color: var(--ink-3); }
.policy__link:hover .policy__title { text-decoration: underline; text-underline-offset: 3px; }

/* --- screenshots ---------------------------------------------------------- */

.shots {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.shot {
  flex: none;
  scroll-snap-align: start;
  width: min(12rem, 46vw);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  cursor: zoom-in;
}

.viewer { border: none; padding: 0; background: transparent; max-width: 92vw; }
.viewer::backdrop { background: rgb(12 12 12 / 0.9); }
.viewer img { max-height: 84vh; width: auto; border-radius: var(--radius); }
.viewer__close {
  display: block;
  margin: 0.875rem auto 0;
  padding: 0.5rem 1.125rem;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* --- footer --------------------------------------------------------------- */

.foot { border-top: var(--rule); margin-top: clamp(2rem, 1rem + 3vw, 4rem); background: var(--bg-2); }
.foot__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-block: 3rem 2rem;
  font-size: 0.9375rem;
}
.foot__brand { grid-column: 1 / -1; }
.foot__brand p { margin: 0.75rem 0 0; color: var(--ink-2); max-width: 34ch; }
.foot__col { display: flex; flex-direction: column; gap: 0.5rem; }
.foot__col a { text-decoration: none; color: var(--ink-2); }
.foot__col a:hover { color: var(--ink); }
.foot__copy {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding-top: 1.25rem;
  border-top: var(--rule);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
@media (min-width: 48rem) {
  .foot__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot__brand { grid-column: auto; }
}

/* --- motion and print ----------------------------------------------------- */

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

@media print {
  .top, .foot, .actions, .crumbs, .hero__art, .hero__shade, .side__store { display: none; }
  body { color: #000; background: #fff; font-size: 10.5pt; }
  .hero { min-height: 0; }
}
