/* Nami Tentou — Press Kit template
   Shared by press/index.html and press/<slug>/index.html
   Clean, light layout (Nintendo-site-inspired): white ground, the studio's
   own red accent, Press Start 2P + Space Grotesk pairing. Single light
   theme by intent — this is a document for press, not the marketing site. */

:root {
  --bg: #ffffff;
  --bg-2: #f2f3f5;
  --fg: #16181d;
  --fg-dim: #5b5f6a;
  --fg-faint: #8a8e99;
  --accent: #c1121f;
  --accent-hi: #a80f1a;
  --accent-dim: #780000;
  --panel: #f7f7f9;
  --panel-hi: #eef0f3;
  --border: #e3e4ea;
  --max: 880px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  display: block;
  margin: 0 0 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 0;
  text-align: center;
}
.topbar-brand { display: block; line-height: 0; }
.topbar-brand img { height: 84px; width: auto; }
.topbar-link {
  font-size: 13px;
  color: var(--fg-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.topbar-link:hover { color: var(--fg); border-bottom-color: var(--fg-dim); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 0 20px;
}
.hero-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: var(--bg-2);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  padding: 22px 2px 0;
}
.hero-caption h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--fg);
  text-wrap: balance;
}
.hero-caption .tagline {
  margin: 0;
  color: var(--fg-dim);
  font-size: 16px;
  max-width: 60ch;
}

/* ---------- Factsheet ---------- */
.factsheet {
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 0 20px;
}
.factsheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--panel);
  padding: 12px 14px;
}
.fact dt {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 4px;
}
.fact dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

/* ---------- Body copy ---------- */
.section {
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 0 20px;
}
.section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}
.prose { max-width: 68ch; }
.prose p { margin: 0 0 14px; color: var(--fg); }
.prose p:last-child { margin-bottom: 0; }
.prose ul {
  margin: 14px 0 0;
  padding: 0 0 0 20px;
  color: var(--fg-dim);
}
.prose li { margin-bottom: 6px; }

/* ---------- Key links ---------- */
.linkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--fg);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pill:hover { border-color: var(--fg-dim); background: var(--panel-hi); }
.pill img { width: 16px; height: 16px; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
}
.shots button {
  all: unset;
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: var(--bg-2);
}
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.shots button:hover img { transform: scale(1.04); }

/* ---------- Download CTA ---------- */
.download-block {
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.download-block .label {
  font-size: 14px;
  font-weight: 600;
}
.download-block .sub {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 2px;
}
.download-block-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-download:hover { background: var(--accent-hi); }
.btn-download.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-download.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(3,3,7,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--fg-dim);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--fg); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--border);
}
.footer h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-faint);
  margin: 0 0 10px;
}
.footer p {
  font-size: 13px;
  color: var(--fg-dim);
  max-width: 60ch;
  margin: 0 0 14px;
}
.footer .contact {
  font-size: 13px;
  color: var(--fg);
}
.footer .contact a { color: var(--accent-hi); text-decoration: none; }
.footer .contact a:hover { text-decoration: underline; }

/* ---------- Hub grid (press/index.html) ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.hub-card {
  display: block;
  text-decoration: none;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hub-card:hover { border-color: var(--fg-dim); transform: translateY(-2px); }
.hub-card .art { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-2); }
.hub-card .art img { width: 100%; height: 100%; object-fit: cover; }
.hub-card .meta { padding: 12px 14px; }
.hub-card .meta .title { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.hub-card .meta .date { font-size: 12px; color: var(--fg-dim); }

@media (max-width: 480px) {
  .factsheet-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr 1fr; }
  .download-block { flex-direction: column; align-items: flex-start; }
}
