:root {
  --bg: #0f1512;
  --bg-alt: #141d18;
  --surface: #1a2420;
  --border: #2a3730;
  --text: #eef1ee;
  --text-muted: #a9b5ae;
  --accent: #7fae6f;
  --accent-dark: #5c8a4f;
  --gold: #c9a86a;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --serif-body: "Libre Baskerville", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, .brand {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

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

/* Scroll progress */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 21, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-right: auto;
}

.nav {
  display: flex;
  gap: 28px;
  position: relative;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a:hover { color: var(--accent); }

.nav a.active { color: var(--accent); }

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  opacity: 0;
  background: var(--accent);
  border-radius: 1px;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

/* Fallback hover for when the GSAP CDN fails to load */
.btn:hover { filter: brightness(1.05); }

.btn.btn-glow {
  box-shadow: 0 14px 30px -10px rgba(127, 174, 111, 0.4);
}

.btn-primary {
  background: var(--accent);
  color: #0f1512;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  margin-top: 8px;
}

.btn-outline:hover { background: rgba(201, 168, 106, 0.1); }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }

.btn-large { padding: 17px 38px; font-size: 1.05rem; }

.icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* The image keeps its natural proportions (no crop/zoom) — the hero's
   height simply follows whatever that produces. */
.hero-bg {
  position: relative;
  width: 100%;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(15, 21, 18, 0.9) 30%,
    rgba(15, 21, 18, 0.4) 60%,
    rgba(15, 21, 18, 0.05) 100%
  );
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow.center { text-align: center; }

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

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

/* Sections */

.section { padding: 96px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 22px;
}

.section-title.center { text-align: center; }

.section-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 68ch;
  margin: 0 auto 20px;
}

.section-lead.center { text-align: center; }

.statement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 44px auto;
  text-align: center;
}

.statement-grid p {
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  text-align: center;
  color: var(--text);
  max-width: 760px;
  margin: 56px auto;
  line-height: 1.5;
  position: relative;
  padding: 0 20px;
}

/* Cards */

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-icon { font-size: 1.7rem; margin-bottom: 14px; }

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Author */

.author-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.author-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 6px solid var(--surface);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.55);
  flex-shrink: 0;
}

.author-credentials {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.author-copy p { margin-bottom: 18px; color: var(--text-muted); }

.author-copy p em { color: var(--text); font-style: italic; }

/* CTA */

.cta-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(127, 174, 111, 0.16), transparent 55%),
    var(--bg-alt);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner { display: flex; flex-direction: column; align-items: center; }

.cta-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */

.site-footer { padding: 40px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner a {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-inner a:hover { color: var(--accent); }

/* Responsive */

@media (max-width: 900px) {
  /* The image itself is short at this width (it keeps its ~4:3 ratio),
     so give the hero a floor height for the text and let it sit over
     a solid background below where the image ends. */
  .hero { min-height: 640px; }
  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 21, 18, 0.85) 0%,
      rgba(15, 21, 18, 0.97) 45%,
      var(--bg) 100%
    );
  }
  .hero-copy { max-width: 100%; }
  .author-section { grid-template-columns: 1fr; text-align: center; }
  .author-photo { margin: 0 auto; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .statement-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { display: none; }
  .nav-indicator { display: none; }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
