/* Troop 205 · Baton Rouge */

:root {
  --navy: #20334b;
  --navy-dark: #142335;
  --red: #a93135;
  --red-dark: #832529;
  --ink: #202728;
  --muted: #576064;
  --line: #d9d9d1;
  --bg: #fcfbf8;
  --bg-alt: #f2f2ec;
  --tan: #e9e5d9;
  --gold: #a78345;

  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18.5px;
  font-weight: 450;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
/* Two plain sections back to back share one gap instead of doubling it */
.origins + .section:not(.alt) { padding-top: 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.muted { color: var(--muted); }
.kicker { font-family: var(--serif); font-style: italic; font-size: 1.2rem; font-weight: 500; color: var(--red); margin-bottom: .6rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
  padding: 14px 26px;
  border: 2px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tan); border-color: var(--tan); color: var(--navy); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; color: var(--ink); }
.text-link:hover { color: var(--red); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: auto; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.1; display: block; }
.brand-sub { font-size: .85rem; color: var(--muted); display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--red); }
.nav-links a[aria-current="page"] { color: var(--red); }
.nav-links .btn { color: #fff; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a { display: block; padding: 14px 0; color: var(--ink); }
  .nav-links .btn { margin-top: 12px; text-align: center; }
  body.nav-open .nav-links { display: flex; }
}

/* Home hero (video) */
.hero { position: relative; min-height: calc(100vh - 77px); min-height: calc(100svh - 77px); display: flex; align-items: flex-end; color: #fff; background: var(--navy-dark); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.08) brightness(.82) sepia(.2); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 14, 26, .92) 0%, rgba(8, 14, 26, .55) 50%, rgba(8, 14, 26, .42) 100%),
    linear-gradient(90deg, rgba(8, 14, 26, .65) 0%, rgba(8, 14, 26, .1) 70%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 640px; padding: 120px 0 88px; }
.hero-meta { font-family: var(--serif); font-style: italic; font-size: 1.25rem; font-weight: 500; color: #e3cf9f; margin-bottom: 18px; }
.hero-meta span { padding: 0 10px; color: rgba(255,255,255,.45); }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 5.2vw, 4.8rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 26px; }
.hero-content > p:not(.hero-meta) { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.hero .text-link { color: #fff; }
.hero .text-link:hover { color: #e3cf9f; }
@media (max-width: 800px) { .hero-content { padding: 96px 0 56px; } }

/* Notice strip */
.notice { background: var(--navy); color: #fff; }
.notice .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; flex-wrap: wrap; }
.notice p { margin: 0; max-width: 760px; }
.notice strong { color: #fff; }
.notice a { color: #fff; font-weight: 600; white-space: nowrap; }

/* Page header (inner pages) */
.page-header { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 640px; margin: 0; }
.crumbs { font-size: .95rem; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.85); }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: transparent; border: 0; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 24px 0 0; }
.card-body p { color: var(--muted); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 1rem; }

.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 48px; }
.photo-row img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0; }
.facts div { padding: 20px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.facts span { font-size: .9rem; color: var(--muted); }

blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--red); font-family: var(--serif); font-style: italic; font-size: 1.35rem; font-weight: 500; }
blockquote footer { font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--muted); margin-top: 6px; }

