/* ───────────────────────────────────────────────────────────────────
   Smoulderhouse — a quiet thing from FXphoenix
   ─────────────────────────────────────────────────────────────────── */

/* --- Type --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* The house palette */
  --night:        #0f1320;
  --night-deep:   #080a14;
  --charcoal:     #1a1f2e;
  --gold:         #b8860b;
  --gold-bright:  #d4a93a;
  --ember:        #f0a830;
  --crimson:      #8b2c2c;
  --cream:        #fbf6ec;
  --cream-soft:   #e8e0cf;
  --muted:        #8a8473;

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--cream-soft);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle vignette texture so the page itself feels like night */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(240,168,48,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; flex: 1; }

/* --- Type system --- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--gold-bright); }

p { margin-bottom: 1.2rem; }
p.lede { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--cream); font-weight: 400; }

a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
a:hover { color: var(--ember); border-bottom-color: var(--ember); }

.rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  opacity: 0.6;
}

/* --- Nav --- */
nav.top {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(184,134,11,0.15);
}
nav.top .brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  border: none;
  letter-spacing: 1px;
}
nav.top .brand img { width: 40px; height: 40px; }
nav.top .links { display: flex; gap: 2rem; }
nav.top .links a {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--cream-soft);
  border: none;
  text-transform: lowercase;
}
nav.top .links a:hover, nav.top .links a.active { color: var(--gold-bright); }

/* --- Page sections --- */
section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
section.narrow { max-width: 720px; }

.hero { text-align: center; padding-top: 6rem; padding-bottom: 4rem; }
.hero img.logo { width: 180px; margin-bottom: 1.5rem; filter: drop-shadow(0 0 30px rgba(240,168,48,0.15)); }
.hero h1 { font-family: var(--serif); font-weight: 500; }
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-top: 1rem;
  letter-spacing: 0.5px;
}
.hero .intro { max-width: 600px; margin: 2.5rem auto 0; }

/* --- Game card --- */
.game-card {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--night-deep) 100%);
  border: 1px solid rgba(184,134,11,0.25);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}
.game-card .cover { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.game-card .meta { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.game-card .label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.game-card h2 { color: var(--cream); margin-bottom: 0.5rem; }
.game-card .blurb { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--cream-soft); margin-bottom: 1.5rem; }
.game-card .description { font-size: 0.95rem; margin-bottom: 1.5rem; }
.game-card .cta {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.game-card .cta:hover { background: var(--gold); color: var(--night-deep); border-color: var(--gold); }

.coming { opacity: 0.6; font-style: italic; font-family: var(--serif); text-align: center; padding: 2rem; }

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(184,134,11,0.15);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
footer .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
footer .from { font-size: 0.8rem; letter-spacing: 1px; }

/* --- Responsive --- */
@media (max-width: 720px) {
  nav.top { padding: 1rem; flex-direction: column; gap: 1rem; }
  nav.top .links { gap: 1.2rem; }
  section { padding: 3rem 1.5rem; }
  .hero { padding-top: 3rem; }
  .hero img.logo { width: 140px; }
  .game-card { grid-template-columns: 1fr; }
  .game-card .meta { padding: 1.5rem; }
}
