:root {
  --purple: #752686;
  --purple-dark: #4f155e;
  --purple-soft: #f4eaf7;
  --red: #c8102e;
  --red-dark: #981126;
  --navy: #10253f;
  --navy-2: #173654;
  --ink: #182230;
  --muted: #657181;
  --line: #d9dee5;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --cream: #fbfaf6;
  --green: #19754a;
  --amber: #9a6200;
  --danger: #a61b2b;
  --shadow: 0 20px 55px rgba(15, 31, 52, .12);
  --shadow-sm: 0 8px 24px rgba(15, 31, 52, .10);
  --radius: 18px;
  --radius-sm: 10px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
input, select, textarea { color: var(--ink); }
textarea { resize: vertical; }
:focus-visible { outline: 3px solid rgba(117, 38, 134, .35); outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 .65rem; color: var(--navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
small { color: var(--muted); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.shell.narrow { max-width: 800px; }
.shell.narrow-wide { max-width: 980px; }
.section { padding: 90px 0; }
.section-light { background: var(--surface); }
.section-dark { color: #edf3f8; background: var(--navy); }
.section-dark h2, .section-dark h3 { color: white; }
.lead { font-size: 1.2rem; line-height: 1.7; color: #3d4a58; }
.centered { text-align: center; }
.muted { color: var(--muted); }
.small-text { font-size: .88rem; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  padding: 10px 16px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: white;
  background: rgba(13, 29, 49, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.header-brand-group { display: flex; min-width: 0; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; }
.brand:hover { color: white; }
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.2));
}
.brand strong { display: block; font-size: 1.05rem; line-height: 1; }
.brand small { display: block; margin-top: 3px; color: #cbd5df; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.header-partners { display: flex; align-items: center; gap: 8px; padding: 7px 9px 7px 16px; border-left: 1px solid rgba(255,255,255,.2); border-radius: 9px; }
.header-presented { max-width: 58px; color: #bfcddb; font-size: .59rem; font-weight: 850; letter-spacing: .08em; line-height: 1.2; text-align: right; text-transform: uppercase; }
.header-partner-logo { display: grid; width: 56px; height: 42px; place-items: center; padding: 4px; overflow: hidden; background: white; border: 1px solid rgba(255,255,255,.7); border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.22); }
.header-partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.flat-rock-logo-frame { background: linear-gradient(145deg, #edf5fb, #f9f5fb); border-color: rgba(187, 205, 220, .95); }
.flat-rock-logo-frame img { transform: scale(1.24); filter: saturate(1.06) contrast(1.03); }
.header-partner-divider { color: #d9b3df; font-size: .8rem; font-weight: 900; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav > a { color: #e9eff5; text-decoration: none; font-size: .92rem; font-weight: 700; }
.site-nav > a:hover { color: white; }
.site-nav .button { color: white; }
.nav-toggle { display: none; padding: 8px 12px; color: white; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; }

/* Buttons */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 8px 25px rgba(200, 16, 46, .25); }
.button-primary:hover { color: white; box-shadow: 0 11px 30px rgba(200, 16, 46, .32); }
.button-danger { color: white; background: #8f1423; border-color: #70101c; box-shadow: 0 8px 24px rgba(143, 20, 35, .22); }
.button-danger:hover { color: white; background: #70101c; box-shadow: 0 11px 28px rgba(112, 16, 28, .3); }
.button-secondary { color: var(--navy); background: white; border-color: #cfd7df; }
.button-secondary:hover { color: var(--navy); border-color: var(--navy); }
.button-ghost { color: white; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .45); }
.button-ghost:hover { color: white; background: rgba(255, 255, 255, .16); }
.button-text { color: var(--purple); background: transparent; }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { color: white; background: var(--navy-2); }
.button-light { color: var(--navy); background: white; }
.button-light:hover { color: var(--navy); }
.button-small { min-height: 39px; padding: 8px 16px; font-size: .88rem; }
.button-large { min-height: 56px; padding-inline: 28px; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.centered-row { justify-content: center; }
.compact-buttons .button { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.text-link { font-weight: 800; }
.back-link { display: inline-block; margin-bottom: 12px; font-weight: 800; text-decoration: none; }

/* Public home */
.hero { position: relative; min-height: 720px; display: grid; align-items: center; color: white; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; background: url('/static/images/gallery/1411.jpg') center 58% / cover no-repeat; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 19, 35, .95) 0%, rgba(8, 23, 42, .81) 45%, rgba(8, 23, 42, .22) 78%), linear-gradient(0deg, rgba(7, 19, 35, .55), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-block: 100px; }
.eyebrow { margin-bottom: 14px; color: #e4c8ea; font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.purple { color: var(--purple); }
.hero h1 { max-width: 780px; color: white; font-size: clamp(3.5rem, 8.5vw, 7.4rem); text-transform: uppercase; letter-spacing: -.055em; }
.hero h1 span { color: #f1c5f3; font-size: .54em; letter-spacing: -.025em; }
.hero-lead { max-width: 700px; margin-bottom: 22px; color: #edf3f9; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.hero-facts span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .86rem; font-weight: 800; }
.hero-note { max-width: 720px; margin: 20px 0 0; color: #d6e1eb; font-size: .88rem; }
.announcement-strip { background: var(--purple); color: white; }
.announcement-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.announcement-grid div { padding: 22px; border-right: 1px solid rgba(255,255,255,.22); }
.announcement-grid div:last-child { border: 0; }
.announcement-grid strong, .announcement-grid span { display: block; }
.announcement-grid strong { color: #e9c9ef; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.announcement-grid span { margin-top: 4px; font-weight: 800; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: 70px; align-items: start; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.principle-grid article { padding-top: 18px; border-top: 3px solid var(--purple); }
.principle-grid article span { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.principle-grid article h3 { margin-top: 5px; }
.principle-grid article p { margin: 0; color: var(--muted); font-size: .92rem; }
.quote-card { position: sticky; top: 105px; padding: 38px; color: white; background: linear-gradient(145deg, var(--navy), #1d3d61); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0; color: white; font-family: Georgia, serif; font-size: 1.75rem; line-height: 1.38; }
.quote-card p { margin: 22px 0 0; color: #d3dfe9; font-weight: 800; }
.quote-mark { height: 52px; color: #dd9ee8; font: 70px/1 Georgia, serif; }
.partnership-section { background: var(--cream); }
.partner-intro { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.partner-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 42px; }
.partner-profile { overflow: hidden; background: white; border-radius: 22px; box-shadow: var(--shadow); }
.partner-profile.deal-profile { border-top: 7px solid var(--red); }
.partner-profile.church-profile { border-top: 7px solid var(--purple); }
.partner-visual { display: grid; min-height: 176px; place-items: center; padding: 22px; background: linear-gradient(145deg, #f3f7fb, white); }
.partner-visual.white { background: white; }
.partner-visual img { width: min(320px, 78%); max-height: 138px; object-fit: contain; }
.partner-visual.flat-rock-logo-frame { margin: 16px; min-height: 144px; padding: 8px; border: 1px solid #cddae5; border-radius: 16px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.72), 0 8px 22px rgba(16,43,70,.08); }
.partner-visual.flat-rock-logo-frame img { width: min(390px, 92%); max-height: 150px; transform: scale(1.18); }
.church-logo-pair { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 176px; background: linear-gradient(145deg, #f3f7fb, white); }
.church-logo-pair .partner-visual { min-height: 176px; padding: 18px; background: transparent; }
.church-logo-pair .come-see { padding-left: 0; }
.church-logo-pair .come-see img { width: 140px; max-height: 140px; border-radius: 50%; box-shadow: 0 10px 25px rgba(22, 27, 47, .22); }
.partner-profile-body { padding: 30px; }
.partner-profile-body > p { color: #566372; }
.partner-kicker, .mini-label { margin: 0 0 5px; color: var(--purple); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.deal-profile .partner-kicker { color: var(--red); }
.partner-profile-body h3 { font-size: 1.65rem; }
.partner-address { padding: 12px 0 0; color: var(--navy) !important; border-top: 1px solid var(--line); font-weight: 800; }
.partner-phone { display: inline-block; margin-top: 5px; color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.deal-profile .partner-phone { color: var(--red-dark); }
.partner-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 20px; }
.partner-link-grid a { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 12px; color: var(--navy); background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.partner-link-grid a:hover { color: var(--purple); background: white; border-color: #bd91c5; box-shadow: var(--shadow-sm); }
.partner-link-grid span:last-child { min-width: 0; }
.partner-link-grid strong, .partner-link-grid small { display: block; }
.partner-link-grid strong { font-size: .82rem; }
.partner-link-grid small { margin-top: 1px; font-size: .65rem; line-height: 1.25; }
.social-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; color: white; background: var(--navy); border-radius: 8px; font-size: .84rem; font-weight: 900; }
.social-facebook { background: #1877f2; font-family: Arial, sans-serif; font-size: 1.2rem; }
.social-linkedin { background: #0a66c2; border-radius: 6px; font-family: Arial, sans-serif; }
.social-youtube { background: #ff0033; font-size: .72rem; }
.social-instagram { background: linear-gradient(145deg, #6a36b8, #d62976 55%, #f4a949); font-size: 1.2rem; }
.social-tiktok { color: white; background: #090909; font-size: 1.05rem; text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55; }
.social-x { background: #090909; font-family: Arial, sans-serif; }
.game-teaser { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 24px; padding: 20px; color: white; background: linear-gradient(135deg, var(--red-dark), var(--navy)); border-radius: 13px; }
.game-teaser .mini-label { color: #ffd3d9; }
.game-teaser h4 { margin: 0 0 4px; color: white; font-size: 1.15rem; }
.game-teaser p { margin: 0; color: #dfe9f2; font-size: .82rem; }
.game-teaser .button { min-width: 155px; border-color: rgba(255,255,255,.35); }
.service-callout { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin: 18px 0; padding: 15px; color: white; background: var(--purple); border-radius: 11px; }
.service-callout span { align-self: end; color: #efdaf2; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-callout strong { grid-row: span 2; align-self: center; font-size: 1.45rem; }
.service-callout small { color: white; line-height: 1.3; }
.pastor-feature { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; margin-top: 26px; padding: 28px 32px; background: white; border: 1px solid #e1d3e4; border-radius: 18px; box-shadow: var(--shadow-sm); }
.pastor-mark { display: grid; width: 82px; height: 82px; place-items: center; color: white; background: linear-gradient(145deg, var(--purple), var(--navy)); border: 5px solid #f1e4f3; border-radius: 50%; font-size: 1.5rem; font-weight: 900; }
.pastor-feature h3 { font-size: 1.45rem; }
.pastor-feature p:last-child { margin: 0; color: var(--muted); }
.pastor-links { display: grid; min-width: 360px; grid-template-columns: 1fr 1fr; gap: 8px; }
.pastor-links a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 13px; color: var(--navy); background: #f6f8fa; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.pastor-links a > span:not(.social-icon) { color: var(--muted); font-size: .72rem; }
.pastor-links strong { font-size: .82rem; }
.pastor-links small { display: block; margin-top: 2px; color: var(--muted); font-size: .66rem; line-height: 1.25; }
.pastor-links .pastor-daily-link, .pastor-links .pastor-bio-link { grid-column: 1 / -1; }
.pastor-links .pastor-daily-link { justify-content: flex-start; background: #fff5f5; border-color: #f1c7ce; }
.service-invite { padding: 36px 0; color: white; background: radial-gradient(circle at 15% 20%, #74338a, transparent 38%), linear-gradient(110deg, #101b37, #36165a 70%, #8a2c62); }
.service-invite-inner { display: grid; grid-template-columns: 110px 1fr auto; gap: 26px; align-items: center; }
.service-invite img { width: 105px; height: 105px; object-fit: cover; border: 4px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.service-invite h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.service-invite p { margin-bottom: 0; color: #e6ddec; }
.service-invite .eyebrow { margin-bottom: 5px; color: #dfb6e8; }
.event-service-note { padding: 14px 16px; background: var(--purple-soft); border-left: 4px solid var(--purple); border-radius: 7px; }
.question-callout-section { padding-top: 0; background: var(--surface); }
.question-callout { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 40px 44px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.question-callout p:last-child { margin: 0; color: var(--muted); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.partner-card { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 30px; background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.partner-card.deal-card { border-top: 6px solid var(--red); }
.partner-card.church-card { border-top: 6px solid var(--purple); }
.partner-logo { display: grid; min-height: 130px; place-items: center; padding: 14px; overflow: hidden; background: #eef5fb; border-radius: 13px; }
.partner-logo.white { background: white; border: 1px solid var(--line); }
.partner-logo img { max-height: 115px; object-fit: contain; }
.partner-card p:last-child { margin-bottom: 0; font-size: .9rem; }
.section-heading-row { display: grid; grid-template-columns: 1.4fr .75fr; gap: 55px; align-items: end; margin-bottom: 35px; }
.section-heading-row > p { color: #c6d3de; }
.vehicle-spec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 18px; }
.vehicle-spec-grid article { min-width: 0; padding: 17px 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; }
.vehicle-spec-grid strong, .vehicle-spec-grid span, .vehicle-spec-grid small { display: block; }
.vehicle-spec-grid strong { color: #e3b5eb; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.vehicle-spec-grid span { margin-top: 7px; color: white; font-weight: 850; }
.vehicle-spec-grid small { margin-top: 5px; color: #c6d3de; line-height: 1.35; }
.vehicle-disclosure { max-width: 940px; margin: 0 0 30px; color: #c6d3de; font-size: .9rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card { position: relative; min-width: 0; padding: 0; overflow: hidden; color: white; background: #0a1b2d; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; text-align: left; }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.gallery-card span { position: absolute; inset: auto 0 0; padding: 30px 13px 11px; background: linear-gradient(transparent, rgba(5,14,25,.92)); font-size: .8rem; font-weight: 800; }
.gallery-card:hover img { transform: scale(1.045); }
.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(3, 10, 18, .92); }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 95vw); max-height: 90vh; margin: 0; color: white; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 25px 70px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 10px; text-align: center; font-weight: 700; }
.lightbox-close { position: fixed; top: 18px; right: 24px; width: 46px; height: 46px; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 2rem; line-height: 1; }
.anthem-section { background: linear-gradient(135deg, #f9eefb, #fff 55%, #f7f8fa); }
.audio-card { display: grid; grid-template-columns: 1.3fr .8fr; gap: 60px; align-items: center; padding: 45px; background: white; border-left: 8px solid var(--purple); border-radius: var(--radius); box-shadow: var(--shadow); }
.audio-card audio { width: 100%; }
.event-section { background: white; }
.event-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; }
.event-date-card { display: grid; aspect-ratio: 1; place-items: center; align-content: center; color: white; background: linear-gradient(145deg, var(--purple), var(--purple-dark)); border-radius: 50%; box-shadow: var(--shadow); text-align: center; }
.event-date-card span, .event-date-card small { font-weight: 900; letter-spacing: .17em; }
.event-date-card strong { margin: -2px 0; font-size: 6rem; line-height: 1; }
.application-callout { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 42px; background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.application-actions { display: grid; gap: 12px; justify-items: center; }
.faq-list { margin-top: 35px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; padding: 22px 44px 22px 0; color: var(--navy); font-size: 1.05rem; font-weight: 850; cursor: pointer; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 5px; top: 15px; color: var(--purple); font-size: 1.8rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 40px 22px 0; color: var(--muted); }

/* General page hero */
.page-hero { padding: 78px 0; color: white; background: linear-gradient(135deg, var(--navy), #1c4268); }
.page-hero.compact { padding: 66px 0; }
.page-hero h1 { color: white; }
.page-hero p { max-width: 760px; color: #deebf5; font-size: 1.1rem; }
.page-hero .hero-disclosure { max-width: 930px; margin-top: 25px; padding: 18px 20px; color: white; background: rgba(255,255,255,.1); border-left: 4px solid #d6a3e0; border-radius: 7px; font-size: .94rem; }
.prose h2 { margin-top: 35px; font-size: 1.55rem; }
.prose p { color: #475563; }

/* Application form */
.application-page { background: var(--surface); }
.application-hero { padding-bottom: 110px; }
.application-shell { position: relative; margin-top: -64px; padding-bottom: 100px; }
.application-toolbar { display: flex; justify-content: space-between; gap: 20px; padding: 16px 22px; background: var(--purple); color: white; border-radius: 12px 12px 0 0; }
.application-toolbar a { color: white; font-weight: 800; }
.privacy-banner { margin-bottom: 24px; padding: 18px 22px; background: #fffaf0; border: 1px solid #efd494; border-left: 5px solid #c48600; }
.form-alert { margin: 18px 0; padding: 17px 20px; border-radius: 9px; }
.form-alert.error { color: #7d1723; background: #fff0f2; border: 1px solid #efb1ba; }
.form-alert.success { color: #075b38; background: #e8f7ef; border: 1px solid #a8ddc0; }
.form-alert ul { margin-bottom: 0; }
.form-progress { padding: 25px 28px 18px; background: white; border-bottom: 1px solid var(--line); }
.progress-track { height: 7px; overflow: hidden; background: #e4e9ef; border-radius: 999px; }
.progress-track span { display: block; width: 14.285%; height: 100%; background: linear-gradient(90deg, var(--purple), var(--red)); transition: width .25s ease; }
#step-indicators { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 18px 0 0; padding: 0; list-style: none; }
#step-indicators li { color: #83909d; font-size: .72rem; font-weight: 800; text-align: center; }
#step-indicators li span { display: grid; width: 28px; height: 28px; margin: 0 auto 4px; place-items: center; background: #e8edf1; border-radius: 50%; }
#step-indicators li.active, #step-indicators li.complete { color: var(--purple); }
#step-indicators li.active span, #step-indicators li.complete span { color: white; background: var(--purple); }
#drive-hope-application { background: white; border-radius: 0 0 15px 15px; box-shadow: var(--shadow); }
.form-step { display: none; padding: 38px 42px 20px; }
.form-step.active { display: block; }
.form-section-heading { display: grid; grid-template-columns: 52px 1fr; gap: 17px; align-items: start; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-section-heading > span { display: grid; width: 48px; height: 48px; place-items: center; color: white; background: var(--purple); border-radius: 50%; font-size: 1.25rem; font-weight: 900; }
.form-section-heading h2 { font-size: 1.75rem; }
.form-section-heading p { margin: 0; color: var(--muted); }
.field-grid { display: grid; gap: 18px; margin-bottom: 22px; }
.field-grid.two-col { grid-template-columns: 1fr 1fr; }
.field-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.field-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; margin-bottom: 20px; }
.field > span { color: var(--navy); font-size: .9rem; font-weight: 850; }
.field > span b, legend b { color: var(--red); }
.field small { display: block; margin-top: -2px; font-size: .8rem; }
.field input, .field select, .field textarea, .inline-form select, .filter-bar input, .filter-bar select, .score-fields input {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  background: white;
  border: 1px solid #bfc8d2;
  border-radius: 8px;
}
.field textarea { min-height: 120px; line-height: 1.55; }
.field.narrative textarea { min-height: 180px; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form select:focus, .filter-bar input:focus, .filter-bar select:focus, .score-fields input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(117,38,134,.13); outline: 0; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--danger); background: #fff8f8; }
.choice-group, .question-card, .final-check { margin: 20px 0 25px; padding: 0; border: 0; }
.choice-group legend, .question-card legend, .final-check legend { margin-bottom: 10px; color: var(--navy); font-weight: 850; }
.choice-row, .choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-grid.two-col { display: grid; grid-template-columns: 1fr 1fr; }
.choice-grid.one-col { display: grid; grid-template-columns: 1fr; }
.choice { position: relative; display: flex; min-height: 45px; align-items: center; gap: 9px; padding: 10px 13px; background: #f8fafb; border: 1px solid #d7dde4; border-radius: 8px; cursor: pointer; }
.choice:hover { border-color: var(--purple); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--purple); flex: 0 0 auto; }
.choice span { font-size: .9rem; }
.question-card { padding: 17px; background: #f7f4f9; border-left: 4px solid var(--purple); border-radius: 8px; }
.question-card .field-help { margin: -6px 0 10px; color: var(--muted); font-size: .82rem; }
.question-card .choice { min-width: 93px; background: white; }
.subsection-title { margin: 30px 0 15px; font-size: 1.22rem; }
.form-table { width: 100%; margin: 10px 0 25px; border-collapse: collapse; }
.form-table th { padding: 10px; color: white; background: var(--navy); font-size: .78rem; text-align: left; }
.form-table td { padding: 7px; border: 1px solid var(--line); }
.form-table input, .form-table select { width: 100%; min-height: 40px; padding: 7px; border: 1px solid #cbd2d9; border-radius: 5px; }
.money-table { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.money-card { padding: 18px; background: #f8fafb; border: 1px solid var(--line); border-radius: 10px; }
.money-card h3 { font-size: 1.08rem; }
.money-row { display: grid; grid-template-columns: 1fr 135px; gap: 12px; align-items: center; margin-bottom: 10px; }
.money-row label { font-size: .86rem; }
.money-input { position: relative; }
.money-input::before { content: '$'; position: absolute; top: 9px; left: 11px; color: var(--muted); }
.money-input input { width: 100%; min-height: 41px; padding: 8px 8px 8px 25px; border: 1px solid #c5cdd5; border-radius: 6px; }
.money-row.total { padding-top: 10px; border-top: 2px solid var(--navy); font-weight: 900; }
.reference-card { margin-bottom: 20px; padding: 20px; background: #f8fafb; border: 1px solid var(--line); border-radius: 10px; }
.reference-card h3 { margin-bottom: 15px; }
.optional-section { margin: 24px 0; padding: 22px; background: #faf4fc; border: 1px solid #e2cbe8; border-radius: 10px; }
.optional-heading { display: flex; gap: 13px; margin-bottom: 16px; }
.optional-heading > span { align-self: start; padding: 4px 9px; color: white; background: var(--purple); border-radius: 999px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.optional-heading h3 { margin-bottom: 4px; }
.optional-heading p { margin: 0; color: var(--muted); font-size: .87rem; }
.certification-box { padding: 21px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; }
.certification-box ul { margin: 0; padding-left: 22px; }
.certification-box li { margin-bottom: 9px; }
.large-check { display: flex; gap: 12px; align-items: flex-start; margin: 15px 0; padding: 14px; background: white; border: 1px solid #d1d8df; border-radius: 8px; cursor: pointer; }
.large-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--purple); flex: 0 0 auto; }
.signature-grid { margin-top: 22px; }
.submit-warning { margin-top: 24px; padding: 16px; color: #654200; background: #fff7df; border-left: 4px solid #d49400; }
.form-navigation { position: sticky; z-index: 5; bottom: 0; display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 20px 42px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); border-radius: 0 0 15px 15px; box-shadow: 0 -10px 24px rgba(15,31,52,.07); }
.form-navigation .button[hidden] { display: none !important; }
.draft-status { color: var(--muted); font-size: .82rem; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Confirmation and auth */
.confirmation-section, .auth-section { min-height: 70vh; display: grid; align-items: center; padding: 80px 0; background: linear-gradient(145deg, #eef3f7, #fbf6fc); }
.confirmation-card, .auth-card { padding: 45px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.confirmation-card { text-align: center; }
.confirmation-card > p { max-width: 650px; margin-inline: auto; }
.success-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 18px; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 2.2rem; font-weight: 900; }
.applicant-id-box { max-width: 430px; margin: 25px auto; padding: 20px; background: var(--navy); color: white; border-radius: 12px; }
.applicant-id-box span, .applicant-id-box strong { display: block; }
.applicant-id-box span { color: #bfd0df; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.applicant-id-box strong { margin-top: 4px; font-size: 2rem; letter-spacing: .08em; }
.confirmation-next { margin: 30px 0; padding: 25px; background: var(--surface); border-radius: 12px; text-align: left; }
.confirmation-next h2 { font-size: 1.35rem; }
.confirmation-next li { margin-bottom: 7px; }
.privacy-alert, .security-note { margin: 24px 0; padding: 16px 18px; color: #5c4108; background: #fff8e5; border: 1px solid #efd89c; border-radius: 8px; text-align: left; }
.auth-shell { max-width: 610px; }
.auth-card.compact-card { max-width: 500px; margin-inline: auto; }
.auth-card h1 { font-size: 2.25rem; }
.stacked-form { display: grid; gap: 2px; margin-top: 25px; }
.auth-help { margin: 18px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }

/* Admin */
.admin-page { background: #f0f3f6; }
.admin-wrap { min-height: 75vh; padding: 48px 0 90px; }
.admin-shell { max-width: 1320px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.admin-heading h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.admin-identity { padding: 10px 14px; background: white; border: 1px solid var(--line); border-radius: 10px; text-align: right; }
.admin-identity span, .admin-identity small { display: block; }
.admin-identity span { color: var(--navy); font-weight: 850; }
.admin-tabs { display: flex; align-items: center; gap: 5px; margin-bottom: 28px; padding: 7px; background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-sm); }
.admin-tabs a, .admin-tabs button { display: inline-flex; min-height: 39px; align-items: center; padding: 8px 14px; color: #455260; background: transparent; border: 0; border-radius: 7px; font-weight: 800; text-decoration: none; }
.admin-tabs a.active, .admin-tabs a:hover, .admin-tabs button:hover { color: white; background: var(--navy); }
.logout-form { margin-left: auto; }
.admin-actions-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 20px; }
.admin-summary { margin: 0; color: var(--muted); }
.admin-summary strong { color: var(--navy); font-size: 1.5rem; }
.status-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; margin-bottom: 20px; }
.status-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 15px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.status-card:hover, .status-card.selected { color: white; background: var(--purple); border-color: var(--purple); }
.status-card span { font-size: .8rem; font-weight: 800; }
.status-card strong { font-size: 1.35rem; }
.filter-bar { display: grid; grid-template-columns: minmax(260px, 1fr) 230px auto auto; gap: 10px; margin-bottom: 18px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.filter-bar input, .filter-bar select { min-height: 46px; }
.table-card, .review-card, .control-card { background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(15,31,52,.06); }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 15px; border-bottom: 1px solid #e6eaee; text-align: left; vertical-align: middle; }
.admin-table th { color: #637080; background: #f8fafb; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-table tbody tr:hover { background: #fbfcfd; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td small { display: block; margin-top: 3px; font-size: .75rem; }
.id-link { color: var(--navy); font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.id-link:hover { color: var(--purple); }
.table-actions { text-align: right !important; }
.table-actions a, .table-button { color: var(--purple); background: transparent; border: 0; font-weight: 850; text-decoration: none; }
.status-pill { display: inline-flex; padding: 5px 9px; color: #334252; background: #e8edf2; border-radius: 999px; font-size: .74rem; font-weight: 850; white-space: nowrap; }
.status-new { color: #075d85; background: #e2f4fb; }
.status-eligible, .status-finalist, .status-selected-recipient { color: #09623d; background: #e4f7ed; }
.status-ineligible, .status-withdrawn { color: #8b1c2a; background: #fde8eb; }
.status-scoring, .status-eligibility-review, .status-alternate-finalist { color: #704b00; background: #fff3d5; }
.empty-state { padding: 60px 25px; text-align: center; }
.empty-state div { color: #9ca7b2; font-size: 3rem; }
.empty-state h2 { font-size: 1.5rem; }
.pagination { display: flex; justify-content: center; gap: 20px; align-items: center; margin-top: 22px; }
.pagination a { font-weight: 850; }
.admin-guidance { margin-top: 28px; padding: 25px; color: #eaf1f7; background: var(--navy); border-radius: 12px; }
.admin-guidance h2 { color: white; font-size: 1.35rem; }
.guidance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guidance-grid p { margin: 0; color: #cedbe6; font-size: .9rem; }
.guidance-grid strong { color: white; }
.application-admin-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 20px; padding: 25px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.application-admin-header h2 { font-size: 2rem; }
.application-admin-header p { margin: 0; color: var(--muted); }
.submission-meta { margin-top: 8px !important; font-size: .82rem; }
.application-header-actions { display: grid; gap: 9px; justify-items: end; }
.admin-control-grid { display: grid; grid-template-columns: 1.1fr .75fr 1fr; gap: 14px; margin-bottom: 20px; }
.control-card { padding: 19px; }
.control-card h3 { font-size: 1rem; }
.inline-form { display: flex; gap: 8px; }
.inline-form select { min-width: 0; }
.score-snapshot strong { display: block; color: var(--purple); font-size: 2rem; line-height: 1; }
.score-snapshot strong span { color: var(--muted); font-size: .85rem; }
.score-snapshot p { margin: 7px 0 0; color: var(--muted); font-size: .82rem; }
.warning-chip, .success-chip { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 850; }
.warning-chip { color: #7b4e00; background: #fff0c8; }
.success-chip { color: #07613b; background: #e3f6ec; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .65fr); gap: 22px; align-items: start; }
.application-record { display: grid; gap: 16px; }
.record-section { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.record-section > h2 { margin: 0; padding: 17px 20px; color: white; background: var(--navy); font-size: 1.12rem; letter-spacing: 0; }
.response-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.response-row { min-width: 0; padding: 14px 18px; border-right: 1px solid #e6eaee; border-bottom: 1px solid #e6eaee; }
.response-row:nth-child(even) { border-right: 0; }
.response-row:last-child, .response-row:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.response-row dt { color: #6c7885; font-size: .72rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.response-row dd { margin: 5px 0 0; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.response-row.narrative-response { grid-column: 1 / -1; border-right: 0; }
.response-row.narrative-response dd { line-height: 1.65; }
.review-column { position: sticky; top: 95px; display: grid; gap: 17px; }
.review-card { padding: 23px; }
.review-card h2 { font-size: 1.45rem; }
.review-card > p { color: var(--muted); font-size: .9rem; }
.conflict-check { display: flex; gap: 10px; padding: 13px; color: #6c3d00; background: #fff5db; border: 1px solid #ecd08b; border-radius: 8px; }
.conflict-check input { width: 19px; height: 19px; accent-color: var(--danger); flex: 0 0 auto; }
.score-fields { display: grid; gap: 8px; margin: 15px 0; }
.score-fields label { display: grid; grid-template-columns: 1fr 76px; gap: 10px; align-items: center; }
.score-fields label > span { font-size: .86rem; font-weight: 800; }
.score-fields small { display: block; font-weight: 600; }
.score-fields input { min-height: 41px; padding: 7px 9px; }
.score-total { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 18px; padding: 12px 14px; color: white; background: var(--purple); border-radius: 8px; }
.score-total strong { font-size: 1.4rem; }
.review-summary-list { display: grid; gap: 12px; }
.review-summary-list article { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 13px; background: #f8fafb; border: 1px solid var(--line); border-radius: 8px; }
.review-summary-list small { display: block; }
.review-summary-list p, .review-summary-list blockquote { grid-column: 1 / -1; margin: 0; font-size: .84rem; }
.review-summary-list blockquote { padding: 10px; color: #4d5a67; background: white; border-left: 3px solid var(--purple); }
.score-badge { display: inline-flex; align-self: start; padding: 5px 8px; color: white; background: var(--purple); border-radius: 999px; font-size: .75rem; font-weight: 900; }
.notes-list { display: grid; gap: 10px; margin-top: 16px; }
.notes-list article { padding: 12px; background: #f7f9fb; border-left: 3px solid var(--purple); }
.notes-list p { margin: 0 0 5px; white-space: pre-wrap; }
.response-row dd { display: flex; gap: 8px; align-items: center; }
.protected-value { min-width: 0; overflow-wrap: anywhere; }
.reveal-field-button { display: inline-grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; padding: 0; color: var(--navy); background: #eef3f7; border: 1px solid #b9c7d3; border-radius: 50%; cursor: pointer; }
.reveal-field-button:hover { color: white; background: var(--navy); }
.reveal-field-button:disabled { cursor: default; opacity: .78; }
.user-control-stack { display: grid; gap: 6px; justify-items: start; }
.auth-recovery-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .88rem; font-weight: 800; }
.users-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .65fr); gap: 20px; align-items: start; }
.card-heading { display: flex; align-items: end; justify-content: space-between; padding: 22px 22px 13px; }
.card-heading h2 { margin: 0; font-size: 1.6rem; }
.card-heading > span { color: var(--muted); font-size: .84rem; }
.add-user-card { position: sticky; top: 95px; }
.danger-text { color: #9b1626; }
.master-reset-panel { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 22px; padding: 23px 25px; background: #fff8f8; border: 1px solid #e6a8b0; border-left: 6px solid var(--danger); border-radius: 12px; box-shadow: var(--shadow-sm); }
.master-reset-panel h2 { margin: 0 0 5px; font-size: 1.45rem; }
.master-reset-panel p { max-width: 800px; margin-bottom: 0; color: #5c3037; }
.reset-page-shell { max-width: 900px; margin: 0 auto; }
.reset-warning-card { padding: clamp(24px, 5vw, 46px); background: white; border: 2px solid #d78590; border-top: 9px solid var(--danger); border-radius: 16px; box-shadow: var(--shadow); }
.reset-warning-card h2 { color: #74111d; font-size: clamp(1.8rem, 4vw, 2.65rem); }
.reset-lead { max-width: 720px; color: #5d3d42; font-size: 1.05rem; }
.reset-count-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.reset-count-grid div { display: grid; min-height: 100px; align-content: center; padding: 15px; background: #fff5f6; border: 1px solid #edc6cb; border-radius: 10px; text-align: center; }
.reset-count-grid strong { color: #8f1423; font-size: 1.75rem; line-height: 1; }
.reset-count-grid span { margin-top: 7px; color: #5c4750; font-size: .78rem; font-weight: 800; }
.reset-preserved { margin: 22px 0; padding: 18px 20px; color: #294457; background: #edf5f9; border-left: 5px solid var(--navy); border-radius: 8px; }
.reset-preserved h3 { margin-bottom: 4px; color: var(--navy); font-size: 1.05rem; }
.reset-preserved p { margin: 0; }
.reset-form { margin-top: 25px; padding-top: 23px; border-top: 1px solid #e8c8cd; }
.danger-consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; color: #64141e; background: #fff1f3; border: 1px solid #eab4bb; border-radius: 9px; font-weight: 750; }
.danger-consent input { width: 21px; height: 21px; flex: 0 0 21px; margin-top: 1px; accent-color: var(--danger); }
.reset-phrase { display: block; width: fit-content; margin: 7px 0 9px; padding: 7px 10px; color: #731421; background: #fff1f3; border: 1px solid #e2aab2; border-radius: 6px; font-weight: 850; letter-spacing: .035em; }

/* Game, public messages, and admin reporting */
.game-hero { padding: 72px 0; color: white; background: radial-gradient(circle at 80% 20%, rgba(200,16,46,.62), transparent 28%), linear-gradient(130deg, #071a2e, #183a5b); }
.game-hero-inner { display: grid; grid-template-columns: 1fr 260px; gap: 55px; align-items: center; }
.game-hero h1 { color: white; font-size: clamp(3rem, 7vw, 6rem); text-transform: uppercase; }
.game-hero p:not(.eyebrow) { max-width: 720px; color: #dbe7f0; font-size: 1.08rem; }
.game-hero img { width: 260px; padding: 20px; background: white; border: 6px solid rgba(255,255,255,.3); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.text-link.light { color: #f4c5d0; }
.game-section { background: #eef2f5; }
.music-panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-bottom: 22px; padding: 24px 28px; color: white; background: linear-gradient(120deg, var(--red-dark), var(--navy)); border-radius: 15px; box-shadow: var(--shadow-sm); }
.music-panel h2 { margin-bottom: 4px; color: white; font-size: 1.6rem; }
.music-panel p { margin: 0; color: #e5edf4; }
.music-panel .mini-label { color: #ffd1d8; }
.game-frame-wrap { overflow: hidden; background: #07111e; border: 8px solid white; border-radius: 18px; box-shadow: var(--shadow); }
.game-frame-wrap iframe { display: block; width: 100%; height: 1020px; border: 0; }
.game-run-actions { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin-top: 20px; padding: 20px 24px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.game-run-actions strong, .game-run-actions span { display: block; }
.game-run-actions span { margin-top: 3px; color: var(--muted); font-size: .88rem; }
.score-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; margin-top: 25px; padding: 32px; background: white; border: 2px solid var(--purple); border-radius: 16px; box-shadow: var(--shadow-sm); }
.score-form label { display: block; margin-bottom: 7px; color: var(--navy); font-weight: 800; }
.score-form > div { display: flex; gap: 8px; }
.score-form input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #bbc6d0; border-radius: 9px; }
.score-form small { display: block; margin-top: 8px; line-height: 1.35; }
.leaderboard-section { background: white; }
.leaderboard-section .section-heading-row > p { color: var(--muted); }
.leaderboard-table { width: 100%; border-collapse: collapse; }
.leaderboard-table th { padding: 12px 14px; color: white; background: var(--navy); font-size: .75rem; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.leaderboard-table td { padding: 14px; border-bottom: 1px solid var(--line); }
.leaderboard-table tr:nth-child(-n+3) td { background: #fbf7fc; }
.winner-badge { display: inline-flex; padding: 5px 9px; color: white; background: var(--green); border-radius: 999px; font-size: .76rem; font-weight: 850; }
.empty-leaderboard { padding: 45px; background: var(--surface); border: 1px dashed #b8c3cd; border-radius: 12px; text-align: center; }
.success-banner { margin-bottom: 18px; padding: 14px 17px; color: #095c3b; background: #e4f7ed; border: 1px solid #a9dfc3; border-radius: 9px; font-weight: 800; }
.compact-hero { padding: 68px 0; }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; align-items: start; }
.contact-intro { position: sticky; top: 105px; }
.contact-help-card { margin: 25px 0; padding: 18px; color: #674600; background: #fff6da; border: 1px solid #eed491; border-radius: 10px; }
.contact-help-card p { margin: 5px 0 0; font-size: .9rem; }
.contact-form-card { min-height: 420px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-sm); }
.contact-form { display: grid; gap: 18px; }
.contact-form > label, .contact-form .field-grid label { display: grid; gap: 6px; color: var(--navy); font-weight: 800; }
.contact-form label > span { color: var(--red); }
.contact-form label > small { color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 12px; background: white; border: 1px solid #bdc7d0; border-radius: 8px; }
.message-received { padding: 35px 10px; text-align: center; }
.message-received > span { display: grid; width: 62px; height: 62px; margin: 0 auto 18px; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.error-summary { margin-bottom: 20px; padding: 15px 18px; color: #7d1723; background: #fff0f2; border: 1px solid #efb1ba; border-radius: 9px; }
.error-summary ul { margin-bottom: 0; }
.honeypot { position: absolute; left: -9999px; }
.admin-panel-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 22px; border-bottom: 1px solid var(--line); }
.admin-panel-heading h2 { margin-bottom: 3px; font-size: 1.55rem; }
.admin-panel-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.status-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.status-pills a { padding: 6px 10px; color: var(--navy); background: #edf1f4; border-radius: 999px; font-size: .75rem; font-weight: 800; text-decoration: none; }
.status-pills a.active { color: white; background: var(--purple); }
.status-pills span { margin-left: 3px; opacity: .8; }
.message-list { display: grid; gap: 15px; padding: 20px; }
.admin-message-card { padding: 20px; background: #fbfcfd; border: 1px solid var(--line); border-radius: 11px; }
.admin-message-card header { display: flex; justify-content: space-between; gap: 18px; }
.admin-message-card header h3 { margin-top: 8px; }
.admin-message-card header time { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.status-badge { display: inline-flex; margin-right: 7px; padding: 4px 8px; color: #334252; background: #e7ecf0; border-radius: 999px; font-size: .7rem; font-weight: 850; }
.status-new { color: #075d85; background: #e2f4fb; }
.status-in-progress { color: #704b00; background: #fff3d5; }
.status-replied, .status-closed { color: #09623d; background: #e4f7ed; }
.message-contact { display: flex; flex-wrap: wrap; gap: 9px 15px; margin-bottom: 14px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .86rem; }
.message-body { margin-bottom: 15px; white-space: pre-wrap; }
.message-actions { display: flex; gap: 8px; margin-bottom: 14px; }
.message-admin-form { display: grid; grid-template-columns: 180px 1fr auto; gap: 12px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.message-admin-form label { display: grid; gap: 5px; color: var(--muted); font-size: .75rem; font-weight: 800; }
.message-admin-form select, .message-admin-form textarea { width: 100%; padding: 8px; border: 1px solid #bec8d1; border-radius: 6px; }
.empty-admin-state { padding: 45px 25px; text-align: center; }
.compact-stats { margin-bottom: 20px; }
.analytics-table td:nth-child(2) { min-width: 250px; }
.analytics-table td small { display: block; max-width: 430px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Footer */
.site-footer { padding: 60px 0 20px; color: #cdd9e4; background: #091a2c; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr .8fr; gap: 40px; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer h2 { font-size: 1.5rem; }
.site-footer h3 { font-size: .95rem; }
.site-footer p { font-size: .88rem; }
.site-footer a { color: #e4c3eb; }
.footer-bottom { margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom p { margin: 0; font-size: .78rem; }

/* Print */
.print-page { color: #111; background: #e9edf1; font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.35; }
.print-toolbar { position: sticky; z-index: 50; top: 0; display: flex; justify-content: center; gap: 10px; padding: 10px; background: #10253f; }
.print-toolbar button { padding: 8px 15px; color: white; background: #752686; border: 0; border-radius: 6px; font-weight: 700; }
.print-packet { width: 8.5in; min-height: 11in; margin: 22px auto; padding: .45in .5in; background: white; box-shadow: 0 5px 22px rgba(0,0,0,.14); }
.print-header { padding-bottom: 13px; border-bottom: 3px solid #10253f; text-align: center; }
.print-brand { display: flex; justify-content: center; align-items: center; gap: 20px; height: 64px; }
.print-brand img { max-width: 170px; max-height: 56px; object-fit: contain; }
.print-brand .flat-rock-print-logo { transform: scale(1.18); }
.print-brand span { font-size: 1.3rem; font-weight: bold; }
.print-header > p { margin: 7px 0 0; color: #752686; font-size: 8pt; font-weight: bold; letter-spacing: .12em; }
.print-header h1 { margin: 2px 0 7px; color: #10253f; font-size: 18pt; letter-spacing: .02em; }
.print-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 15px; font-size: 8.5pt; }
.print-identity { padding: 13px 0 5px; }
.print-identity h2 { margin-bottom: 3px; font-size: 14pt; }
.print-identity p { margin: 0; }
.print-section { margin-top: 13px; break-inside: auto; }
.print-section h2 { margin: 0; padding: 5px 8px; color: white; background: #752686; font-size: 10.5pt; letter-spacing: 0; }
.print-section dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-left: 1px solid #cfd5da; }
.print-section dl > div { min-height: 43px; padding: 7px; border-right: 1px solid #cfd5da; border-bottom: 1px solid #cfd5da; break-inside: avoid; }
.print-section dt { color: #53606c; font-size: 7.5pt; font-weight: bold; text-transform: uppercase; }
.print-section dd { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.print-section .print-narrative { grid-column: 1 / -1; min-height: 70px; }
.blank-score-sheet { margin-top: 18px; padding-top: 12px; border-top: 2px solid #10253f; break-inside: avoid; }
.blank-score-sheet h2 { font-size: 14pt; }
.print-score-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.blank-score-sheet table { width: 100%; border-collapse: collapse; }
.blank-score-sheet th, .blank-score-sheet td { height: 30px; padding: 5px; border: 1px solid #777; text-align: left; }
.blank-score-sheet th:nth-child(2), .blank-score-sheet td:nth-child(2), .blank-score-sheet th:nth-child(3), .blank-score-sheet td:nth-child(3) { width: 90px; text-align: center; }
.write-lines { display: grid; gap: 18px; margin-top: 14px; }
.write-lines span { display: block; border-bottom: 1px solid #777; }
.print-footer { margin-top: 18px; padding-top: 7px; color: #666; border-top: 1px solid #bbb; font-size: 7.5pt; text-align: center; }
.bulk-packet { break-after: page; }
.print-empty { padding: 80px; text-align: center; }

@media print {
  @page { size: letter; margin: .35in; }
  .print-page { background: white; font-size: 8.8pt; }
  .print-toolbar { display: none !important; }
  .print-packet { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; }
  .print-brand { height: 50px; }
  .print-brand img { max-height: 45px; }
  .print-section { margin-top: 9px; }
  .print-section h2 { padding: 4px 6px; }
  .print-section dl > div { min-height: 34px; padding: 5px 6px; }
  .print-section .print-narrative { min-height: 54px; }
  .blank-score-sheet { break-before: page; }
  .bulk-packet { break-after: page; }
}

/* Responsive */
@media (max-width: 1050px) {
  .site-nav { position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 24px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.15); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .button { margin-top: 12px; border: 0; }
  .nav-toggle { display: inline-flex; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .vehicle-spec-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-card { grid-template-columns: 130px 1fr; }
  .partner-link-grid { grid-template-columns: 1fr; }
  .game-teaser { grid-template-columns: 1fr; }
  .pastor-feature { grid-template-columns: 80px 1fr; }
  .pastor-links { grid-column: 2; grid-template-columns: 1fr 1fr; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .review-column, .add-user-card { position: static; }
  .users-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 70px 0; }
  .hero { min-height: 680px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,19,35,.94), rgba(7,19,35,.7)); }
  .announcement-grid { grid-template-columns: 1fr 1fr; }
  .announcement-grid div:nth-child(2) { border-right: 0; }
  .announcement-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .split-layout, .section-heading-row, .audio-card, .application-callout { grid-template-columns: 1fr; }
  .quote-card { position: static; }
  .principle-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-showcase, .contact-layout, .score-entry { grid-template-columns: 1fr; }
  .partner-link-grid { grid-template-columns: repeat(3, 1fr); }
  .service-invite-inner { grid-template-columns: 90px 1fr; }
  .service-invite img { width: 88px; height: 88px; }
  .service-invite .button { grid-column: 2; justify-self: start; }
  .question-callout { grid-template-columns: 1fr; }
  .game-hero-inner { grid-template-columns: 1fr 170px; gap: 30px; }
  .game-hero img { width: 170px; padding: 12px; }
  .game-frame-wrap iframe { height: 1430px; }
  .contact-intro { position: static; }
  .message-admin-form { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 170px 1fr; gap: 30px; }
  .event-date-card strong { font-size: 4rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-grid.two-col, .field-grid.three-col, .money-table { grid-template-columns: 1fr; }
  .choice-grid.two-col { grid-template-columns: 1fr; }
  .form-step { padding-inline: 26px; }
  .form-navigation { grid-template-columns: auto 1fr auto; padding-inline: 26px; }
  #submit-application { grid-column: 3; }
  .draft-status { display: none; }
  .form-table { display: block; overflow-x: auto; white-space: nowrap; }
  .admin-control-grid { grid-template-columns: 1fr; }
  .response-list { grid-template-columns: 1fr; }
  .response-row, .response-row:nth-child(even) { border-right: 0; }
  .response-row:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #e6eaee; }
  .guidance-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar label:first-child { grid-column: 1 / -1; }
}

@media (max-width: 590px) {
  .shell { width: min(calc(100% - 26px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .site-nav { top: 68px; }
  .header-inner { gap: 10px; }
  .header-brand-group { gap: 9px; }
  .brand { gap: 7px; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .58rem; letter-spacing: .07em; }
  .header-partners { gap: 4px; padding-left: 9px; }
  .header-presented { display: none; }
  .header-partner-logo { width: 38px; height: 31px; padding: 3px; }
  .header-partner-divider { display: none; }
  .hero { min-height: 640px; }
  .hero-content { padding-block: 75px; }
  .hero h1 { font-size: 3.45rem; }
  .hero-facts { display: grid; }
  .button-row .button { width: 100%; }
  .announcement-grid { grid-template-columns: 1fr; }
  .announcement-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .partner-card { grid-template-columns: 1fr; }
  .partner-logo { min-height: 105px; }
  .partner-profile-body { padding: 22px 18px; }
  .partner-link-grid { grid-template-columns: 1fr; }
  .church-logo-pair { grid-template-columns: 1fr 125px; }
  .church-logo-pair .partner-visual { min-height: 135px; padding: 12px; }
  .church-logo-pair .come-see img { width: 102px; max-height: 102px; }
  .game-teaser .button { width: 100%; }
  .pastor-feature { grid-template-columns: 64px 1fr; gap: 15px; padding: 22px 18px; }
  .pastor-mark { width: 62px; height: 62px; border-width: 3px; font-size: 1.1rem; }
  .pastor-links { min-width: 0; grid-column: 1 / -1; grid-template-columns: 1fr; }
  .service-invite-inner { grid-template-columns: 68px 1fr; gap: 15px; }
  .service-invite img { width: 68px; height: 68px; border-width: 2px; }
  .service-invite .button { grid-column: 1 / -1; width: 100%; }
  .question-callout { padding: 28px 22px; }
  .game-hero { padding: 52px 0; }
  .game-hero-inner { grid-template-columns: 1fr; }
  .game-hero img { width: 145px; grid-row: 1; }
  .music-panel { grid-template-columns: 1fr; padding: 20px; }
  .music-panel .button { width: 100%; }
  .game-frame-wrap { margin-inline: -9px; border-width: 4px; }
  .game-frame-wrap iframe { height: 1540px; }
  .game-run-actions { align-items: stretch; flex-direction: column; }
  .game-run-actions .button-row { width: 100%; }
  .score-entry { padding: 24px 18px; }
  .score-form > div { display: grid; }
  .contact-form-card { padding: 24px 18px; }
  .admin-panel-heading, .admin-message-card header { align-items: stretch; flex-direction: column; }
  .admin-message-card header time { white-space: normal; }
  .message-actions { align-items: stretch; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .vehicle-spec-grid { grid-template-columns: 1fr; }
  .audio-card, .application-callout { padding: 26px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-date-card { width: 170px; }
  .footer-grid { grid-template-columns: 1fr; }
  .application-toolbar { display: grid; }
  .form-progress { padding-inline: 15px; overflow: hidden; }
  #step-indicators { gap: 2px; }
  #step-indicators li { font-size: 0; }
  #step-indicators li span { font-size: .7rem; }
  .form-step { padding: 28px 18px 15px; }
  .form-section-heading { grid-template-columns: 42px 1fr; gap: 12px; }
  .form-section-heading > span { width: 40px; height: 40px; }
  .form-section-heading h2 { font-size: 1.45rem; }
  .form-navigation { grid-template-columns: 1fr 1fr; padding: 14px 18px; }
  .form-navigation .button { min-width: 0; padding-inline: 13px; }
  #next-step, #submit-application { grid-column: 2; }
  .money-row { grid-template-columns: 1fr 110px; }
  .confirmation-card, .auth-card { padding: 28px 20px; }
  .admin-heading, .admin-actions-row, .application-admin-header { align-items: stretch; flex-direction: column; }
  .admin-identity { align-self: start; text-align: left; }
  .admin-tabs { flex-wrap: wrap; }
  .logout-form { margin-left: 0; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar label:first-child { grid-column: auto; }
  .application-header-actions { justify-items: start; }
  .application-header-actions .button { width: 100%; }
  .inline-form { display: grid; }
  .master-reset-panel { align-items: stretch; flex-direction: column; }
  .master-reset-panel .button { width: 100%; }
  .reset-count-grid { grid-template-columns: 1fr 1fr; }
  .reset-warning-card { padding: 24px 18px; }
}

/* Application components used by the paper-form mapping */
.responsive-table { width: 100%; margin: 12px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
.responsive-table table { width: 100%; min-width: 760px; border-collapse: collapse; }
.responsive-table caption { padding: 12px 14px; color: var(--navy); background: #eef2f6; font-weight: 850; text-align: left; }
.responsive-table th { padding: 10px; color: white; background: var(--navy); font-size: .76rem; text-align: left; }
.responsive-table td { padding: 6px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
.responsive-table td:last-child { border-right: 0; }
.responsive-table input, .responsive-table select { width: 100%; min-height: 40px; padding: 7px 8px; border: 1px solid #c4cdd6; border-radius: 5px; }
.budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-bottom: 28px; padding: 17px; background: #f8fafb; border: 1px solid var(--line); border-radius: 10px; }
.budget-grid > label { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #e2e6ea; }
.budget-grid > label:nth-last-child(-n+2) { border-bottom: 0; }
.budget-grid > label > span { font-size: .84rem; font-weight: 750; }
.money-input > span { position: absolute; z-index: 1; top: 50%; left: 11px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.money-input::before { content: none; }
.info-box { margin: 0 0 22px; padding: 16px 18px; color: #294056; background: #edf4f9; border: 1px solid #c8dce9; border-left: 5px solid var(--navy); border-radius: 8px; font-size: .9rem; }
.group-error { display: block; margin-top: 8px; color: var(--danger); font-size: .82rem; font-weight: 750; }

@media (max-width: 820px) {
  .budget-grid { grid-template-columns: 1fr; }
  .budget-grid > label:nth-last-child(2) { border-bottom: 1px solid #e2e6ea; }
}
@media (max-width: 590px) {
  .budget-grid > label { grid-template-columns: 1fr 115px; }
}
