/* FieldPro Training Center — design system
   Light theme only. Tokens first, then layout, then components. */

:root {
  /* United States flag. Navy carries the structure, red is an accent only —
     large red fields make a training institute read like a campaign sign. */
  --navy-900: #0a2240;
  --navy-800: #123055;
  --navy-700: #3c3b6e;   /* Old Glory Blue */
  --ink:      #0f1c2e;
  --body:     #465468;
  --muted:    #6d7b8f;
  --line:     #dde4ec;
  --panel:    #f3f6fa;
  --paper:    #ffffff;
  --red:      #b22234;   /* Old Glory Red */
  --red-dk:   #8d1b29;
  --red-lt:   #fdf0f2;

  --tint:     #eaeef4;   /* page ground the white cards float on */
  --wrap: 1140px;
  --gap: 24px;
  --radius: 10px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 33, 54, .06), 0 8px 24px rgba(16, 33, 54, .06);

  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 17px/1.65 var(--text);
  color: var(--body);
  background: var(--tint);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(38px, 6vw, 62px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 25px); }
h4 { font-size: 18px; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-800); text-decoration-color: rgba(232, 147, 12, .5); text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy-900); }
.brand__mark { width: 40px; height: 40px; display: block; flex: none; }
.brand__text { display: grid; line-height: 1.05; font-family: var(--display); text-transform: uppercase; }
.brand__text b { font-size: 21px; letter-spacing: .01em; }
.brand__text i { font-style: normal; font-size: 12px; letter-spacing: .16em; color: var(--muted); font-family: var(--text); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav__link {
  font: 600 14px/1 var(--text);
  color: var(--body); text-decoration: none;
  padding: 9px 10px; border-radius: 6px; white-space: nowrap;
}
.nav__link:hover { background: var(--panel); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--red); border-radius: 6px 6px 0 0; }

.nav-toggle { display: none; }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--navy-900); color: #b9c6d6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p { font-size: 18px; }

.eyebrow {
  font: 700 12px/1 var(--text); letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-dk); margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--red); }

.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 130%);
  color: #c3d0e0;
  padding: clamp(64px, 10vw, 116px) 0;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 55%;
  height: 320px; background: radial-gradient(closest-side, rgba(178,34,52,.22), transparent);
  pointer-events: none;
}
.hero__inner { max-width: 780px; position: relative; }
.hero h1 { color: #fff; }
.hero__sub { font-size: clamp(18px, 2.2vw, 21px); color: #c3d0e0; max-width: 640px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--text); text-decoration: none;
  padding: 15px 24px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dk); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--navy-800); color: var(--ink); }

/* ---------- grids and cards ---------- */

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

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card--raised { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: 16px; }
.card__meta { font: 600 13px/1 var(--text); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }

.stat { text-align: left; }
.stat__num { font-family: var(--display); font-size: clamp(40px, 5vw, 58px); color: var(--ink); line-height: 1; }
.section--dark .stat__num { color: #fff; }
.stat__label { font-size: 15px; color: var(--muted); }
.section--dark .stat__label { color: #93a5ba; }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--display); font-size: 26px; color: var(--red-dk);
  background: var(--red-lt); width: 46px; height: 46px; border-radius: 8px;
  display: grid; place-items: center;
}
.step h3 { font-size: 20px; margin-bottom: .25em; }
.step p { font-size: 16px; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .58em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--red);
}

.note {
  border-left: 3px solid var(--red); background: var(--red-lt);
  padding: 18px 22px; border-radius: 0 8px 8px 0; font-size: 16px; color: #5c4a2c;
}

/* ---------- page header ---------- */

