*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1a2744;
  --navy-mid:    #1e2f52;
  --navy-light:  #243466;
  --cream:       #faf6f3;
  --cream-mid:   #f0ebe5;
  --white:       #ffffff;
  --red:         #c8364a;
  --olive:       #6b7a45;
  --olive-dark:  #58673a;
  --text-dark:   #1a2744;
  --text-mid:    #3a4a6a;
  --text-muted:  #7a8aa0;
  --border:      #d8d0c4;
  --border-dot: #bab2a6;
  /* legacy aliases */
  --gold: #c8364a;
  --gold-light: #c8364a;
  --gold-pale: #fce8eb;
  --track-consular:   #1a3a5c;
  --track-economic:   #1a3a2a;
  --track-management: #2a1a3a;
  --track-political:  #3a1a1a;
  --track-public:     #3a2a1a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}

/* ── TOP HEADER ── */
/* ── HERO WRAPPER: image is the base layer for everything ── */
.hero-wrapper {
  position: relative;
  margin-top: 0;
}

/* Top header sits above hero image, solid color, no borders, no shadow */
.site-header-top {
  background: #0d324c;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 10;
}

.header-top-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
}

/* ── SUB HEADER: transparent, floats over the hero image ── */
.site-subheader {
  background: transparent;
  position: absolute;
  z-index: 3;
  transition: background 0.3s ease;
  border-bottom: 1px dashed rgba(255,255,255,0.5);
}

.site-subheader.scrolled {
  background: transparent;
}

.subheader-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 3;
  min-height: 52px;
}

.subheader-title {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 23px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 2.5rem;
  white-space: nowrap;
  text-shadow: none;
  display: flex;
  align-items: center;
  line-height: 1;
  transform: translateY(2px);
}

.subheader-divider {
  display: none;
}

.subheader-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

.subnav-dot {
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255,255,255,0.5);
  align-self: stretch;
}

.subheader-nav .nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0 1.1rem;
  transition: opacity 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.subheader-nav .nav-link:hover { opacity: 0.65; }
.subheader-nav .nav-link.active { opacity: 1; }

/* legacy - hide old header */
.site-header { display: none; }

/* ── INNER PAGE BACKGROUND ── */
/* Applied to non-home routes so they get the cream background. */
.inner-page-bg {
  background: var(--cream);
  min-height: 100vh;
}

/* ── INNER NAV (shown in top header on non-home pages) ── */
.inner-nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s;
  white-space: nowrap;
}
.inner-nav-link:hover { color: #fff; }
.inner-nav-link.active { color: #fff; }

/* CTA-styled nav link (Learn More). Overrides the surrounding nav-link/inner-nav-link
   so it reads as a button regardless of which nav it sits inside. */
.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff !important;
  border: none !important;
  border-left: none !important;
  border-radius: 2px;
  padding: 0.55rem 1rem !important;
  margin-left: 0.85rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #a82a3c;
  opacity: 1 !important;
}
.nav-cta-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── HERO: full background image, pulled up tight under headers ── */
.hero {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.65) 0%, rgba(10,15,30,0.1) 60%);
  z-index: 1;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2.5rem;
  box-sizing: border-box;
  position: relative;
}

/* Seal lives inside .hero-inner so it right-aligns with content padding. */
.hero-seal {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.hero-seal img {
  display: block;
  width: 130px;
  height: auto;
}

.hero-seal-caption {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.6;
}

  /* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(200,54,74,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 750px;
}

.hero h1 em { font-style: italic; color: var(--white); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
  margin: 0 0 2.5rem;
}

.hero-cta {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 2px;
}
.hero-cta:hover { background: var(--olive-dark); }

/* ── CONTENT ── */
.content {
  max-width: 1520px;
  margin: 0 auto;
  padding: 4rem 2.5rem 5rem;
}

/* ── CAREERS PAGE ── */
.careers-banner-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.careers-tracks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .careers-banner-inner { padding: 3rem 1.5rem; }
  .careers-banner-lead { font-size: 17px !important; }
  /* Two-up tracks, reset the desktop column spans */
  .careers-tracks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .careers-track-card { grid-column: span 1 !important; }
}

