@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

:root {
  --bg-dark: #14532D;
  --text-on-dark: #FAF6EF;
  --bg-light: #FAF6EF;
  --text-on-light: #1C1917;
  --bg-accent: #D4A853;
  --text-on-accent: #1C1917;
  --charcoal: #1C1917;
  --forest-muted: rgba(20, 83, 45, 0.12);
  --font-head: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Nunito Sans', sans-serif;
  --max-w: 1200px;
  --radius: 6px;
  --shadow: 0 10px 40px rgba(28, 25, 23, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text-on-light); background: var(--bg-light); }

.surface-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.surface-light { background: var(--bg-light); color: var(--text-on-light); }
.surface-accent { background: var(--bg-accent); color: var(--text-on-accent); }
.surface-charcoal { background: var(--charcoal); color: var(--text-on-dark); }

.surface-dark a, .surface-light a, .surface-accent a, .surface-charcoal a {
  color: currentColor; text-decoration: underline;
}
.surface-dark *, .surface-light *, .surface-accent *, .surface-charcoal * { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 2rem, var(--max-w)); margin-inline: auto; }

.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
}
.site-header.is-sticky {
  position: fixed; background: rgba(250, 246, 239, 0.97);
  box-shadow: var(--shadow);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.nav-toggle {
  display: none; background: transparent; border: 1px solid currentColor;
  border-radius: var(--radius); padding: 0.4rem 0.75rem; cursor: pointer; font-family: var(--font-body);
}
.main-nav ul { display: flex; list-style: none; gap: 1.4rem; padding: 0; margin: 0; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 0.9rem; opacity: 0.92; }
.main-nav a:hover { opacity: 1; text-decoration: underline; }

.btn {
  display: inline-block; padding: 0.78rem 1.55rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
.btn-primary { background: var(--bg-accent); color: var(--text-on-accent); border-color: var(--bg-accent); }
.btn-primary:hover { box-shadow: var(--shadow); transform: translateY(-2px); opacity: 0.92; }
.btn-outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn-outline:hover { box-shadow: var(--shadow); opacity: 0.85; }
.btn-dark { background: var(--bg-dark); color: var(--text-on-dark); border-color: var(--bg-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Pattern C — Asymmetric Magazine Hero */
.hero-magazine {
  min-height: 96vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  background: var(--bg-light);
  padding-top: 5rem;
  overflow: hidden;
}
.hero-magazine .hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 2rem 3rem clamp(1rem, 4vw, 3rem);
  position: relative; z-index: 2;
}
.hero-magazine .hero-kicker {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--bg-dark); margin-bottom: 0.85rem;
}
.hero-magazine .hero-issue {
  font-family: var(--font-head); font-style: italic; font-size: 0.95rem;
  color: var(--bg-accent); margin-bottom: 1.25rem;
}
.hero-magazine h1 { margin-bottom: 1.1rem; max-width: 18ch; }
.hero-magazine .hero-lead { font-size: 1.05rem; max-width: 42ch; opacity: 0.92; }
.hero-magazine .hero-visual {
  position: relative; min-height: 420px;
}
.hero-magazine .hero-visual img {
  width: 108%; height: 100%; min-height: 480px;
  object-fit: cover; object-position: center 20%;
  margin-left: -4%;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-magazine .hero-caption {
  position: absolute; bottom: 2rem; left: 0;
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 0.65rem 1rem; font-size: 0.72rem; letter-spacing: 0.06em;
  max-width: 220px;
}
.hero-magazine .hero-rule {
  width: 64px; height: 3px; background: var(--bg-accent); margin: 1.5rem 0;
}
.trust-strip { font-size: 0.75rem; margin-top: 1.5rem; opacity: 0.75; }

section { padding: 4rem 0; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 0.5rem; opacity: 0.72;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--forest-muted); }
.card img { border-radius: var(--radius); margin-bottom: 1rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.path-tag {
  display: inline-block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  background: rgba(212, 168, 83, 0.28); margin-bottom: 0.75rem;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.disclaimer-box {
  border-left: 4px solid var(--bg-accent); padding: 1rem 1.25rem; margin: 1.5rem 0;
  font-size: 0.9375rem; background: rgba(212, 168, 83, 0.12);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.faq-item { border-bottom: 1px solid var(--forest-muted); padding: 1.25rem 0; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(28, 25, 23, 0.18);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
  background: var(--bg-light); color: var(--text-on-light);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; }
.form-check input { margin-top: 0.25rem; width: auto; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.site-footer { padding: 3rem 0 1.5rem; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(250, 246, 239, 0.15); padding-top: 1.5rem; font-size: 0.8125rem; opacity: 0.85; }
.footer-disclaimer { margin-top: 1rem; font-size: 0.8125rem; opacity: 0.8; line-height: 1.5; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem; box-shadow: 0 -4px 24px rgba(28, 25, 23, 0.15); }
.cookie-banner .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: 0.875rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions button {
  padding: 0.5rem 1rem; border-radius: var(--radius); font-family: var(--font-body);
  font-weight: 700; font-size: 0.8125rem; cursor: pointer; border: 2px solid currentColor;
  background: transparent; color: inherit;
}
.cookie-actions .btn-accept { background: var(--bg-accent); color: var(--text-on-accent); border-color: var(--bg-accent); }
.cookie-panel { display: none; width: 100%; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 246, 239, 0.15); }
.cookie-panel.is-open { display: block; }
.page-hero { padding: 7rem 0 3rem; }
.legal-content h2 { margin-top: 2rem; }
.error-page { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.path-timeline { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.path-step {
  flex: 1; min-width: 140px; padding: 1rem; border-radius: var(--radius);
  border: 2px solid rgba(212, 168, 83, 0.35); text-align: center;
}
.agent-pulse {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 700;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(212, 168, 83, 0.22); margin-bottom: 1rem;
}
.agent-pulse::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg-accent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .agent-pulse::before { animation: none; }
}
@media (max-width: 900px) {
  .hero-magazine { grid-template-columns: 1fr; min-height: auto; }
  .hero-magazine .hero-visual img { width: 100%; margin-left: 0; clip-path: none; min-height: 320px; }
  .hero-magazine .hero-copy { padding: 2rem 1rem; }
  .hero-magazine h1 { max-width: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 1rem; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.75rem; }
  .site-header .container { position: relative; flex-wrap: wrap; }
}
