/* DV Game Design public site. Palette from the club's own seal and pixel logotype.
   Boldness lives in one place: pixel-cornered cartridges and buttons on the club's own pixel sky.
   Everything else is quiet: graph paper, plain type, generous space. No em dashes in copy. */

@font-face { font-family: "Pixelify Sans"; src: url(/fonts/pixelify-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(/fonts/atkinson-next.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(/fonts/atkinson-next-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --navy: #1f2a63;      /* seal ring */
  --navy-2: #141b44;    /* deeper, for footer and studio */
  --ink: #1b2140;
  --ink-2: #4a5376;
  --paper: #f2f5fb;
  --white: #ffffff;
  --rule: #cfd7ea;
  --orange: #f2661b;    /* Yolo County on the seal: actions */
  --orange-2: #ff7a2e;
  --sky: #3bb4f2;       /* logotype blue */
  --sky-ink: #0f6fa6;   /* sky dark enough for text on paper */
  --green: #7cc544;     /* club shirts, "Design Club" */
  --coin: #ffc83d;      /* logotype yellow, used sparingly */
  --grid: rgba(124, 197, 68, 0.13);
  --px: 6px;            /* pixel notch size */
  --display: "Pixelify Sans", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coin); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 760px; }
.small { font-size: 0.92rem; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--coin); color: var(--navy); padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- pixel notch: the one decorative device ---------- */
.btn, .cart, .cart-play, .fchip, .status, .hub a, .sent, .callout, .game-shot, .facts {
  clip-path: polygon(0 var(--px), var(--px) var(--px), var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)));
}

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--orange); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding: 11px 22px 12px; text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18); }
.btn:hover { background: var(--orange-2); color: var(--navy); }
.btn:active { box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.2); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: -7px; }
.btn-big { font-size: 1.2rem; padding: 14px 28px 16px; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 3px currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: inherit; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--coin); }

/* ---------- header ---------- */
.site-head { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--navy-2); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.brand-sub { font-size: 0.78rem; color: #b9c3ea; }
.brand:hover { color: var(--white); }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.1rem; padding: 8px 12px; border-bottom: 4px solid transparent; }
.nav a:hover { color: var(--coin); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }
.btn-head { font-size: 1rem; padding: 9px 18px 10px; }
.nav-m { display: none; }

@media (max-width: 960px) {
  .nav, .btn-head { display: none; }
  .nav-m { display: block; position: relative; }
  .nav-m summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; background: var(--navy-2); }
  .nav-m summary::-webkit-details-marker { display: none; }
  .nav-m summary span { display: block; height: 4px; background: var(--white); }
  .nav-m[open] summary { background: var(--orange); }
  .nav-m[open] summary span { background: var(--navy); }
  .nav-m ul { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); list-style: none; margin: 0; padding: 10px; background: var(--navy-2); border: 3px solid var(--sky); }
  .nav-m a { display: block; color: var(--white); text-decoration: none; font-family: var(--display); font-size: 1.25rem; padding: 10px 12px; }
  .nav-m a[aria-current="page"] { color: var(--green); }
  .nav-m .btn { color: var(--navy); margin-top: 8px; text-align: center; }
  .brand-sub { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 24px; position: relative; z-index: 1; }
