:root {
  --ink: #102b35;
  --muted: #5b6b72;
  --paper: #f4f1e9;
  --surface: #fff;
  --navy: #123d4b;
  --navy-deep: #092f3a;
  --green: #078a48;
  --red: #e31d2c;
  --yellow: #ffd21a;
  --line: #d7dfdc;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 22px 56px rgba(12, 43, 52, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 90% 12%, #e6f3ec 0, transparent 28%), var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--navy-deep); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.governance-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(18, 42, 52, 0.09); background: rgba(244, 241, 233, 0.94); backdrop-filter: blur(18px); }
.header-inner { width: var(--shell); min-height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 7px 18px rgba(18, 42, 52, 0.12); }
.brand span { display: grid; }
.brand strong { font-size: 0.98rem; }
.brand small, #session-label { color: var(--muted); font-size: 0.75rem; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.82rem; font-weight: 850; text-decoration: none; }
.header-actions .header-home { border-color: var(--navy); color: #fff; background: var(--navy); }

main { min-height: calc(100vh - 160px); }
.state-view { width: min(620px, calc(100% - 32px)); margin: 11vh auto; padding: clamp(34px, 7vw, 62px); border: 1px solid var(--line); border-radius: 28px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.state-view h1 { margin: 14px 0 10px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -0.05em; }
.state-view > p:not(.eyebrow) { color: var(--muted); }
.loading-mark { width: 42px; height: 42px; margin-inline: auto; border: 5px solid #d9e3df; border-top-color: var(--green); border-radius: 50%; animation: spin 800ms linear infinite; }
.access-mark { width: 46px; height: 46px; margin-inline: auto; border-radius: 50%; display: grid; place-items: center; color: var(--navy-deep); background: var(--yellow); font-size: 1.3rem; font-weight: 900; }
@keyframes spin { to { transform: rotate(360deg); } }

.primary-button { min-height: 48px; padding: 12px 21px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--green); font-weight: 900; text-decoration: none; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }

.governance-shell { width: var(--shell); margin-inline: auto; padding-block: 28px 80px; }
.governance-hero { min-height: 310px; padding: clamp(36px, 7vw, 74px); border-radius: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; color: #fff; background: linear-gradient(120deg, rgba(8, 43, 53, 0.98), rgba(5, 101, 59, 0.8)), url("../../assets/branding/outdoor-range-hero.webp") center / cover; box-shadow: var(--shadow); }
.governance-hero .eyebrow { color: var(--yellow); }
.governance-hero h1 { max-width: 750px; margin: 0 0 14px; font-size: clamp(3.2rem, 8vw, 6.7rem); line-height: 0.88; letter-spacing: -0.07em; }
.governance-hero p:last-child { max-width: 720px; margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; }
.governance-hero > span { padding: 9px 13px; border-radius: 999px; white-space: nowrap; color: #07442a; background: #dff6e8; font-size: 0.75rem; font-weight: 900; }

.development-note { margin: 18px 0; padding: 18px 21px; border-left: 5px solid var(--yellow); border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff6ca; }
.development-note p { margin: 0; color: #695c2e; font-size: 0.86rem; }

.governance-section { margin-top: 18px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.section-heading { margin-bottom: 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.section-heading h2, .access-levels h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.05em; }
.section-heading > span { padding: 7px 10px; border-radius: 999px; color: var(--muted); background: #edf1ef; font-size: 0.72rem; font-weight: 850; }

.committee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.committee-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #f8faf9; }
.committee-grid article > p:first-child, .document-grid article div > p { margin: 0 0 6px; color: var(--green); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.committee-grid h3, .document-grid h3 { margin: 0 0 9px; font-size: 1.22rem; }
.committee-grid article > p:last-child, .document-grid article div > p:last-child { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.document-grid article div > p:last-child a { color: var(--green); font-weight: 800; }
.document-intro { max-width: 820px; margin: -12px 0 24px; color: var(--muted); line-height: 1.6; }

.document-grid { display: grid; gap: 11px; }
.document-grid article { padding: 19px; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; background: #f8faf9; }
.document-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--navy); font-weight: 900; }
.document-status, .document-link { padding: 8px 11px; border-radius: 999px; white-space: nowrap; color: var(--muted); background: #e8eeeb; font-size: 0.72rem; font-weight: 850; }
.document-link { color: #fff; background: var(--green); text-decoration: none; }
.document-link.is-secondary { color: var(--navy); background: #dfeae5; }
.document-actions { max-width: 250px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.document-status.is-review { color: #7a2b12; background: #ffe3d4; }
.document-status.is-current { color: #07552f; background: #dff3e7; }

.access-levels { margin-top: 18px; padding: clamp(28px, 5vw, 48px); border-radius: 24px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 52px; color: #fff; background: var(--navy-deep); }
.access-levels .eyebrow { color: var(--yellow); }
.access-levels dl { margin: 0; display: grid; gap: 9px; }
.access-levels dl div { padding: 15px 17px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; }
.access-levels dt { color: var(--yellow); font-weight: 900; }
.access-levels dd { margin: 4px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.86rem; }

footer { width: var(--shell); margin-inline: auto; padding: 24px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.78rem; }
footer a { font-weight: 800; }

@media (max-width: 900px) {
  .header-actions #session-label { display: none; }
  .committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-levels { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand small { display: none; }
  .header-actions a { display: none; }
  .header-actions a:first-of-type { display: inline-flex; }
  .governance-shell { padding-top: 14px; }
  .governance-hero { min-height: 360px; padding: 28px 24px; align-items: flex-start; justify-content: flex-end; flex-direction: column; }
  .governance-hero h1 { font-size: 3.45rem; }
  .development-note { align-items: flex-start; flex-direction: column; gap: 6px; }
  .governance-section { padding: 24px 20px; }
  .section-heading { flex-direction: column; gap: 10px; }
  .committee-grid { grid-template-columns: 1fr; }
  .document-grid article { grid-template-columns: auto 1fr; }
  .document-actions { grid-column: 2; max-width: none; justify-content: flex-start; }
  .access-levels { padding: 28px 22px; }
  footer { flex-direction: column; }
}
