:root {
  --bg: #140f18;
  --panel: rgba(33, 24, 39, 0.92);
  --panel-2: rgba(53, 36, 58, 0.92);
  --ink: #f3ead9;
  --muted: #c8baa4;
  --line: rgba(244, 223, 184, 0.12);
  --gold: #d6b165;
  --violet: #8d6fb2;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(141, 111, 178, 0.22), transparent 18rem),
    linear-gradient(180deg, #0e0912 0%, var(--bg) 100%);
  font: 16px/1.72 Georgia, "Times New Roman", serif;
}

a { color: var(--gold); text-decoration: none; }

.page {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.topbar,
.hero,
.posts article,
.story,
.footer {
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(50, 35, 54, 0.95), rgba(29, 22, 35, 0.95));
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

nav a {
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.stack {
  display: grid;
  gap: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1rem;
  padding: 1.45rem;
  background:
    radial-gradient(circle at bottom right, rgba(214, 177, 101, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(45, 30, 50, 0.95), rgba(24, 18, 29, 0.95));
}

.hero.compact {
  grid-template-columns: 1fr;
}

.eyebrow,
.hero-card span,
.footer span,
.tag {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
.hero-card strong {
  margin: 0 0 0.8rem;
  line-height: 1.02;
}

h1 { font-size: clamp(2.8rem, 5vw, 5rem); max-width: 12ch; }
h2 { font-size: 1.55rem; }

.lede,
.hero p,
.hero-card p,
.posts p,
.story p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.hero-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(64, 43, 70, 0.9), rgba(34, 25, 39, 0.9));
}

.hero-card strong {
  display: block;
  font-size: 1.3rem;
}

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.posts article {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(43, 30, 48, 0.95), rgba(28, 22, 34, 0.95));
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(36, 26, 41, 0.95), rgba(24, 18, 29, 0.95));
}

.story p + p {
  margin-top: 1rem;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(180deg, rgba(43, 30, 48, 0.95), rgba(28, 22, 34, 0.95));
}

.footer strong {
  display: block;
  margin-bottom: 0.45rem;
}

@media (max-width: 900px) {
  .hero,
  .posts,
  .story,
  .footer {
    grid-template-columns: 1fr;
  }

  h1 { max-width: none; }
}
