/* ============================================================
   Commercial Pilots Training
   Design system: navy and aviation blue over paper white,
   extended-caps display type, sharp placard edges, hairlines.
   ============================================================ */

:root {
  --navy: #0B1D3A;
  --navy-2: #10254a;
  --navy-3: #16305e;
  --blue: #3A6DB3;
  --blue-d: #2c5691;
  --steel: #8A97A6;
  --gray: #E6E9ED;
  --paper: #F4F6F8;
  --white: #ffffff;
  --ink: #14213a;
  --hairline: rgba(11, 29, 58, .14);
  --hairline-inv: rgba(255, 255, 255, .22);
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --focus: 3px solid #5b8fd4;
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

/* Grid and flex children may never be stretched by nowrap headlines */
.timing__inner > *, .split > *, .pass > *, .route__step > *,
.section__head, .hero__content > *, h1, h2, h3 { min-width: 0; }
html.acc-text-1 { font-size: 112.5%; }
html.acc-text-2 { font-size: 125%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
p, dd, li, blockquote { text-wrap: pretty; }
ul { list-style: none; }
a { color: var(--blue-d); text-decoration: none; }
p a, li a.text-link { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--navy); color: var(--white); }

:focus-visible { outline: var(--focus); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; z-index: 300;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1380px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .01em;
}

/* Fit spans wrap safely at clamp sizes until JS measures them */
[data-fit] { display: block; width: 100%; }
.hero__title { font-size: clamp(2.4rem, 9vw, 7.5rem); }
.section__title { font-size: clamp(1.9rem, 5vw, 4rem); }

.kicker {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.kicker::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.kicker__num { color: var(--blue); }

.lede { font-size: 1.075rem; line-height: 1.75; }
@media (min-width: 768px) {
  .lede, .faq-body p, .timing__copy p, .split__body p, .route__step-text {
    text-align: justify; hyphens: auto;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--dark:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- Utility bar ---------- */

.utility-bar { background: var(--navy); color: var(--gray); font-size: .78rem; }
.utility-bar__inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; gap: 16px;
}
.utility-bar__tag {
  font-family: var(--font-display); font-stretch: 118%;
  letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  font-size: .68rem; color: var(--steel);
}
.utility-bar__tools { display: flex; align-items: center; gap: 20px; }
.utility-bar__phone { color: var(--white); font-weight: 600; letter-spacing: .04em; }
.utility-bar__phone:hover { color: #9fc0e8; }

.translate { display: flex; align-items: center; gap: 6px; color: var(--steel); }
.translate__select {
  background: transparent; color: var(--gray);
  border: 1px solid var(--hairline-inv);
  font: inherit; padding: 3px 8px; cursor: pointer;
}
.translate__select option { color: var(--ink); }

/* ---------- Header + mega menu ---------- */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(11,29,58,.12); }
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 84px;
}
.site-header__logo img { width: 220px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__link {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-stretch: 115%;
  font-weight: 600; font-size: .88rem;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); padding: 30px 16px;
}
.site-nav__link:hover { color: var(--blue); }
.site-nav__item.has-mega.is-open > .site-nav__link { color: var(--blue); }
.site-nav__item.has-mega.is-open > .site-nav__link svg { transform: rotate(180deg); }
.site-nav__link svg { transition: transform .2s; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 3px solid var(--blue);
  box-shadow: 0 30px 60px rgba(11,29,58,.18);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.site-nav__item.has-mega.is-open .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega__grid {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr;
  gap: 48px; padding-block: 44px;
}
.mega__heading {
  font-family: var(--font-display); font-stretch: 118%;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--steel); font-weight: 700;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.mega__col li { margin-bottom: 2px; }
.mega__col a {
  display: block; padding: 9px 0;
  color: var(--ink); font-weight: 500; font-size: .98rem;
  border-bottom: 1px solid transparent;
}
.mega__col a:hover { color: var(--blue); padding-left: 6px; transition: padding .18s, color .18s; }
.mega__feature { position: relative; display: block; overflow: hidden; min-height: 220px; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature-text {
  position: absolute; inset: auto 0 0 0;
  padding: 48px 24px 20px;
  background: linear-gradient(to top, rgba(11,29,58,.92), rgba(11,29,58,0));
  color: var(--white); display: block;
}
.mega__feature-kicker {
  display: block; font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: #a9c4e6; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 700;
}
.mega__feature-title { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.35; }

.site-header__cta { padding: 14px 24px; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--navy); transition: transform .25s, opacity .25s, top .25s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 28px; }
html.nav-open .nav-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
html.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
html.nav-open .nav-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: var(--navy); color: var(--white);
  padding: 140px var(--pad) 40px;
  overflow-y: auto;
  transform: translateX(100%); transition: transform .3s;
}
html.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav__list a {
  display: block; color: var(--white);
  font-family: var(--font-display); font-stretch: 122%;
  font-weight: 700; font-size: 1.5rem; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--hairline-inv);
}
.mobile-nav__list a:hover { color: #9fc0e8; }
.mobile-nav__cta { display: block; margin-top: 28px; }
.mobile-nav__phone {
  display: block; margin-top: 18px; color: var(--gray);
  text-align: center; font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  position: relative; display: flex; flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(600px, 94vh, 1020px);
  color: var(--white); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11,29,58,.96) 0%, rgba(11,29,58,.55) 40%, rgba(11,29,58,.42) 70%),
    linear-gradient(100deg, rgba(11,29,58,.8) 0%, rgba(11,29,58,.45) 55%, rgba(11,29,58,.28) 85%);
}
.hero__content {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: 100%; padding-block: 48px;
}
.hero__kicker { color: #a9c4e6; margin-bottom: 22px; }
.hero__title { margin-bottom: 26px; }
.hero__sub { font-size: 1.1rem; line-height: 1.7; color: #dbe4ef; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stats {
  position: relative; z-index: 2;
  margin-top: 0;
  border-top: 1px solid var(--hairline-inv);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stat {
  padding: 26px var(--pad);
  border-right: 1px solid var(--hairline-inv);
}
.hero__stat:last-child { border-right: 0; }
.hero__stat-num {
  font-family: var(--font-display); font-stretch: 125%;
  font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: .02em;
}
.hero__stat-label { font-size: .82rem; color: #b9c6d4; margin-top: 4px; line-height: 1.45; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 130px); }
.section--paper { background: var(--paper); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__title { color: var(--navy); margin-top: 18px; }
.section__intro { margin-top: 20px; font-size: 1.05rem; }

/* ---------- Career mosaic ---------- */

.mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--hairline);
}
.mosaic__tile {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4.1;
  display: flex; align-items: flex-end;
  color: var(--white);
  border-right: 1px solid var(--hairline);
}
.mosaic__tile:last-child { border-right: 0; }
.mosaic__tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s;
}
.mosaic__tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.94) 0%, rgba(11,29,58,.42) 45%, rgba(11,29,58,.08) 70%);
  transition: background .3s;
}
.mosaic__tile:hover img { transform: scale(1.05); }
.mosaic__body { position: relative; z-index: 2; padding: 26px 24px 24px; width: 100%; }
.mosaic__num {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .3em; color: #a9c4e6;
}
.mosaic__title {
  font-family: var(--font-display); font-stretch: 122%;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.02;
  margin: 10px 0 10px;
}
.mosaic__text { font-size: .9rem; line-height: 1.55; color: #d3dce7; }
.mosaic__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 2px solid var(--blue); padding-bottom: 4px;
}
.mosaic__link:hover { color: #9fc0e8; }

/* ---------- Route checklist ---------- */

.route { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.route__bg { position: absolute; inset: 0; }
.route__bg img { width: 100%; height: 100%; object-fit: cover; }
.route__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,29,58,.93), rgba(11,29,58,.88));
}
.route__inner { position: relative; z-index: 2; }
.route .section__title { color: var(--white); }
.route .kicker { color: #a9c4e6; }
.route__list {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-top: 1px solid var(--hairline-inv);
  margin-top: 12px;
}
.route__step {
  counter-increment: step;
  display: grid; grid-template-columns: 84px 1fr auto; gap: 20px;
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--hairline-inv);
  align-items: start;
}
.route__step:nth-child(odd) { border-right: 1px solid var(--hairline-inv); padding-right: 40px; }
.route__step:nth-child(even) { padding-left: 40px; }
.route__step::before {
  content: "0" counter(step);
  font-family: var(--font-display); font-stretch: 125%;
  font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: var(--blue);
}
.route__step-title {
  font-family: var(--font-display); font-stretch: 120%;
  font-weight: 700; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .05em;
  margin-bottom: 8px;
}
.route__step-text { font-size: .93rem; color: #c9d4e0; line-height: 1.6; }
.route__hours {
  font-family: var(--font-display); font-weight: 700; font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: #a9c4e6; border: 1px solid var(--hairline-inv);
  padding: 6px 10px; white-space: nowrap;
}

/* ---------- Split feature ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split__media { position: relative; min-height: 380px; background: var(--navy); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 110px);
  background: var(--paper);
}
.split__body .section__title { margin-top: 16px; }
.split__body p { margin-top: 18px; }
.split__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Timing band ---------- */

.timing { position: relative; color: var(--white); overflow: hidden; }
.timing__bg { position: absolute; inset: 0; }
.timing__bg img { width: 100%; height: 100%; object-fit: cover; }
.timing__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11,29,58,.87); }
.timing__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); }
.timing .section__title { color: var(--white); }
.timing .kicker { color: #a9c4e6; }
.timing__copy p { margin-top: 18px; color: #d3dce7; }
.bottom-line { background: var(--white); color: var(--ink); padding: 34px; align-self: center; }
.bottom-line__title {
  font-family: var(--font-display); font-stretch: 120%; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1rem;
  color: var(--navy); padding-bottom: 16px; border-bottom: 2px solid var(--navy);
}
.bottom-line dl { margin-top: 6px; }
.bottom-line .row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.bottom-line .row:last-child { border-bottom: 0; }
.bottom-line dt { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-d); }
.bottom-line dd { font-size: .92rem; line-height: 1.55; }

/* ---------- Boarding pass form ---------- */

.apply { background: var(--gray); }
.pass {
  display: grid; grid-template-columns: 1.5fr 1fr;
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(11,29,58,.14);
}
.pass__main { padding: clamp(32px, 4vw, 60px); }
.pass__strip {
  background: var(--navy); color: var(--white);
  padding: 10px 18px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .7rem;
  letter-spacing: .26em; text-transform: uppercase;
  margin: calc(clamp(32px, 4vw, 60px) * -1) calc(clamp(32px, 4vw, 60px) * -1) 34px;
}
.pass__side {
  position: relative;
  border-left: 2px dashed var(--steel);
  overflow: hidden; min-height: 420px;
}
.pass__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pass__side::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.9), rgba(11,29,58,.15) 55%);
}
.pass__quote {
  position: absolute; z-index: 2; bottom: 0; left: 0; right: 0;
  padding: 26px; color: var(--white);
}
.pass__quote blockquote { font-size: .98rem; line-height: 1.6; font-style: italic; border-left: 3px solid var(--blue); padding-left: 16px; }
.pass__quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .8rem; color: #b9c6d4; }
.pass__quote .fn-label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  color: #a9c4e6; margin-bottom: 10px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink);
  padding: 13px 14px;
  border: 1px solid #b9c2cd; background: var(--white);
  border-radius: 0; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: var(--focus); outline-offset: 0; border-color: var(--blue);
}
.form-note { font-size: .8rem; color: #5c6a7a; margin-top: 14px; }
.form-actions { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-success {
  background: var(--navy); color: var(--white);
  padding: 18px 22px; margin-bottom: 28px;
  border-left: 4px solid var(--blue);
  font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display); font-stretch: 115%;
  font-weight: 700; font-size: 1.05rem; color: var(--navy);
  text-transform: uppercase; letter-spacing: .04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--blue);
  transition: transform .25s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 24px; color: #33415a; }

/* ---------- Byline ---------- */

.byline {
  display: grid; grid-template-columns: 92px 1fr; gap: 22px;
  align-items: center;
  border: 1px solid var(--hairline);
  padding: 26px; margin-top: clamp(40px, 5vw, 64px);
  background: var(--paper);
}
.byline__photo { width: 92px; height: 92px; object-fit: cover; border-radius: 50%; }
.byline__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.byline__meta { font-size: .88rem; color: #4a5768; margin-top: 4px; line-height: 1.6; }
.byline__meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #c2cdd9; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(48px, 6vw, 88px);
}
.site-footer__logo { filter: brightness(0) invert(1); width: 220px; margin-bottom: 20px; }
.site-footer__brand p { font-size: .92rem; line-height: 1.7; }
.site-footer__heading {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 16px;
}
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col a { color: #dbe4ef; font-size: .95rem; }
.site-footer__col a:hover { color: #9fc0e8; }
.site-footer__legal { border-top: 1px solid var(--hairline-inv); }
.site-footer__legal-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; padding-block: 20px; font-size: .8rem;
}
.site-footer__legal ul { display: flex; gap: 22px; }
.site-footer__legal a { color: #c2cdd9; }
.site-footer__legal a:hover { color: var(--white); }

/* ---------- Mobile dock ---------- */

.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none;
  grid-template-columns: 1fr 1.6fr 1fr;
  background: var(--navy);
  border-top: 1px solid var(--hairline-inv);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-dock__item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 8px;
  color: var(--white); background: none; border: 0;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.mobile-dock__item--primary { background: var(--blue); }
.mobile-dock__item--primary:active { background: var(--blue-d); }

/* ---------- Accessibility widget ---------- */

.acc-toggle {
  position: fixed; left: 18px; bottom: 18px; z-index: 96;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  border: 2px solid rgba(255,255,255,.3); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(11,29,58,.35);
}
.acc-toggle:hover { background: var(--blue); }
.acc-panel {
  position: fixed; left: 18px; bottom: 82px; z-index: 96;
  width: 300px; background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 60px rgba(11,29,58,.3);
  padding: 20px;
}
.acc-panel__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; font-size: .85rem; color: var(--navy);
  margin-bottom: 14px;
}
.acc-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-panel__grid button {
  font: inherit; font-size: .8rem; font-weight: 600;
  padding: 10px 8px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--hairline); color: var(--ink);
}
.acc-panel__grid button:hover { border-color: var(--blue); color: var(--blue-d); }
.acc-panel__grid button.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.acc-panel__link { display: block; margin-top: 14px; font-size: .8rem; text-decoration: underline; }

.reading-guide {
  display: none;
  position: fixed; left: 0; right: 0; top: 40vh; z-index: 200;
  height: 4px; background: var(--blue);
  box-shadow: 0 0 0 9999px rgba(11,29,58,.06);
  pointer-events: none;
}
html.acc-guide .reading-guide { display: block; }

html.acc-dyslexia body,
html.acc-dyslexia .form-field input,
html.acc-dyslexia .form-field select,
html.acc-dyslexia .form-field textarea { font-family: "Atkinson Hyperlegible", var(--font-body); }
html.acc-links a { text-decoration: underline !important; background: rgba(58,109,179,.12); }
html.acc-contrast { --ink: #000; --steel: #dfe5eb; --hairline: rgba(0,0,0,.4); }
html.acc-contrast body { background: #fff; }
html.acc-contrast .hero__img::after { background: rgba(0,10,25,.75); }
html.acc-contrast .mosaic__tile::after { background: linear-gradient(to top, rgba(0,10,25,.97) 0%, rgba(0,10,25,.6) 50%, rgba(0,10,25,.25) 75%); }
html.acc-contrast .route__step-text, html.acc-contrast .timing__copy p,
html.acc-contrast .mosaic__text, html.acc-contrast .hero__sub,
html.acc-contrast .hero__stat-label { color: #fff; }
html.acc-grayscale main, html.acc-grayscale .site-header,
html.acc-grayscale .site-footer, html.acc-grayscale .utility-bar,
html.acc-grayscale .mobile-dock { filter: grayscale(1); }
html.acc-motion *, html.acc-motion *::before, html.acc-motion *::after {
  transition: none !important; animation: none !important; scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-nav__link { padding-inline: 10px; font-size: .8rem; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic__tile { aspect-ratio: 4 / 3.4; border-bottom: 1px solid var(--hairline); }
  .mosaic__tile:nth-child(even) { border-right: 0; }
}

@media (max-width: 960px) {
  .site-nav, .site-header__cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .site-header__inner { min-height: 72px; }
  .site-header__logo img { width: 190px; }
  .utility-bar__tag { display: none; }
  .utility-bar__inner { justify-content: flex-end; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { border-bottom: 1px solid var(--hairline-inv); }
  .route__list { grid-template-columns: 1fr; }
  .route__step:nth-child(odd) { border-right: 0; padding-right: 0; }
  .route__step:nth-child(even) { padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 10; min-height: 0; }
  .split__body p, .section__intro, .route__step-text, .hero__sub { max-width: none; }
  .timing__inner { grid-template-columns: 1fr; }
  .pass { grid-template-columns: 1fr; }
  .pass__side { border-left: 0; border-top: 2px dashed var(--steel); min-height: 340px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .mobile-dock { display: grid; }
  body { padding-bottom: 64px; }
  .acc-toggle { bottom: 84px; }
  .acc-panel { bottom: 148px; }
}

/* ---------- Inner pages ---------- */

.page-hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy);
  padding-block: clamp(56px, 8vw, 120px) clamp(40px, 6vw, 80px);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.96), rgba(11,29,58,.86));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .kicker { color: #a9c4e6; margin-bottom: 20px; }
.page-hero__title { margin-bottom: 18px; }
.page-hero__intro { color: #dbe4ef; font-size: 1.08rem; line-height: 1.75; }

.crumbs { font-size: .78rem; margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs li { display: flex; gap: 6px; align-items: center; color: #8fa3bd; }
.crumbs li + li::before { content: "/"; color: #4a6285; }
.crumbs a { color: #b9cbe2; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: var(--white); }
.section .crumbs, .section .crumbs a { color: var(--steel); }
.section .crumbs a:hover { color: var(--blue-d); }
.section .crumbs span[aria-current] { color: var(--ink); }

.prose h2 { color: var(--navy); margin: clamp(36px, 5vw, 56px) 0 16px; }
.prose h3 {
  font-family: var(--font-display); font-stretch: 118%; text-transform: uppercase;
  letter-spacing: .05em; color: var(--navy); font-size: 1.08rem;
  margin: 30px 0 10px;
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 20px; }
.prose ul { list-style: square; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }

.data-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .95rem; }
.data-table caption {
  caption-side: top; text-align: left; padding-bottom: 12px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--blue-d);
}
.data-table th {
  background: var(--navy); color: var(--white); text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 14px;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--paper); }
.table-scroll { overflow-x: auto; }

.callout {
  border-left: 4px solid var(--blue); background: var(--paper);
  padding: 22px 24px; margin: 26px 0;
}
.callout--warn { border-color: var(--navy); }
.callout__label {
  font-family: var(--font-display); font-weight: 800; font-size: .7rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--blue-d);
  margin-bottom: 8px;
}
.callout p:last-child { margin-bottom: 0; }

.sources { border-top: 2px solid var(--navy); margin-top: clamp(40px, 6vw, 64px); padding-top: 22px; }
.sources h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; font-size: .9rem; color: var(--navy); margin-bottom: 14px;
}
.sources ol { list-style: decimal; margin-left: 20px; font-size: .85rem; color: #4a5768; }
.sources li { margin-bottom: 8px; overflow-wrap: anywhere; }

.cta-band { background: var(--navy); color: var(--white); padding-block: clamp(56px, 8vw, 100px); }
.cta-band__title { color: var(--white); margin-bottom: 18px; }
.cta-band .lede { color: #c9d4e0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hairline); margin: 26px 0; }
.spec-cell { padding: 18px 20px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.spec-cell dt {
  font-family: var(--font-display); font-weight: 700; font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--steel);
}
.spec-cell dd { font-weight: 600; color: var(--navy); margin-top: 4px; font-size: 1.02rem; }

.glossary-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.glossary-nav a {
  display: inline-block; min-width: 38px; text-align: center;
  padding: 8px 10px; border: 1px solid var(--hairline);
  font-family: var(--font-display); font-weight: 700;
  color: var(--navy);
}
.glossary-nav a:hover { background: var(--navy); color: var(--white); }
.glossary-group { border-top: 2px solid var(--navy); padding-top: 8px; margin-top: 36px; }
.glossary-letter {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: 2.4rem; color: var(--blue); text-transform: uppercase;
}
.glossary-group dl { display: grid; grid-template-columns: 220px 1fr; gap: 0 30px; }
.glossary-group dt {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--navy); padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.glossary-group dd { padding: 14px 0; border-bottom: 1px solid var(--hairline); color: #33415a; font-size: .95rem; }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--hairline); }
.post-card { position: relative; display: grid; grid-template-rows: 240px auto; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--white); }
.post-card__media { position: relative; overflow: hidden; }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px; }
.post-card__tag {
  font-family: var(--font-display); font-weight: 700; font-size: .68rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--blue-d);
}
.post-card__title { font-family: var(--font-display); font-stretch: 118%; text-transform: uppercase; color: var(--navy); font-size: 1.25rem; line-height: 1.1; margin: 10px 0; }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--blue-d); }
.post-card__desc { font-size: .92rem; color: #4a5768; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hairline); margin: 26px 0; }
.stat-row__cell { padding: 22px; border-right: 1px solid var(--hairline); }
.stat-row__cell:last-child { border-right: 0; }
.stat-row__num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.9rem; color: var(--blue-d); }
.stat-row__label { font-size: .84rem; color: #4a5768; margin-top: 4px; }

.legal-updated { font-size: .85rem; color: var(--steel); margin-bottom: 26px; }

@media (max-width: 960px) {
  .glossary-group dl { grid-template-columns: 1fr; }
  .glossary-group dt { border-bottom: 0; padding-bottom: 2px; }
  .glossary-group dd { padding-top: 2px; }
  .post-list { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row__cell { border-right: 0; border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 640px) {
  .kicker { font-size: .68rem; letter-spacing: .18em; gap: 10px; }
  .hero__title { font-size: clamp(2rem, 10.5vw, 2.6rem); }
  .section__title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic__tile { border-right: 0; aspect-ratio: 4 / 3; }
  .route__step { grid-template-columns: 56px 1fr; }
  .route__hours { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .byline { grid-template-columns: 64px 1fr; }
  .byline__photo { width: 64px; height: 64px; }
}
