:root {
  --navy: #1E2A38;
  --navy-soft: #2E3E50;
  --gold: #2A5E7C;
  --gold-rule: #3F82A6;
  --cream: #EDF2F6;
  --accent-light: #6FB2D2;
  --tagline: #B6C6D4;
  --flag-red: #D80621;
  --gray-text: #3C4550;
  --gray-line: #E4E1D9;
  --panel: #F7F5F0;
  --body-bg: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-text);
  background: var(--body-bg);
  line-height: 1.6;
}

a { color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--navy); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top navigation ---------- */
.site-nav {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-soft);
}
.site-nav .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.4px;
  font-size: 17px;
}
.wordmark img { width: 30px; height: 30px; }
.wordmark small {
  display: block; font-weight: 600; font-size: 12px; color: var(--accent-light); letter-spacing: 0.2px;
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.site-nav ul a {
  display: block;
  color: var(--tagline);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { color: #fff; }
.site-nav ul a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--flag-red);
}
@media (max-width: 760px) {
  .site-nav ul { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .site-nav ul a { white-space: nowrap; padding: 8px 10px; }
}

/* ---------- Page header / hero ---------- */
header.hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}
header.hero .leaf { width: 64px; height: 64px; display: block; margin: 0 auto 20px; }
header.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
header.hero .brand {
  color: var(--accent-light);
  font-weight: 700;
  font-size: clamp(16px, 2.6vw, 20px);
  margin: 0 0 14px;
}
header.hero .tagline {
  font-style: italic;
  color: var(--tagline);
  font-size: clamp(15px, 2vw, 18px);
  margin: 0 auto;
  max-width: 640px;
}
header.page-head {
  background: var(--navy);
  color: #fff;
  padding: 48px 24px 40px;
}
header.page-head .inner { max-width: 820px; margin: 0 auto; }
header.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}
header.page-head p {
  margin: 0; color: var(--tagline); font-style: italic; font-size: clamp(15px, 2vw, 18px);
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--accent-light);
}
.btn-primary { background: var(--accent-light); color: var(--navy); }
.btn-primary:hover { background: #8fc4de; border-color: #8fc4de; }
.btn-ghost { color: #fff; background: transparent; }
.btn-ghost:hover { background: var(--navy-soft); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

/* ---------- Main content ---------- */
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}
main.wide { max-width: 1080px; }

h2 {
  color: var(--navy);
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--flag-red);
  line-height: 1.25;
}
h3 { color: var(--navy); }

.section-spacing { margin-top: 64px; }

.lead, main p {
  font-size: 17px;
  line-height: 1.75;
}
.lead { margin: 22px 0; }

.callout {
  background: var(--cream);
  border-left: 4px solid var(--gold-rule);
  padding: 18px 22px;
  margin: 28px 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
}
.callout .highlight { color: var(--gold); font-weight: 800; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  padding: 20px;
}
.pillar h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.65; }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

.whatwedo { list-style: none; margin: 22px 0; padding: 0; }
.whatwedo li {
  font-size: 17px;
  line-height: 1.75;
  padding: 14px 0 14px 26px;
  position: relative;
}
.whatwedo li:first-child { padding-top: 0; }
.whatwedo li::before {
  content: "";
  position: absolute; left: 0; top: 24px;
  width: 8px; height: 8px;
  background: var(--gold-rule);
  border-radius: 50%;
}
.whatwedo li:first-child::before { top: 10px; }
.whatwedo li strong { color: var(--navy); }

