:root {
  color-scheme: dark;
  --bg: #09131e;
  --bg-alt: #0d1a27;
  --panel: #101f2d;
  --panel-soft: #132536;
  --line: rgba(185, 219, 237, .16);
  --text: #f3f7fb;
  --muted: #a8bac8;
  --muted-dim: #718595;
  --ice: #a9d9ee;
  --ice-strong: #c7ecf8;
  --ink: #0a1925;
  --max: 1160px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
::selection { background: rgba(169,217,238,.25); color: #fff; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: -60px; left: 20px; padding: 10px 14px; background: var(--ice); color: var(--ink); border-radius: 5px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(9,19,30,.94); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(169,217,238,.7); border-radius: 5px; color: var(--ice-strong); font-size: 13px; font-weight: 750; letter-spacing: -.07em; }
.brand-name { font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a, .footer-nav a { color: var(--muted); font-size: 13px; transition: color .18s ease; }
.primary-nav a:hover, .footer-nav a:hover { color: var(--ice-strong); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 12px 9px; border: 1px solid var(--line); border-radius: 5px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; background: var(--text); margin: 5px 0; transition: transform .2s ease; }
.hero { position: relative; min-height: 625px; padding-top: 105px; padding-bottom: 90px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 52px; }
.hero-copy { max-width: 600px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .17em; line-height: 1.6; }
.eyebrow-line { display: inline-block; vertical-align: 3px; width: 28px; height: 1px; margin-right: 9px; background: var(--ice); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-size: clamp(4.5rem, 7.7vw, 7.2rem); line-height: .92; letter-spacing: -.085em; font-weight: 650; }
.hero h1 span { color: var(--ice); }
.hero-tagline { margin: 28px 0 13px; font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 500; letter-spacing: -.035em; }
.hero-description { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 650; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button-primary { background: var(--ice); color: var(--ink); }
.button-primary:hover { background: var(--ice-strong); transform: translateY(-1px); }
.hero-signature { position: relative; width: min(100%, 420px); aspect-ratio: 1/1; justify-self: end; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(145deg, rgba(18,39,55,.75), rgba(9,19,30,.38)); overflow: hidden; }
.hero-signature::before { content: ""; position: absolute; width: 270px; height: 270px; right: -110px; top: -90px; border: 1px solid rgba(169,217,238,.12); border-radius: 50%; }
.signature-top, .signature-bottom, .art-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--muted-dim); font-size: 9px; letter-spacing: .14em; font-weight: 650; }
.signature-art { position: relative; width: 100%; max-width: 285px; aspect-ratio: 1; margin: auto; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(169,217,238,.24); border-radius: 50%; }
.orbit-one { inset: 3%; }
.orbit-two { inset: 16%; border-style: dashed; border-color: rgba(169,217,238,.17); }
.signature-core { font-size: clamp(5.5rem, 10vw, 8rem); font-weight: 600; letter-spacing: -.12em; padding-right: .12em; color: #d7f0f9; line-height: 1; }
.signature-core span { color: var(--ice); }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 6px rgba(169,217,238,.08); }
.dot-one { top: 13%; right: 22%; }.dot-two { bottom: 18%; left: 4%; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 30px; padding-top: 17px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted-dim); font-size: 9px; letter-spacing: .15em; font-weight: 650; }
.hero-foot a { color: var(--muted); transition: color .18s ease; }.hero-foot a:hover { color: var(--ice); }
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.games-section { background: #0b1723; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 42px; }
.section-index { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 9px; border: 1px solid rgba(169,217,238,.38); border-radius: 3px; color: var(--ice); font-size: 9px; letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: clamp(2.45rem, 4.7vw, 4rem); line-height: 1.03; font-weight: 600; letter-spacing: -.07em; }
.heading-period { color: var(--ice); }
.section-intro { max-width: 280px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.game-card { display: grid; grid-template-columns: .93fr 1.07fr; min-height: 540px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.game-card-copy { padding: clamp(28px, 4vw, 48px); display: flex; align-items: flex-start; flex-direction: column; }
.game-kicker { width: 100%; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.status-dot { width: 6px; height: 6px; background: var(--ice); border-radius: 50%; }
.game-number { margin-left: auto; color: var(--muted-dim); font-weight: 550; }
.game-card h3 { margin: 32px 0 4px; font-size: clamp(2.6rem, 4.2vw, 3.85rem); line-height: 1; letter-spacing: -.07em; font-weight: 600; }
.game-subtitle { color: var(--ice); font-size: 13px; margin: 9px 0 18px; }
.game-description { margin-bottom: 22px; max-width: 440px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.feature-list { margin: 0 0 29px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 17px; width: 100%; }
.feature-list li { position: relative; padding-left: 14px; color: #d8e2e9; font-size: 11px; line-height: 1.55; }
.feature-list li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border: 1px solid var(--ice); border-radius: 50%; }
.game-card-actions { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; width: 100%; }
.button-coming { min-height: 45px; color: #9fb0bd; background: rgba(255,255,255,.025); border-color: var(--line); gap: 14px; cursor: default; }
.engine-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dim); font-size: 8px; letter-spacing: .1em; font-weight: 700; }
.engine-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; background: #29485d; border-radius: 3px; color: #e9f7fc; font-size: 11px; font-style: italic; }
.game-art { position: relative; min-height: 540px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: #122a3a; border-left: 1px solid var(--line); }
.game-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 48% 36%, rgba(139,185,208,.17), transparent 62%); pointer-events: none; }
.art-topline { position: relative; z-index: 1; color: rgba(218,241,250,.6); }
.board-illustration { position: relative; z-index: 1; display: block; width: 100%; max-width: 580px; max-height: 445px; margin: 10px auto; }
.art-note { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: rgba(6,19,29,.72); border: 1px solid rgba(190,225,240,.16); border-radius: 4px; backdrop-filter: blur(6px); }
.placeholder-icon { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border: 1px dashed rgba(169,217,238,.55); border-radius: 3px; color: var(--ice); font-size: 19px; }
.art-note strong, .art-note small { display: block; }.art-note strong { font-size: 11px; font-weight: 600; }.art-note small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.future-note { display: flex; justify-content: space-between; gap: 22px; margin: 22px 0 0; padding: 19px 0 0; border-top: 1px solid var(--line); color: var(--muted-dim); font-size: 10px; }.future-note span:first-child { color: var(--ice); letter-spacing: .12em; font-weight: 700; }
.about-section { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-copy { padding-top: 32px; max-width: 510px; }
.about-lead { margin: 0 0 22px; font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.2; letter-spacing: -.06em; font-weight: 550; }
.about-lead span { color: var(--ice); }
.about-copy > p:not(.about-lead) { color: var(--muted); max-width: 470px; font-size: 14px; line-height: 1.9; }
.about-rule { width: 100%; height: 1px; margin: 40px 0 14px; background: var(--line); }
.about-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted-dim); font-size: 9px; letter-spacing: .1em; }
.contact-section { background: #0b1723; }
.contact-panel { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 50px; padding: clamp(30px, 5.5vw, 65px); border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); }
.contact-panel h2 { max-width: 570px; }
.contact-copy { max-width: 380px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.contact-action { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; }
.email-address { display: inline-block; color: var(--ice); font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: -.02em; word-break: break-word; }.email-address span { padding-left: 6px; }
.site-footer { border-top: 1px solid var(--line); padding: 31px 0 22px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; padding-bottom: 27px; }
.footer-brand { width: fit-content; }.footer-brand .brand-mark { width: 31px; height: 31px; }.footer-tagline { color: var(--muted); font-size: 11px; }
.footer-nav { display: flex; gap: 20px; align-items: center; }
.footer-nav a { font-size: 11px; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-dim); font-size: 9px; }
/* Content must remain visible even when JavaScript or IntersectionObserver is unavailable. */
.reveal,
.js-motion .reveal,
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
.reveal { transition: opacity .25s ease, transform .25s ease; }
@media (max-width: 900px) {
  .hero { min-height: 570px; grid-template-columns: 1.05fr .95fr; gap: 28px; padding-top: 86px; }
  .hero-signature { padding: 16px; }
  .game-card { grid-template-columns: 1fr; }
  .game-card-copy { min-height: auto; }
  .game-art { min-height: 460px; border-left: 0; border-top: 1px solid var(--line); }
  .board-illustration { max-height: 390px; }
  .about-grid { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 13px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 36px; min-height: auto; padding-top: 73px; padding-bottom: 88px; }
  .hero h1 { font-size: clamp(4.2rem, 17vw, 6rem); }
  .hero-description { font-size: 14px; max-width: 410px; }
  .hero-signature { width: min(100%, 340px); align-self: center; }
  .signature-core { font-size: 6.2rem; }
  .hero-foot { bottom: 23px; font-size: 8px; letter-spacing: .09em; }
  .hero-foot span:first-child { max-width: 190px; }
  .section { padding: 72px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .section-intro { max-width: none; }
  h2 { font-size: clamp(2.5rem, 11vw, 3.8rem); }
  .game-card-copy { padding: 26px 22px 30px; }
  .game-card h3 { margin-top: 27px; font-size: 3.15rem; }
  .game-number { font-size: 8px; }
  .feature-list { grid-template-columns: 1fr; gap: 9px; }
  .game-card-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .game-art { min-height: 365px; padding: 14px; }
  .art-topline { font-size: 8px; letter-spacing: .1em; }
  .board-illustration { max-height: 300px; }
  .art-note { padding: 9px; }
  .future-note { flex-direction: column; gap: 6px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-copy { padding-top: 0; }
  .about-meta { flex-direction: column; gap: 8px; }
  .contact-panel { grid-template-columns: 1fr; gap: 34px; padding: 28px 22px; }
  .contact-action { gap: 15px; }
  .footer-main { grid-template-columns: 1fr; gap: 18px; }
  .footer-tagline { margin-top: -9px; }
  .footer-nav { grid-column: auto; flex-wrap: wrap; gap: 13px 20px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
