/* EggBC's pages on brunchlabs.com: the game's palette (docs/03-art-direction.md): Ink on Shell, Yolk accents. */
:root { --ink: #1A2230; --shell: #FFF4DF; --yolk: #FFB30F; --muted: #7F8A98; }   /* Palette.Ink/Shell/Yolk; muted = docs/03's rock */
* { box-sizing: border-box; }
body { margin: 0; background: var(--shell); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 42rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
h1 { font-size: 2.2rem; line-height: 1.15; margin: 0.2rem 0 0.4rem; }
h2 { margin-top: 2rem; font-size: 1.25rem; }
h3 { margin: 1.4rem 0 0.2rem; font-size: 1.05rem; }
a { color: var(--ink); text-decoration-color: var(--yolk); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--muted); }
.kicker a { text-decoration: none; color: inherit; }
.muted { color: var(--muted); }
.lede { font-size: 1.2rem; }
li { margin: 0.35rem 0; }

/* The home page: the text keeps its 42rem measure, the gameplay gallery gets the width. Generated markup: tools/shots.sh. */
main.home { max-width: 76rem; }
.home .prose { max-width: 42rem; margin-left: auto; margin-right: auto; }
.gallery { margin: 2.5rem 0 2.5rem; }
.gallery h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.gallery figure { margin: 0; }
.gallery picture, .gallery img { display: block; width: 100%; height: auto; }
.gallery img { border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 3px var(--ink), 0 10px 0 -2px rgba(26, 34, 48, 0.18); }
.gallery figcaption { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.45; }
.gallery figcaption strong { display: block; font-size: 1.05rem; letter-spacing: 0.01em; }
.gallery figcaption strong::after { content: ""; display: block; width: 2.2rem; height: 4px; margin: 0.3rem 0 0.35rem; border-radius: 2px; background: var(--yolk); }
.hero-shot { margin-bottom: 2.5rem; }
.hero-shot img { border-radius: 18px; }
.hero-shot figcaption { font-size: 1.05rem; max-width: 42rem; }
.hero-shot figcaption strong { font-size: 1.25rem; }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 2.25rem 1.75rem; }
.shots li { margin: 0; }
@media (max-width: 40rem) {
  main.home { padding-top: 2rem; }
  .gallery img, .hero-shot img { border-radius: 10px; }
  .shots { gap: 1.75rem; }
}

/* The app icon at the top of the home page (icon.png/.webp, from game/Assets/Art/Icons/AppIcon-1024.png): the iOS tile's
   rounded corners (about 22.4% of the side), an Ink keyline like the gallery's. */
.app-icon { display: block; width: 7rem; margin: 0 0 1.1rem; }
.app-icon img { display: block; width: 100%; height: auto; border-radius: 22.4%; box-shadow: 0 0 0 3px var(--ink), 0 8px 0 -2px rgba(26, 34, 48, 0.18); }
@media (max-width: 40rem) { .app-icon { width: 5.5rem; margin-bottom: 0.9rem; } }

/* The App Store badge: Apple's own artwork (developer.apple.com marketing badge, black, US-UK), unaltered, 40px+ tall. */
.store { margin: 1.4rem 0 0; }
.store-badge { display: inline-block; text-decoration: none; }
.store-badge img { display: block; height: 3.2rem; width: auto; }

/* The gameplay video (video/, rendered by the bot), framed like the gallery's hero shot. */
.video { margin: 2.5rem 0 0; }
.video video { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--ink); box-shadow: 0 0 0 3px var(--ink), 0 10px 0 -2px rgba(26, 34, 48, 0.18); }
@media (max-width: 40rem) { .video video { border-radius: 10px; } }

/* The teaser for the story page, after the gallery. */
.teaser { border-top: 4px solid var(--yolk); padding-top: 0.5rem; margin-top: 3rem; }
.teaser h2 { margin-top: 1rem; }

/* The story page: one reading column; the 2012 sketch as a framed figure. */
main.story h2 { margin-top: 2.4rem; font-size: 1.4rem; }
main.story h2::after { content: ""; display: block; width: 2.2rem; height: 4px; margin-top: 0.35rem; border-radius: 2px; background: var(--yolk); }
.sketch { margin: 1.8rem 0; }
.sketch img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 3px var(--ink), 0 10px 0 -2px rgba(26, 34, 48, 0.18); background: #fff; }
.sketch figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

/* The footer links (Support, Privacy Policy): centered under the full-width gallery. */
.site-footer { text-align: center; margin-top: 2.5rem; color: var(--muted); }

/* The story's two sign-offs, under each section. */
.signoff { font-weight: 600; margin-top: 1.4rem; }
