/* ═══════════════════════════════════════════════
   HOLY HUMBLE HEROIC — Global Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --ink:        #161310;
  --ink-mid:    #1e1a16;
  --ink-soft:   #2a2420;
  --forest:     #182b1e;
  --forest-mid: #1f3526;
  --cream:      #F2EBE0;
  --cream-dim:  #c8bfb0;
  --muted:      #8A7E73;
  --gold-hi:    #E8C97A;
  --gold:       #C4955A;
  --gold-deep:  #8A6030;
  --rule:       rgba(196,149,90,0.22);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 999; opacity: 0.5;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }

.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold); display: block;
}

/* ─── BUTTONS ─── */
.btn-gold {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 0.9rem 2.2rem; text-decoration: none;
  display: inline-block; transition: background 0.3s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-2px); }

.btn-outline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-dim); background: transparent;
  border: 1px solid var(--rule);
  padding: 0.9rem 2.2rem; text-decoration: none;
  display: inline-block; transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }

/* ─── NAV ─── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  transition: background 0.5s, border-color 0.5s;
}
nav#main-nav.scrolled {
  background: rgba(22, 19, 16, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-left { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1.2; }
.nav-wordmark-top {
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.28em; color: var(--cream);
}
.nav-wordmark-sub {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.48rem; font-weight: 300;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold-hi); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 0.6rem 1.4rem; text-decoration: none;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-hi); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream); transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,19,16,0.98);
  z-index: 190; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 300;
  color: var(--cream); text-decoration: none;
  transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--gold-hi); }
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 1.5rem; color: var(--muted);
  cursor: pointer; background: none; border: none;
}

/* ─── FOOTER ─── */
footer#main-footer {
  background: #0f0d0b;
  padding: 5rem 2rem 2.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(196,149,90,0.1);
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: 'Cormorant SC', serif;
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.6rem;
}
.footer-tagline-p {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem; font-weight: 300; font-style: italic;
  color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem;
}
.footer-socials { display: flex; gap: 0.8rem; }
.fsocial {
  width: 34px; height: 34px;
  border: 1px solid rgba(196,149,90,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.8rem; text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.fsocial:hover { border-color: var(--gold); color: var(--gold-hi); }
.footer-col-head {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list a {
  font-family: 'Crimson Pro', serif;
  font-size: 0.95rem; font-weight: 300;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.footer-list a:hover { color: var(--cream); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.57rem; letter-spacing: 0.1em;
  color: rgba(138,126,115,0.4);
}
.footer-hhh {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem; letter-spacing: 0.4em;
  color: rgba(196,149,90,0.2);
}

/* ─── PAGE HERO BANNER (shared across inner pages) ─── */
.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center; position: relative; overflow: hidden;
  background: var(--ink-mid);
}
.page-hero::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(196,149,90,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300; line-height: 1; color: var(--cream);
  position: relative;
}
.page-hero-title em { font-style: italic; color: var(--gold-hi); }
.page-hero-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 1.15rem; font-weight: 300; font-style: italic;
  color: var(--cream-dim); max-width: 500px; margin: 1.5rem auto 0;
  line-height: 1.7; position: relative;
}
.page-hero-divider {
  display: flex; align-items: center; gap: 1.2rem;
  justify-content: center; margin: 1.5rem auto;
  position: relative;
}
.phd-line { width: 40px; height: 1px; background: var(--rule); }
.phd-d {
  width: 6px; height: 6px;
  border: 1px solid var(--gold); transform: rotate(45deg); opacity: 0.7;
}

/* ─── SECTION UTILITIES ─── */
.section-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold); display: block; text-align: center; margin-bottom: 1rem;
}
.section-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400; line-height: 1.1;
  text-align: center; margin-bottom: 1.2rem;
}
.section-h em { font-style: italic; color: var(--gold-hi); }
.section-intro {
  font-family: 'Crimson Pro', serif;
  font-size: 1.1rem; font-weight: 300; font-style: italic;
  color: var(--cream-dim); text-align: center;
  max-width: 520px; margin: 0 auto 5rem; line-height: 1.8;
}

/* ─── ARTICLE CARDS (reused) ─── */
.a-card {
  border: 1px solid rgba(196,149,90,0.1);
  background: var(--ink-mid);
  text-decoration: none; color: inherit; display: block;
  transition: border-color 0.35s, transform 0.35s, background 0.35s;
}
.a-card:hover {
  border-color: rgba(196,149,90,0.32);
  transform: translateY(-4px);
  background: var(--ink-soft);
}
.a-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, var(--forest-mid), var(--ink-soft));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; position: relative; overflow: hidden;
}
.a-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(22,19,16,0.6));
}
.a-card-body { padding: 1.4rem 1.5rem 1.5rem; }
.a-cat {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.a-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--cream); line-height: 1.2; margin-bottom: 0.7rem;
}
.a-excerpt {
  font-family: 'Crimson Pro', serif;
  font-size: 0.92rem; font-weight: 300;
  color: var(--cream-dim); line-height: 1.6; margin-bottom: 1.2rem;
}
.a-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(196,149,90,0.1); padding-top: 0.9rem;
}
.a-author {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.a-read {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}

/* ─── CATEGORY PILLS ─── */
.cats-band {
  background: var(--forest-mid);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(196,149,90,0.12);
  border-bottom: 1px solid rgba(196,149,90,0.12);
}
.cats-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.cat-pill {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid rgba(196,149,90,0.18);
  padding: 0.6rem 1.5rem; text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  cursor: pointer; background: none;
}
.cat-pill:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(196,149,90,0.05); }
.cat-pill.active { border-color: var(--gold); color: var(--ink); background: var(--gold); }

/* ─── NEWSLETTER STRIP ─── */
.nl-strip {
  background: var(--ink-soft); padding: 5rem 2rem; text-align: center;
  position: relative;
}
.nl-strip::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.nl-strip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--cream);
  margin: 1rem 0 0.8rem; line-height: 1.2;
}
.nl-strip-title em { font-style: italic; color: var(--gold-hi); }
.nl-strip-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem; font-weight: 300; font-style: italic;
  color: var(--cream-dim); margin-bottom: 2rem; line-height: 1.7;
}
.nl-form {
  display: flex; max-width: 420px; margin: 0 auto 1rem;
}
.nl-input {
  flex: 1; padding: 0.85rem 1.1rem;
  background: rgba(242,235,224,0.06);
  border: 1px solid var(--rule); border-right: none;
  color: var(--cream); font-family: 'Crimson Pro', serif; font-size: 1rem;
  outline: none; transition: border-color 0.3s;
}
.nl-input::placeholder { color: var(--muted); }
.nl-input:focus { border-color: var(--gold); }
.nl-btn {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  border: 1px solid var(--gold); padding: 0.85rem 1.4rem;
  cursor: pointer; white-space: nowrap; transition: background 0.3s;
}
.nl-btn:hover { background: var(--gold-hi); }
.nl-fine {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.1em; color: var(--muted);
}

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav#main-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1px solid var(--rule); border-bottom: none; }
}
