:root {
  --forest: #2D5016;
  --moss:   #4A7C59;
  --sage:   #7A9E7E;
  --cream:  #F5F0E8;
  --sand:   #E8DFD0;
  --terra:  #B5613A;
  --gold:   #C49A30;
  --char:   #2C2C2C;
  --muted:  #595959;
  --white:  #FFFFFF;
}

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

html { 
  scroll-behavior: smooth; 
  background: var(--forest); /* Match hero color to pull the theme up */
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--forest) !important; /* Mask any gaps at the edges */
  color: var(--char);
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── GHL & IFRAME RESETS ────────────────── */
body.is-embedded, 
html.is-embedded {
  background: var(--forest) !important; 
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important; /* Forces frame fill without horizontal scroll */
  overflow-x: hidden !important;
  min-height: 100vh !important;
}

/* Force GHL containers to behave */
body.is-embedded .hl_page-preview--content,
body.is-embedded .hl_page-preview--content .inner,
body.is-embedded .container,
body.is-embedded .container-fluid,
body.is-embedded .row,
body.is-embedded [class*="col-"] {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── EMBED TWEAKS ─────────────────────────── */
body.is-embedded > *:first-child,
body.is-embedded #main-content,
body.is-embedded .hero {
  margin-top: 0 !important;
}

body.is-embedded .hero {
  min-height: 600px !important;
  height: auto !important;
  max-height: 900px !important;
  padding-top: 120px !important; /* Even, premium padding */
  padding-bottom: 120px !important;
}

/* Aggressive Footer Stack for GHL */
body.is-embedded footer {
  background: var(--forest) !important;
  padding: 80px 4% !important; /* Symmetrical deep padding */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 32px !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
  width: 100% !important;
}

/* Visibility Masterclass */
body.is-embedded footer *,
body.is-embedded .footer-logo,
body.is-embedded .footer-copy,
body.is-embedded .footer-links a {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.is-embedded .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
}

body.is-embedded .footer-links a {
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

body.is-embedded .footer-logo {
  font-size: 28px !important;
  font-family: 'Cormorant Garamond', serif !important;
}

body.is-embedded .footer-copy {
  font-size: 13px !important;
  opacity: 0.9 !important;
  max-width: 80% !important;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(45, 80, 22, 0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  border-bottom: 1px solid rgba(196,154,48,0.3);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--cream);
  letter-spacing: 3px;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo-mark {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-links {
  display: flex; gap: 32px; list-style: none;
}

.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:focus { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 600px;
  max-height: 900px;
  background: var(--forest);
  display: flex; 
  align-items: center;
  padding: 140px 5% 140px; /* Balanced top and bottom consistently */
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(74,124,89,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,154,48,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative botanical SVG lines */
.hero-botanical {
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%);
  opacity: 0.12; width: 420px; height: 520px;
  pointer-events: none;
}

.hero-inner {
  max-width: 680px;
  position: relative; z-index: 1;
  opacity: 1; /* Default to visible for safety */
}

/* Run animation if browser supports it, otherwise static */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: fadeUp 0.9s ease both;
  }
}

.hero-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 32px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-name {
  font-size: 13px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 32px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: rgba(245,240,232,0.92);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 520px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--forest);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 16px 32px;
  border: none; border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: #d4a832; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 32px;
  border: 1px solid rgba(245,240,232,0.4);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(245,240,232,0.06);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(122,158,126,0.6);
  animation: bounce 2s infinite;
}

.scroll-hint svg { opacity: 0.5; }

/* ── ABOUT STRIP ─────────────────────────── */
.about-strip {
  background: var(--sand);
  display: grid;
  grid-template-columns: 340px 2px 1fr 2px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
  margin: 0;
}

section.about-strip {
  max-width: 100%;
  padding: 72px 5%; /* Tightened padding for less 'green space' */
  margin: 0;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.about-photo-wrap::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  right: -12px; bottom: -12px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: 0;
}

.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  display: block;
  z-index: 1;
}

.about-photo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-style: italic;
  color: var(--forest);
  letter-spacing: 1px;
  text-align: center;
}

.divider-line { background: var(--sage); opacity: 0.3; }

.about-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-body {
  font-size: 15px; font-weight: 400;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}

.credential-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}

.cred-chip {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--forest);
  border: 1px solid var(--moss);
  padding: 6px 14px; border-radius: 2px;
}

.mission-card {
  background: var(--forest);
  padding: 48px 40px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px; font-weight: 700;
  color: rgba(196,154,48,0.08);
  position: absolute; top: -30px; left: 10px;
  line-height: 1; pointer-events: none;
}

.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}

.mission-attr {
  font-size: 10px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
}

