/* ==============================================================
   NOVA PACIFIC ACADEMY — STYLES
   Design language: "Wayfinding" — Nova (star) + Pacific (voyage).
   A dotted star-path motif threads through the page the way
   Pacific navigators once read stars to find their way — echoing
   a learner's own journey from Nursery through Grade 12.
   ============================================================== */

/* ---------- 1. DESIGN TOKENS ---------------------------------- */
:root {
  /* Brand palette */
  --navy-900: #0a2340;
  --navy-800: #0f2e50;
  --navy-700: #123c69;
  --navy-500: #1d5d96;
  --gold-300: #e8c877;
  --gold-500: #c99a2e;
  --gold-600: #a97c1c;
  --coral-500: #e1622f;
  --coral-600: #c94f21;
  --teal-500: #2e8b7c;
  --teal-600: #226a5f;

  /* Light theme surface + text */
  --bg: #f5f7f8;
  --bg-alt: #eaeff2;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --border: #dbe3e8;
  --text: #142235;
  --text-muted: #4d5f70;
  --text-on-brand: #f5f7f8;

  --brand: var(--navy-700);
  --brand-strong: var(--navy-900);
  --accent: var(--gold-500);
  --highlight: var(--coral-500);
  --success: var(--teal-500);

  --shadow-sm: 0 1px 2px rgba(10, 35, 64, 0.06), 0 1px 1px rgba(10, 35, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 35, 64, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 35, 64, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --nav-height: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #071322;
  --bg-alt: #0b1d31;
  --surface: #0f2540;
  --surface-raised: #122c4a;
  --border: #1e3c5c;
  --text: #eaf1f6;
  --text-muted: #9fb3c4;
  --text-on-brand: #f5f7f8;

  --brand: #4d8fc9;
  --brand-strong: #eaf1f6;
  --accent: var(--gold-300);
  --highlight: #ff8659;
  --success: #52b3a1;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.45);
}

/* ---------- 2. RESET -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--brand-strong);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

section.alt-bg {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- 3. BUTTONS ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--coral-500);
  color: #fff9f4;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--coral-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-ghost-invert {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost-invert:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- 4. HEADER / NAV -------------------------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

#site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  border-radius: 50%;
  width: 40px;
  background: transparent;
  height: 40px;
  flex-shrink: 0;
  /*color: var(--brand);*/
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
  color: var(--brand-strong);
}

.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--highlight);
  transition: right 0.25s var(--ease);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background-color .2s var(--ease), transform .3s var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: rotate(14deg);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

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

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

#mobile-nav {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 28px 24px 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  overflow-y: auto;
}

#mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 19px;
  font-weight: 700;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

#mobile-nav .btn {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-primary.desktop-only {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ---------- 5. HERO ------------------------------------------- */
.hero {
  padding-top: 64px;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--highlight);
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.chip.gold .dot {
  background: var(--accent);
}

/* --- Wayfinding pathway graphic --- */
.pathway-wrap {
  position: relative;
}

.pathway-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.pathway-line {
  fill: none;
  stroke: var(--border);
  stroke-width: 2;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
}

.pathway-star {
  fill: var(--surface);
  stroke: var(--brand);
  stroke-width: 2;
}

.pathway-star.filled {
  fill: var(--accent);
  stroke: var(--accent);
}

.pathway-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11.5px;
  fill: var(--text);
}

.pathway-sub {
  font-family: var(--font-body);
  font-size: 9.5px;
  fill: var(--text-muted);
}

/* ---------- 6. STAR DIVIDER (signature motif, used sparingly) --- */
.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 24px;
  color: var(--border);
}

.star-divider .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.star-divider svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- 7. ABOUT -------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.pillar-card .pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

[data-theme="dark"] .pillar-card .pillar-icon {
  background: color-mix(in srgb, var(--brand) 22%, transparent);
}

.pillar-card .pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

.why-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.why-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item span {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- 8. PROGRAMS (tabs) ----------------------------------- */
.program-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.program-tab {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-muted);
  transition: all .2s var(--ease);
}

.program-tab:hover {
  color: var(--text);
}

.program-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.program-panel {
  display: none;
}

.program-panel.is-active {
  display: block;
  animation: fadein .35s var(--ease);
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.program-intro {
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 32px;
  font-size: 16px;
}

.program-intro strong {
  color: var(--text);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stage-card .stage-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--gold-600);
}

[data-theme="dark"] .stage-card .stage-tag {
  color: var(--gold-300);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.stage-card h3 {
  font-size: 20px;
}

.stage-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stage-card li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--text-muted);
  align-items: flex-start;
}

.stage-card li svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--success);
  flex-shrink: 0;
}

.stage-motto {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--brand);
}

