/* ghg.teamvanilla.dev. One stylesheet, no framework. The look is the game's own: the WorkShop's
   steel and tread plate, its amber "Go To" buttons with their arrow, the green of the cash, and the
   sign-in sheet's lavender paper and blue ink for the credits. Order: tokens, base, chrome, parts,
   pages. */

:root {
  color-scheme: dark;

  --bg: #121315;
  --bg-1: #17181b;
  --bg-2: #1c1e21;
  --panel: #222428;
  --panel-2: #2a2c31;
  --line: #2d2f34;
  --line-2: #3a3d43;

  --text: #ecebe6;
  --text-2: #bdbab2;
  --text-3: #8f8c85;

  --amber: #e8ac25;       /* the WorkShop's buttons */
  --amber-hi: #f7c64a;
  --amber-lo: #a97a10;
  --amber-ink: #241802;
  --copper: #c9925a;      /* the wordmark */
  --cash: #5bd392;        /* the cash in the corner */
  --stamp: #dc4a3f;       /* ASSEMBLED */

  --paper: #f4f5fd;       /* the sign-in sheet */
  --paper-2: #e7e9fb;
  --ink: #3a43b4;
  --ink-2: #6870c8;
  --rule: #9a94de;

  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Bahnschrift Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --plate: linear-gradient(#f3bf3f, var(--amber) 55%, #d49a18);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* The game's glove, as the pointer everywhere a mouse is. */
@media (pointer: fine) {
  html, body, a, button, label, summary { cursor: url("../img/glove.png") 7 1, auto; }
}
main { flex: 1; }
a { color: var(--amber-hi); text-decoration: none; }
a:hover { color: #ffe08a; text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
::selection { background: var(--amber); color: var(--amber-ink); }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .9em; }
code { padding: .1em .35em; border-radius: 3px; background: var(--panel); color: var(--text); word-break: break-all; }
.ico { flex: none; width: 1em; height: 1em; }

h1, h2, h3 {
  margin: 0 0 .4em;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
  color: #e7e4dc;
  /* Pressed into the steel, as the game's own titles are. */
  text-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 -1px 0 rgba(255, 255, 255, .05);
}
h1 { font-size: clamp(38px, 5.2vw, 60px); }
h2 { font-size: clamp(28px, 3.2vw, 38px); }
h3 { font-size: 23px; }
.lede { font-size: 18.5px; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 14px; background: var(--amber); color: var(--amber-ink); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 2px; }

/* The steel tread plate of the garage floor, behind the bands. */
.tread { background-color: #17181b; background-image: linear-gradient(rgba(18, 19, 21, .35), rgba(18, 19, 21, .7)), url("../img/tread.png"); background-size: auto, 48px 48px; }


/* ── Buttons: the WorkShop's "Go To" plates ──────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 18px 9px;
  border: 1px solid #5c4208;
  border-radius: 3px;
  background: var(--plate);
  box-shadow: inset 0 1px 0 rgba(255, 244, 200, .55), inset 0 -2px 0 rgba(90, 60, 0, .35), 0 2px 0 #0b0b0c;
  color: var(--amber-ink);
  font: 21px/1 var(--display);
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(255, 236, 170, .6);
  white-space: nowrap;
}
.btn:hover { color: var(--amber-ink); text-decoration: none; background: linear-gradient(#fbcf5a, #f0b52e 55%, #dca21c); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 244, 200, .4), 0 1px 0 #0b0b0c; }
/* The arrow at the right end of every plate that goes somewhere. */
.go { flex: none; width: 0; height: 0; margin-left: 2px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 8px solid currentColor; }
.btn .ico { width: 20px; height: 20px; }
.btn-dark {
  border-color: var(--line-2);
  background: linear-gradient(#2e3035, #232529);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 0 #0b0b0c;
  color: var(--amber);
  text-shadow: 0 1px 0 #000;
}
.btn-dark:hover { color: var(--amber-hi); background: linear-gradient(#35383e, #282a2f); }
.btn-lg { min-height: 52px; padding: 11px 18px 10px; font-size: 22px; }

/* The download plates at the foot of a page: a platform, its size, and the arrow. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  padding: 12px 18px 12px 16px;
  border: 1px solid #4a3a16;
  border-radius: 3px;
  background: linear-gradient(#25272b, #1a1b1e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 0 #0b0b0c;
  color: var(--amber);
}
.store:hover { border-color: var(--amber-lo); background: linear-gradient(#2c2e33, #1f2124); color: var(--amber-hi); text-decoration: none; }
.store > .ico { width: 30px; height: 30px; }
.store b { display: block; font: 23px/1 var(--display); letter-spacing: .02em; font-weight: 400; }
.store small { display: block; margin-top: 5px; color: var(--text-3); font-size: 13px; }
.store .go { margin-left: auto; }

/* ── The strip over the header ───────────────────────────────────────────── */

.util { border-bottom: 1px solid #1d1f22; background: #0a0b0c; color: var(--text-3); font-size: 12.5px; }
.util-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 20px; min-height: 30px; }
.util p { margin: 0; }
.util a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--text-3); }
.util a:hover { color: var(--text-2); text-decoration: none; }
.util span { display: inline-flex; align-items: center; }
.util .ico { width: 12px; height: 12px; margin-right: 6px; }
.util b { margin-left: 4px; color: var(--cash); font-weight: 600; }
.util .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 760px) { .util-who { display: none; } .util-in { justify-content: center; } }

/* ── Header ───────────────────────────────────────────────────────────────── */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #000;
  background: linear-gradient(#26282c, #1b1c1f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 0 rgba(255, 255, 255, .03), 0 8px 22px rgba(0, 0, 0, .35);
}
.top-in { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img.icon { width: 32px; height: 32px; image-rendering: pixelated; }
.brand img.mark { width: 210px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 12px 7px;
  border-radius: 3px;
  color: #a9a6a0;
  font: 19px/1 var(--display);
  letter-spacing: .02em;
  text-shadow: 0 1px 0 #000;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); text-decoration: none; }
.nav a[aria-current="page"] { color: #16171a; background: linear-gradient(#d9d6cf, #b9b6af); text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.top .btn { margin-left: auto; min-height: 40px; font-size: 19px; padding: 8px 14px 7px; }

@media (max-width: 860px) {
  .top-in { flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; padding-bottom: 10px; }
  .brand img.mark { width: 160px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: 18px; }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.foot { margin-top: 88px; border-top: 1px solid #000; background: #0e0f11; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); color: var(--text-3); font-size: 14px; }
/* The owners' marks in a row, as a box's back cover carries them. */
.foot-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 52px; padding-top: 34px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot-logos img { display: block; height: 52px; width: auto; opacity: .8; transition: opacity .2s; }
.foot-logos img[src$="snapon.png"] { height: 30px; }
.foot-logos a:hover img { opacity: 1; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 34px; padding-bottom: 26px; }
.foot h2 { margin-bottom: 10px; font-size: 19px; color: #c8c5be; text-transform: uppercase; letter-spacing: .03em; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin: 5px 0; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--amber-hi); }
.foot .fine { padding-top: 18px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.foot .fine p { margin: 0 0 6px; max-width: 110ch; }
@media (max-width: 860px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-in > :first-child { grid-column: 1 / -1; } }

/* ── Frames: a monitor for the PC, a phone on its side for Android ─────── */

.monitor { position: relative; margin: 0; padding: 12px 12px 14px; border-radius: 10px; background: linear-gradient(#232428, #121315); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 50px rgba(0, 0, 0, .55); }
.monitor img { display: block; width: 100%; border-radius: 2px; }
.monitor::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 26%; height: 26px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: linear-gradient(#1a1b1e, #0c0d0f); box-shadow: 0 10px 18px rgba(0, 0, 0, .4); z-index: -1; }
.phone { position: relative; margin: 0; padding: 9px; border-radius: 26px; background: #0b0b0c; box-shadow: 0 0 0 1px #3a3b40, 0 0 0 3px #111214, 0 28px 44px rgba(0, 0, 0, .6); }
.phone img { display: block; width: 100%; border-radius: 17px; }
.phone::before { content: ""; position: absolute; left: 17px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #1c1d21; box-shadow: inset 0 0 0 2px #050506; z-index: 2; }

/* ── Home: the hero ───────────────────────────────────────────────────────── */

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #000; background: #111214; }
/* The JunkYard behind it, out of focus, and the dark it fades from. */
.hero-bg { position: absolute; inset: -24px; z-index: -2; background: url("../img/shots/pc/junkyard.webp") center 40% / cover no-repeat; filter: blur(5px) saturate(.7) brightness(.6); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 18, 20, .97) 0%, rgba(17, 18, 20, .9) 42%, rgba(17, 18, 20, .55) 78%, rgba(17, 18, 20, .72) 100%), linear-gradient(rgba(17, 18, 20, 0) 65%, #121315); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 58px; padding-bottom: 76px; }
.hero .wordmark { display: block; width: min(560px, 100%); height: auto; margin: 0 0 14px -6px; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; color: #d9d6cf; font: 17px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 0 #000; }
.platforms .ico { width: 16px; height: 16px; color: var(--amber); }
.platforms .sep { width: 5px; height: 5px; margin: 0 8px; border-radius: 50%; background: var(--amber); }
.hero .lede { font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero .meta { color: var(--text-3); font-size: 14px; }
.hero .meta b { color: var(--cash); font-weight: 600; }
.hero-art { position: relative; padding-bottom: 46px; }
.hero-art .monitor { width: 92%; margin-left: auto; }
.hero-art .phone { position: absolute; left: 0; bottom: 0; width: 56%; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 52px; }
  .hero-art { max-width: 640px; }
  .hero::before { background: linear-gradient(rgba(17, 18, 20, .93), rgba(17, 18, 20, .8) 60%, #121315); }
}

/* The line the game is about, large, on the tread plate. */
.tagline { padding: 62px 0 56px; border-bottom: 1px solid #000; text-align: center; }
.kicker { margin: 0 0 12px; color: var(--amber); font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.shout { max-width: 30ch; margin: 0 auto 18px; color: var(--amber-hi); font-size: clamp(30px, 4.4vw, 52px); text-transform: uppercase; letter-spacing: .015em; text-shadow: 0 3px 0 #000, 0 0 30px rgba(232, 172, 37, .12); }
.tagline .lede { margin: 0 auto; }

/* ── Sections ─────────────────────────────────────────────────────────────── */

.sec { padding-top: 80px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 30px; }
.sec-head h2 { margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 1px; background: linear-gradient(90deg, var(--amber-hi), var(--amber)); box-shadow: 0 1px 0 #000; }
.sec-head p { max-width: 60ch; margin: 0; color: var(--text-3); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.art-frame { margin: 0; }
.art-frame img { display: block; width: 100%; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 20px 40px rgba(0, 0, 0, .45); }
.art-frame figcaption { margin-top: 10px; color: var(--text-3); font-size: 14px; }

/* The places: a large picture with its name laid over it, the words beside it, sides taking turns. */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 46px; align-items: center; margin: 0 0 60px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-pic { order: 2; }
.feature-pic { position: relative; margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 26px 50px rgba(0, 0, 0, .5); }
.feature-pic img { display: block; width: 100%; }
.plate { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 22px 18px; background: linear-gradient(rgba(8, 8, 9, 0), rgba(8, 8, 9, .9) 70%); color: #fff; font: clamp(28px, 3.2vw, 42px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 2px 0 #000; }
.plate small { display: block; margin-bottom: 7px; color: var(--amber-hi); font: 600 12px/1 var(--sans); letter-spacing: .16em; text-shadow: 0 1px 0 #000; }
.feature-text h3 { font-size: clamp(27px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: .02em; }
.feature-text h3::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 10px; background: var(--amber); box-shadow: 0 1px 0 #000; }
.feature-text > p { color: var(--text-2); font-size: 16.5px; }
/* Bullets as the heads of the WorkShop's bolts. */
.ticks { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: .32em; width: 15px; height: 13px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: radial-gradient(circle at 50% 50%, #7a5608 0 26%, transparent 29%), linear-gradient(#f7c64a, #c98f14); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 48px; }
  .feature.flip .feature-pic { order: 0; }
}

/* The 1999 game: its loading screen and the facts, as a shop's page lists them. */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.factbox { padding: 6px 22px; border-radius: 3px; background: linear-gradient(#1c1e21, #17181b); box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px rgba(0, 0, 0, .3); }
.factbox dl { margin: 0; }
.factbox dl div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.factbox dl div:last-child { border-bottom: 0; }
.factbox dt { padding-top: 3px; color: var(--text-3); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.factbox dd { margin: 0; color: var(--text); }
.factbox code { background: none; padding: 0; }
@media (max-width: 460px) { .factbox dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* What the rebuild changes: a card each, its mark, its name and the amber rule. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.cards li { padding: 24px 22px 22px; border-radius: 3px; background: linear-gradient(#1d1f22, #17181b); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .04); transition: box-shadow .2s; }
.cards li:hover { box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06); }
.cards .ico { width: 34px; height: 34px; color: var(--amber); }
.cards h3 { margin: 14px 0 0; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.cards h3::after { content: ""; display: block; width: 32px; height: 3px; margin: 11px 0 12px; background: var(--amber); }
.cards p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* The screenshot viewer: one large on a stage, the rest in a strip (js/site.js). */
.stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: radial-gradient(90% 90% at 50% 40%, #212327, #0b0c0e); box-shadow: 0 0 0 1px #000, 0 26px 50px rgba(0, 0, 0, .5); }
.stage-link { position: absolute; inset: 0; }
.stage-img { position: absolute; inset: 0; display: block; width: auto; height: auto; max-width: calc(100% - 44px); max-height: calc(100% - 44px); margin: auto; border-radius: 3px; box-shadow: 0 0 0 1px #000, 0 16px 32px rgba(0, 0, 0, .6); transition: opacity .18s; }
.stage-img.on-phone { max-width: calc(100% - 72px); border-radius: 14px; box-shadow: 0 0 0 8px #0b0b0c, 0 0 0 9px #34353a, 0 16px 32px rgba(0, 0, 0, .6); }
.stage-img.loading { opacity: .35; }
.stage button { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(20, 21, 24, .85); color: var(--amber); }
.stage button:hover { color: var(--amber-hi); border-color: var(--amber-lo); }
.stage .v-prev { left: 12px; }
.stage .v-next { right: 12px; }
.stage .v-prev::before, .stage .v-next::before { content: ""; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.stage .v-prev::before { border-right: 10px solid currentColor; margin-right: 3px; }
.stage .v-next::before { border-left: 10px solid currentColor; margin-left: 3px; }
.stage-cap { min-height: 1.6em; margin: 14px 0 14px; color: var(--text-2); font-size: 14.5px; }
.strip { display: flex; gap: 10px; margin: 0; padding: 3px 3px 12px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip li { flex: none; scroll-snap-align: start; }
.strip a { position: relative; display: block; height: 86px; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px #000; opacity: .6; transition: opacity .2s, box-shadow .2s; }
.strip a:hover { opacity: 1; }
.strip a[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--amber), 0 0 0 3px #000; }
.strip img { display: block; width: auto; height: 100%; max-width: none; }
.strip .tag { position: absolute; left: 4px; bottom: 4px; padding: 2px 5px 1px; border-radius: 2px; background: rgba(0, 0, 0, .72); color: var(--text-2); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 600px) { .stage-img { max-width: calc(100% - 20px); max-height: calc(100% - 20px); } .stage-img.on-phone { max-width: calc(100% - 36px); } .stage button { display: none; } .strip a { height: 64px; } }

.owners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.owner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 3px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.owner .logo { display: flex; align-items: center; height: 72px; }
.owner .logo img { max-height: 72px; width: auto; }
.owner .logo img.snapon { height: 30px; }
.owner p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.owner b { color: var(--text); }
@media (max-width: 900px) { .owners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .owners { grid-template-columns: minmax(0, 1fr); } }

/* The band at the foot of the home page. */
.band { margin-top: 88px; padding: 40px 0; border-top: 1px solid #000; border-bottom: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; }
.band h2 { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .02em; }
.band p { margin: 0; color: var(--text-2); }
main:has(> .band:last-child) + .foot { margin-top: 0; }

/* The guide's settings: a spec sheet of plain rows. */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 44px; margin: 0; }
.spec div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { margin-bottom: 4px; font: 21px/1.15 var(--display); letter-spacing: .02em; color: #e3e0d8; }
.spec dd { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .spec { grid-template-columns: minmax(0, 1fr); } }

/* ── Galleries ────────────────────────────────────────────────────────────── */

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; margin: 0; padding: 0; list-style: none; }
.shots.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .shots, .shots.wide { grid-template-columns: minmax(0, 1fr); } }
.shot { margin: 0; }
.shot a { display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px #000, 0 12px 26px rgba(0, 0, 0, .4); }
.shot a:hover { box-shadow: 0 0 0 2px var(--amber), 0 12px 26px rgba(0, 0, 0, .4); }
.shot img { display: block; width: 100%; transition: transform .35s var(--ease); }
.shot a:hover img { transform: scale(1.02); }
.shot figcaption { margin-top: 9px; color: var(--text-2); font-size: 14.5px; }
.shot-phone a { border-radius: 14px; box-shadow: 0 0 0 7px #0b0b0c, 0 0 0 8px #34353a, 0 16px 30px rgba(0, 0, 0, .5); }
.shots.wide .shot-phone { padding: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }

/* The lightbox (js/site.js); without the script, each picture opens on its own. */
.lb { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 28px 20px 18px; background: rgba(8, 8, 9, .94); }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 30px 60px rgba(0, 0, 0, .7); }
.lb p { margin: 14px 0 0; color: var(--text-2); text-align: center; }
.lb button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-2); border-radius: 3px; background: #1c1d20; color: var(--amber); font: 26px/1 var(--display); }
.lb button:hover { color: var(--amber-hi); border-color: var(--amber-lo); }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-prev { left: 16px; top: 50%; margin-top: -23px; }
.lb .lb-next { right: 16px; top: 50%; margin-top: -23px; }
.lb .lb-prev::before, .lb .lb-next::before { content: ""; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.lb .lb-prev::before { border-right: 11px solid currentColor; margin-right: 3px; }
.lb .lb-next::before { border-left: 11px solid currentColor; margin-left: 3px; }

/* ── Page heads ───────────────────────────────────────────────────────────── */

.page-head { padding: 50px 0 8px; }
.page-head h1 { text-transform: uppercase; letter-spacing: .02em; }
.page-head h1::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 14px; border-radius: 1px; background: linear-gradient(90deg, var(--amber-hi), var(--amber)); box-shadow: 0 1px 0 #000; }
.page-head .lede { margin-bottom: 0; }

/* ── Download ─────────────────────────────────────────────────────────────── */

.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
@media (max-width: 900px) { .dl { grid-template-columns: minmax(0, 1fr); } }
.dl-card { display: flex; flex-direction: column; border-radius: 4px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px rgba(0, 0, 0, .3); overflow: hidden; }
/* One stage for both: the PC's 4:3 and the phone's wide picture sit at the same height. */
.dl-card .pic { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(90% 90% at 50% 40%, #202226, #0d0e10); border-bottom: 1px solid #000; }
.dl-card .pic img { position: absolute; inset: 0; display: block; width: auto; height: auto; max-width: calc(100% - 48px); max-height: calc(100% - 48px); margin: auto; border-radius: 3px; box-shadow: 0 0 0 1px #000, 0 14px 26px rgba(0, 0, 0, .55); }
.dl-card .pic img.on-phone { border-radius: 12px; box-shadow: 0 0 0 7px #0b0b0c, 0 0 0 8px #34353a, 0 14px 26px rgba(0, 0, 0, .55); }
.dl-card .body { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.dl-card .body > .btn { align-self: stretch; justify-content: center; }
.dl-card h2 { display: flex; align-items: center; gap: 12px; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.dl-card h2 .ico { width: 28px; height: 28px; color: var(--amber); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 14.5px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; color: var(--text); }
.facts dd.cash { color: var(--cash); font-family: var(--mono); font-size: 14px; }
.facts code { background: none; padding: 0; color: var(--text-2); font-size: 12.5px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.steps li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; counter-increment: step; color: var(--text-2); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 3px; background: var(--plate); box-shadow: inset 0 1px 0 rgba(255, 244, 200, .5), 0 1px 0 #000; color: var(--amber-ink); font: 20px/1 var(--display); }
.steps b { color: var(--text); }

/* What each needs, side by side, as a shop's page sets out its requirements. */
.reqs { width: 100%; border-collapse: collapse; font-size: 15px; }
.reqs th, .reqs td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.reqs tr:last-child > * { border-bottom: 0; }
.reqs thead th { padding-top: 16px; color: var(--amber); font: 21px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.reqs thead th .ico { width: 18px; height: 18px; margin-right: 8px; vertical-align: -2px; }
.reqs tbody th { width: 150px; color: var(--text-3); font-weight: 400; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.reqs td { color: var(--text); }
.reqs td small { display: block; color: var(--text-3); font-size: 13px; }
@media (max-width: 640px) {
  .reqs thead { display: none; }
  .reqs tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .reqs tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; border: 0; }
  .reqs td { border: 0; }
  .reqs td::before { content: attr(data-os); display: block; color: var(--amber); font: 15px/1.4 var(--display); letter-spacing: .04em; text-transform: uppercase; }
}

.note { padding: 14px 16px; border-left: 3px solid var(--amber); border-radius: 0 3px 3px 0; background: var(--bg-1); color: var(--text-2); }
.note b { color: var(--text); }

/* ── Guide ────────────────────────────────────────────────────────────────── */

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--text-3); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.table td:first-child { color: var(--text); white-space: nowrap; }
.table td { color: var(--text-2); }
.table-wrap { overflow-x: auto; border-radius: 3px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.kbd, kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 3px; background: var(--panel); color: var(--text); font: 13px/1.5 var(--mono); text-align: center; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h2 { margin-top: 30px; font-size: clamp(24px, 2.4vw, 29px); text-transform: uppercase; letter-spacing: .02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 26px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 5px 0; }
.prose b, .prose strong { color: var(--text); }
.guide-art { max-width: 760px; margin: 40px auto 0; }

/* ── Credits: the sign-in sheet ───────────────────────────────────────────── */

.sheet { margin-top: 26px; padding: 26px 26px 20px; border-radius: 3px; background: var(--paper); color: #2c3290; box-shadow: 0 0 0 1px #000, 0 26px 50px rgba(0, 0, 0, .5); }
.sheet h2 { margin: 0 0 16px; color: var(--ink); text-shadow: none; }
.sheet h2 small { display: block; margin-top: 6px; font: 15px/1.4 var(--sans); color: var(--ink-2); letter-spacing: 0; }
.sheet table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); font-size: 15px; }
.sheet th { padding: 7px 10px; border: 1px solid var(--rule); background: #c3c1f5; color: #2d3399; font: 600 12.5px/1.2 var(--sans); letter-spacing: .06em; text-align: left; }
.sheet td { padding: 9px 10px; border: 1px solid var(--rule); vertical-align: top; color: #2c3290; overflow-wrap: anywhere; }
.sheet td:first-child { width: 30%; font-weight: 600; color: #1f2580; }
.sheet a { color: #2f37c2; text-decoration: underline; text-underline-offset: 2px; }
.sheet a:hover { color: #1a1f93; }
.sheet code { background: var(--paper-2); color: #1f2580; }
.sheet tr:nth-child(even) td { background: var(--paper-2); }
.sheet .foot-note { margin: 12px 0 0; color: var(--ink-2); font-size: 13px; }
.sheet + .sheet { margin-top: 22px; }

.credit-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin: 26px 0 0; }
.credit-logos img { height: 96px; width: auto; }
.credit-logos img.snapon { height: 34px; }
.credit-logos img.tv { height: 70px; }

@media (max-width: 600px) {
  .sheet { padding: 20px 14px 16px; }
  .sheet thead { display: none; }
  .sheet tr { display: block; border-bottom: 1px solid var(--rule); }
  .sheet td, .sheet td:first-child { display: block; width: auto; border: 0; }
  .sheet td:first-child { padding-bottom: 0; }
  .nav a { padding: 7px 8px 6px; font-size: 16.5px; }
}

/* ── 404 ──────────────────────────────────────────────────────────────────── */

.err { padding: 90px 0 40px; text-align: center; }
.err .code { margin: 0; font: 110px/1 var(--display); color: #2d2f34; text-shadow: 0 2px 0 #000, 0 -1px 0 rgba(255, 255, 255, .06); }
.err .cta { justify-content: center; }

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