@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #0f1728;
  --navy-soft: #1b2740;
  --blue: #244a86;
  --gold: #b78a33;
  --ink: #111827;
  --text: #243040;
  --muted: #667085;
  --line: #dde3ec;
  --bg: #f5f7fb;
  --white: #ffffff;
  --hero: linear-gradient(135deg, #0f1728 0%, #18253c 48%, #244a86 100%);
  --shadow: 0 14px 34px rgba(15, 23, 40, 0.08);
  --radius: 20px;
  --max: 1200px;
  --header-h: 134px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-top: var(--header-h);
}

body.has-hero {
  padding-top: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: #dbe5f3;
  max-width: 760px;
}

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

.section {
  padding: 68px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-alt {
  background: #eef2f8;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: #e6edf8;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-soft);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(15, 23, 40, 0.16);
}

.btn-outline:hover {
  background: rgba(15, 23, 40, 0.04);
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 40, 0.08);
  transform: translateY(0);
  transition:
    transform 0.28s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-1 * var(--header-h) - 6px));
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 40, 0.08);
}

body.has-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.has-hero .site-header.is-solid,
body.has-hero .site-header:hover,
body.has-hero .site-header:focus-within {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(15, 23, 40, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(15, 23, 40, 0.08);
}

.header-shell {
  padding: 0;
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .header-shell {
  background: transparent;
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 78px;
  border-bottom: 1px solid rgba(15, 23, 40, 0.12);
  transition: border-color 0.22s ease;
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .masthead-row {
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.brand-centered {
  justify-self: center;
  text-align: center;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-name {
  margin: 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.15vw, 2.6rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--navy);
}

.brand-tagline {
  margin: 6px 0 0;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

.site-nav {
  display: flex;
  justify-content: center;
  padding: 8px 0 10px;
  transition: opacity 0.22s ease;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: block;
  padding: 6px 1px 9px;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #243349;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .brand-name,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .brand-tagline,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav a {
  color: rgba(255, 255, 255, 0.96);
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav a:hover,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav a.active {
  border-bottom-color: rgba(255, 255, 255, 0.96);
}

/* =========================
   HERO
   ========================= */

.hero {
  padding: calc(var(--header-h) + 78px) 0 72px;
  background: var(--hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.75;
  pointer-events: none;
  background-image: url("../img/b100.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 28px;
}

.hero-panel h3 {
  margin-bottom: 12px;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.list-clean li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 9px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
}

.stat-box strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

/* =========================
   PAGE SECTIONS
   ========================= */

.page-hero {
  padding: 76px 0 40px;
  background: linear-gradient(180deg, rgba(36, 74, 134, 0.08), transparent 90%);
}

.page-hero .lead {
  color: var(--text);
  max-width: 820px;
}

.metric {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card {
  height: 100%;
}

.feature-card .eyebrow {
  margin-bottom: 8px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  border-left: 5px solid var(--blue);
}

.news-item {
  display: grid;
  gap: 12px;
}

.news-meta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.photo-frame,
.map-card {
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(36, 74, 134, 0.08), rgba(183, 138, 51, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
  padding: 24px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   FORMS / CTA / FOOTER
   ========================= */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d0d7e2;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-actions {
  margin-top: 18px;
}

.notice {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
}

.notice.show {
  display: block;
}

.cta-band {
  background: var(--hero);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
}

.cta-band h2,
.cta-band h3 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.88);
  padding: 34px 0;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  :root {
    --header-h: 130px;
  }

  .brand-name {
    font-size: clamp(1.3rem, 2vw, 1.9rem);
  }

  .site-nav ul {
    gap: 20px;
  }

  .site-nav a {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 980px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .hero-grid,
  .split,
  .footer-grid,
  .form-grid,
  .menu-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 124px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: clamp(1.15rem, 5.5vw, 1.65rem);
    letter-spacing: 0.01em;
  }

  .brand-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
    margin-top: 4px;
  }

  .site-nav ul {
    gap: 10px 14px;
  }

  .site-nav a {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding-bottom: 7px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    min-height: auto;
  }
}