:root {
  /* Main dark royal-emerald theme */
  --bg: #07110d;
  --bg-deep: #030907;
  --surface: #0f3d2f;
  --surface-strong: #145943;
  --surface-soft: #0b1d17;
  --card: #123f31;

  /* Text */
  --ink: #f2fbf7;
  --ink-dark: #04251c;
  --muted: rgba(242, 251, 247, 0.74);
  --muted-strong: rgba(242, 251, 247, 0.88);

  /* Lines and accents */
  --line: rgba(242, 251, 247, 0.16);
  --line-soft: rgba(242, 251, 247, 0.09);
  --emerald: #0f8f62;
  --emerald-bright: #28c987;
  --emerald-soft: #d9f8e8;
  --gold: #d7b56d;
  --radius: 16px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 201, 135, 0.16), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(215, 181, 109, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 36%),
    repeating-linear-gradient(90deg, rgba(242, 251, 247, 0.025) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(242, 251, 247, 0.018) 0 1px, transparent 1px 110px),
    var(--bg);
  line-height: 1.6;
}

::selection {
  background: #0f8f62;
  color: #ffffff;
}

::-moz-selection {
  background: #0f8f62;
  color: #ffffff;
}

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

/* LIGHT HEADER */
.site-header,
header.site-header,
body > header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f4fff9 !important;
  background-color: #f4fff9 !important;
  background-image: none !important;
  color: var(--ink-dark) !important;
  border-bottom: 1px solid rgba(4, 78, 59, 0.18);
  box-shadow: 0 8px 22px rgba(2, 44, 34, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.header-inner,
.site-header .container,
.site-header .header-inner,
.site-header .nav,
header .container,
header nav {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink-dark);
  min-width: 150px;
}

.brand-mark {
  width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.site-header .nav a,
header nav a {
  text-decoration: none;
  color: #064e3b !important;
  background: transparent !important;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active,
.nav a[aria-current="page"],
.site-header .nav a:hover,
.site-header .nav a:focus-visible,
.site-header .nav a.active,
.site-header .nav a[aria-current="page"] {
  background: #d9f8e8 !important;
  color: #022c22 !important;
  outline: none;
}

.nav-cta,
.site-header .nav-cta,
header .nav-cta {
  border: 1px solid rgba(4, 120, 87, 0.34) !important;
  background: #ccf4df !important;
  color: #064e3b !important;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.site-header .nav-cta:hover,
.site-header .nav-cta:focus-visible {
  background: #047857 !important;
  color: #ffffff !important;
  border-color: #047857 !important;
}

.hero {
  padding: 54px 0 18px;
}

.hero-shell {
  background:
    linear-gradient(145deg, rgba(8, 20, 15, 0.98), rgba(6, 15, 12, 0.94)),
    linear-gradient(90deg, rgba(40, 201, 135, 0.09), rgba(215, 181, 109, 0.09));
  border: 1px solid rgba(242, 251, 247, 0.11);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(24px, 4.2vw, 44px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.7px;
  max-width: 18ch;
}

.accent {
  color: var(--emerald-bright);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  max-width: 68ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 650;
  font-size: 14px;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #171005;
}

.button.primary:hover {
  filter: brightness(1.04);
}

.button.ghost:hover {
  background: rgba(242, 251, 247, 0.08);
}

.section {
  padding: 42px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(242, 251, 247, 0.045), rgba(242, 251, 247, 0.015));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.5px;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

p {
  margin: 0 0 12px;
}

.card,
.intro-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--card);
  border: 1px solid rgba(242, 251, 247, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.card {
  padding: 22px;
}

.intro-card {
  max-width: var(--max);
  margin: 0 auto;
}

.intro-copy {
  padding: clamp(24px, 4vw, 42px);
}

.intro-copy h3 {
  margin-top: 30px;
}

.intro-copy h2 + .float-image + h3 {
  margin-top: 0;
}

.checklist {
  margin: 0;
  padding-left: 18px;
}

.checklist li {
  margin: 8px 0;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 12px;
}

blockquote {
  margin: 12px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(215, 181, 109, 0.13);
  border-radius: 14px;
  color: rgba(242, 251, 247, 0.92);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

blockquote .cite {
  display: block;
  margin-top: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--muted);
  font-size: 12px;
}

.refs {
  margin: 0;
  padding-left: 18px;
}

.contact {
  margin: 10px 0 0;
  padding-left: 18px;
}

.float-image {
  float: right;
  margin: 0 0 18px 28px;
  max-width: 300px;
  width: 36%;
}

.float-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 251, 247, 0.15);
  display: block;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

.float-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* HAMBURGER BUTTON */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #064e3b;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lead-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.lead-photo {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: min(150px, 52vw);
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 6px 0 12px;
    order: 3;
    justify-content: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 16px;
    width: 100%;
    padding: 10px 10px;
  }

  .float-image {
    float: none;
    margin: 0 auto 16px;
    max-width: 100%;
    width: 100%;
  }

  .lead-card {
    flex-direction: column;
    align-items: center;
  }

  .lead-photo {
    width: 100%;
    max-width: 260px;
    height: auto;
  }
}