/* ── TOOLS / PRODUCTS ────────────────────── */
.tools-section {
  padding: 96px 5%;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
}

.section-sub {
  font-size: 15px; color: var(--muted);
  max-width: 480px; margin: 16px auto 0;
  line-height: 1.8;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,80,22,0.1);
}

.tool-card-top {
  height: 8px;
}

.tool-card-body {
  padding: 36px 32px;
  flex: 1;
  display: flex; flex-direction: column;
}

.tool-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}

.tool-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 8px;
}

.tool-subtitle {
  font-size: 12px; font-weight: 500;
  letter-spacing: 1px;
  color: var(--sage);
  margin-bottom: 20px;
}

.tool-desc {
  font-size: 14px; line-height: 1.8;
  color: var(--muted);
  flex: 1;
  margin-bottom: 28px;
}

.tool-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  width: fit-content;
}

.tool-cta:hover { color: var(--terra); border-color: var(--terra); }

.coming-soon-badge {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  background: var(--sand);
  color: var(--muted);
  padding: 4px 10px; border-radius: 2px;
  margin-bottom: 16px;
}

/* ── QR SECTION ──────────────────────────── */
.qr-section {
  background: var(--forest);
  padding: 96px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.qr-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(74,124,89,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.qr-section .section-eyebrow { color: var(--gold); }
.qr-section .section-title { color: var(--cream); }
.qr-section .section-sub { color: rgba(245,240,232,0.85); }

.qr-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  position: relative; z-index: 1;
}

.qr-frame {
  background: var(--cream);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(196,154,48,0.4), 0 20px 60px rgba(0,0,0,0.3);
}

#qrcode canvas, #qrcode img {
  display: block;
}

.qr-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--sage);
}

.qr-url {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic;
  margin-top: 4px;
}

.qr-url a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.qr-url a:hover {
  opacity: 0.8;
}

.qr-download-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 8px;
}

.qr-download-btn:hover { background: rgba(196,154,48,0.1); }

/* ── SERVICES ────────────────────────────── */
.services-section {
  padding: 80px 5%;
  background: var(--sand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--sage);
  border: 1px solid var(--sage);
  overflow: hidden;
  border-radius: 4px;
}

.service-cell {
  background: var(--sand);
  padding: 40px 32px;
  transition: background 0.2s;
}

.service-cell:hover { background: var(--white); }

.service-icon {
  width: 40px; height: 40px;
  border: 1.5px solid var(--moss);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px; line-height: 1.8;
  color: var(--muted);
}

/* ── LEADERSHIP QUOTE BANNER ─────────────── */
.quote-banner {
  background: var(--forest);
  padding: 60px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196,154,48,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.quote-banner-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  display: block;
  margin-bottom: 8px;
  pointer-events: none;
  user-select: none;
}

.quote-banner-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 28px;
  border: none;
  padding: 0;
}

.quote-banner-attr {
  font-size: 12px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
}

/* ── CONTACT ─────────────────────────────── */
.contact-section {
  padding: 96px 5%;
  background: var(--cream);
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 56px 48px;
}

.contact-email {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 32px;
}

.contact-email:hover { color: var(--terra); }

.contact-tagline {
  font-size: 13px; line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 32px;
}

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--forest);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(196,154,48,0.2);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  color: var(--cream);
  letter-spacing: 2px;
}

.footer-copy {
  font-size: 12px; color: var(--sage);
  letter-spacing: 1px;
}

.footer-links {
  display: flex; gap: 24px;
}

.footer-links a {
  font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }
.footer-links a:focus { outline: 2px solid var(--gold); outline-offset: 4px; }


/* ── ADA: Focus styles ─────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* ── ADA: Skip to main content ─────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
/* ── ADA: btn-primary focus ─────────── */
.btn-primary:focus-visible, .btn-outline:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}
/* ── ADA: minimum touch targets ─────── */
.btn-primary, .btn-outline { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.tool-cta { min-height: 44px; }
.nav-links a { padding: 8px 4px; }

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .about-strip {
    grid-template-columns: 260px 2px 1fr;
    gap: 36px;
  }
  .about-photo-col { grid-column: 1; }
  .about-photo-col + .divider-line { display: block; }
  .about-text-col { grid-column: 3; }
  /* Hide second divider and mission on tablet, stack below */
  .about-strip .divider-line:last-of-type,
  .about-strip > div:last-child { display: none; }
}

@media (max-width: 768px) {
  .about-strip {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-photo-wrap { max-width: 240px; }
  .about-photo-wrap::before { display: none; }
  .divider-line { display: none; }
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 80px; min-height: 500px; }
  .hero-botanical { display: none; }
  .contact-card { padding: 40px 24px; }
  footer { flex-direction: column; text-align: center; }
}
