/* Pumpkin Ink Studio — the studio's website (static, served by Cloudflare Pages from this folder).
   The look borrows the game's own: its night-blue intro, its paper panels with ink borders, its
   display face (Shrikhand) and body face (Atkinson Hyperlegible). */

:root {
  --ink: #1e2340;
  --ink-soft: #4a5072;
  --paper: #fffdf6;
  --paper-2: #fff6e4;
  --night: #181d3c;
  --night-deep: #0e1127;
  --night-soft: #2c3570;
  --pumpkin: #f7952f;
  --pumpkin-deep: #e27618;
  --glow: #ffb347;
  --tag: #f4c55c;
  --sea: #148f92;
  --coral: #f05a45;
  --leaf: #7ad66c;
  --line: rgba(30, 35, 64, 0.16);
  --lift: 0 3px 0 var(--ink);
  --font-display: 'Shrikhand', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 0.4em; letter-spacing: 0.005em; }
h1 { font-size: clamp(38px, 7vw, 64px); }
h2 { font-size: clamp(28px, 4.6vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 24px); }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pumpkin-deep); }
.night .kicker { color: var(--tag); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--tag); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border: 2px solid var(--ink); border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Night sections: the header, the hero, the footer ---------- */
.night {
  color: var(--paper);
  background: radial-gradient(ellipse at 50% 20%, var(--night-soft) 0%, var(--night) 55%, var(--night-deep) 100%);
}
.night a { color: var(--tag); }
.night a:hover { color: #fff; }

.top { padding: 14px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand svg { width: 52px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--glow); text-shadow: 0 2px 0 var(--night-deep); }
.brand-studio { display: block; margin-top: 3px; font: 700 10px/1 var(--font-body); letter-spacing: 0.5em; padding-left: 0.3em; text-transform: uppercase; color: var(--paper); }
nav.menu { display: flex; gap: 6px 18px; flex-wrap: wrap; font-weight: 700; }
nav.menu a { text-decoration: none; padding: 6px 2px; color: var(--paper); border-bottom: 2px solid transparent; }
nav.menu a:hover, nav.menu a[aria-current] { color: var(--glow); border-bottom-color: var(--glow); }

.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(32px, 6vw, 64px); }
.hero .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.hero h1 { color: var(--glow); text-shadow: 0 3px 0 var(--night-deep); text-wrap: balance; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 52ch; color: #e9ecff; }
.hero-art { position: relative; margin-inline: auto; width: min(100%, 440px); }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
.hero-art::before { content: ''; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(255, 179, 71, 0.32), rgba(255, 179, 71, 0) 62%); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-block; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--tag); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--lift);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.night a.btn, a.btn { color: var(--ink); }
.btn:hover, .night a.btn:hover { color: var(--ink); transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.btn.alt { background: var(--paper); }
.btn.orange { background: var(--pumpkin); }

/* ---------- Day sections ---------- */
section.day { padding: clamp(36px, 6vw, 72px) 0; }
section.day + section.day { border-top: 2px solid var(--line); }
section.tint { background: var(--paper-2); }

.game-hero { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--lift); background: var(--night); }
.game-hero img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; }

.cols { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .cols { grid-template-columns: 1fr 1fr; gap: 40px; } }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 20px 0 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: var(--lift); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-soft); }
.card .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); margin-right: 8px; vertical-align: baseline; }

.shots { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 22px 0 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shots li { margin: 0; }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--lift); background: var(--night); }
.shots figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

.facts { display: grid; gap: 10px 24px; grid-template-columns: 1fr; margin: 18px 0 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); border: 2px solid var(--ink); }

.note { border-left: 4px solid var(--tag); background: var(--paper-2); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--ink-soft); }

/* ---------- Support ---------- */
.contact-box { background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 22px 22px 18px; box-shadow: var(--lift); }
.contact-box .mail { font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 28px); word-break: break-all; }
.faq { margin: 20px 0 0; }
.faq details { border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); margin: 0 0 12px; box-shadow: var(--lift); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 24px; color: var(--pumpkin-deep); flex: none; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq .answer { padding: 0 18px 16px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 4px; }

/* ---------- Footer ---------- */
footer.night { padding: 36px 0 28px; font-size: 15px; }
footer .wrap { display: grid; gap: 18px; }
@media (min-width: 820px) { footer .wrap { grid-template-columns: 1.2fr 1fr; align-items: end; } }
footer .legal { color: #c9cde8; margin: 0; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
footer .links a { font-weight: 700; text-decoration: none; }
footer .links a:hover { text-decoration: underline; }
footer .osm { color: #9aa0c8; font-size: 13px; margin: 6px 0 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
