/* RESPOND Act — Design System
   Palette: Navy / Cream / Teal / Gold
   Typography: Newsreader (display) + Public Sans (UI/body)
   ---------------------------------------------------------- */

:root {
  --navy:       #0b1930;
  --navy-deep:  #07111f;
  --navy-mid:   #162a52;
  --teal:       #0ba676;
  --teal-dark:  #098c62;
  --teal-light: #e3f8f0;
  --gold:       #c4891e;
  --gold-light: #fdf4e4;
  --cream:      #f8f7f4;
  --surface:    #ffffff;
  --ink:        #0f1a30;
  --ink-mid:    #3c4d68;
  --ink-soft:   #6b7a96;
  --ink-faint:  #9ba8bc;
  --line:       #e3e0d9;
  --line-light: #eeebe5;
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 4px rgba(11,25,48,.07);
  --shadow:    0 3px 14px rgba(11,25,48,.10);
  --shadow-md: 0 8px 28px rgba(11,25,48,.13);
  --shadow-lg: 0 18px 54px rgba(11,25,48,.18);
  --t: 0.18s ease;
  --t-slow: 0.36s ease;
}

/* ── RESET & BASE ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Public Sans', 'Helvetica Neue', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.1;
}
p { color: var(--ink-mid); }
a { color: var(--teal); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────── */
.wrap    { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-md { max-width:  860px; margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width:  640px; margin: 0 auto; padding: 0 32px; }

.section    { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section--white  { background: var(--surface); }
.section--cream  { background: var(--cream); }
.section--navy   { background: var(--navy); }
.section--teal-bg { background: var(--teal-light); }
.section--deep   { background: var(--navy-deep); }

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--t-slow), box-shadow var(--t-slow);
}
.nav.scrolled {
  background: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--t);
}
.nav-logo:hover { opacity: .85; }
.nav-logo-img {
  display: block;
  height: 24px;
  width: auto;
}
/* White logo over the dark hero; colored logo once the nav turns light on scroll */
.nav-logo-img--color { display: none; }
.nav.scrolled .nav-logo-img--white { display: none; }
.nav.scrolled .nav-logo-img--color { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a:not(.btn) {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color var(--t);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: white; }
.nav.scrolled .nav-links a:not(.btn) { color: var(--ink-soft); }
.nav.scrolled .nav-links a:not(.btn):hover,
.nav.scrolled .nav-links a:not(.btn).active { color: var(--navy); font-weight: 600; }

/* ── MOBILE NAV (pure-CSS hamburger) ─────────────── */
/* Checkbox drives the menu; hidden but focusable for keyboard users. */
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  margin: 0;
}
.nav-burger { display: none; } /* shown only under the mobile breakpoint */

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--r);
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background var(--t), border-color var(--t), box-shadow var(--t), transform var(--t);
}
.btn:active { transform: translateY(1px); }

.btn-teal {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 2px 10px rgba(11,166,118,.22);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: white;
  box-shadow: 0 4px 18px rgba(11,166,118,.32);
}
.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: white; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: rgba(11,25,48,.04); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: white;
  border-color: rgba(255,255,255,.24);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: white; border-color: rgba(255,255,255,.4); }
/* Ghost button in the nav: switch to dark ink when the bar goes light on scroll */
.nav.scrolled .btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,25,48,.28);
}
.nav.scrolled .btn-ghost:hover {
  background: rgba(11,25,48,.06);
  color: var(--navy);
  border-color: rgba(11,25,48,.5);
}
.btn-teal-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-teal-outline:hover { background: var(--teal); color: white; }

.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-lg { padding: 13px 30px; font-size: 15.5px; border-radius: var(--r-lg); }
.btn-xl { padding: 17px 44px; font-size: 17px; border-radius: var(--r-lg); }