@media (max-width: 560px) {
  .careers-banner-inner { padding: 2.5rem 1.25rem; }
  .careers-banner-lead { font-size: 16px !important; line-height: 1.6 !important; }
  /* Single column on phones */
  .careers-tracks-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── SECTION HEADERS ── */
.section-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border-dot);
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
}

.section-desc {
  font-size: 20px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 680px;
}

/* ── INFO BLOCKS ── */
.info-block {
  background: var(--white);
  border: none;
  border-bottom: 1px dashed var(--border-dot);
  padding: 2rem 0;
  margin-bottom: 0;
}

.info-block-title {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.info-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

.info-body p + p { margin-top: 0.85rem; }

/* ── FSOT LAYOUT ── */
.fsot-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

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

/* ── DATES SIDEBAR ── */
.dates-card {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  position: sticky;
  top: 80px;
  border-radius: 2px;
}

.dates-card-title {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.dates-window { margin-bottom: 1.5rem; }
.dates-window:last-child { margin-bottom: 0; }

.dates-window-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.date-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}

.date-row:last-child { border-bottom: none; }
.date-label { font-size: 12px; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.date-value { font-size: 12px; color: var(--white); font-weight: 500; text-align: right; }
.date-value.highlight { color: #f5c842; font-weight: 700; }

.section-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 1.25rem 0; }

/* ── PROCESS STEPS ── */
.process-steps { display: flex; flex-direction: column; gap: 0; }

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px dashed var(--border-dot);
  align-items: flex-start;
}

.process-step:last-child { border-bottom: none; }

.step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  min-width: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.step-content { flex: 1; }
.step-tag { display: none; }

.step-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.step-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── EXAM SECTIONS ── */
.exam-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.exam-section-item {
  background: var(--cream);
  border: none;
  border-left: 3px solid var(--navy);
  padding: 1rem 1.1rem;
}

.exam-section-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.exam-section-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CAREER TRACKS ── */
.career-row {
  display: grid;
  grid-template-columns: 4px 300px 1fr;
  gap: 0;
  min-height: 160px;
  background: var(--white);
  transition: background 0.15s;
}
.career-row:hover { background: var(--cream); }

.career-accent {
  background: #8b9765;
  width: 4px;
}

.career-left {
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px dashed var(--border-dot);
  border-bottom: 3px solid #dcb73d;
}

.career-num {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #8b9765;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.career-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.career-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.career-right {
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 3px solid #dcb73d;
}

.career-duties-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b9765;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.career-duties {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 2.5rem;
  margin: 0;
  padding: 0;
}

.career-duties li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.career-duties li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #8b9765;
  font-size: 11px;
  top: 2px;
}

/* ── HOME PAGE ── */
/* ── HOME INTRO ── */
.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px dashed var(--border-dot);
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .home-intro { grid-template-columns: 1fr; }
  .tracks-grid .track-card { grid-template-columns: 1fr; }
}

.home-intro-text {
  padding: 4rem 3rem 4rem 0;
  border-right: 1px dashed var(--border-dot);
}