.page-head { background: var(--navy-900); color: #b9c6d6; padding: clamp(48px, 7vw, 76px) 0; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { max-width: 640px; font-size: 18px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 14px/1 var(--text); color: var(--ink); }
.field input, .field select, .field textarea {
  font: 400 16px/1.5 var(--text); color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent;
}
.field textarea { min-height: 130px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.form__status { font-size: 15px; min-height: 1.5em; }
.form__status[data-state="ok"] { color: #1c7a45; font-weight: 600; }
.form__status[data-state="error"] { color: #b3261e; font-weight: 600; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-900); color: #8fa2b8; padding: 56px 0 40px; margin-top: 0; }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer__brand { display: grid; gap: 4px; }
.site-footer b { color: #fff; font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: .01em; }
.site-footer p { font-size: 15px; margin: 8px 0 0; }
.site-footer a { color: #b9c6d6; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--red); }
.site-footer__links { display: grid; gap: 8px; align-content: start; }
.site-footer__legal { font-size: 14px; }

/* ---------- hero stage ---------- */

.hero { background: linear-gradient(170deg, #f2f5fa 0%, var(--tint) 60%, var(--tint) 100%); color: var(--body); }
.hero h1 { color: var(--ink); }
.hero__sub { color: var(--body); margin-left: auto; margin-right: auto; }
.hero::after { display: none; }
.hero .btn--ghost { border-color: var(--navy-800); color: var(--navy-900); }
.hero .btn--ghost:hover { background: var(--navy-900); color: #fff; }

.actions--center { justify-content: center; }

.hero__stage { display: grid; grid-template-columns: 1fr 1.9fr 1fr; gap: 28px; align-items: center; margin-top: 52px; }
.mediacard--hero img { aspect-ratio: 16 / 10; }

.hero__aside { text-align: center; }
.hero__aside p { font-size: 15px; margin-bottom: .5em; }
.hero__aside-by { color: var(--muted); font-size: 13.5px; }
.hero__aside-icon {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--red);
  box-shadow: 0 6px 20px rgba(10,34,64,.1);
}
.hero__aside-icon svg { width: 26px; height: 26px; }
.hero__aside-link { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1 var(--text); text-decoration: none; margin-top: 8px; }
.hero__aside-link svg { width: 15px; height: 15px; }
.hero__big { display: block; font-family: var(--display); font-size: 58px; line-height: 1; color: var(--navy-900); }

.checks--icon { display: grid; gap: 12px; }
.checks--icon li { padding-left: 0; display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: 16px; }
.checks--icon li::before { display: none; }
.checks--icon svg { width: 20px; height: 20px; color: var(--red); margin-top: 2px; }

/* ---------- panel cards ----------
   The reference floats every section as a white rounded card on a tinted
   ground, rather than running full-bleed bands. Sections opt in. */

.panel {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4.5vw, 60px) clamp(24px, 4vw, 56px);
  box-shadow: 0 1px 2px rgba(10, 34, 64, .04), 0 10px 40px rgba(10, 34, 64, .06);
}
.section--float { padding: clamp(14px, 2vw, 26px) 0; }
.section--float > .wrap { padding: 0 24px; }

.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.panel__head h2 { margin: 0; }
.panel__head a { font: 600 15px/1 var(--text); text-decoration: none; white-space: nowrap; }

.centered { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.centered .eyebrow { margin-left: auto; margin-right: auto; }

/* the accent word inside a heading */
.hl { color: var(--red); }

/* ---------- process strip with connectors ---------- */

.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; align-items: start; }
.flow__step { text-align: center; padding: 0 10px; }
.flow__icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 15px;
  display: grid; place-items: center; background: var(--panel); color: var(--navy-700);
}
.flow__icon svg { width: 26px; height: 26px; }
.flow__step:nth-child(4n+3) .flow__icon { background: var(--red-lt); color: var(--red-dk); }
.flow__step h3 { font-size: 17px; margin-bottom: .35em; }
.flow__step p { font-size: 14.5px; margin: 0; }

.flow__link { align-self: center; padding: 0 4px; margin-top: 24px; color: var(--line); }
.flow__link svg { width: 100%; height: 22px; }

/* ---------- tinted tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tile {
  border-radius: 16px; padding: 22px 18px; text-align: center;
  background: var(--panel); text-decoration: none; display: block;
  transition: transform .14s ease, box-shadow .14s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(10,34,64,.1); }
.tile__icon { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.75); }
.tile__icon svg { width: 24px; height: 24px; }
.tile b { display: block; font: 700 15px/1.3 var(--text); color: var(--ink); margin-bottom: 4px; }
.tile span { font-size: 13px; color: var(--muted); }

.tile--a { background: #eef2f9; } .tile--a .tile__icon { color: #26456e; }
.tile--b { background: #fdeff1; } .tile--b .tile__icon { color: #9c2231; }
.tile--c { background: #eef4f2; } .tile--c .tile__icon { color: #2a5a4c; }
.tile--d { background: #f4f1fa; } .tile--d .tile__icon { color: #4a3f79; }
.tile--e { background: #fbf3e9; } .tile--e .tile__icon { color: #8a5a1f; }

/* ---------- stat row ---------- */

.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
.stats > div { padding: 0 26px; border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font-family: var(--display); font-size: clamp(30px, 3.6vw, 42px); line-height: 1; color: var(--navy-900); }
.stats span { font-size: 14.5px; color: var(--muted); }

/* ---------- media card with overlays ---------- */

.mediacard { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.mediacard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.mediacard__pill {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 32px);
  background: rgba(255,255,255,.94); border-radius: 999px; padding: 8px 14px;
  font: 700 13px/1.2 var(--text); color: var(--ink); white-space: nowrap;
}
.mediacard__pill svg { width: 15px; height: 15px; flex: none; color: var(--red); }
.mediacard__stat {
  position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px);
  background: rgba(255,255,255,.94); border-radius: 12px; padding: 10px 15px;
}
.mediacard__stat b { display: block; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--navy-900); }
.mediacard__stat span { font-size: 12px; color: var(--muted); }

/* ---------- route cards ---------- */

.route {
  display: grid; gap: 10px; align-content: start; text-decoration: none;
  background: var(--panel); border-radius: 16px; padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.route:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 34px rgba(10,34,64,.12); }
.route__icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: #fff; color: var(--red);
}
.route:hover .route__icon { background: var(--red); color: #fff; }
.route__icon svg { width: 24px; height: 24px; }
.route h3 { margin: 4px 0 0; }
.route p { font-size: 15.5px; margin: 0; }
.route__go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font: 700 14px/1 var(--text); color: var(--navy-900);
}
.route__go svg { width: 16px; height: 16px; transition: transform .18s ease; }
.route:hover .route__go svg { transform: translateX(4px); }

/* ---------- presentation slot ---------- */

.presentation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.presentation .mediacard img { aspect-ratio: 3 / 2; }
.presentation .mediacard__pill { font-size: 12.5px; padding: 7px 13px; }

/* ---------- session log ---------- */

.log { display: grid; gap: 0; }
.log__entry {
  display: grid; grid-template-columns: 130px 1fr; gap: 28px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.log__entry:last-child { border-bottom: 1px solid var(--line); }
.log__when b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.05; color: var(--navy-900); text-transform: uppercase; }
.log__when span { font-size: 14px; color: var(--muted); }
.log__what h3 { font-size: 21px; margin-bottom: .3em; }
.log__what p { font-size: 16px; }
.log__skills { color: var(--muted); font-size: 14.5px !important; }
.log__skills b { color: var(--ink); }

/* ---------- closing CTA banner ---------- */

.cta-banner {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #c6d3e4; padding: clamp(38px, 5vw, 62px) clamp(28px, 4vw, 58px);
}
.cta-banner h2 { color: #fff; margin-bottom: .3em; }
.cta-banner p { max-width: 480px; }
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 340px;
  background: radial-gradient(closest-side, rgba(178,34,52,.35), transparent);
  pointer-events: none;
}
.cta-banner .actions { position: relative; }

/* ---------- career pathway (nine stages) ---------- */

.pathway { display: grid; gap: 10px; counter-reset: stage; }

.pathway__step {
  display: grid; grid-template-columns: 46px 1fr; align-items: start; gap: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; position: relative;
}
.pathway__step::before {
  counter-increment: stage; content: counter(stage);
  font-family: var(--display); font-size: 22px; line-height: 1;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px;
  background: var(--panel); color: var(--navy-700);
}
.pathway__step h3 { font-size: 19px; margin: 0 0 2px; }
.pathway__step p { font-size: 15px; margin: 0; }

/* the last stage is the point the whole thing builds toward */
.pathway__step--goal { background: var(--navy-900); border-color: var(--navy-900); }
.pathway__step--goal::before { background: var(--red); color: #fff; }
.pathway__step--goal h3 { color: #fff; }
.pathway__step--goal p { color: #a9bad0; }

.section--dark .pathway__step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--dark .pathway__step h3 { color: #fff; }
.section--dark .pathway__step p { color: #a9bad0; }
.section--dark .pathway__step::before { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- instructor figures ---------- */

.person { margin: 0; }
.person img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); background: var(--panel);
}
.person figcaption { display: grid; gap: 3px; padding-top: 14px; }
.person figcaption b { font: 700 17px/1.3 var(--text); color: var(--ink); }
.person figcaption span { font-size: 14.5px; color: var(--muted); }

/* ---------- recurring form block ---------- */

.form-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-block__intro p { font-size: 17px; }
.form-block__alt { color: var(--muted); font-size: 15px; }
.form-block .form { max-width: none; }

/* ---------- contact strip ---------- */

.contact-strip { padding: 44px 0; border-top: 3px solid var(--red); }
.contact-strip .eyebrow { margin-bottom: 6px; }
.contact-strip__value { font: 600 18px/1.4 var(--text); color: var(--ink); margin: 0; }
.contact-strip__value a { color: var(--ink); text-decoration: none; }
.contact-strip__value a:hover { color: var(--red-dk); }

.card__lead { font: 600 15px/1.4 var(--text); color: var(--red-dk); margin-bottom: .7em; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav__link { padding: 9px 8px; font-size: 13.5px; }
}

@media (max-width: 1000px) {
  .hero__stage { grid-template-columns: 1fr; gap: 30px; }
  .hero__aside { max-width: 460px; margin: 0 auto; }
  .flow { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .flow__link { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .presentation { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stats > div { padding: 0; border-left: 0; }
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }

  .nav-toggle {
    display: grid; gap: 5px; place-content: center;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--red-dk); }
  .site-header__inner { position: relative; }
}

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pathway__step { grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 16px; }
  .pathway__step::before { width: 34px; height: 34px; font-size: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .presentation { grid-template-columns: 1fr; }
  .log__entry { grid-template-columns: 1fr; gap: 10px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .panel__head { flex-direction: column; gap: 10px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

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

/* ---------- motion ----------
   Everything is visible without JavaScript. The reveal class is only ever
   added by script, so a failed or blocked load leaves the page readable. */

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

.site-header { transition: box-shadow .2s ease; }
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(10, 34, 64, .09); }

.card, .tile, .person img, .mediacard img { transition: transform .18s ease, box-shadow .18s ease; }
.card--raised:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10,34,64,.11); }
.btn { transition: transform .12s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.btn--primary:hover { box-shadow: 0 8px 20px rgba(178,34,52,.28); }

@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- phones ----------
   The page was built wide-first and it showed: centred paragraphs running
   seven lines, a full viewport of air between every step, and a home page
   ten thousand pixels tall. Everything below tightens that. */

@media (max-width: 700px) {
  body { line-height: 1.55; }

  /* long centred measures are hard to read on a narrow column */
  .centered, .hero__inner, .hero__aside, .flow__step { text-align: left; }
  .centered .eyebrow { margin-left: 0; }
  .hero__sub { margin-left: 0; margin-right: 0; }
  .actions--center { justify-content: flex-start; }

  .hero { padding: 34px 0 40px; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: 16.5px; }
  .hero__stage { margin-top: 30px; gap: 22px; }
  .hero__aside { max-width: none; }
  .hero__aside-icon { margin-left: 0; }
  .hero__big { font-size: 44px; }

  .section { padding: 30px 0; }
  .section--float { padding: 7px 0; }
  .section--float > .wrap { padding: 0 14px; }
  .panel { padding: 26px 20px; border-radius: 16px; }
  .page-head { padding: 34px 0 30px; }

  .section__head, .centered { margin-bottom: 24px; }
  .grid { gap: 14px; }
  .card { padding: 20px 18px; }

  /* five steps with a screen of air between each is a lot of scrolling */
  .flow { gap: 20px; }
  .flow__step { display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; align-items: start; padding: 0; }
  .flow__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; grid-row: span 2; }
  .flow__step h3, .flow__step p { grid-column: 2; }
  .flow__icon svg { width: 22px; height: 22px; }
  .flow__step h3 { margin-bottom: .15em; }

  .stats { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .stats b { font-size: 30px; }

  .pathway { gap: 8px; }
  .pathway__step { padding: 13px 15px; }
  .pathway__step p { font-size: 14.5px; }

  .tiles { gap: 10px; }
  .tile { padding: 16px 12px; }
  .tile__icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .tile b { font-size: 13.5px; }

  .cta-banner { padding: 30px 22px; border-radius: 16px; }
  .contact-strip { padding: 30px 0; }
  .contact-strip .grid { gap: 18px; }

  .person figcaption { padding-top: 10px; }
  .log__entry { padding: 20px 0; }
  .form-block__intro { margin-bottom: -8px; }
}