.hero-kicker { font-family: var(--display); color: var(--sky); font-size: 1.15rem; margin-bottom: 0.4em; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; margin-bottom: 0.35em; text-wrap: balance; }
.hero-lede { font-size: 1.2rem; max-width: 36em; color: #e4e9fb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero-note { color: #b9c3ea; font-size: 0.95rem; }
.hero-seal { justify-self: center; }
.hero-seal img { width: min(360px, 100%); filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.25)); }
.hero-sky { height: 190px; margin-top: -30px; background: url(/img/sky.webp) repeat-x left bottom / auto 100%; image-rendering: pixelated; }
.ticker { background: var(--green); color: var(--navy); border-top: 4px solid var(--navy-2); }
.ticker p { margin: 0; padding: 12px 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; }
  .hero-seal { order: -1; justify-self: start; }
  .hero-seal img { width: 140px; }
  .hero-sky { height: 120px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sky { background-image: url(/img/sky-still.webp); }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.paper { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.h-left { margin-bottom: 0.8em; }
.section-head { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: baseline; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 46em; }
.more { font-family: var(--display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } .section { padding: 52px 0; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- the arcade shelf (the memorable element) ---------- */
.arcade-shelf { background: var(--navy-2); color: var(--white); }
.arcade-shelf .section-head p { color: #b9c3ea; }
.arcade-shelf a.more { color: var(--coin); }
.carts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.cart { position: relative; display: flex; flex-direction: column; background: var(--navy); color: var(--white); padding: 12px 12px 18px; }
.cart-shot { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0b1233; }
.cart-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cart-label { background: var(--white); color: var(--ink); padding: 14px 16px 12px; margin-top: 12px; flex: 1; border-left: 6px solid var(--sky); }
.cart:nth-child(3n+2) .cart-label { border-left-color: var(--green); }
.cart:nth-child(3n+3) .cart-label { border-left-color: var(--orange); }
.cart h3 { font-size: 1.25rem; margin: 0 0 2px; }
.cart h3 a { color: var(--navy); text-decoration: none; }
.cart h3 a:hover { text-decoration: underline; }
.cart-by { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 8px; }
.cart-blurb { font-size: 0.95rem; margin: 0 0 10px; }
.cart-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 8px; background: #e6ecf8; color: var(--navy); }
.chip-soft { background: #fff3cf; }
.cart-screen { position: relative; }
.cart-play { position: absolute; right: 10px; bottom: -18px; z-index: 1; }
.cart-play { display: inline-block; background: var(--green); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1rem; padding: 7px 14px 8px; text-decoration: none; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); }
.cart-play:hover { background: var(--coin); color: var(--navy); }
.cart-play:focus-visible { outline: 3px solid var(--navy); outline-offset: -7px; }
.filters p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.filters { margin-bottom: 28px; }
.fchip { display: inline-block; background: var(--navy); color: var(--white); text-decoration: none; padding: 6px 14px 7px; font-family: var(--display); font-weight: 500; }
.fchip:hover { background: var(--sky); color: var(--navy); }
.fchip[aria-current="true"] { background: var(--coin); color: var(--navy); }
.empty { color: #b9c3ea; }
.empty a { color: var(--coin); }

/* ---------- paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.path { border-top: 6px solid var(--sky); padding-top: 18px; }
.path-school { border-top-color: var(--orange); }
.path-family { border-top-color: var(--green); }
.path h3 { font-size: 1.45rem; }
.path a { font-weight: 700; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- photos ---------- */
.photos { padding: 0; background: var(--navy); color: var(--white); }
.photo-grid { max-width: none; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.photo-grid figure { margin: 0; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { grid-row: 1 / 3; }
.ph-note { grid-column: 2 / 4; padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; background: var(--navy); }
.ph-note h2 { color: var(--coin); font-size: 1.6rem; }
.ph-note .small { color: #b9c3ea; }
@media (max-width: 860px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ph-a { grid-row: auto; grid-column: 1 / 3; }
  .ph-note { grid-column: 1 / 3; padding: 28px 24px; }
}

/* ---------- tools ---------- */
.tool-row { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 500; color: var(--navy); }
.tool-row li::after { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--green); margin: 0 18px; vertical-align: middle; }
.tool-row li:nth-child(3n+2)::after { background: var(--orange); }
.tool-row li:nth-child(3n)::after { background: var(--sky); }
.tool-row li:last-child::after { display: none; }

/* ---------- studio callout ---------- */
.studio-callout { background: var(--navy-2); color: var(--white); }
.studio-row { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.studio-row img { width: 220px; }
.studio-row h2 { color: var(--sky); }
.studio-row p { max-width: 40em; color: #e4e9fb; }
@media (max-width: 640px) { .studio-row { grid-template-columns: 1fr; gap: 16px; } .studio-row img { width: 140px; } }

/* ---------- contact strip ---------- */
.strip { background: var(--sky); color: var(--navy); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 30px; padding-bottom: 30px; }
.strip h2 { margin: 0; font-size: 1.6rem; }
.strip p { margin: 0 auto 0 0; font-weight: 700; }
.strip a:not(.btn) { color: var(--navy); }
.sep { margin: 0 6px; opacity: 0.6; }

/* ---------- page heads ---------- */
.page-head { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; padding: 56px 0 44px; border-bottom: 4px solid var(--navy); }
.page-head h1 { color: var(--navy); margin-bottom: 0.3em; }
.lede { font-size: 1.2rem; max-width: 40em; color: var(--ink-2); }
.lede p:last-child { margin-bottom: 0; }
.head-dark { background: var(--navy); color: var(--white); border-bottom: 0; }
.head-dark h1 { color: var(--white); }
.head-dark .lede { color: #e4e9fb; }
.head-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; }
.head-studio .wrap { background: url(/img/studio-logo.webp) no-repeat right 24px center / 200px; padding-right: 260px; }
@media (max-width: 760px) { .head-studio .wrap { background: none; padding-right: 24px; } }
.crumb { margin: 0 0 6px; font-size: 0.95rem; }
.crumb a { font-weight: 700; }
.head-dark .crumb a, .game-hero .crumb a { color: var(--sky); }

/* ---------- game page ---------- */
.game-hero { background: var(--navy); color: var(--white); padding: 48px 0 56px; }
.game-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.game-shot { background: var(--navy-2); padding: 12px; }
.game-shot img { width: 100%; }
.game-info h1 { color: var(--white); }
.game-blurb { font-size: 1.25rem; color: #e4e9fb; }
.game-info .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 26px 0 0; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, 0.15); }
.game-info dt { color: var(--sky); font-family: var(--display); }
.game-info dd { margin: 0; color: #e4e9fb; }
@media (max-width: 860px) { .game-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- screenshots ---------- */
.shots { columns: 3 300px; column-gap: 16px; }
.shot { display: block; margin: 0 0 16px; break-inside: avoid; background: var(--navy-2); padding: 6px; }
.shot img { width: 100%; }
.shot:hover { background: var(--orange); }
.lab-group + .lab-group { padding-top: 0; }
.lab-group h2 a { color: var(--navy); }

/* ---------- programs ---------- */
.program { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 40px 0; border-bottom: 2px solid var(--rule); }
.program:first-child { padding-top: 0; }
.program:last-child { border-bottom: 0; }
.program h2 { color: var(--navy); margin-top: 12px; }
.program-summary { font-size: 1.2rem; }
.program-lead h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.status { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.95rem; padding: 4px 12px 5px; background: #e6ecf8; color: var(--navy); }
.status-open { background: var(--green); }
.status-soon { background: var(--coin); }
.status-ongoing { background: var(--sky); }
.facts { align-self: start; background: var(--paper); padding: 22px 24px; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.facts dt { font-family: var(--display); font-weight: 600; color: var(--navy); }
.facts dd { margin: 0; }
.past { padding-left: 1.2em; }
.past li { margin-bottom: 8px; }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- learning hub ---------- */
.hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.hub a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 24px; background: var(--navy); color: var(--white); text-decoration: none; }
.hub li:nth-child(3n+1) a { box-shadow: inset 8px 0 0 var(--sky); }
.hub li:nth-child(3n+2) a { box-shadow: inset 8px 0 0 var(--green); }
.hub li:nth-child(3n) a { box-shadow: inset 8px 0 0 var(--orange); }
.hub a:hover { background: var(--navy-2); }
.hub-title { font-family: var(--display); font-weight: 600; font-size: 1.45rem; }
.hub-blurb { color: #e4e9fb; }
.hub-count { color: var(--coin); font-size: 0.9rem; margin-top: auto; padding-top: 8px; }
.res-groups { columns: 2 420px; column-gap: 48px; }
.res-group { break-inside: avoid; margin-bottom: 36px; }
.res-group h2 { font-size: 1.4rem; color: var(--navy); border-bottom: 4px solid var(--green); padding-bottom: 6px; }
.res { list-style: none; margin: 0; padding: 0; }
.res li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.res a { font-weight: 700; }
.res-note { display: block; color: var(--ink-2); font-size: 0.95rem; }
.kind { font-size: 0.75rem; font-weight: 700; color: var(--navy); background: #e6ecf8; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.callout { background: #fff3cf; padding: 16px 20px; max-width: 760px; margin-bottom: 32px; }
.handbook { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; }
.handbook h2 { color: var(--navy); font-size: 1.5rem; }
.handbook > div { margin-bottom: 28px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--green); }
@media (max-width: 760px) { .handbook { grid-template-columns: 1fr; } }
.sfx { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.sfx li { background: var(--paper); padding: 22px; text-align: center; }
.sfx img { width: 110px; margin: 0 auto 10px; }
.sfx h2 { font-size: 1.4rem; color: var(--navy); }
.sfx audio { width: 100%; margin-bottom: 10px; }
.sfx a { font-weight: 700; font-size: 0.95rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.prose { max-width: 40em; }
.prose h2 { color: var(--navy); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.about-photos figure { margin: 0 0 20px; background: var(--navy); padding: 8px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; }
.form label { display: block; font-weight: 700; margin-bottom: 18px; }
.form small { font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 2px solid #9aa6c8; padding: 11px 12px; border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid var(--coin); outline-offset: 0; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-error { background: #ffe1d2; border-left: 6px solid var(--orange); padding: 12px 16px; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { background: var(--green); color: var(--navy); padding: 28px 30px; }
.sent a { color: var(--navy); font-weight: 700; }
.contact-side { background: var(--paper); padding: 28px 30px; align-self: start; }
.contact-side h2 { font-size: 1.25rem; color: var(--navy); margin: 1.2em 0 0.3em; }
.contact-side h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } .form-2 { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.gameover { background: var(--navy); color: var(--white); padding: 90px 0 110px; }
.go-big { font-family: var(--display); font-weight: 700; color: var(--coin); font-size: clamp(3.5rem, 12vw, 8rem); line-height: 1; margin: 0 0 24px; }
.gameover h1 { color: var(--white); }

/* ---------- footer ---------- */
.site-foot { background: var(--navy-2); color: #d5dcf5; }
.foot-sky { height: 90px; background: url(/img/sky-still.webp) repeat-x left bottom / auto 100%; image-rendering: pixelated; border-bottom: 4px solid var(--navy); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 36px; }
.foot-brand img { width: 260px; margin-bottom: 14px; }
.site-foot h2 { font-size: 1.15rem; color: var(--sky); margin-bottom: 0.5em; }
.site-foot a { color: var(--white); }
.site-foot a:hover { color: var(--coin); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.9rem; }
.foot-base p { margin: 0; }
.quiet { opacity: 0.6; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / 3; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand { grid-column: auto; } }

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

/* phones: the arcade becomes a compact two-up shelf */
@media (max-width: 560px) {
  .carts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cart { padding: 8px 8px 12px; }
  .cart-label { padding: 10px 10px 8px; border-left-width: 4px; margin-top: 8px; }
  .cart h3 { font-size: 1.02rem; }
  .cart-by { font-size: 0.8rem; margin: 0; }
  .cart-blurb, .cart-meta { display: none; }
  .cart-play { font-size: 0.88rem; padding: 5px 10px 6px; right: 6px; bottom: -14px; }
  .tool-row li::after { margin: 0 12px; }
}

/* ---------- shared fixes ---------- */
[hidden] { display: none !important; }
.privacy-page a { overflow-wrap: anywhere; }