[data-theme="dark"] .stage-motto {
  color: var(--gold-300);
}

.gain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.gain-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.gain-card svg {
  width: 26px;
  height: 26px;
  color: var(--brand);
  margin-bottom: 10px;
}

.gain-card p {
  font-weight: 700;
  font-size: 14px;
}

.coaching-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

@media (max-width: 800px) {
  .coaching-banner {
    grid-template-columns: 1fr;
  }
}

.coaching-banner h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.coaching-banner p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subject-pills span {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text);
}

/* ---------- 9. CURRICULUM FOCUS GRID ------------------------------ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.focus-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.focus-card svg {
  width: 28px;
  height: 28px;
  color: var(--highlight);
  margin-bottom: 14px;
}

.focus-card h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.focus-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.approach-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  justify-content: center;
}

.approach-strip span {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border);
  color: var(--text-muted);
}

/* ---------- 10. FEES --------------------------------------------- */
.fees-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .fees-grid {
    grid-template-columns: 1fr;
  }
}

.fees-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fees-card-head {
  padding: 24px 26px;
  background: var(--brand);
  color: #fff;
}

.fees-card-head h3 {
  color: #fff;
  font-size: 19px;
}

.fees-card-head p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  margin-top: 4px;
}

table.fees-table {
  width: 100%;
  border-collapse: collapse;
}

table.fees-table th,
table.fees-table td {
  padding: 16px 26px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}

table.fees-table th[scope="row"] {
  font-weight: 700;
  color: var(--text);
}

table.fees-table td {
  color: var(--text-muted);
}

table.fees-table td.amount {
  color: var(--brand-strong);
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

table.fees-table tr:last-child th,
table.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-note {
  padding: 16px 26px;
  font-size: 13px;
  color: var(--highlight);
  background: color-mix(in srgb, var(--highlight) 8%, transparent);
  font-weight: 600;
}

.trial-card {
  background: linear-gradient(145deg, var(--coral-500), var(--gold-500));
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff9f2;
  margin-bottom: 20px;
}

.trial-card .trial-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .9;
}

.trial-card .trial-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  margin: 6px 0;
}

.trial-card .trial-detail {
  font-size: 14px;
  opacity: .9;
}

.bank-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.bank-card h4 {
  font-size: 15px;
  margin-bottom: 12px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.bank-row:last-of-type {
  border-bottom: none;
}

.bank-row span:first-child {
  color: var(--text-muted);
}

.bank-row span:last-child {
  font-weight: 700;
}

.bank-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---------- 11. ENRICHMENT --------------------------------------- */
.enrichment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.enrichment-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--brand-strong);
  color: #eef3f8;
  position: relative;
  overflow: hidden;
}

.enrichment-card.alt {
  background: var(--teal-600);
}

.enrichment-card svg.deco {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  opacity: 0.12;
}

.enrichment-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.enrichment-card p {
  color: rgba(238, 243, 248, 0.8);
  font-size: 14.5px;
  margin-bottom: 16px;
  max-width: 40ch;
}

.trait-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trait-row span {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- 12. NEWS ---------------------------------------------- */
.news-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

#news-status {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-pill);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card-media {
  height: 150px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-glyph {
  width: 46px;
  height: 46px;
}

.news-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--highlight);
}

.news-card-body h3 {
  font-size: 18px;
  line-height: 1.3;
}

.news-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.news-card-date {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: auto;
}

/* ---------- 13. CONTACT -------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item div[data-fill] a,
.contact-item p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.contact-item div[data-fill] a {
  color: var(--text);
  font-weight: 700;
}

.contact-item .dot {
  margin: 0 6px;
  color: var(--border);
}

.map-frame {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--brand);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .form-row-split {
    grid-template-columns: 1fr;
  }
}

#form-status {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--success);
  min-height: 18px;
}

/* ---------- 14. CTA BAND ------------------------------------------- */
.cta-band {
  background: #123c69;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .constellation {
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
}

/* ---------- 15. FOOTER ---------------------------------------------- */
footer {
  background: #303030;
  color: #cddce9;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-word,
.footer-brand .brand-mark {
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  color: #9fb3c4;
  font-size: 14px;
  max-width: 34ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a,
.footer-col span,
.footer-col p {
  color: #9fb3c4;
  font-size: 14px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: #7d93a6;
}

.footer-bottom a {
  color: #9fb3c4;
}

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

/* ---------- 16. REVEAL ANIMATIONS ------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="1"] {
  transition-delay: .05s;
}

[data-reveal="2"] {
  transition-delay: .12s;
}

[data-reveal="3"] {
  transition-delay: .19s;
}

[data-reveal="4"] {
  transition-delay: .26s;
}

/* ---------- 17. MISC ------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

::selection {
  background: var(--highlight);
  color: #fff;
}