/* Fiery Squirrel — Minimalist Editorial Design System */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8f7f5;
  --surface: #ffffff;
  --border: #e6e4e0;
  --border-strong: #d4d1cb;
  --ink: #18181b;
  --ink-secondary: #52525b;
  --ink-muted: #71717a;
  --brand: #e75244;
  --brand-hover: #cf4134;
  --brand-soft: rgba(231, 82, 68, 0.09);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1100px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-hover); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand-link:hover { color: var(--brand); }

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* -------------------- Buttons & Pills -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  border: 1px solid var(--border);
}
.pill-brand {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(231, 82, 68, 0.22);
}

/* -------------------- Hero -------------------- */
.hero {
  padding: clamp(56px, 9vw, 108px) 0 clamp(48px, 7vw, 84px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-logo {
  width: min(210px, 52vw);
  height: auto;
  margin: 0 auto 28px;
}

.hero-tagline {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--ink-secondary);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* -------------------- Sections -------------------- */
.section {
  padding: clamp(52px, 7vw, 88px) 0;
}
.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 6px;
}

.section-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-sub {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* -------------------- Flagship Game Cards (Split Horizontal) -------------------- */
.game-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.game-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game-card:hover .game-media img {
  transform: scale(1.03);
}

.game-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.game-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.game-desc {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.game-meta {
  font-size: 13px;
  color: var(--ink-muted);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}
.text-link:hover { color: var(--brand); }

/* -------------------- Prototype Grid (Compact 3-Col) -------------------- */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.proto-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.proto-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.proto-media {
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}
.proto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proto-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.proto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.proto-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.proto-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  flex: 1;
}

.proto-foot {
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.archive-label {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 12px;
}

/* -------------------- Footer -------------------- */
.site-footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-title {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-sub {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 15px;
}

.footer-email {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 24px;
}
.footer-email:hover { text-decoration: underline; }

.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
}
.social-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.social-btn svg { width: 15px; height: 15px; fill: currentColor; }

.copyright {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

/* -------------------- Press Kit Layout -------------------- */
.pk-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}

.pk-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pk-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pk-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  padding: 0 10px 6px;
}

.pk-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.pk-nav-btn:hover { background: var(--bg-subtle); color: var(--ink); }
.pk-nav-btn.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(231, 82, 68, 0.22);
}

.pk-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pk-hero-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pk-hero-banner {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid var(--border);
}
.pk-hero-banner img { width: 100%; height: 100%; object-fit: cover; }

.pk-grid-2 {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.factsheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.factsheet h3 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.fact-item {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.fact-item:first-of-type { border-top: none; padding-top: 0; }
.fact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.fact-value {
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
}

.pk-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pk-block h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pk-block p { margin: 0; color: var(--ink-secondary); }

.pk-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--border);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.asset-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}
.asset-preview {
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.asset-preview.cover { padding: 0; }
.asset-preview.cover img { width: 100%; height: 100%; object-fit: cover; }
.asset-preview img { max-height: 100%; max-width: 100%; }
.asset-foot {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 920px) {
  .game-card { grid-template-columns: 1fr; }
  .game-body { padding: 22px; }
  .proto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-layout { grid-template-columns: 1fr; gap: 24px; }
  .pk-sidebar { position: static; }
  .pk-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 14px;
  }
  .site-nav.open { display: flex; }
  .proto-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
