:root {
  --bg: #080b0d;
  --bg-soft: #121619;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --ink: #f7f1e2;
  --muted: rgba(247, 241, 226, 0.7);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f3c547;
  --accent-strong: #ffb100;
  --danger: #cf1f1f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 177, 0, 0.08), transparent 22%),
    radial-gradient(circle at 50% 18%, rgba(241, 231, 202, 0.12), transparent 18%),
    radial-gradient(circle at 75% 78%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #0a0f12 0%, #090c0f 48%, #13181c 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-aura {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
}

.site-aura-left {
  top: 90px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(255, 177, 0, 0.14);
}

.site-aura-center {
  top: 160px;
  left: 40%;
  width: 380px;
  height: 380px;
  background: rgba(255, 248, 218, 0.12);
}

.site-aura-bottom {
  right: -80px;
  bottom: 40px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.12);
}

.shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(20px);
  background: rgba(11, 14, 17, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(243, 197, 71, 0.14);
  border: 1px solid rgba(243, 197, 71, 0.2);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.brand-text {
  color: #edd392;
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  text-decoration: none;
  color: rgba(247, 241, 226, 0.86);
  font-size: 0.95rem;
  transition: color 0.15s;
}

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

.hero,
.page-head {
  padding: 56px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding-top: 42px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 16px;
  line-height: 1.1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 7.5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

h1 span {
  color: var(--accent);
}

.lead,
.prose {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 48rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffbf24 0%, #f6a700 100%);
  box-shadow: 0 12px 34px rgba(246, 167, 0, 0.25);
  color: #17130c;
  font-weight: 800;
  text-decoration: none;
}

.feature-panel,
.feed-column,
.section-card,
.card {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-panel {
  padding: 34px;
  border-radius: 18px;
}

.feature-label {
  margin: 0 0 22px;
  color: #d9c487;
  font-size: 1.1rem;
  font-weight: 700;
}

.glyph-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(243, 197, 71, 0.18);
  background: rgba(243, 197, 71, 0.08);
  color: var(--accent);
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 3.2rem;
}

.glyph-translit {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.feature-panel h2,
.section-card h2 {
  margin-bottom: 12px;
}

.feature-panel p,
.section-card p,
.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.feed-grid,
.stack {
  display: grid;
  gap: 20px;
  padding-bottom: 52px;
}

.feed-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.feed-column,
.section-card,
.card {
  padding: 24px;
  border-radius: 18px;
}

.feed-heading {
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.feed-item + .feed-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-item h3,
.archive-year h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feed-item p,
.content-card p {
  margin: 0;
}

.content-card.has-cover {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.card-cover {
  overflow: hidden;
}

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

.has-cover .card-body {
  padding: 24px;
}

.cover-image {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.cover-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.feed-meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(247, 241, 226, 0.56);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #f7f1e2;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.section-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.tag-list,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list {
  margin-top: 16px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid rgba(243, 197, 71, 0.18);
  background: rgba(243, 197, 71, 0.08);
  color: #efd17d;
  font-size: 0.88rem;
  text-decoration: none;
}

.tag-pill-large {
  min-height: 40px;
  padding: 0 16px;
}

.tag-pill span {
  color: rgba(247, 241, 226, 0.64);
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.archive-year {
  padding-bottom: 34px;
}

.page-head h1 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.prose a {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
  margin-top: 40px;
}

.site-footer p {
  margin: 0;
  color: rgba(247, 241, 226, 0.4);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 1100px) {
  .hero-grid,
  .feed-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 32px);
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .hero,
  .page-head {
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .feature-panel {
    padding: 22px;
  }

  .glyph-box {
    width: 72px;
    height: 72px;
    font-size: 2.4rem;
  }

  .feed-column,
  .section-card,
  .card {
    padding: 18px;
  }

  .content-card.has-cover {
    grid-template-columns: 1fr;
  }

  .card-cover img {
    max-height: 200px;
  }

  .tag-cloud {
    gap: 8px;
  }

  .site-footer {
    padding: 20px 0;
    margin-top: 24px;
  }
}