/* Origins (home) */
.origins-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.origins-photo { margin: 0; }
.origins-photo img { width: 100%; }
.origins-photo figcaption { padding-top: 10px; font-size: .95rem; color: var(--muted); }
.origins .photo-row { margin-bottom: 0; }
.doc-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; margin-top: 28px; padding: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.doc-card img { width: 96px; border: 1px solid var(--line); }
.doc-card strong { display: block; margin-bottom: 4px; }
.doc-card span { font-size: 1rem; color: var(--muted); }
.doc-card em { display: inline-block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 1px; }
.doc-card:hover { border-color: #c9c5bb; }
.doc-card:hover em { color: var(--red); }
@media (max-width: 860px) { .origins-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Eagle feature (home) */
.eagle-feature { background: var(--navy-dark); color: #fff; }
.eagle-feature .kicker { color: #d5b778; }
.eagle-feature h2 { color: #fff; }
.eagle-feature p { color: rgba(255,255,255,.8); }
.eagle-feature .split img { aspect-ratio: auto; max-height: 440px; width: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.eagle-feature .medal-wrap { position: relative; display: grid; place-items: center; padding: 20px 0; }
.eagle-feature .medal-wrap::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(213,183,120,.22), transparent 68%); }
.eagle-feature .medal-wrap img { position: relative; }

/* Anniversary */
.anniv { background: var(--tan); }
.anniv .split img { aspect-ratio: auto; max-width: 440px; margin: 0 auto; mix-blend-mode: multiply; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { flex: none; width: 88px; background: #fff; padding: 8px; border-radius: 3px; }
.footer-brand strong { color: #fff; font-size: 1.15rem; line-height: 1.2; display: block; margin-bottom: 6px; }
.footer-brand p { margin: 0; line-height: 1.5; text-wrap: balance; }
@media (max-width: 560px) { .footer-brand img { width: 72px; padding: 6px; } .footer-brand { gap: 14px; } }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-legal p { margin: 0 0 6px; max-width: 900px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* History */
.founding { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.document { border: 1px solid var(--line); padding: 12px; background: #fff; }
.document img { width: 100%; }
.caption { font-size: .95rem; color: var(--muted); margin-top: 10px; }
.roster h3 { font-size: 1.05rem; margin-top: 32px; }
.roster h3:first-child { margin-top: 0; }
.roster table { width: 100%; border-collapse: collapse; }
.roster td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.roster td:first-child { color: var(--muted); width: 45%; font-size: 1rem; padding-right: 16px; }
.roster td:last-child { font-weight: 600; }
/* Phones: stack each role above the name so everything lines up on the left */
@media (max-width: 560px) {
  .roster table, .roster tbody, .roster tr, .roster td { display: block; width: auto; }
  .roster tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .roster td { padding: 0; border: 0; }
  .roster td:first-child { width: auto; padding-right: 0; font-size: .9rem; margin-bottom: 2px; }
}
.name-cols { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.name-cols li { padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 600; }
@media (max-width: 860px) { .founding { grid-template-columns: 1fr; gap: 40px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline .when { font-weight: 700; color: var(--red); }
.timeline h3 { margin-bottom: 6px; font-size: 1.15rem; }
.timeline p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 0 0 12px; margin-bottom: -1px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--red); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery figure { margin: 0; cursor: zoom-in; background: var(--bg-alt); }
.gallery figure.hide { display: none; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figure:hover img { opacity: .88; }
.gallery figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,10,14,.95); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 14px; font-size: 1.05rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 8px 14px; opacity: .75; font-family: var(--sans); font-weight: 300; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 56px 12px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }

.cta-box { border: 1px solid var(--line); background: #fff; padding: 32px 36px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 56px; }
.cta-box h3 { margin-bottom: 4px; }
.cta-box p { margin: 0; color: var(--muted); max-width: 640px; }

/* Eagle Scouts */
.eagle-hero { background: radial-gradient(ellipse at 78% 40%, #1b3560 0%, var(--navy-dark) 60%); color: #fff; padding: 64px 0 0; overflow: hidden; }
.eagle-hero .crumbs { margin-bottom: 24px; }
.eagle-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eagle-hero .kicker { color: #d5b778; font-size: 1.6rem; margin-bottom: .5rem; }
.eagle-hero h1 { color: #fff; font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; margin-bottom: 24px; }
.eagle-hero .lede { color: rgba(255,255,255,.85); font-size: 1.22rem; max-width: 520px; margin: 0; }
.emblem-stage { position: relative; display: grid; place-items: center; padding: 40px 0; }
.emblem-stage::before, .emblem-stage::after { content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%; }
.emblem-stage::before { width: 115%; max-width: 560px; background: radial-gradient(circle, rgba(213,183,120,.28), rgba(213,183,120,.06) 45%, transparent 68%); }
.emblem-stage::after { width: 92%; max-width: 440px; border: 1px solid rgba(213,183,120,.35); box-shadow: 0 0 0 18px rgba(213,183,120,.05), 0 0 0 19px rgba(213,183,120,.18); }
.emblem-stage img { position: relative; z-index: 1; height: 360px; width: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.55)); }
@media (max-width: 860px) {
  .eagle-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .eagle-hero .lede { margin: 0 auto; }
  .emblem-stage { order: -1; padding: 8px 0 28px; }
  .emblem-stage::before, .emblem-stage::after { display: none; }
  .eagle-hero .kicker { font-size: 1.4rem; }
  .emblem-stage img { height: 240px; }
}
.eagle-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; text-align: center; border-top: 1px solid rgba(213,183,120,.35); }
.eagle-stats div { padding: 30px 12px 34px; }
.eagle-stats div + div { border-left: 1px solid rgba(213,183,120,.35); }
.eagle-stats b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: #e3cf9f; line-height: 1; margin-bottom: 10px; }
.eagle-stats span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; font-weight: 500; color: rgba(255,255,255,.78); }
@media (max-width: 640px) { .eagle-stats { grid-template-columns: 1fr; } .eagle-stats div + div { border-left: 0; border-top: 1px solid rgba(213,183,120,.35); } }

/* Trail to Eagle */
.trail { background: var(--bg-alt); overflow: hidden; }
.trail .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.trail-head { max-width: 640px; }
.trail-head p:last-child { color: var(--muted); font-size: 1.15rem; margin: 0; }
.rank-tabs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rank-tabs button { font: inherit; font-size: .98rem; font-weight: 600; padding: 9px 16px; border: 1.5px solid #cfc8b6; background: #fff; color: var(--muted); border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.rank-tabs button:hover { border-color: var(--navy); color: var(--navy); }
.rank-tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.rank-card { transition: border-color .3s, box-shadow .3s; }
.trail-track.dragging { cursor: grabbing; user-select: none; }
.trail-track.dragging .rank-card { pointer-events: none; }
.trail-track { scrollbar-width: none; }
.trail-track::-webkit-scrollbar { display: none; }
.rank-card.active { border-top-color: var(--red); box-shadow: 0 10px 26px rgba(20,30,50,.12); }
.trail-track {
  list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 320px; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; cursor: grab; -webkit-overflow-scrolling: touch;
  padding: 0 max(20px, (100vw - var(--wrap)) / 2) 22px; scrollbar-width: thin;
}
.rank-card { background: #fff; border: 1px solid #d6d0c1; border-top: 4px solid var(--navy); padding: 26px 26px 22px; }
.rank-step { display: block; font-family: var(--serif); font-style: italic; color: var(--red); margin-bottom: 4px; }
.rank-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin-bottom: 8px; }
.rank-card > p { color: var(--muted); font-size: 1rem; min-height: 3em; }
.rank-card ul { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid #e3ded2; }
.rank-card ul li { padding: 9px 0 9px 18px; border-bottom: 1px solid #e3ded2; font-size: .98rem; line-height: 1.4; position: relative; }
.rank-card ul li:last-child { border-bottom: 0; }
.rank-card ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
@media (max-width: 640px) { .trail-track { grid-auto-columns: 84%; } .rank-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; } .rank-tabs button { flex: none; } }

/* Eagle requirements (centered) */
.eagle-req-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.eagle-req-head p:last-child { color: var(--muted); font-size: 1.15rem; }
.eagle-req-medal { height: 260px; width: auto; margin: 0 auto 26px; filter: drop-shadow(0 16px 24px rgba(20,20,30,.28)); }
.eagle-req .req-card { margin: 0 auto; }
.badges-block { text-align: center; margin-top: 72px; }
.badges-block > p { color: var(--muted); margin-bottom: 34px; }
.badge-grid { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 22px 12px; }
.badge-grid li { display: grid; place-items: center; }
.badge-grid span {
  display: grid; place-items: center; width: 134px; aspect-ratio: 1; border-radius: 50%; padding: 16px;
  background: #f3ecd8; color: var(--navy-dark); font-weight: 650; font-size: .86rem; line-height: 1.2; text-align: center;
  box-shadow: inset 0 0 0 5px #6b6f3c, inset 0 0 0 7px #f3ecd8, inset 0 0 0 8px #a9a77a, 0 3px 6px rgba(0,0,0,.12);
}
.badge-grid b { font-weight: inherit; }
.badge-grid i { font-style: italic; font-weight: 450; }
.badge-note { margin-top: 30px; font-size: .92rem; color: var(--muted); }
@media (max-width: 980px) { .badge-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .badge-grid { grid-template-columns: repeat(2, 1fr); } }

.req-card { background: #fff; border: 1px solid #d6d0c1; box-shadow: 0 1px 0 #d6d0c1, 0 6px 0 -3px #fff, 0 7px 0 -3px #d6d0c1; max-width: 640px; }
.req-card-head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; background: var(--navy); color: #fff; font-weight: 700; }
.req-card-head span:last-child { font-weight: 450; color: rgba(255,255,255,.7); }
.req-card ul { list-style: none; margin: 0; padding: 0 22px; }
.req-card li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 15px 0; line-height: 1.4; border-bottom: 1px solid #e3ded2; }
.req-card li:last-child { border-bottom: 0; }
.req-card li::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid #8d8778; border-radius: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23b0202a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.honor-wall { background: var(--navy-dark); color: #fff; padding: 96px 0 88px; text-align: center; }
.honor-wall h2 { color: #fff; font-family: var(--serif); font-weight: 600; letter-spacing: 0; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.honor-wall .sub { color: rgba(255,255,255,.7); margin-bottom: 56px; }
.rule { width: 120px; height: 1px; background: #d5b778; margin: 0 auto 22px; }
.wall-seal { height: 150px; width: auto; margin: 0 auto 26px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.5)); }
.wall-year { padding: 34px 0; border-top: 1px solid rgba(213,183,120,.22); }
.wall-year:last-child { border-bottom: 1px solid rgba(213,183,120,.22); }
.wall-year .yr { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: #d5b778; margin-bottom: 14px; }
.wall-names { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 48px; }
.wall-names li { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.35; }
.wall-names li small { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1rem; color: rgba(255,255,255,.62); margin-top: 2px; }
.wall-foot { margin-top: 48px; font-size: 1rem; color: rgba(255,255,255,.6); }
.wall-foot a { color: #e3cf9f; }
.sample-flag { display: inline-block; margin-bottom: 28px; padding: 6px 12px; border: 1px dashed #d5b778; color: #e3cf9f; font-size: .8rem; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .join-grid { grid-template-columns: 1fr; } }
.form-panel { border: 1px solid var(--line); padding: 40px; background: #fff; }
@media (max-width: 560px) { .form-panel { padding: 24px 20px; } }
.form-panel h2 { font-size: 1.6rem; }
.segmented { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.segmented legend { font-weight: 600; font-size: 1rem; margin-bottom: 8px; padding: 0; }
.seg-options { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--navy); border-radius: 2px; overflow: hidden; }
.seg-options label { position: relative; display: flex; }
.seg-options label + label { border-left: 1px solid var(--navy); }
.seg-options input { position: absolute; opacity: 0; }
.seg-options span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 13px 8px; font-size: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.seg-options input:checked + span { background: var(--navy); color: #fff; }
.seg-options input:focus-visible + span { outline: 3px solid var(--red); outline-offset: -3px; }
@media (max-width: 520px) { .seg-options { grid-template-columns: 1fr; } .seg-options label + label { border-left: 0; border-top: 1px solid var(--navy); } }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > label, .field .label { font-size: 1rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #c9c5bb; border-radius: 2px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 1.02rem; font-weight: 450; }
.check input { margin-top: 5px; accent-color: var(--navy); width: 16px; height: 16px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 4px; }
@media (max-width: 560px) { .fields, .check-grid { grid-template-columns: 1fr; } }
.cond { display: contents; }
.cond[hidden] { display: none; }
.form-foot { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-done { display: none; padding: 8px 0; }
.form-panel.sent form { display: none; }
.form-panel.sent .form-done { display: block; }
.form-error { display: none; color: var(--red-dark); border-left: 3px solid var(--red); padding: 10px 14px; background: #fbf1f1; margin-top: 16px; }
.form-error.show { display: block; }

.side h3 { font-size: 1.1rem; margin-bottom: 8px; }
.side-block { padding: 24px 0; border-top: 1px solid var(--line); }
.side-block:first-child { padding-top: 0; border-top: 0; }
.side-block p { color: var(--muted); margin-bottom: .6em; }
.qr { display: flex; gap: 18px; align-items: center; }
.qr img { width: 110px; border: 1px solid var(--line); padding: 4px; }

/* Center section call-to-action buttons on phones (not the hero or the form) */
@media (max-width: 700px) {
  main .section .btn:not(.form-foot .btn) { display: block; width: fit-content; margin-inline: auto; }
  .cta-box { justify-content: center; text-align: center; }
}