/* ── HERO: DARK (homepage) ───────────────────────── */
.hero-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  margin-top: -66px;
  padding: 162px 0 90px;
  color: white;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 480px at 65% -10%, rgba(11,166,118,.12), transparent 68%),
    radial-gradient(ellipse 550px 380px at 5%  110%, rgba(196,137,30,.09),  transparent 65%);
  pointer-events: none;
}
.hero-dot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ── HERO: PAGE (inner pages) ────────────────────── */
.hero-page {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  margin-top: -66px;
  padding: 138px 0 76px;
  color: white;
}
.hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 340px at 50% -40px, rgba(11,166,118,.1), transparent);
  pointer-events: none;
}

/* ── HERO ELEMENTS ───────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,166,118,.15);
  border: 1px solid rgba(11,166,118,.28);
  color: #5de0ad;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 2.2s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  60% { opacity: 0.3; }
}
.hero-dark h1 {
  font-size: clamp(40px, 6vw, 76px);
  color: white;
  margin-bottom: 22px;
  max-width: 16ch;
  line-height: 1.07;
  font-weight: 600;
}
.hero-dark h1 em { font-style: italic; color: #7fd6b4; }
.hero-page h1 {
  font-size: clamp(30px, 4vw, 52px);
  color: white;
  margin-bottom: 18px;
  max-width: 22ch;
}
.hero-lead {
  font-size: 17.5px;
  color: rgba(255,255,255,.68);
  max-width: 52ch;
  line-height: 1.72;
  margin-bottom: 38px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 72px;
}

/* ── STATS ROW ───────────────────────────────────── */
.stats-row {
  display: flex;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 36px;
}
.stat { flex: 1; padding: 0 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }
.stat-num {
  font-family: 'Newsreader', serif;
  font-size: 42px;
  font-weight: 600;
  color: white;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.42);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTION HEADERS ─────────────────────────────── */
.eyebrow {
  font-family: 'Public Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Newsreader', serif;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.15;
}
.section-title--white { color: white; }
.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.72;
}
.section-sub--white { color: rgba(255,255,255,.6); }
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* ── GENERIC CARDS ───────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card--navy {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.card--navy:hover { background: rgba(255,255,255,.09); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Card icon */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.card-icon--teal  { background: var(--teal-light); color: var(--teal); }
.card-icon--navy  { background: var(--navy); color: white; }
.card-icon--gold  { background: var(--gold-light); color: var(--gold); }
.card-icon--white { background: rgba(255,255,255,.12); color: white; }
.card-icon-svg { width: 22px; height: 22px; }

.card-title {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.card-title--white { color: white; }
.card-body { font-size: 14.5px; color: var(--ink-soft); line-height: 1.68; }
.card-body--white { color: rgba(255,255,255,.58); }

/* ── STORY CARDS ─────────────────────────────────── */
.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--t), transform var(--t);
}
.story-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.story-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag--specialty { background: rgba(11,25,48,.07); color: var(--ink-mid); }
.tag--state     { background: var(--teal-light); color: var(--teal-dark); }
.tag--platform  { background: var(--gold-light); color: var(--gold); }
.story-title {
  font-family: 'Newsreader', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
}
.story-excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.68;
  flex: 1;
}
.story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  color: var(--ink-faint);
}
.story-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
}
.story-read-more:hover { color: var(--teal-dark); }

