/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #f5f0ea;
  --warm:    #ede7df;
  --stone:   #c8bfb5;
  --ink:     #1a1714;
  --text:    #2e2a27;
  --muted:   #7a7066;
  --accent:  #b8a898;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.tm { font-size: 0.68em; vertical-align: super; margin-left: 0.12em; opacity: 0.9; font-weight: 400; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  background: rgba(245, 240, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 191, 181, 0.3);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

/* hamburger */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-menu-btn.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-menu-btn.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile menu ──────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--cream);
  padding: 24px 40px 32px;
  border-bottom: 1px solid var(--warm);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-link {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--warm);
  transition: color 0.2s;
}

.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--ink); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 48px;
  max-width: 820px;
}

.hero-title em {
  font-style: italic;
  color: var(--muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--stone);
  border-radius: 100px;
  padding: 12px 28px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  width: fit-content;
}

.hero-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--stone));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 100px 40px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.label-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 32px;
  border: 1px solid var(--stone);
  border-radius: 100px;
  padding: 4px 14px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
}

.section-heading em {
  font-style: italic;
  color: var(--text);
  opacity: 0.6;
}

.body-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  max-width: 480px;
}

/* ── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
}

.about-label { padding-top: 6px; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 1px;
  background: var(--warm);
}

/* ── Games ────────────────────────────────────────────────── */
.games-header {
  margin-bottom: 56px;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.game-card {
  border: 1px solid var(--warm);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}

.game-card:nth-child(2) { transition-delay: 0.12s; }

.game-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.game-card:hover {
  box-shadow: 0 12px 40px rgba(26, 23, 20, 0.07);
}

.game-card-inner {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.game-placeholder-art {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--warm) 0%, var(--cream) 100%);
}

.game-placeholder-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-status {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.game-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.game-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
}

/* CTA card */
.game-card--cta {
  background: var(--ink);
  border-color: var(--ink);
}

.game-card-inner--cta {
  justify-content: center;
  align-items: flex-start;
}

.cta-label {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 32px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  border-radius: 100px;
  padding: 12px 28px;
  transition: background 0.2s, color 0.2s;
}

.cta-pill:hover {
  background: var(--warm);
}

/* ── Contact ──────────────────────────────────────────────── */
.section--contact { background: var(--warm); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 8px;
}

.contact-heading em { font-style: italic; }

.contact-body {
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--text);
}

.contact-email {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--stone);
  padding-bottom: 8px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--muted);
  border-color: var(--accent);
}

/* ── Social Links ─────────────────────────────────────────── */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
}

.social-icons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.social-icon:hover {
  color: var(--ink);
}

.social-icon--sm svg {
  width: 18px;
  height: 18px;
}

.social-icon--xs svg {
  width: 15px;
  height: 15px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 40px;
  border-top: 1px solid var(--warm);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

.footer-copy {
  font-size: 12px;
  color: var(--stone);
}

.footer-disclosure {
  font-size: 11px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
}

.footer-legal-details {
  font-size: 11px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

.footer-legal-details a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-legal-details a:hover { color: var(--ink); }

.footer-disclosure strong {
  color: var(--muted);
  font-weight: 400;
}

.contact-business {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--warm);
}

.contact-business-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-business-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

.contact-business-text strong {
  color: var(--text);
  font-weight: 400;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-menu-btn { display: flex; }
  .mobile-menu  { display: block; }
  .nav          { padding: 0 24px; }

  .hero         { padding: calc(var(--nav-h) + 40px) 24px 80px; }
  .section      { padding: 72px 24px; }
  .divider      { padding: 0 24px; }

  .about-grid   { grid-template-columns: 1fr; gap: 0; }
  .about-label  { margin-bottom: -12px; }

  .body-text    { max-width: 100%; }

  .games-grid   { grid-template-columns: 1fr; }
  .game-card-inner--cta { min-height: 200px; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-body { padding-top: 0; }

  .contact-email {
    font-size: 15px;
    word-break: break-all;
  }

  .social-icons { gap: 16px; }

  .footer         { padding: 24px; }
  .footer-row     { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links   { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .hero-scroll-hint { display: none; }

  .hero-title   { font-size: clamp(40px, 11vw, 72px); }

  .game-card-inner { padding: 24px; }

  .social-icons { gap: 14px; }
}
