:root {
  --bg: #090b10;
  --bg-soft: #10141d;
  --panel: rgba(18, 22, 31, 0.92);
  --panel-2: rgba(13, 17, 24, 0.94);
  --text: #e8e1d6;
  --muted: #b5aa98;
  --gold: #c8a96b;
  --gold-light: #edd3a0;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(43, 34, 22, 0.18), transparent 35%),
    linear-gradient(180deg, #07090d 0%, #0a0d13 100%);
  color: var(--text);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #fff0cb;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(7, 9, 13, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.site-logo {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: #f5e8ca;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dbc9a6;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #f2e4c2;
  font-size: 1.2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
}

.hero-banner {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(8, 10, 14, 0.42), rgba(8, 10, 14, 0.82)),
    url('../images/banner.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.45) 72%),
    linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 110px 0 90px;
}

.eyebrow,
.section-tag,
.post-date {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--gold-light);
}

.hero-content h1,
.page-banner h1,
.story-post h1,
.section-heading h2,
.panel-card h2 {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 1.08;
  margin: 0.4rem 0 1.15rem;
  color: #fff6e6;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

.hero-text {
  max-width: 700px;
  font-size: 1.18rem;
  color: #e9dec7;
  margin-bottom: 2rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #b99458, #e0c48b);
  color: #111;
  box-shadow: 0 14px 32px rgba(201, 164, 94, 0.22);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: #f1e3c1;
  border-color: rgba(255,255,255,0.1);
}

.intro-section,
.latest-section,
.quote-strip,
.blog-listing,
.simple-page-card,
.post-layout {
  position: relative;
}

.intro-section,
.latest-section {
  padding: 84px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.panel-card,
.post-card,
.archive-card,
.simple-page-card,
.story-post,
.sidebar-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 34px;
}

.panel-card h2,
.section-heading h2 {
  margin: 0.35rem 0 1rem;
  color: #fff1d2;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.panel-card p,
.archive-card p,
.story-post p,
.simple-page-card p {
  color: #e3d9ca;
}

.feature-list {
  margin: 1.1rem 0 0;
  padding-left: 1.15rem;
}

.feature-list li {
  margin-bottom: 0.85rem;
  color: #dfd3c0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.text-link,
.read-link,
.sidebar-link {
  font-weight: 700;
  color: var(--gold-light);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card,
.archive-card {
  overflow: hidden;
}

.post-card-inner,
.archive-card {
  padding: 28px;
}

.post-card h3,
.archive-card h2 {
  margin: 0.5rem 0 0.8rem;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.45rem;
  color: #fff0cb;
}

.post-card p,
.archive-card p {
  margin-top: 0;
}

.featured-post {
  grid-column: span 2;
}

.quote-strip {
  padding: 36px 0 84px;
}

.quote-strip blockquote {
  margin: 0;
  padding: 34px 38px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21,26,37,0.9), rgba(12,16,24,0.95));
  box-shadow: var(--shadow);
  color: #f4e6c5;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  text-align: center;
}

.page-shell {
  padding-bottom: 80px;
}

.page-banner {
  padding: 80px 0 42px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.page-banner-blog {
  background:
    linear-gradient(rgba(9, 11, 16, 0.78), rgba(9, 11, 16, 0.92)),
    url('../images/banner.jpg') center top / cover no-repeat;
}

.page-banner-simple {
  background: linear-gradient(180deg, rgba(18,22,30,0.72), rgba(9,11,16,0));
}

.page-banner h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  color: #fff2d2;
}

.page-banner p {
  max-width: 760px;
  color: #dccfb8;
}

.blog-listing {
  padding-top: 42px;
  display: grid;
  gap: 22px;
}

.archive-card {
  padding: 30px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  padding-top: 42px;
}

.story-post {
  padding: 40px;
}

.story-post h1 {
  margin: 0.45rem 0 1.4rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #fff2d0;
}

.story-post p {
  font-size: 1.08rem;
  margin-bottom: 1.35rem;
}

.story-sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card p {
  margin: 0 0 0.8rem;
  color: #e2d8ca;
}

.sidebar-link {
  display: block;
  margin-top: 0.8rem;
}

.simple-page-card {
  padding: 34px;
  margin-top: 36px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.92);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.footer-title {
  margin: 0 0 0.25rem;
  font-family: 'Cinzel', Georgia, serif;
  color: #f4e7c6;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

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

.footer-links a {
  color: #d9c9ab;
}

@media (max-width: 980px) {
  .intro-grid,
  .post-layout,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-column: span 1;
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 11, 16, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .hero-banner {
    min-height: 70vh;
    background-position: center center;
  }

  .hero-content {
    padding: 90px 0 72px;
  }

  .story-post,
  .panel-card,
  .archive-card,
  .simple-page-card,
  .sidebar-card,
  .post-card-inner {
    padding: 24px;
  }

  .hero-text,
  .story-post p {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .site-logo {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .quote-strip blockquote {
    padding: 24px;
  }
}
