/* North Carolina RBT — Carolina blue sky, navy ink, goldenrod.
   Display: Newsreader (academic serif). Body: Public Sans. */

:root {
  --sky: #7BAFD4;
  --sky-pale: #DCEAF5;
  --paper: #F7FAFD;
  --navy: #12263A;
  --navy-2: #1D3A56;
  --gold: #C99722;
  --line: #DBE6EF;
  --muted: #5B6E80;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Public Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--navy);
  line-height: 1.65;
  font-size: 16.5px;
}

h1, h2, h3, .wordmark, .footer-brand {
  font-family: "Newsreader", Georgia, serif;
}

/* ---- header ---- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 5vw, 56px);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.wordmark { font-weight: 700; font-size: 24px; color: var(--navy); text-decoration: none; }
.wm-accent { color: var(--sky); }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-link { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.header-link:hover { color: var(--gold); }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: "Public Sans", sans-serif;
  font-weight: 700; font-size: 15.5px;
  padding: 13px 22px; border-radius: 10px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--navy); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { padding: 9px 18px; background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---- hero: Carolina sky ---- */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 78%, var(--paper) 100%);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 56px) clamp(40px, 5vw, 64px);
}
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); opacity: 0.75; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 22px;
}
.lede { font-size: 18px; color: #29435C; max-width: 54ch; margin-bottom: 26px; }
.proof { list-style: none; display: grid; gap: 10px; }
.proof li { padding-left: 28px; position: relative; color: #29435C; }
.proof li::before {
  content: "✈"; position: absolute; left: 0; top: 0;
  color: var(--navy); font-size: 14px;
}
.proof strong { color: var(--navy); }

/* ---- apply card ---- */
.apply-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 24px 64px rgba(18, 38, 58, 0.25);
  border-top: 5px solid var(--gold);
  position: sticky; top: 24px;
}
.card-head h2 { font-size: 24px; font-weight: 700; }
.card-head p { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.progress-bar {
  flex: 1; height: 8px; border-radius: 99px; background: var(--paper);
  border: 1px solid var(--line); overflow: hidden;
}
#progress-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  transition: width 0.35s ease;
}
.progress-label { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; padding: 13px 14px; font-size: 16px;
  font-family: inherit; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--sky); background: #fff; }
.field input.invalid { border-color: #B3261E; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-note.note-error { color: #B3261E; }
.success { text-align: center; padding: 26px 6px; }
.success-check {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--sky); color: var(--navy);
  font-size: 26px; font-weight: 700; line-height: 54px;
}
.success h2 { font-size: 23px; font-weight: 700; margin-bottom: 6px; }
.success p { color: var(--muted); font-size: 15px; }

/* ---- sections ---- */
.section { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 56px); }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 30px; }

/* runway — the signature; a true sequence, so ordering carries meaning */
.runway-section { max-width: 1120px; margin: 0 auto; }
.flightpath { display: block; width: 100%; height: auto; color: var(--sky); margin-bottom: 6px; }
.runway { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.runway li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.runway li:last-child { border-top: 4px solid var(--gold); }
.run-k {
  display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy);
  background: var(--sky-pale); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px;
}
.runway h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.runway p { color: var(--muted); font-size: 15px; }

/* metros */
.metro-section { background: #fff; border-block: 1px solid var(--line); }
.metro-section .section-title, .metro-section .section-sub, .metro-more { max-width: 1120px; margin-inline: auto; }
.metro-section .section-title { margin-bottom: 10px; }
.metro-grid {
  list-style: none; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px;
}
.metro-grid li {
  border: 1px solid var(--line); border-left: 5px solid var(--sky);
  border-radius: 10px; padding: 16px 18px; background: var(--paper);
}
.metro-name { display: block; font-weight: 700; margin-bottom: 3px; }
.metro-towns { font-size: 13.5px; color: var(--muted); }
.metro-more { margin-top: 22px; }
.metro-more a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.metro-more a:hover { color: var(--gold); }

/* pay */
.pay-section { background: var(--navy); color: var(--paper); }
.pay-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.pay-section .section-title { color: #fff; }
.pay-copy p { color: #AFC4D8; margin-bottom: 24px; }
.pay-copy strong { color: var(--sky); }
.pay-section .btn-primary { width: auto; background: var(--sky); color: var(--navy); }
.pay-section .btn-primary:hover { background: #93C1E2; }
.disclaimer { font-size: 12px; color: #6C8499; margin-top: 20px; max-width: 52ch; }
.pay-facts { list-style: none; display: grid; gap: 12px; }
.pay-facts li {
  border: 1px solid #29435C; border-radius: 10px; padding: 14px 16px;
  color: #AFC4D8; font-size: 15px;
  display: flex; align-items: center; gap: 14px;
}
.fact-k { flex: 0 0 auto; font-weight: 700; font-size: 13px; color: var(--gold); min-width: 72px; }

/* faq */
.faq-section { max-width: 820px; margin: 0 auto; }
.faq-list { display: grid; gap: 10px; margin-top: 26px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 700; color: var(--gold); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 16px; color: #29435C; font-size: 15.5px; }

/* cta band */
.cta-band {
  background: linear-gradient(180deg, var(--sky-pale), var(--sky));
  text-align: center; padding: clamp(48px, 6vw, 76px) 20px;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; color: var(--navy); }
.cta-band p { color: #29435C; margin: 10px 0 26px; }

/* footer */
.site-footer { text-align: center; padding: 40px 20px 48px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-brand { font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 14px; }
.footer-links a { color: var(--navy); font-size: 14px; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { font-size: 13px; color: var(--muted); }
.footer-copy { font-size: 13px; color: var(--muted); margin-top: 4px; }
.footer-copy a { color: var(--navy); }

/* ---- locations page ---- */
.loc-hero { padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 56px) clamp(24px, 4vw, 48px); max-width: 1120px; margin: 0 auto; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--sky); }
.crumbs a:hover { color: var(--gold); }
.loc-hero h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; margin-bottom: 14px; }
.loc-hero .lede { margin-bottom: 0; }
.loc-hero .lede a { color: var(--navy); font-weight: 600; }
.regions { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(48px, 6vw, 80px); display: grid; gap: 16px; }
.region {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; border-left: 6px solid var(--sky);
}
.region h2 { font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.region > p { color: #29435C; font-size: 15.5px; max-width: 78ch; margin-bottom: 14px; }
.region-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.region-towns li {
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  background: var(--sky-pale); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 13px;
}
.loc-cta { text-align: center; padding-bottom: clamp(48px, 6vw, 80px); }
.loc-cta .btn { width: auto; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .hero-inner, .pay-inner { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .runway { grid-template-columns: 1fr; }
  .flightpath { display: none; }
}
