:root {
  --bg-deep: #1a2e1f;
  --bg-dark: #223828;
  --bg-mid: #2d4a35;
  --bg-card: #1e3325;
  --cream: #f5efe6;
  --cream-soft: #e8dfd3;
  --cream-muted: #c4b8a8;
  --accent: #a3c4a0;
  --accent-warm: #d4a574;
  --accent-glow: rgba(163, 196, 160, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============ GRAIN TEXTURE ============ */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(175deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-mid) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--cream-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-scroll-line {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  opacity: 0.4;
  z-index: 2;
}

/* ============ BRIDGE ============ */
.bridge {
  padding: 6rem 2rem;
  background: var(--bg-dark);
}

.bridge-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.bridge-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bridge-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream);
  text-align: center;
}

.bridge-arrow {
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.6;
}

.bridge-right p {
  font-size: 1.05rem;
  color: var(--cream-soft);
  margin-bottom: 1rem;
}

.bridge-right em {
  color: var(--accent-warm);
  font-style: italic;
}

/* ============ PILLARS ============ */
.pillars {
  padding: 6rem 2rem;
  background: var(--bg-deep);
}

.pillars h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 4rem;
  color: var(--cream);
}

.pillars-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid rgba(163, 196, 160, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  transition: border-color 0.3s ease;
}

.pillar:hover {
  border-color: rgba(163, 196, 160, 0.25);
}

.pillar-num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0.6;
  display: block;
  margin-bottom: 1rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--cream-muted);
  line-height: 1.7;
}

/* ============ JOURNEY ============ */
.journey {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.journey-inner {
  max-width: 700px;
  margin: 0 auto;
}

.journey h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 3.5rem;
  color: var(--cream);
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journey-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  width: 1px;
  height: calc(100% - 12px);
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.step-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  justify-self: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--cream-muted);
  line-height: 1.7;
}

/* ============ CLOSING ============ */
.closing {
  padding: 7rem 2rem;
  background: var(--bg-mid);
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--cream);
}

.closing h2 em {
  font-style: italic;
  color: var(--accent);
}

.closing p {
  font-size: 1.05rem;
  color: var(--cream-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.closing-final {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 2rem;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 3rem 2rem;
  background: var(--bg-deep);
  text-align: center;
  border-top: 1px solid rgba(163, 196, 160, 0.08);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--cream-muted);
  letter-spacing: 0.1em;
}

/* ============ SHARED SECTION LABEL ============ */
.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* ============ HERO CTAs ============ */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.25s ease;
}

.hero-btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.hero-btn--primary:hover {
  background: var(--cream-soft);
  transform: translateY(-1px);
}

.hero-btn--secondary {
  background: transparent;
  color: var(--cream-soft);
  border: 1px solid rgba(163, 196, 160, 0.35);
}

.hero-btn--secondary:hover {
  border-color: var(--accent);
  color: var(--cream);
  transform: translateY(-1px);
}

/* ============ RESOURCES ============ */
.resources {
  padding: 7rem 2rem;
  background: var(--bg-deep);
}

.resources-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.resources-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.resources-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.resources-sub {
  font-size: 1rem;
  color: var(--cream-muted);
  line-height: 1.8;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid rgba(163, 196, 160, 0.1);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.resource-card:hover {
  border-color: rgba(163, 196, 160, 0.28);
  transform: translateY(-2px);
}

.resource-card--featured {
  border-color: rgba(163, 196, 160, 0.2);
  background: linear-gradient(160deg, var(--bg-mid) 0%, var(--bg-card) 100%);
}

.resource-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(163, 196, 160, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  width: fit-content;
}

.resource-tag--warm {
  color: var(--accent-warm);
  background: rgba(212, 165, 116, 0.1);
}

.resource-body {
  flex: 1;
}

.resource-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.resource-body h3 em {
  font-style: italic;
  color: var(--accent);
}

.resource-card--featured .resource-body h3 em {
  color: var(--accent-warm);
}

.resource-body p {
  font-size: 0.92rem;
  color: var(--cream-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.resource-meta {
  font-size: 0.78rem;
  color: var(--cream-muted);
  opacity: 0.6;
  letter-spacing: 0.06em;
}

.resource-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(163, 196, 160, 0.25);
  transition: border-color 0.25s ease, gap 0.25s ease;
  width: fit-content;
}

.resource-btn:hover {
  border-color: var(--accent);
  gap: 0.75rem;
}

.resource-btn--featured {
  color: var(--accent-warm);
  border-bottom-color: rgba(212, 165, 116, 0.25);
}

.resource-btn--featured:hover {
  border-color: var(--accent-warm);
}

/* ============ NEWSLETTER ============ */
.newsletter {
  padding: 7rem 2rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(163, 196, 160, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.newsletter-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.newsletter-content h2 em {
  font-style: italic;
  color: var(--accent);
}

.newsletter-sub {
  font-size: 1rem;
  color: var(--cream-soft);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.newsletter-form {
  width: 100%;
}

.newsletter-input-wrap {
  display: flex;
  gap: 0;
  border: 1px solid rgba(163, 196, 160, 0.25);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(163, 196, 160, 0.04);
  transition: border-color 0.25s ease;
}

.newsletter-input-wrap:focus-within {
  border-color: rgba(163, 196, 160, 0.5);
}

.newsletter-input {
  flex: 1;
  padding: 0.95rem 1.2rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cream);
  min-width: 0;
}

.newsletter-input::placeholder {
  color: var(--cream-muted);
  opacity: 0.5;
}

.newsletter-submit {
  padding: 0.95rem 1.5rem;
  background: var(--accent);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--bg-deep);
  letter-spacing: 0.02em;
  transition: background 0.25s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
}

.newsletter-submit:hover {
  background: var(--cream-soft);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 46, 31, 0.3);
  border-top-color: var(--bg-deep);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.newsletter-message {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.4em;
  transition: color 0.2s ease;
}

.newsletter-message--success {
  color: var(--accent);
}

.newsletter-message--error {
  color: var(--accent-warm);
}

.newsletter-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--cream-muted);
  opacity: 0.5;
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .bridge-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bridge-left {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

  .hero {
    min-height: 85vh;
    padding: 3rem 1.5rem;
  }

  .pillars,
  .journey,
  .closing,
  .bridge,
  .resources,
  .newsletter {
    padding: 4rem 1.5rem;
  }

  .pillar {
    padding: 2rem;
  }

  .newsletter-input-wrap {
    flex-direction: column;
    border-radius: 4px;
  }

  .newsletter-submit {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border-radius: 0;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .bridge-quote {
    font-size: 1.2rem;
  }
}