/* ── CALLOUTS ────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--gold);
  background: var(--gold-light);
  padding: 18px 22px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 28px 0;
}
.callout--teal { border-left-color: var(--teal); background: var(--teal-light); }
.callout--navy { border-left-color: var(--navy); background: rgba(11,25,48,.04); }
.callout p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; }
.callout strong { color: var(--ink); }
.callout ul { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.callout ul li { font-size: 14.5px; color: var(--ink-mid); display: flex; align-items: flex-start; gap: 8px; }
.callout ul li::before { content: '✗'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.callout--teal ul li::before { content: '✓'; color: var(--teal); }

/* Does NOT list */
.does-not-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.does-not-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(196,137,30,.05);
  border: 1px solid rgba(196,137,30,.15);
  border-radius: var(--r-lg);
}
.does-not-icon {
  width: 28px;
  height: 28px;
  background: rgba(196,137,30,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}
.does-not-text strong { font-size: 14.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.does-not-text p { font-size: 13.5px; color: var(--ink-soft); }

/* ── FORMS ───────────────────────────────────────── */
.form-group   { display: flex; flex-direction: column; gap: 5px; margin-bottom: 22px; }
.form-label   { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-label .req { color: var(--gold); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-family: 'Public Sans', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11,166,118,.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-faint); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b7a96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.form-hint     { font-size: 11.5px; color: var(--ink-faint); }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section  { margin-bottom: 44px; }
.form-section-head {
  font-family: 'Newsreader', serif;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.form-num {
  width: 26px;
  height: 26px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Public Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--t), background var(--t);
}
.check-item:hover { border-color: var(--teal); background: var(--teal-light); }
.check-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--teal);
  cursor: pointer;
}
.check-item span { font-size: 13.5px; color: var(--ink-mid); line-height: 1.4; }
.perm-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.perm-item:hover { border-color: var(--teal); background: var(--teal-light); }
.perm-item input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--teal); cursor: pointer; }
.perm-item-text strong { font-size: 14px; color: var(--ink); display: block; margin-bottom: 2px; }
.perm-item-text span   { font-size: 13px; color: var(--ink-soft); }
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 48px 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  position: relative;
}
.upload-zone:hover { border-color: var(--teal); background: var(--teal-light); }
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-icon { font-size: 36px; margin-bottom: 10px; color: var(--ink-faint); }
.upload-main { font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.upload-main strong { color: var(--teal); }
.upload-sub  { font-size: 12.5px; color: var(--ink-faint); }

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 32px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
  color: var(--teal);
}
.form-success h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--ink);
}
.form-success p { font-size: 15px; color: var(--ink-soft); max-width: 44ch; margin: 0 auto 28px; }

/* ── RESOURCE CARDS ──────────────────────────────── */
.res-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.res-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--teal); color: inherit; }
.res-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 20px;
}
.res-info { flex: 1; min-width: 0; }
.res-title { font-weight: 600; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }
.res-desc  { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-faint); text-transform: uppercase; flex-shrink: 0; }

