:root {
  --navy-dark: #0a2540;
  --navy: #0170b9;
  --blue-mid: #1f6fa8;
  --blue-light: #bcdcf2;
  --tan: #c9a86a;
  --tan-soft: #f1e9d8;
  --ink: #2b2b2b;
  --muted: #565b66;
  --paper: #ffffff;
  --paper-alt: #f6f6f4;
  --border: #e5e5e0;
  --max-width: 1140px;
  --radius: 6px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

h2 { font-size: 2.3rem; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 16px; color: var(--muted); }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.logo-text small {
  font-family: var(--font-body);
  font-weight: normal;
  color: #666;
  font-size: 0.7rem;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--tan);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

.main-nav a:hover::after { width: 100%; }

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark) 0%, #0d3f68 45%, var(--navy) 100%);
  color: #fff;
  padding: 130px 0 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent, rgba(10, 37, 64, 0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420' preserveAspectRatio='none'%3E%3Cpolygon points='420,420 620,90 760,270 860,140 1200,420' fill='%23ffffff' fill-opacity='0.07'/%3E%3Cpolygon points='600,420 780,160 920,330 1000,220 1200,420' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tan);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--tan);
}

.hero h1 {
  color: #fff;
  font-size: 3.2rem;
  margin-bottom: 24px;
}

.hero-lead {
  color: #d7e3ee;
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  background: var(--tan);
  color: var(--navy-dark);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #d9bd82;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-lead { max-width: 620px; font-size: 1.1rem; }

.eyebrow-sm {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tan);
  margin-bottom: 10px;
  display: block;
}

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.stat-card {
  background: linear-gradient(160deg, var(--navy-dark), #0d3f68);
  color: #fff;
  border-radius: 10px;
  padding: 36px;
  display: grid;
  gap: 28px;
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.18);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: var(--tan);
  opacity: 0.12;
  border-radius: 50%;
}

.stat {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--tan);
  padding-left: 16px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.stat-label { color: var(--blue-light); font-size: 0.9rem; margin-top: 6px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 32px rgba(10, 37, 64, 0.1);
  border-color: transparent;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--tan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.card h3 { color: var(--navy-dark); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 32px;
}

.value {
  padding-top: 8px;
}

.value-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--tan);
  display: block;
  margin-bottom: 10px;
}

.value h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--tan);
  margin-top: 12px;
}

/* Contact */
.contact-details {
  display: grid;
  gap: 24px;
  margin: 28px 0 0;
}

.contact-details dt {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.contact-details dd { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--navy-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #b7c4d1;
}

.footer-inner a { color: #d7e3ee; }

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Responsive */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 100px 0 80px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 64px 0; }
}
