/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #BE9146;
  --gold-lt:   #E8C870;
  --deep:      #2C2018;
  --cream:     #FDFAF6;
  --blush:     #F5DDD8;
  --muted:     #8C7250;
  --sage:      #7A9B7A;
  --text:      #2C2018;
  --border:    rgba(190,145,70,0.22);
  --nav-h:     60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── UTILITY ── */
.cinzel   { font-family: 'Cinzel', serif; }
.fell     { font-family: 'IM Fell English', Georgia, serif; font-style: italic; }
.gold     { color: var(--gold); }
.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* ── TOP NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  border-bottom: 1px solid rgba(190,145,70,0.15);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  white-space: nowrap;
}
.nav-logo span {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(245,230,200,0.6);
  letter-spacing: 0.06em;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,230,200,0.6);
  padding: 0 1.1rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-search {
  background: none;
  border: 0.5px solid rgba(190,145,70,0.35);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.nav-search:hover { border-color: var(--gold); }
.nav-search svg { width: 14px; height: 14px; stroke: rgba(245,230,200,0.5); }
.nav-search span {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,230,200,0.5);
}

/* mobile hamburger toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none;
  border: 0.5px solid rgba(190,145,70,0.35);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--gold-lt); fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .ic-close { display: none; }
.nav-toggle.open .ic-open { display: none; }
.nav-toggle.open .ic-close { display: block; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  max-height: 780px;
}

.hero-left {
  background: var(--deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(190,145,70,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-svg {
  width: 340px;
  height: 340px;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease both;
}

.hero-right {
  background: var(--blush);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(190,145,70,0.08);
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--deep);
  line-height: 1.18;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-rule::before, .hero-rule::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 0.5px;
  background: rgba(190,145,70,0.5);
}
.hero-rule span { color: var(--gold); font-size: 1rem; }

.hero-verse {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #6A5438;
  line-height: 1.9;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.8s 0.35s ease both;
}
.hero-verse-src {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 12px;
  animation: fadeUp 0.8s 0.5s ease both;
}
.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--deep);
  color: var(--gold);
  padding: 12px 28px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.btn-secondary {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  padding: 12px 28px;
  border: 1px solid rgba(190,145,70,0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── MAIN CONTENT ── */
.main { max-width: 1280px; margin: 0 auto; padding: 0 4rem; }

/* ── EXPLORE GRID ── */
.explore-section { padding: 5rem 0 4rem; }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.explore-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border: 0.5px solid var(--border);
  transition: transform 0.3s;
}
.explore-card:hover { transform: translateY(-4px); }
.explore-card:hover .explore-card-overlay { background: rgba(20,10,2,0.72); }
.explore-card:hover .explore-card-arrow { transform: translateX(4px); opacity: 1; }

.explore-card-art { width: 100%; height: 100%; display: block; }

.explore-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,10,2,0.52);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background 0.3s;
}
.explore-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F5E6C8;
  margin-bottom: 3px;
}
.explore-card-sub {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(245,230,200,0.6);
  margin-bottom: 8px;
}
.explore-card-arrow {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.explore-card-arrow::after { content: '→'; }

/* ── FEATURED + SIDEBAR ── */
.stories-section { padding: 0 0 5rem; }

.stories-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

/* Featured card */
.featured-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s;
}
.featured-card:hover { transform: translateY(-3px); }

.featured-art {
  height: 320px;
  background: var(--blush);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-art svg { width: 100%; height: 100%; }
.featured-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(253,250,246,0.92);
  padding: 5px 14px;
  border-radius: 999px;
  border: 0.5px solid rgba(190,145,70,0.4);
}
.featured-body { padding: 2rem; }
.featured-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.featured-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.featured-excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.read-link {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.read-link:hover { gap: 10px; }
.read-link::after { content: '→'; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }

.story-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.story-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s;
}
.story-card:hover { transform: translateX(3px); border-color: rgba(190,145,70,0.45); }
.story-card:hover::before { transform: scaleY(1); }

.story-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.story-card-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.25rem;
}
.story-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.story-card-meta {
  font-size: 0.78rem;
  color: #BBA888;
  font-style: italic;
}

/* ── VERSE BANNER ── */
.verse-banner {
  background: var(--deep);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.verse-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(190,145,70,0.1) 0%, transparent 70%);
}
.verse-banner-om {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.25rem;
  position: relative;
}
.verse-banner-quote {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #FDEDC8;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 0.75rem;
  position: relative;
}
.verse-banner-source {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  position: relative;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--cream);
  border-top: 0.5px solid var(--border);
  padding: 3rem 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}
.footer-brand .name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 4px;
}
.footer-brand .tagline {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  text-align: right;
  font-size: 0.78rem;
  color: #BBA888;
  font-style: italic;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-nav { padding: 0 2rem; }
  .main { padding: 0 2rem; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-layout { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .story-card { flex: 1 1 calc(50% - 0.5rem); min-width: 240px; }
  .verse-banner { padding: 3rem 2rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-copy { text-align: left; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero-left { padding: 3rem 2rem; min-height: 420px; }
  .hero-logo-svg { width: 260px; height: 260px; }
  .hero-right { padding: 3rem 2rem; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--deep);
    border-bottom: 1px solid rgba(190,145,70,0.2);
    box-shadow: 0 14px 30px rgba(20,12,4,0.35);
    padding: 0.25rem 0 0.5rem;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0; visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a {
    height: auto; width: 100%;
    padding: 0.9rem 2rem;
    border-bottom: none;
    border-left: 2px solid transparent;
    font-size: 0.7rem;
  }
  .nav-links a:hover, .nav-links a.active {
    border-bottom-color: transparent;
    border-left-color: var(--gold);
    background: rgba(190,145,70,0.06);
  }
  .nav-search span { display: none; }
  .sidebar { flex-direction: column; }
  .story-card { flex: 1 1 100%; }
}