/* ── CONTACT CARDS ───────────────────────────────── */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.contact-icon--navy { background: var(--navy); color: white; }
.contact-icon--teal { background: var(--teal); color: white; }
.contact-icon--gold { background: var(--gold-light); color: var(--gold); }
.contact-title { font-family: 'Newsreader', serif; font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.contact-desc  { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
.contact-email { font-size: 13.5px; font-weight: 600; color: var(--teal); }
.contact-email:hover { color: var(--teal-dark); }

/* ── NEWS CARDS ──────────────────────────────────── */
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-thumb-a { background: linear-gradient(135deg, #0b1930 0%, #1a3264 100%); }
.news-thumb-b { background: linear-gradient(135deg, #073b2b 0%, #0b6045 100%); }
.news-thumb-c { background: linear-gradient(135deg, #3a1f00 0%, #7a4500 100%); }
.news-thumb-d { background: linear-gradient(135deg, #0b1930 0%, #29106a 100%); }
.news-thumb-e { background: linear-gradient(135deg, #0b1a30 0%, #0b3048 100%); }
.news-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.news-thumb-label {
  font-family: 'Newsreader', serif;
  font-size: 26px;
  color: rgba(255,255,255,.15);
  font-weight: 600;
  padding: 18px;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}
.news-body { padding: 22px; }
.news-cat  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); margin-bottom: 9px; }
.news-title { font-family: 'Newsreader', serif; font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.28; }
.news-title a { color: var(--ink); }
.news-title a:hover { color: var(--teal); }
.news-excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-faint); border-top: 1px solid var(--line-light); padding-top: 12px; }

/* Featured news */
.news-featured {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
  transition: box-shadow var(--t);
}
.news-featured:hover { box-shadow: var(--shadow-md); }
.news-featured-thumb {
  background: linear-gradient(145deg, #0b1930 0%, #162a52 60%, #0a3826 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}
.news-featured-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.news-featured-thumb-label {
  font-family: 'Newsreader', serif;
  font-size: 36px;
  color: rgba(255,255,255,.12);
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
}
.news-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.news-featured-body .news-title { font-size: 26px; margin-bottom: 14px; }
.news-featured-body .news-excerpt { font-size: 15px; margin-bottom: 24px; }

/* ── FILTER BAR ──────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  margin-bottom: 28px;
}
.filter-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-right: 4px; }
.filter-bar select {
  padding: 7px 32px 7px 11px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-mid);
  background: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b7a96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--t);
}
.filter-bar select:focus { border-color: var(--teal); }
.filter-count { margin-left: auto; font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* ── COMING SOON BADGE ───────────────────────────── */
.soon-section {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  margin-top: 24px;
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-light);
  border: 1px solid rgba(196,137,30,.2);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.soon-title { font-family: 'Newsreader', serif; font-size: 24px; margin-bottom: 10px; }
.soon-body  { font-size: 14px; color: var(--ink-soft); max-width: 44ch; margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.55);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-family: 'Newsreader', serif;
  font-size: 21px;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}
.footer-brand-desc { font-size: 13.5px; line-height: 1.72; color: rgba(255,255,255,.42); margin-bottom: 22px; max-width: 26ch; }
.footer-heading { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--t); }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 12.5px;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: white; }
.footer-credit {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.3);
}
.footer-credit a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-credit a:hover { color: white; }

/* ── REVEAL ANIMATIONS ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-thumb { min-height: 220px; }
  .nav-links { gap: 15px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-md, .wrap-sm { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .section-sub { font-size: 16px; }
  .hero-dark  { padding-top: 116px; padding-bottom: 60px; }
  .hero-page  { padding-top: 116px; padding-bottom: 60px; }
  .form-row   { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stat { flex: 1 1 0; min-width: 0; border: none !important; padding: 0 !important; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-ctas { margin-bottom: 48px; }
  .hero-dark h1 { max-width: none; font-size: clamp(31px, 8.5vw, 42px); }
  .hero-page h1 { max-width: none; }
  .hero-lead { font-size: 16px; }
  .section-title { font-size: 28px; }

  /* Comfortable touch targets (min 44px) for anything tappable. */
  .btn { min-height: 44px; }
  .btn-lg, .btn-xl { width: 100%; justify-content: center; }

  /* Forms: 16px inputs prevent iOS zoom-on-focus; taller fields are easier to tap. */
  .form-input, .form-select, .form-textarea { font-size: 16px; padding: 13px 15px; }
  .form-select { padding-right: 40px; }
  .form-textarea { min-height: 120px; }

  /* Story cards: a touch tighter, and let the footer wrap so meta + link never collide. */
  .story-card { padding: 22px; }
  .story-footer { flex-wrap: wrap; gap: 8px 12px; }
}

/* ── MOBILE NAV — collapse the link bar into a hamburger ──────── */
@media (max-width: 900px) {
  /* The open menu anchors to the sticky nav, so keep it a positioning context. */
  .nav { position: sticky; }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: -10px;   /* keep icon flush with the wrap edge */
    cursor: pointer;
    z-index: 2;
  }
  .nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .2s ease;
  }
  .nav.scrolled .nav-burger span { background: var(--navy); }

  /* Menu panel: full-width dropdown below the bar, collapsed by default. */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 18px;
    background: var(--navy);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .34s ease, opacity .28s ease, padding .34s ease;
  }
  .nav-toggle:checked ~ .nav-links {
    max-height: calc(100vh - 66px);
    padding: 8px 18px 22px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  /* Links become full-width rows; buttons stack full-width. */
  .nav-links a:not(.btn) {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 16px;
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
  }
  .nav-links a:not(.btn):hover,
  .nav-links a:not(.btn).active { color: #fff !important; }
  .nav-links .btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 13px 20px;
  }
  .nav-links .btn-ghost {
    margin-top: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .28);
  }
  .nav-links .btn-teal { margin-top: 10px; }

  /* Burger → X when the menu is open. */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Visible focus ring on the burger for keyboard users. */
  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 6px;
  }
}