/* ---------- Pipeline track (the signature element) ---------- */
.track {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  margin: 32px 0 12px;
  border-top: 4px solid var(--navy);
}
.stage {
  padding: 22px 18px 20px;
  border-right: 1px solid var(--gray-line);
  position: relative;
}
.stage:last-child { border-right: none; }
.stage::before {
  content: "";
  position: absolute; top: -10px; left: 18px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--body-bg);
  border: 4px solid var(--gold-rule);
}
.stage.entry::before { border-color: var(--flag-red); }
.stage .step {
  font-size: 14px; font-weight: 700; color: var(--gold); margin: 6px 0 2px;
}
.stage h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.stage .dur { font-size: 14px; color: var(--gold); font-weight: 600; margin: 0 0 10px; }
.stage p { font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .track { grid-template-columns: 1fr; border-top: none; border-left: 4px solid var(--navy); }
  .stage { border-right: none; border-bottom: 1px solid var(--gray-line); padding-left: 26px; }
  .stage::before { top: 26px; left: -14px; }
}

/* ---------- Tier detail blocks (pipeline page) ---------- */
.tier {
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--gold-rule);
  border-radius: 0 0 6px 6px;
  padding: 26px 26px 10px;
  margin: 28px 0;
  background: #fff;
}
.tier.entry { border-top-color: var(--flag-red); }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.tier-head h3 { margin: 0; font-size: 24px; font-weight: 800; }
.tier-head .dur {
  font-weight: 700; color: var(--gold); background: var(--cream); padding: 4px 12px; border-radius: 3px; font-size: 15px;
}
.tier .sub { font-style: italic; color: var(--gold); margin: 4px 0 18px; font-size: 16px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier-grid h4 { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.tier-grid p, .tier-grid li { font-size: 15px; line-height: 1.6; margin: 0; }
.tier-grid ul { margin: 0; padding-left: 18px; }
.tier-grid li { margin-bottom: 4px; }
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }

.note {
  font-size: 14px;
  line-height: 1.6;
  color: #5b6673;
  border-top: 1px solid var(--gray-line);
  padding-top: 14px;
  margin-top: 36px;
}

/* ---------- Two-column blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }

.audience {
  border-left: 4px solid var(--gold-rule);
  padding: 4px 0 4px 20px;
}
.audience h3 { margin: 0 0 6px; font-size: 19px; }
.audience p { margin: 0 0 10px; font-size: 16px; }
.audience a { font-weight: 700; }

/* ---------- Address block ---------- */
.visit {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 30px 30px;
  margin: 64px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.visit h2 { color: #fff; border-bottom-color: var(--flag-red); }
.visit address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
}
.visit address strong { color: var(--accent-light); display: block; margin-bottom: 4px; font-size: 16px; }
.visit a { color: var(--accent-light); font-weight: 700; }
@media (max-width: 700px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Profile ---------- */
.profile { margin-top: 24px; }
.profile h3 { margin: 0 0 2px; font-size: 21px; }
.profile .role { color: var(--gold); font-weight: 600; margin: 0 0 14px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: #fff;
  padding: 44px 24px 28px;
  margin-top: 72px;
}
footer .inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
footer h4 { margin: 0 0 10px; color: var(--accent-light); font-size: 15px; }
footer p, footer address, footer li { margin: 0; font-size: 15px; line-height: 1.7; font-style: normal; color: var(--tagline); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
footer .cta { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 12px; }
footer .legal {
  max-width: 1080px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--navy-soft);
  font-size: 13px;
  color: var(--tagline);
}
@media (max-width: 760px) { footer .inner { grid-template-columns: 1fr; } }

/* ---------- Policy page ---------- */
.policy address {
  font-style: normal; font-size: 17px; line-height: 1.7;
  background: var(--cream); border-left: 4px solid var(--gold-rule);
  padding: 14px 20px; margin: 18px 0;
}
.policy .whatwedo li { padding: 8px 0 8px 26px; }
.policy .whatwedo li::before { top: 18px; }
.policy .whatwedo li:first-child::before { top: 18px; }
.table-wrap { overflow-x: auto; margin: 22px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; line-height: 1.55; }
.table-wrap th {
  background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-weight: 700;
}
.table-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--gray-line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: var(--panel); }
.table-wrap td:first-child { font-weight: 600; color: var(--navy); }
