/* A-10: Whole Hog's site: the game's two typefaces, its sunset palette, and room to read. */
@font-face { font-family: "Black Ops One"; src: url("fonts/BlackOpsOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1c1f22;
  --paper: #f7f1e8;
  --dusk: #2b2433;
  --sunset: #f2a776;
  --hazard: #ffc23d;
  --olive: #5f6b45;
  --muted: #6c6a66;
  --line: #e2d8c9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.6 "Chakra Petch", ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; text-decoration-color: var(--sunset); text-underline-offset: 3px; }
a:hover { color: var(--olive); }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; background: var(--dusk); color: #fff; }
header.site .brand { font: 400 22px/1 "Black Ops One", sans-serif; letter-spacing: 0.02em; text-decoration: none; }
header.site nav a { margin-left: 20px; font-weight: 600; text-decoration: none; opacity: 0.85; }
header.site nav a:hover { opacity: 1; color: var(--hazard); }

.hero { background: var(--dusk); color: #fff; text-align: center; padding: 56px 24px 0; }
.hero .inner { max-width: 1080px; margin: 0 auto; }
.hero h1 { margin: 0; font: 400 clamp(44px, 9vw, 96px)/0.95 "Black Ops One", sans-serif; letter-spacing: 0.01em; }
.hero p.tag { margin: 14px 0 24px; font-size: clamp(20px, 3vw, 28px); font-weight: 600; color: var(--sunset); }
.hero .banner { display: block; width: 100%; max-width: 1180px; margin: 40px auto 0; border-radius: 18px 18px 0 0; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
/* Apple's badges, unaltered, with a quarter of their height clear around them */
.store { display: inline-block; line-height: 0; }
.store img { display: block; height: 54px; width: auto; }
.facts .store { margin-top: 20px; }
.platforms { margin-top: 14px; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }

main { max-width: 1080px; margin: 0 auto; padding: 56px 24px 72px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(43,36,51,0.25); display: block; }
.feature h2 { margin: 18px 0 6px; font: 400 26px/1.1 "Black Ops One", sans-serif; }
.feature p { margin: 0; color: #3a3836; }
.gallery { margin-top: 64px; }
.gallery h2 { margin: 0 0 18px; font: 400 28px/1.1 "Black Ops One", sans-serif; }
.gallery .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 12px; box-shadow: 0 8px 24px rgba(43,36,51,0.22); display: block; }
.facts { margin-top: 56px; padding: 28px; border: 2px solid var(--line); border-radius: 16px; background: #fffaf3; }
.facts h2 { margin: 0 0 8px; font: 400 24px/1.2 "Black Ops One", sans-serif; }
.facts ul { margin: 0; padding-left: 20px; }

article.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
article.doc h1 { font: 400 clamp(34px, 6vw, 48px)/1.1 "Black Ops One", sans-serif; margin: 0 0 8px; }
article.doc h2 { font: 600 22px/1.3 "Chakra Petch", sans-serif; margin: 36px 0 8px; }
article.doc p, article.doc li { color: #2e2c2a; }
article.doc .meta { color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 28px 24px 40px; color: var(--muted); font-size: 15px; text-align: center; }
footer.site p { margin: 0 0 10px; }
footer.site nav { margin-bottom: 14px; }
footer.site nav a { margin: 0 10px; }
footer.site .tm { max-width: 640px; margin: 0 auto; font-size: 12px; line-height: 1.5; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  header.site { padding: 14px 16px; }
  header.site nav a { margin-left: 12px; font-size: 15px; }
  .hero .inner, main, article.doc { padding-left: 16px; padding-right: 16px; }
}