.home-intro-text h2 {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.home-intro-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

/* ── STATS ── */
.home-stats {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}

.stat-item {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px dashed var(--border-dot);
  border-right: 1px dashed var(--border-dot);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-child(n+3) { border-bottom: none; }

.stat-item:nth-child(-n+2) { justify-content: flex-end; }
.stat-item:nth-child(n+3)  { justify-content: flex-start; }

.stat-number {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4;
}

/* ── OVERVIEW CARDS ── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.overview-card {
  padding: 2.5rem 2rem 2.5rem 0;
  cursor: pointer;
  transition: background 0.15s;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 0 1.5rem;
  align-items: start;
}

.overview-card:first-child { padding-left: 0; }
.overview-card:last-child { border-right: none; }
.overview-card:hover .ov-title { color: var(--red); }

.ov-accent {
  background: #8b9765;
  width: 4px;
  height: 100%;
  min-height: 80px;
}

.ov-body { display: flex; flex-direction: column; gap: 0.5rem; }

.ov-icon { display: none; }

.ov-num {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  color: #8b9765;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ov-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.15s;
  line-height: 1.3;
}

.ov-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.ov-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.25rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 2px;
}

.btn-primary:hover { background: var(--olive-dark); }

/* ── CTA BAR ── */
.cta-bar {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-bar-inner { max-width: 600px; margin: 0 auto; }

.cta-bar h2 {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.cta-bar p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* ── RESOURCES ── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.resource-card {
  background: var(--white);
  border: none;
  border-bottom: 1px dashed var(--border-dot);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resource-category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.resource-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.resource-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.15s;
}

.resource-link:hover { opacity: 0.7; }
.resource-link::after { content: ' →'; }

/* ── MEDIA SECTIONS ── */
.media-section { margin-top: 3rem; }

.media-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-dot);
  margin-bottom: 1.5rem;
}

.media-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.media-section-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.video-card:hover { box-shadow: 0 4px 16px rgba(26,39,68,0.08); }

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.video-placeholder-text {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.video-play-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-thumb:hover .video-play-btn { background: var(--olive-dark); }
.video-play-btn svg { margin-left: 3px; }

.video-info { padding: 1rem 1.25rem 1.25rem; }

.video-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.video-duration { font-size: 12px; color: var(--text-muted); }

.articles-list { display: flex; flex-direction: column; gap: 0; }

.article-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px dashed var(--border-dot);
  transition: background 0.15s;
}

.article-row:hover { background: var(--cream); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.article-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  background: none;
  border: 1px solid var(--olive);
  padding: 2px 8px;
  font-weight: 700;
  border-radius: 2px;
}

.article-date { font-size: 12px; color: var(--text-muted); }

.article-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.article-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.article-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.article-link:hover { opacity: 0.7; }

/* ── HOME CTA BANNER ── */
.home-cta-banner {
  background: var(--navy);
  border-top: 3px solid #8b9765;
  position: relative;
  overflow: hidden;
}

.home-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(200,54,74,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(139,151,101,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.home-cta-banner::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1200px, 100% - 5rem);
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}

.home-cta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-cta-banner-content { text-align: left; }

.home-cta-banner-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.home-cta-banner-headline {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.home-cta-banner-headline em {
  font-style: italic;
  color: var(--red);
}

.home-cta-banner-text {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.home-cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--olive);
  color: #fff;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.15rem 2.5rem;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.home-cta-banner-btn svg { transition: transform 0.15s ease; }

.home-cta-banner-btn:hover {
  background: var(--olive-dark);
  box-shadow: 0 8px 22px rgba(0,0,0,0.32);
}

.home-cta-banner-btn:hover svg { transform: translateX(3px); }

@media (max-width: 700px) {
  .home-cta-banner-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 1.25rem;
  }
  .home-cta-banner-content { text-align: center; }
  .home-cta-banner-text { margin-left: auto; margin-right: auto; }
  .home-cta-banner-btn {
    justify-self: center;
    padding: 1rem 2.25rem;
    font-size: 12px;
  }
}

/* ── HOME PRESS BANNER ── */
.home-press-banner {
  background: var(--cream-mid);
  border-top: 1px dashed var(--border-dot);
  border-bottom: 1px dashed var(--border-dot);
}

.home-press-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 2.5rem;
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 0 2rem;
  align-items: center;
}

.home-press-banner-inner::before {
  content: '';
  background: #8b9765;
  align-self: stretch;
}

.home-press-banner-content { padding: 0; }

.home-press-banner-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.home-press-banner-headline {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.home-press-banner-text {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

.home-press-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: #fff;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.home-press-banner-btn svg { transition: transform 0.15s ease; }
.home-press-banner-btn:hover { background: #2a3a5e; }
.home-press-banner-btn:hover svg { transform: translateX(3px); }

@media (max-width: 700px) {
  .home-press-banner-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 1.25rem;
    text-align: center;
  }
  .home-press-banner-inner::before { display: none; }
  .home-press-banner-text { margin-left: auto; margin-right: auto; }
  .home-press-banner-btn { justify-self: center; }
}

/* ── FOOTER ── */
footer {
  background: #062136;
  width: 100%;
  display: block;
  border-top: 5px solid #dcb73d;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 3rem;
  text-align: center;
}

.footer-stars {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.footer-headline {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.footer-headline em {
  color: #c8364a;
  font-style: italic;
}

.footer-cta-text {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  text-align: center;
  margin: 0 auto 1.75rem;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #8b9765;
  color: #fff;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.1rem 3rem;
  text-decoration: none;
  border-radius: 2px;
  margin-bottom: 4rem;
  transition: background 0.15s;
}
.footer-btn:hover { background: #717d52; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.8;
}

.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

.footer-contact {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact a:hover { color: #fff; }

/* ── FSOT STEP ── */
.fsot-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  padding: 1.75rem 0;
  border-bottom: 1px dashed var(--border-dot);
  align-items: start;
}

.fsot-step-num {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  padding-top: 2px;
}

.fsot-step-body { flex: 1; }

.fsot-step-title {
  font-family: 'Nimbus Roman No9 L','Times New Roman',Times,serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.fsot-step-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── UTIL ── */
@media (max-width: 700px) {
  nav a { padding: 1.1rem 0.6rem; font-size: 10px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px dashed var(--border-dot);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--red); }

.faq-arrow {
  font-size: 20px;
  font-weight: 300;
  color: #8b9765;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
  display: none;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  padding-bottom: 1.25rem;
  max-width: 720px;
}
.faq-item.open .faq-a { display: block; }


.article-page-header {
  border-bottom: 1px dashed var(--border-dot);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.article-back:hover { color: var(--red); }

.article-tag-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b9765;
  background: rgba(139,151,101,0.1);
  padding: 3px 10px;
  margin-bottom: 1rem;
  display: inline-block;
}

.article-headline {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 780px;
}

.article-meta-line {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.article-body {
  max-width: 720px;
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.8;
}

.article-body p { margin-bottom: 1.4rem; }

.article-body p:last-child { margin-bottom: 0; }

/* ── VIDEO SECTION ── */
.video-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  margin-bottom: 3rem;
  overflow: hidden;
}

.video-feature-thumb {
  background: var(--navy);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-feature-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px dashed var(--border-dot);
}

/* ── ARTICLE CARD LIST ── */
.article-card {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 0 2rem;
  border-bottom: 1px dashed var(--border-dot);
  padding: 2rem 0;
  cursor: pointer;
  transition: background 0.12s;
  align-items: center;
}
.article-card:hover .article-card-title { color: var(--red); }
.article-card:last-child { border-bottom: none; }

.article-card-accent { background: #8b9765; align-self: stretch; }

.article-card-body { padding: 0 0 0 0; }

.article-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b9765;
  margin-bottom: 0.4rem;
}

.article-card-title {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  transition: color 0.15s;
}

.article-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.article-card-arrow {
  font-size: 20px;
  color: var(--text-muted);
  padding-right: 0.5rem;
}

/* ── FSOT TEST WINDOWS ── */
.fsot-windows-table { display: block; }
.fsot-windows-cards {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.fsot-window-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  padding: 1.25rem 1.25rem;
}

.fsot-window-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fsot-window-card-exam {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}

.fsot-window-card-num {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.fsot-window-card-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}

.fsot-window-card-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.fsot-window-card-row dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.fsot-window-card-row dd {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 650px) {
  .fsot-windows-table { display: none; }
  .fsot-windows-cards { display: flex; }
}

/* ── PROCESS PAGE ── */
.process-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
}
.process-grid-side {
  padding: 4rem 3rem 4rem 0;
  border-right: 1px dashed var(--border-dot);
}
.process-grid-main { padding: 3rem 0 0 3rem; }

.process-stats {
  border-top: 1px dashed var(--border-dot);
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.process-stats-cell--left {
  padding: 4rem 3rem 4rem 0;
  border-right: 1px dashed var(--border-dot);
}
.process-stats-cell--right { padding: 4rem 0 4rem 3rem; }

/* ── NAVBAR MOBILE: stack & center the brand below 1350px ── */
@media (max-width: 1350px) {
  .header-top-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.25rem;
  }
  .header-brand {
    width: 100%;
    justify-content: center;
  }
  #inner-nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── MOBILE OPTIMIZATIONS ── */
/* Header collapses earlier (< 900px) so the navbar never overflows */
@media (max-width: 900px) {
  /* Top header: tighten padding, allow nav to wrap, shrink links */
  .header-top-inner {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  /* Stack header brand items beneath the DoS logo */
  .header-brand {
    flex-direction: column;
    gap: 0 !important;
  }
  .header-top-inner > a svg { width: 160px; height: auto; }
  .header-top-inner > img,
  .header-top-inner > a > img { height: auto; max-height: 32px; max-width: 160px; object-fit: contain; }
  #inner-nav { margin-left: 0 !important; flex-wrap: wrap; justify-content: center; width: 100%; }
  .inner-nav-link {
    font-size: 10px;
    padding: 0.5rem 0.55rem;
    letter-spacing: 0.06em;
    border-left: none;
  }

}

/* Home subheader (over hero) collapses earlier so the right-most link never clips */
@media (max-width: 1150px) {
  .subheader-inner {
    padding: 0 1rem;
    min-height: 44px;
    flex-wrap: wrap;
  }
  .subheader-title { display: none; }
  .subheader-nav { width: 100%; }
  .subheader-nav .nav-link {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 0 0.45rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 540px) {
  .subheader-nav .nav-link {
    font-size: 10px;
    padding: 0.5rem 0.25rem;
    letter-spacing: 0;
  }
  .subnav-dot { display: none; }
}

@media (max-width: 640px) {
  /* Hero: reduce padding, ensure no overflow */
  .hero {
    padding: 9rem 0 3rem !important;
    min-height: auto;
  }
  .hero-inner { text-align: center; padding: 0 1.25rem; }
  .hero h1 {
    font-size: clamp(3.75rem, 19vw, 6.5rem) !important;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc { font-size: 15px; }
  .hero-seal {
    position: static !important;
    bottom: auto;
    right: auto;
    width: 150px;
    height: auto;
    margin: 1.75rem auto 0;
    overflow: visible;
    gap: 14px;
  }
  .hero-seal img { width: 96px; }

  /* Content + sections: tighter padding */
  .content { padding: 2.5rem 1.25rem 3rem; }
  .section-desc { font-size: 16px; }
  .cta-bar { padding: 3rem 1.25rem; }
  .cta-bar h2 { font-size: 1.75rem; }

  /* Home intro / stats: stack to single column */
  .home-intro { grid-template-columns: 1fr; }
  .home-intro-text {
    padding: 2.5rem 0 2rem;
    border-right: none;
    border-bottom: 1px dashed var(--border-dot);
  }
  .home-stats {
    padding: 0;
    grid-template-columns: 1fr 1fr;
  }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-number { font-size: 2.25rem; }

  /* Overview grid: stack */
  .overview-grid { grid-template-columns: 1fr !important; }
  .overview-card { padding: 1.5rem 0; }
  .overview-card:first-child { padding-top: 2.5rem; }

  /* Career rows: stack accent + sections */
  .career-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .career-accent { display: none; }
  .career-left,
  .career-right {
    padding: 1.5rem 1.25rem;
    border-right: none;
  }
  .career-left { border-bottom: 1px dashed var(--border-dot); }
  .career-duties { grid-template-columns: 1fr; gap: 0.4rem; }

  /* FSOT layout already stacks at 800px, just tighten paddings */
  .dates-card { padding: 1.5rem; position: static; }
  .fsot-step { grid-template-columns: 40px 1fr; padding: 1.25rem 0; }

  /* Process page: stack the side/main and the bottom stats */
  .process-grid { grid-template-columns: 1fr; }
  .process-grid-side {
    padding: 2.5rem 0 1.5rem;
    border-right: none;
    border-bottom: 1px dashed var(--border-dot);
  }
  .process-grid-main { padding: 1.5rem 0 2rem; }
  .process-stats { grid-template-columns: 1fr; margin-top: 2rem; }
  .process-stats-cell--left {
    padding: 1.75rem 0;
    border-right: none;
    border-bottom: 1px dashed var(--border-dot);
  }
  .process-stats-cell--right { padding: 1.75rem 0; }

  /* Resources video feature: stack */
  .video-feature { grid-template-columns: 1fr; }
  .video-feature-thumb { min-height: 200px; }
  .video-feature-info {
    padding: 1.5rem 1.25rem;
    border-left: none;
    border-top: 1px dashed var(--border-dot);
  }

  /* Article rows: keep simple stacked layout */
  .article-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .article-card { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem 0; }
  .article-card-accent { display: none; }
  .article-card-arrow { display: none; }

  /* Footer */
  .footer-inner { padding: 3rem 1.25rem 2rem; }
  .footer-headline { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ── SIGNUP MODAL ── */
.fso-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  z-index: 1000;
  animation: fso-modal-fade 180ms ease-out;
}

@keyframes fso-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fso-modal-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fso-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--cream);
  border-top: 4px solid var(--red);
  padding: 2.5rem 2.25rem 2rem;
  box-shadow: 0 25px 60px rgba(10, 15, 30, 0.4);
  animation: fso-modal-rise 220ms ease-out;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.fso-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s;
}

.fso-modal-close:hover { color: var(--red); }

.fso-modal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.fso-modal-title {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.fso-modal-title em {
  font-style: italic;
  color: var(--red);
}

.fso-modal-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fso-modal-subtitle a {
  color: #1a6fd4;
  text-decoration: underline;
}

.fso-modal-alert {
  font-size: 14px;
  padding: 0.7rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  background: rgba(200, 54, 74, 0.08);
  border-left: 3px solid var(--red);
  color: var(--red);
}

.fso-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fso-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.fso-modal-form input[type="text"],
.fso-modal-form input[type="email"],
.fso-modal-form input[type="tel"],
.fso-modal-form input[type="number"],
.fso-modal-form select {
  width: 100%;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 15px;
  padding: 0.8rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dark);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.fso-modal-form input::placeholder {
  color: var(--text-muted);
}

.fso-modal-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.fso-modal-form input[type="number"]::-webkit-outer-spin-button,
.fso-modal-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fso-modal-form input:focus,
.fso-modal-form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(26, 39, 68, 0.12);
}

/* The placeholder option renders in the muted placeholder color until a
   real range is chosen. */
.fso-modal-form select:has(option[value=""]:checked) {
  color: var(--text-muted);
}

.fso-modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.25rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
  cursor: pointer;
}

.fso-modal-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--red);
  cursor: pointer;
}

.fso-modal-form button {
  margin-top: 0.5rem;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive);
  border: none;
  padding: 1rem 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
}

.fso-modal-form button:hover:not(:disabled) {
  background: var(--olive-dark);
}

.fso-modal-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .fso-modal {
    padding: 2rem 1.4rem 1.6rem;
  }
  .fso-modal-row {
    grid-template-columns: 1fr;
  }
}


/* All titles/headings use the Nimbus serif font (overrides earlier sans declarations) */
.section-title,
.info-block-title,
.dates-card-title,
.career-title,
.ov-title,
.resource-title,
.media-section-title,
.video-title,
.article-title,
.article-card-title,
.subheader-title,
.fsot-step-title {
  font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
}
