:root {
  --navy-950: #06111f;
  --navy-900: #091c35;
  --navy-800: #102c51;
  --navy-700: #1e4777;
  --red-900: #690914;
  --red-800: #830c1a;
  --red-700: #a40f21;
  --red-600: #c3172a;
  --red-500: #dc2338;
  --cream: #f4f0e6;
  --paper: #fffdf8;
  --paper-deep: #ece3cf;
  --ink: #111b2b;
  --muted: #667083;
  --line: #d9d5cc;
  --gold: #d5ae5c;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 21, 41, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.55;
}

body::selection { color: white; background: var(--red-700); }

button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: white;
  background: var(--red-700);
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.privacy-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 20px;
  color: #ffe9ec;
  background: var(--red-900);
  font-size: .76rem;
  letter-spacing: .02em;
  text-align: center;
}

.privacy-ribbon span:last-child { opacity: .8; }

.privacy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8df1b2;
  box-shadow: 0 0 0 4px rgba(141, 241, 178, .12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 82px;
  padding: 12px clamp(22px, 5vw, 80px);
  color: white;
  background: rgba(6, 17, 31, .965);
  border-bottom: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: white;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0,0,0,.28);
}
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 1rem; letter-spacing: .13em; }
.brand small { margin-top: 7px; color: #aebdd1; font-size: .59rem; font-weight: 800; letter-spacing: .18em; }

.primary-nav { display: flex; gap: clamp(18px, 2.7vw, 42px); }
.primary-nav a { color: #dce5f1; font-size: .87rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }

.header-button {
  justify-self: end;
  padding: 11px 17px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.header-button:hover { background: rgba(255,255,255,.08); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
  min-height: 710px;
  padding: clamp(70px, 8vw, 120px) clamp(22px, 7vw, 116px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 76% 34%, rgba(220,35,56,.2), transparent 32%),
    linear-gradient(120deg, rgba(6,17,31,.99), rgba(9,28,53,.94)),
    var(--navy-950);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 0 48%, rgba(255,255,255,.025) 48% 48.2%, transparent 48.2% 100%),
    repeating-linear-gradient(35deg, transparent 0 118px, rgba(255,255,255,.018) 118px 119px);
  content: "";
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 760px; }

.eyebrow {
  margin: 0 0 14px;
  color: #f5b6be;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow-red { color: var(--red-700); }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; line-height: 1.06; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(3.7rem, 7.1vw, 7.4rem); }
h2 { margin-bottom: 16px; font-size: clamp(2.35rem, 4.4vw, 4.7rem); }
h3 { margin-bottom: 9px; font-size: 1.2rem; }

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: #d9e3ef;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.7;
}

.hero-lead em { color: white; font-family: Georgia, serif; font-style: normal; font-weight: 800; }

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--red-600); box-shadow: 0 10px 25px rgba(195,23,42,.23); }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-700); }
.button-ghost { color: white; background: transparent; border-color: rgba(255,255,255,.38); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-ghost-dark { color: var(--navy-900); background: white; border-color: #b8bec7; }
.button-dark { color: white; background: var(--navy-900); }
.button-small { min-height: 40px; padding: 9px 15px; font-size: .84rem; }

.hero-facts {
  display: grid;
  grid-template-columns: 1.35fr .72fr .82fr .9fr;
  gap: 1px;
  max-width: 740px;
  margin-top: 44px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.12);
}

.hero-facts div { display: grid; gap: 3px; padding: 15px 16px; background: rgba(6,17,31,.72); }
.hero-facts span { color: #91a6c1; font-size: .65rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-facts strong { font-family: Georgia, serif; font-size: .97rem; }

.passport-stage { position: relative; z-index: 2; min-height: 620px; }

.passport-glow {
  position: absolute;
  top: 4%;
  left: 4%;
  width: 92%;
  height: 92%;
  background: radial-gradient(circle, rgba(213,174,92,.25), transparent 64%);
  filter: blur(14px);
}

.official-booklet-preview {
  position: absolute;
  inset: 10px 0 88px;
  margin: 0;
}

.official-booklet-preview::after {
  position: absolute;
  right: 8%;
  bottom: 1%;
  width: 82%;
  height: 12%;
  background: rgba(0,0,0,.42);
  border-radius: 50%;
  filter: blur(26px);
  content: "";
  transform: rotate(2deg);
}

.official-booklet-page {
  position: absolute;
  display: block;
  width: min(355px, 64%);
  height: auto;
  background: #fff;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 5px;
  box-shadow: 18px 24px 45px rgba(0,0,0,.38);
  object-fit: contain;
}

.official-stamp-page { top: 5%; left: 0; z-index: 1; transform: rotate(-5deg); }
.official-cover-page { top: 0; right: 0; z-index: 2; transform: rotate(4deg); }
.official-booklet-preview figcaption {
  position: absolute;
  right: 3%;
  bottom: -5px;
  z-index: 3;
  max-width: 420px;
  padding: 8px 11px;
  color: #e6edf7;
  background: rgba(6,17,31,.8);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.hero-callout {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(345px, 58%);
  gap: 13px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255,253,248,.97);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.hero-callout > span { display: grid; flex: 0 0 auto; width: 30px; height: 30px; place-items: center; color: white; background: var(--red-700); border-radius: 50%; font-weight: 900; }
.hero-callout p { margin: 0; font-size: .85rem; line-height: 1.45; }
.hero-callout strong { display: block; color: var(--red-800); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }

.forms-section {
  padding: clamp(72px, 8vw, 112px) clamp(22px, 7vw, 116px);
  background:
    linear-gradient(90deg, rgba(105,9,20,.035) 1px, transparent 1px),
    linear-gradient(rgba(105,9,20,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
}
.forms-heading { display: grid; max-width: none; grid-template-columns: minmax(0, 1fr) minmax(280px, 410px); align-items: end; gap: 45px; }
.forms-heading > div:first-child { max-width: 760px; }
.forms-heading h2 { font-size: clamp(2rem, 2.7vw, 2.75rem); line-height: 1.08; }
.keep-line { display: inline-block; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.forms-status-note { display: grid; gap: 6px; padding: 18px 20px; color: var(--navy-900); background: #eef2f7; border-left: 5px solid var(--gold); }
.forms-status-note strong { font-family: Georgia, serif; font-size: 1.08rem; }
.forms-status-note span { color: #59697c; font-size: .78rem; line-height: 1.5; }
.forms-status-note a { width: max-content; margin-top: 4px; color: var(--red-700); font-size: .78rem; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.program-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.program-form-card { position: relative; display: flex; min-height: 420px; flex-direction: column; padding: 30px; overflow: hidden; background: white; border: 1px solid #d8d5cc; box-shadow: 0 16px 42px rgba(7,21,41,.08); }
.program-form-card::before { position: absolute; top: 0; right: 0; width: 92px; height: 6px; background: var(--red-600); content: ""; }
.program-form-card.register-card { color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); border-color: var(--navy-900); }
.program-form-card.register-card::before { background: var(--gold); }
.form-card-number { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 30px; color: white; background: var(--red-700); border-radius: 50%; font-family: Georgia, serif; font-weight: 900; }
.register-card .form-card-number { color: var(--navy-950); background: var(--gold); }
.form-card-kicker { margin: 0 0 8px; color: var(--red-700); font-size: .69rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.register-card .form-card-kicker { color: #f3d58b; }
.program-form-card h3 { margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.65rem; }
.program-form-card > p:not(.form-card-kicker) { margin: 0; color: var(--muted); font-size: .9rem; }
.register-card > p:not(.form-card-kicker) { color: #b9c6d7; }
.program-form-card ul { display: grid; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.program-form-card li { position: relative; padding-left: 19px; color: #445266; font-size: .76rem; }
.program-form-card li::before { position: absolute; left: 0; color: var(--red-600); font-weight: 900; content: "✓"; }
.register-card li { color: #cfdae7; }
.register-card li::before { color: var(--gold); }
.program-form-card .button { width: 100%; margin-top: auto; }

.passport-section { padding: clamp(74px, 8vw, 118px) clamp(20px, 6vw, 94px); background: #f3f0e9; }
.section-heading { max-width: 820px; }
.section-heading > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.split-heading { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 36px; }

.profile-card {
  display: grid;
  min-width: 270px;
  gap: 4px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red-700);
}

.profile-card span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.profile-card strong { font-family: Georgia, serif; font-size: 1.12rem; }
.profile-card button, .text-button { width: max-content; padding: 0; color: var(--red-700); background: none; border: 0; font-size: .82rem; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }

.progress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.progress-grid article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  min-height: 150px;
  padding: 22px;
  overflow: hidden;
  background: white;
  border: 1px solid #dedbd4;
}

.progress-grid article::after { position: absolute; right: -28px; bottom: -32px; width: 100px; height: 100px; border: 1px solid rgba(10,33,62,.08); border-radius: 50%; content: ""; }
.progress-icon { display: grid; width: 31px; height: 31px; place-items: center; color: white; background: var(--navy-800); border-radius: 50%; font-size: .85rem; font-weight: 900; }
.progress-grid article div:not(.mini-progress) { display: grid; }
.progress-grid small { color: var(--muted); font-size: .64rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.progress-grid article div > strong { font-family: Georgia, serif; font-size: 2.2rem; line-height: 1.1; }
.progress-grid p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.home-progress-card { border-top: 3px solid var(--red-700) !important; }
.mini-progress, .award-progress { grid-column: 1 / -1; height: 5px; margin-top: 4px; overflow: hidden; background: #e5e2dd; border-radius: 20px; }
.mini-progress i, .award-progress i { display: block; width: 0; height: 100%; background: var(--red-600); transition: width .35s ease; }

.passport-app { margin-top: 18px; background: white; border: 1px solid #d9d6cf; box-shadow: 0 18px 50px rgba(8,25,48,.09); }
.app-tabs { display: flex; gap: 5px; padding: 9px 9px 0; background: var(--navy-900); }
.app-tab { padding: 14px 19px; color: #bac8da; background: transparent; border: 0; border-bottom: 3px solid transparent; font-size: .84rem; font-weight: 850; }
.app-tab:hover { color: white; }
.app-tab.is-active { color: white; border-bottom-color: var(--red-500); }
.app-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 22px; border-bottom: 1px solid #e1dfda; }
.app-toolbar p { margin: 0; color: var(--muted); font-size: .82rem; }
.app-toolbar > div { display: flex; align-items: center; gap: 16px; }
.app-panel { padding: 26px; }

.preview-notice { margin-bottom: 16px; padding: 11px 14px; color: #6d4d09; background: #fff7df; border: 1px solid #ead49e; font-size: .78rem; font-weight: 700; text-align: center; }
.preview-notice button { margin-left: 10px; padding: 0; color: #6d4d09; background: none; border: 0; font-weight: 900; text-decoration: underline; }

.passport-book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1160px;
  min-height: 560px;
  margin: 0 auto;
  padding: 12px;
  background: #4e0710;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(4,17,35,.2);
}

.book-page {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  color: #183969;
  background:
    linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.75)),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(24,57,105,.035) 27px 28px),
    #faf6eb;
}

.page-left { border-radius: 6px 1px 1px 6px; box-shadow: inset -15px 0 24px rgba(70,54,30,.09); }
.page-right { border-radius: 1px 6px 6px 1px; box-shadow: inset 15px 0 24px rgba(70,54,30,.09); }
.book-page header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #7690af; text-align: center; }
.book-page header span { justify-self: start; font-size: .58rem; font-weight: 900; letter-spacing: .13em; }
.book-page header strong { font-family: Georgia, serif; font-size: .93rem; letter-spacing: .06em; }
.book-page header small { justify-self: end; font-size: .58rem; font-weight: 850; letter-spacing: .08em; }
.book-page footer { margin-top: auto; padding-top: 18px; color: #536d91; font-family: Georgia, serif; font-size: .56rem; font-weight: 800; letter-spacing: .17em; text-align: center; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 0; }

.visit-slot {
  position: relative;
  display: flex;
  min-height: 188px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px;
  border: 1px dashed #aebbc9;
  text-align: center;
}

.visit-slot.empty { color: #97a5b6; }
.visit-slot.empty span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #c1cad4; border-radius: 50%; font-family: Georgia, serif; font-size: 1.4rem; }
.visit-slot.empty strong { font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.visit-slot small { color: #566c87; font-size: .64rem; }
.chapter-stamp {
  display: grid;
  width: 128px;
  aspect-ratio: 1;
  place-content: center;
  color: #15579d;
  border: 4px double #15579d;
  border-radius: 50%;
  font-family: Impact, "Arial Narrow", sans-serif;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-4deg);
  filter: saturate(.85);
}

.chapter-stamp::before { display: block; margin-bottom: 5px; content: "AMVETS RIDERS"; font-size: .61rem; letter-spacing: .04em; }
.chapter-stamp strong { font-size: .84rem; }
.chapter-stamp em { display: block; max-width: 100px; margin: 4px auto; font-family: Arial, sans-serif; font-size: .57rem; font-style: normal; font-weight: 900; }
.chapter-stamp::after { display: block; margin-top: 4px; content: "PASSPORT STOP"; font-size: .54rem; letter-spacing: .06em; }

.chapter-signature { width: 100%; padding: 14px 4px 5px; color: #194f8c; border-bottom: 1px solid #42658e; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 1.15rem; font-style: italic; transform: rotate(-3deg); }
.signature-label { color: #455e7a; font-size: .58rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.bonus-ticket-mark { position: absolute; top: 6px; right: 6px; padding: 4px 6px; color: #785500; background: #ffe18d; border: 1px solid #c79f35; font-size: .48rem; font-weight: 950; letter-spacing: .05em; text-transform: uppercase; transform: rotate(3deg); }

.book-actions { display: flex; max-width: 1160px; align-items: center; justify-content: space-between; gap: 20px; margin: 18px auto 0; }
.book-actions p { margin: 0; color: var(--muted); font-size: .77rem; }

.visit-history { display: grid; gap: 8px; max-width: 1160px; margin: 22px auto 0; }
.empty-history { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; color: var(--muted); background: #f4f3ef; border: 1px dashed #cbc9c4; font-size: .82rem; }
.empty-history strong { color: var(--ink); }
.history-row { display: grid; grid-template-columns: 55px 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; background: #f7f6f2; border: 1px solid #e2e0da; }
.history-state { display: grid; width: 45px; height: 45px; place-items: center; color: white; background: var(--navy-800); font-weight: 900; }
.history-row h4 { margin: 0; font-size: .91rem; }
.history-row p { margin: 2px 0 0; color: var(--muted); font-size: .7rem; }
.history-miles { color: var(--navy-800); font-size: .76rem; font-weight: 850; }
.history-delete { width: 31px; height: 31px; color: #7c2f37; background: white; border: 1px solid #d9c9cb; border-radius: 50%; font-weight: 900; }

.directory-tools { display: flex; gap: 10px; margin-bottom: 14px; }
.directory-tools label:first-child { flex: 1; }
.directory-tools input, .directory-tools select { width: 100%; min-height: 46px; padding: 10px 13px; color: var(--ink); background: white; border: 1px solid #bfc3c8; border-radius: 3px; }
.directory-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; color: #445164; background: #eef3f8; border: 1px solid #ccd8e6; }
.directory-note > span { display: grid; width: 23px; height: 23px; place-items: center; color: white; background: var(--navy-700); border-radius: 50%; font-family: Georgia, serif; font-weight: 900; }
.directory-note p { margin: 0; font-size: .75rem; }
.directory-note a { color: var(--navy-700); font-size: .75rem; font-weight: 850; }
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.state-card { position: relative; display: grid; min-height: 136px; gap: 5px; padding: 18px; background: white; border: 1px solid #dddcd7; }
.state-card:hover { border-color: #9ba9b9; box-shadow: 0 9px 24px rgba(9,28,53,.08); }
.state-card .state-code { position: absolute; top: 13px; right: 14px; color: #d1d6dc; font-family: Georgia, serif; font-size: 2rem; font-weight: 900; }
.state-card strong { max-width: 75%; font-family: Georgia, serif; font-size: 1.05rem; }
.state-card p { margin: 0; color: var(--muted); font-size: .74rem; }
.state-card footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; }
.state-card footer span { color: var(--red-700); font-size: .65rem; font-weight: 850; }
.state-card button { padding: 5px 8px; color: var(--navy-800); background: white; border: 1px solid #bec6d0; font-size: .63rem; font-weight: 850; }
.state-card.is-visited { border-top: 3px solid var(--red-600); }
.state-card.is-empty { opacity: .72; }

.achievement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.achievement-grid article { position: relative; min-height: 275px; padding: 24px; overflow: hidden; background: #f6f4ee; border: 1px solid #dfddd7; }
.award-mark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 35px; color: white; background: var(--navy-800); border-radius: 50%; font-family: Georgia, serif; font-weight: 900; }
.achievement-grid h3 { font-family: Georgia, serif; font-size: 1.45rem; }
.achievement-grid article > p { color: var(--muted); font-size: .82rem; }
.achievement-grid article > strong { display: block; margin-top: 20px; color: var(--navy-800); font-size: .72rem; }
.award-progress { margin-top: 24px; }
.grand-award { color: white; background: linear-gradient(145deg, var(--red-800), var(--red-900)) !important; border: 0 !important; }
.grand-award .award-mark { color: var(--red-900); background: var(--gold); }
.grand-award .eyebrow { color: #f0d69d; }
.grand-award p { color: #f3dce0 !important; }
.grand-award > strong { color: white !important; }

.submission-route { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 12px; padding: 28px; color: var(--ink); background: #e9edf2; border-left: 5px solid var(--navy-800); }
.submission-route h3 { margin-bottom: 6px; font-family: Georgia, serif; font-size: 1.45rem; }
.submission-route div > p:last-child { max-width: 750px; margin: 0; color: var(--muted); font-size: .8rem; }

.program-section { padding: clamp(78px, 8vw, 120px) clamp(22px, 7vw, 116px); color: white; background: var(--navy-950); }
.program-section .section-heading > p:last-child { color: #b8c5d6; }
.order-register-banner { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 40px; padding: 27px 30px; color: var(--navy-950); background: linear-gradient(135deg, #f6df9e, #d8ae51); border-left: 6px solid var(--red-600); }
.order-register-banner .eyebrow { margin-bottom: 8px; color: var(--red-800); }
.order-register-banner h3 { margin-bottom: 7px; font-family: Georgia, serif; font-size: 1.55rem; }
.order-register-banner div > p:last-child { max-width: 820px; margin: 0; font-size: .82rem; }
.order-register-button { flex: 0 0 auto; color: white; background: var(--navy-900); border-color: var(--navy-900); text-align: center; }
.rules-form-links { display: flex; flex: 0 0 auto; gap: 8px; }
.rules-form-links .button { min-width: 94px; }
.rules-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: clamp(50px, 8vw, 120px); margin-top: 34px; }
.rules-list { border-top: 1px solid rgba(255,255,255,.14); }
.rules-list article { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.rules-list article > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--gold); border: 1px solid rgba(213,174,92,.52); border-radius: 50%; font-family: Georgia, serif; }
.rules-list h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 1.28rem; }
.rules-list p { margin: 0; color: #afbdd0; font-size: .88rem; }
.prize-card { align-self: start; padding: 34px; background: linear-gradient(145deg, var(--red-700), #720b17); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 55px rgba(0,0,0,.25); }
.achievements-card > h3 { margin: 0 0 22px; font-family: Georgia, serif; font-size: 1.7rem; }
.achievement-award-list { display: grid; border-top: 1px solid rgba(255,255,255,.22); }
.achievement-award-list article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.achievement-award-number { display: grid; width: 34px; height: 34px; place-items: center; color: var(--red-900); background: #f1d58f; border-radius: 50%; font-family: Georgia, serif; font-size: .72rem; font-weight: 900; }
.achievement-award-list h4 { margin: 0 0 4px; color: white; font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.2; }
.achievement-award-list p { margin: 0 0 7px; color: #f2dce0; font-size: .72rem; line-height: 1.45; }
.achievement-award-list strong { display: block; color: #f6d982; font-size: .62rem; letter-spacing: .055em; line-height: 1.45; }
.top-rider-award { margin: 11px -15px 0; padding: 18px 15px !important; background: rgba(4,18,38,.3); border: 1px solid rgba(246,217,130,.42) !important; }
.top-rider-award .achievement-award-number { color: var(--red-900); background: #f5d06f; }
.bonus-award-note { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 13px; color: var(--navy-900); background: linear-gradient(135deg, #f4d88e, #d8af54); border-radius: 5px; }
.bonus-award-note > span { display: grid; width: 47px; height: 47px; flex: 0 0 auto; place-items: center; color: white; background: var(--navy-900); border-radius: 50%; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 900; }
.bonus-award-note p { margin: 0; font-size: .7rem; line-height: 1.4; }
.bonus-award-note strong { display: block; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.program-window { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 20px; margin-top: 65px; padding: 22px 26px; border: 1px solid rgba(255,255,255,.16); }
.program-window div { display: grid; }
.program-window div:last-child { text-align: right; }
.program-window span { color: var(--gold); font-size: .59rem; font-weight: 900; letter-spacing: .16em; }
.program-window strong { font-family: Georgia, serif; font-size: 1.05rem; }
.program-window i { height: 1px; background: rgba(255,255,255,.22); }
.program-window p { margin: 0; color: #9daec4; font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-align: center; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 28px clamp(22px, 7vw, 116px); color: #98a9bf; background: #030a13; border-top: 1px solid #18283b; }
.site-footer div { display: grid; min-width: max-content; }
.site-footer strong { color: white; font-size: .83rem; letter-spacing: .15em; }
.site-footer span { margin-top: 4px; font-size: .56rem; font-weight: 800; letter-spacing: .13em; }
.site-footer p { max-width: 700px; margin: 0; font-size: .68rem; text-align: right; }

.modal { width: min(720px, calc(100% - 28px)); max-height: 90vh; padding: 0; overflow: visible; color: var(--ink); background: transparent; border: 0; }
.modal-wide { width: min(860px, calc(100% - 28px)); }
.modal::backdrop { background: rgba(2,9,17,.78); backdrop-filter: blur(5px); }
.modal-card { max-height: 90vh; padding: 30px; overflow: auto; background: var(--paper); border-top: 5px solid var(--red-700); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.modal-card-small { max-width: 580px; margin: 0 auto; }
.modal-heading { display: flex; justify-content: space-between; gap: 20px; }
.modal-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 5vw, 3rem); }
.close-button { width: 38px; height: 38px; flex: 0 0 auto; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.modal-intro { margin: 12px 0 24px; color: var(--muted); font-size: .84rem; }
.form-stage-note { margin: -6px 0 22px; padding: 13px 15px; color: #4e5e73; background: #eef2f7; border-left: 4px solid var(--gold); font-size: .76rem; line-height: 1.5; }
.form-stage-note strong { color: var(--navy-900); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid > label, .stacked-label { display: grid; gap: 7px; color: #2e3744; font-size: .75rem; font-weight: 850; }
.form-grid label > span, .verification-field legend span { color: var(--red-700); }
.form-grid input, .form-grid select, .stacked-label select { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #b8bdc3; border-radius: 3px; }
.form-grid input:focus, .form-grid select:focus, .stacked-label select:focus { outline: 3px solid rgba(30,71,119,.15); border-color: var(--navy-700); }
.full-width { grid-column: 1 / -1; }
.verification-field { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; margin: 0; padding: 0; border: 0; }
.verification-field legend { grid-column: 1 / -1; margin-bottom: 7px; color: #2e3744; font-size: .75rem; font-weight: 850; }
.verification-field label { display: flex; min-height: 45px; align-items: center; gap: 8px; padding: 10px; background: white; border: 1px solid #b8bdc3; font-size: .72rem; font-weight: 750; }
.verification-field input, .bonus-check input, .route-field input { width: 17px; height: 17px; accent-color: var(--red-700); }
.bonus-check { display: flex !important; align-items: start; gap: 10px !important; padding: 12px; background: #fff7dd; border: 1px solid #ead393; }
.bonus-check > span { display: grid; gap: 2px; color: var(--ink) !important; }
.bonus-check small { color: #786535; font-weight: 600; }
.confirmation-check { display: flex !important; align-items: center; gap: 10px !important; padding: 12px; background: #fff7dd; border: 1px solid #ead393; }
.confirmation-check input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--red-700); }
.confirmation-check span { color: var(--ink) !important; }
.product-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.product-choice legend { margin-bottom: 9px; color: #2e3744; font-size: .76rem; font-weight: 850; }
.product-choice label { display: flex; min-height: 74px; align-items: center; gap: 10px; padding: 13px; background: white; border: 1px solid #b8bdc3; cursor: pointer; }
.product-choice label:has(input:checked) { background: #fff5e2; border-color: var(--red-700); box-shadow: inset 0 0 0 1px var(--red-700); }
.product-choice input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--red-700); }
.product-choice span { display: grid; gap: 2px; }
.product-choice strong { font-size: .78rem; }
.product-choice small { color: var(--muted); font-size: .68rem; }
.form-subheading { margin: 9px 0 -3px; padding-top: 18px; border-top: 1px solid var(--line); font-family: Georgia, serif; font-size: 1.2rem; }
.order-total { display: grid; align-content: center; padding: 10px 14px; color: white; background: var(--navy-900); }
.order-total span { color: #aebdd1; font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.order-total strong { font-family: Georgia, serif; font-size: 1.55rem; }
.delivery-fields { margin-top: 18px; padding: 20px; background: #f0ede5; border: 1px solid #d8d1c3; }
.delivery-fields > h3 { margin-bottom: 16px; font-family: Georgia, serif; font-size: 1.3rem; }
.saved-form-status { min-height: 24px; margin: 16px 0 -10px; color: #116035; font-size: .78rem; font-weight: 800; }
.route-field { display: grid; gap: 9px; margin: 20px 0 0; padding: 16px; border: 1px solid var(--line); }
.route-field legend { padding: 0 7px; font-family: Georgia, serif; font-size: 1rem; font-weight: 700; }
.route-field label { display: flex; align-items: center; gap: 9px; padding: 11px; background: white; border: 1px solid #dad8d1; font-size: .78rem; font-weight: 700; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; max-width: 390px; padding: 14px 17px; color: white; background: var(--navy-900); border-left: 4px solid var(--red-500); box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(20px); transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr 440px; gap: 35px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { grid-template-columns: 1fr auto; }
  .progress-grid { grid-template-columns: 1fr 1fr; }
  .state-grid, .achievement-grid { grid-template-columns: 1fr 1fr; }
  .program-form-grid { grid-template-columns: 1fr 1fr; }
  .program-form-card.register-card { grid-column: 1 / -1; min-height: 330px; }
}

@media (max-width: 820px) {
  .privacy-ribbon span:last-child { display: none; }
  .site-header { min-height: 70px; padding: 10px 18px; }
  .header-button { display: none; }
  .brand small { display: none; }
  .brand-logo { width: 46px; height: 46px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 64px 22px 80px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.8rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .passport-stage { min-height: 600px; }
  .official-booklet-preview { inset: 6px 5% 90px; }
  .official-booklet-page { width: min(360px, 61%); }
  .split-heading { align-items: stretch; flex-direction: column; }
  .profile-card { min-width: 0; }
  .app-toolbar { align-items: start; flex-direction: column; }
  .passport-book { grid-template-columns: 1fr; }
  .book-page { min-height: 520px; }
  .page-left, .page-right { border-radius: 4px; box-shadow: none; }
  .rules-layout { grid-template-columns: 1fr; }
  .order-register-banner { align-items: stretch; flex-direction: column; }
  .order-register-button { width: 100%; }
  .rules-form-links { width: 100%; }
  .rules-form-links .button { min-width: 0; flex: 1; }
  .forms-heading { grid-template-columns: 1fr; align-items: stretch; gap: 25px; }
  .program-window { grid-template-columns: 1fr; text-align: center; }
  .program-window i { width: 1px; height: 18px; margin: auto; }
  .program-window div:last-child { text-align: center; }
  .site-footer { align-items: start; flex-direction: column; }
  .site-footer p { text-align: left; }
}

@media (max-width: 590px) {
  .hero-facts div { grid-template-columns: 1fr; }
  .passport-stage { min-height: 500px; }
  .official-booklet-preview { inset: 8px 0 105px; }
  .official-booklet-page { width: 61%; }
  .official-stamp-page { top: 5%; left: 1%; transform: rotate(-4deg); }
  .official-cover-page { right: 1%; transform: rotate(3deg); }
  .official-booklet-preview figcaption { right: 4%; bottom: -3px; max-width: 92%; font-size: .59rem; }
  .hero-callout { width: 92%; }
  .progress-grid, .state-grid, .achievement-grid { grid-template-columns: 1fr; }
  .progress-grid article { min-height: 130px; }
  .app-tabs { overflow-x: auto; }
  .app-tab { flex: 0 0 auto; padding: 13px; }
  .app-toolbar > div { width: 100%; justify-content: space-between; }
  .app-panel { padding: 14px; }
  .book-page { padding: 20px 14px; }
  .visit-grid { gap: 10px; }
  .visit-slot { min-height: 164px; padding: 8px; }
  .chapter-stamp { width: 104px; }
  .book-actions { align-items: start; flex-direction: column; }
  .history-row { grid-template-columns: 46px 1fr auto; }
  .history-miles { grid-column: 2; }
  .directory-tools { flex-direction: column; }
  .directory-note { grid-template-columns: auto 1fr; }
  .directory-note a { grid-column: 2; }
  .submission-route { align-items: start; flex-direction: column; }
  .program-form-grid { grid-template-columns: 1fr; }
  .program-form-card.register-card { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .verification-field { grid-template-columns: 1fr; }
  .product-choice { grid-template-columns: 1fr; }
  .rules-form-links { flex-direction: column; }
  .modal-card { padding: 23px 18px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}

@media print {
  .privacy-ribbon, .site-header, .hero, .app-tabs, .app-toolbar, .book-actions, .directory-note, .site-footer, .modal, .toast { display: none !important; }
  body { background: white; }
  .passport-section { padding: 0; background: white; }
  .section-heading, .progress-grid, .passport-app { break-inside: avoid; }
  .passport-app { border: 0; box-shadow: none; }
  .app-panel { padding: 0; }
  .passport-book { min-height: 620px; box-shadow: none; }
}
