:root {
  color-scheme: light;
  --ink: #2f261b;
  --muted: #665848;
  --soft: #8f7f69;
  --gold: #d69d35;
  --gold-deep: #a86f1c;
  --clay: #bf6f4c;
  --green: #5f8a74;
  --cream: #fff8ec;
  --sand: #f1dfbd;
  --panel: #fffdf7;
  --line: rgba(47, 38, 27, 0.14);
  --shadow: 0 22px 70px rgba(87, 61, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 248, 236, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 168, 79, 0.65);
  background: linear-gradient(135deg, rgba(215, 168, 79, 0.22), rgba(49, 95, 85, 0.22));
  color: var(--gold-deep);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.9rem;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(18px, 6vw, 86px) 84px;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.98) 0%, rgba(255, 248, 236, 0.88) 39%, rgba(255, 248, 236, 0.24) 76%),
    linear-gradient(0deg, var(--cream) 0%, rgba(255, 248, 236, 0.14) 34%, rgba(255, 248, 236, 0.04) 100%);
}

.hero-content {
  width: min(720px, 100%);
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Cinzel, Georgia, serif;
}

h1 {
  font-size: clamp(4.3rem, 12vw, 9.5rem);
  max-width: 7ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.25rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  background: var(--gold);
  color: #1c1206;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f1c15f;
}

.button-secondary {
  border-color: rgba(47, 38, 27, 0.2);
  background: rgba(255, 253, 247, 0.72);
  color: var(--ink);
}

.intro {
  padding: 46px clamp(18px, 6vw, 86px);
  background: var(--gold);
  color: #1c1206;
}

.intro p {
  max-width: 1100px;
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  line-height: 1.18;
}

.band,
.series,
.contact-band {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 6vw, 86px);
}

.band {
  background:
    linear-gradient(110deg, rgba(95, 138, 116, 0.22), transparent 46%),
    #fffdf7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.topic-card {
  min-height: 300px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 253, 247, 0.98);
}

.topic-card span {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
}

.topic-card h3 {
  margin-top: 72px;
}

.topic-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.series {
  background: #f7ecd7;
}

.series-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.series-list a {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.series-list a:hover strong,
.series-list a:focus-visible strong {
  color: var(--gold);
}

.series-list span {
  color: var(--soft);
  font-weight: 800;
}

.series-list strong {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: #5f8a74;
  color: var(--cream);
}

.contact-band h2 {
  max-width: 10ch;
}

.contact-band p:not(.kicker) {
  max-width: 610px;
  color: rgba(248, 239, 224, 0.82);
}

.contact-band .kicker {
  color: #ffe2a1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 6vw, 86px);
  background: #fffdf7;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

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

@media (max-width: 800px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 86vh;
    padding-top: 170px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 248, 236, 0.98), rgba(255, 248, 236, 0.7)),
      linear-gradient(0deg, var(--cream) 0%, rgba(255, 248, 236, 0.14) 40%);
  }

  .section-heading,
  .topic-grid,
  .series-list a,
  .contact-band,
  footer {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 230px;
  }

  .topic-card h3 {
    margin-top: 42px;
  }

  .contact-band .button,
  .hero-actions .button {
    width: 100%;
  }

  footer {
    display: grid;
  }
}
