@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #091927;
  --text: #f1f0eb;
  --muted: #b0c4d0;
  --accent: #c6e4ef;
  --line: #304956;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 83% 15%, #10293a66, transparent 48%);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 6px; }
a, button { -webkit-tap-highlight-color: #c6e4ef33; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.25; font-weight: 650; letter-spacing: -.035em; }
::selection { color: var(--background); background: var(--accent); }
:focus-visible { outline: 3px solid #d4f1ff; outline-offset: 6px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
/* Keep section-anchor focus for navigation without framing the whole section. */
.about-section:focus, .contact-section:focus { outline: none; }
.wrap { width: min(960px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 16px; left: 16px; padding: 12px 20px; background: var(--accent); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; }
.studio-link { display: block; flex: 0 1 190px; }
.studio-link img { width: 100%; }
.site-header nav { display: flex; gap: 38px; }
.site-header nav a { padding-block: 10px; color: var(--muted); font-size: 15px; font-weight: 550; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; }

.hero { display: grid; grid-template-columns: minmax(0, 32fr) minmax(0, 25fr); align-items: end; width: min(960px, 100%); margin-inline: auto; gap: 48px; padding-block: 32px 72px; }
.hero-copy { display: flex; flex-direction: column; align-self: stretch; gap: 32px; padding-top: 24px; text-align: left; }
.game-title { line-height: 1; }
.game-title img { width: 310px; }
.hero-intro { width: 100%; font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero-tagline { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--text); }
.hero-intro p + p { margin-top: 12px; }
.hero-rules { margin: 12px 0 0; padding-left: 1.2em; }
.hero-rules li { text-wrap: pretty; }
.hero-rules li + li { margin-top: 8px; }
.hero-actions { margin-top: auto; }
.platform-note { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.primary-link { display: flex; align-items: center; justify-content: center; width: min(310px, 100%); padding: 14px 20px; background: var(--accent); border: 1px solid #e1f2f7; color: #0a2232; text-decoration: none; font-size: 16px; font-weight: 750; line-height: 1.5; white-space: nowrap; transition: background-color .15s; }
.primary-link:hover { background: #e1f2f7; }
.text-link { text-decoration: none; }
.text-link:hover, .text-link:focus-visible { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; }
.hero-image { width: 100%; max-width: 400px; justify-self: center; overflow: hidden; background: #0a1b2d; box-shadow: 0 18px 60px #00000029; }
.hero-image img { width: 100%; }

.trailer-section { padding-bottom: 72px; }
.trailer { width: min(960px, 100%); aspect-ratio: 16 / 9; position: relative; margin-inline: auto; background: #06121e; }
.trailer iframe { display: block; width: 100%; height: 100%; border: 0; }

.about-section, .contact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 64px; scroll-margin-top: 30px; }
.about-section { padding-block: 52px 57px; border-block: 1px solid var(--line); }
.about-section h2, .contact-section h2 { padding-top: 7px; color: var(--accent); font-size: 12px; font-weight: 600; line-height: 1.7; letter-spacing: .17em; text-transform: uppercase; }
.about-section p { max-width: 715px; font-size: 20px; line-height: 1.75; text-wrap: pretty; }
.contact-section { padding-block: 52px 65px; }
.contact-links { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.contact-links li:first-child { flex-basis: 100%; }
.contact-links a { display: inline-block; font-size: 22px; line-height: 1.75; }
.contact-links li + li a { font-size: 18px; }

@media (max-width: 1100px) {
  .hero-intro { font-size: 16px; }
  .hero-tagline { font-size: 18px; }
}
@media (max-width: 959px) {
  .hero { grid-template-columns: minmax(0, 1fr); width: min(512px, 100%); padding-block: 26px 48px; gap: 32px; }
  .hero-copy { gap: 24px; padding-top: 0; }
  .hero-actions { margin-top: 8px; }
  .hero-intro { font-size: 17px; }
  .hero-tagline { font-size: 20px; }
  .trailer-section { padding-bottom: 48px; }
  .about-section, .contact-section { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; }
  .contact-links a { font-size: 20px; }
}
@media (max-width: 699px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { gap: 16px; padding-block: 24px; }
  .studio-link { flex-basis: 160px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 13px; }
  .game-title img { width: 250px; }
  .primary-link { width: 100%; }
  .about-section, .contact-section { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .about-section { padding-block: 34px 38px; }
  .about-section h2, .contact-section h2 { padding-top: 0; }
  .about-section p { font-size: 19px; }
  .contact-section { padding-block: 36px 44px; }
  .contact-links a { font-size: 19px; }
  .contact-links li + li a { font-size: 16px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { gap: 13px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
