/* ── TOKENS ────────────────────────────────── */
:root {
  --teal-900: #0a2e2b;
  --teal-800: #0d3d38;
  --teal-700: #115044;
  --teal-600: #1a6b5e;
  --teal-500: #1e8070;
  --teal-400: #22977f;
  --teal-300: #3db89f;
  --teal-200: #7dd4c3;
  --teal-100: #c2ede6;
  --teal-50:  #edf8f6;
  --cream:    #faf8f4;
  --warm-50:  #f5f0e6;
  --white:    #ffffff;
  --ink:      #0f1f1d;
  --ink-60:   rgba(15,31,29,0.6);
  --ink-30:   rgba(15,31,29,0.3);
  --font-d: 'Nunito', 'Outfit', system-ui, sans-serif;
  --font-b: 'Outfit', sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
}
.btn-white { background: var(--white); color: var(--teal-700); }
.btn-white:hover { background: var(--teal-100); transform: translateY(-2px); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.45); color: var(--white); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-teal { background: var(--teal-400); color: var(--white); }
.btn-teal:hover { background: var(--teal-500); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,151,127,0.3); }
.btn-ghost { background: transparent; border: 2px solid var(--teal-400); color: var(--teal-500); }
.btn-ghost:hover { background: var(--teal-50); }

/* ── REVEAL ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── NAV ───────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  transition: all 0.35s;
}
#nav.solid {
  background: var(--teal-900);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.62rem 3rem;
}
#nav.always-solid {
  background: var(--teal-900);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.62rem 3rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo { height: 62px; width: auto; display: block; transition: height 0.35s; }
#nav.solid .nav-logo, #nav.always-solid .nav-logo { height: 54px; }
.nav-tagline {
  font-family: var(--font-b);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--teal-200);
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255,255,255,0.22);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .btn { padding: 0.55rem 1.4rem; font-size: 0.75rem; }
.nav-links a.btn-white, .nav-links a.btn-white:hover { color: var(--teal-700); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--teal-900);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  padding: 0.8rem 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--teal-200); }

/* ── PAGE HERO (inner pages) ───────────────── */
.page-hero {
  background: var(--teal-800);
  padding: 8rem 3rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(34,151,127,0.2) 0%, transparent 70%);
}
.page-hero-geo {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.page-hero-photo {
  background: linear-gradient(rgba(8,36,33,0.58), rgba(8,36,33,0.74)), var(--hero-img) center 40% / cover no-repeat;
}
.page-hero-photo::before, .page-hero-photo .page-hero-geo { display: none; }
.page-hero .eyebrow { color: var(--teal-200); margin-bottom: 1rem; }
.page-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.75;
}

/* ── FOOTER ────────────────────────────────── */
footer {
  background: var(--teal-900);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { display: block; line-height: 0; }
.footer-brand img { height: 80px; width: auto; }
footer p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-200); }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 960px) {
  #nav { padding: 1rem 1.5rem; }
  #nav.solid, #nav.always-solid { padding: 0.6rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .page-hero { padding: 6rem 1.5rem 3rem; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── MOBILE FINE-TUNING ─────────────────────── */
@media (max-width: 540px) {
  .nav-logo, #nav.solid .nav-logo, #nav.always-solid .nav-logo { height: 46px; }
  .nav-tagline { display: none; }
  .page-hero h1 { font-size: 2.4rem; }
  .page-hero p { font-size: 0.9rem; }
  footer { padding: 2rem 1.25rem; gap: 1rem; }
  footer p { font-size: 0.72rem; }
}
