:root {
  color-scheme: light;
  --ink: #17201e;
  --muted: #5b6864;
  --paper: #f8f8f4;
  --white: #ffffff;
  --line: #d9dfda;
  --forest: #22463d;
  --forest-dark: #142f29;
  --moss: #6e7d47;
  --clay: #a75435;
  --sky: #dbe8ed;
  --gold: #e0b447;
  --shadow: 0 14px 34px rgba(18, 34, 30, 0.1);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, a, span { overflow-wrap: anywhere; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 248, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, 100%);
  min-height: 74px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 0.78rem; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; font-size: 0.9rem; font-weight: 750; }
.site-nav a { color: #26332f; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus { color: var(--clay); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative;
  min-height: min(690px, calc(100svh - 74px));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 19, 16, 0.82) 0%, rgba(8, 19, 16, 0.46) 52%, rgba(8, 19, 16, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 19, 16, 0.5) 0%, rgba(8, 19, 16, 0) 58%);
}
.hero-content {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 6rem 1.25rem 5rem;
  color: var(--white);
}
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow { color: #f0d182; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(1.85rem, 3.2vw, 3.2rem); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 0 0 0.55rem; font-size: 1.15rem; line-height: 1.25; }
.hero-copy { max-width: 620px; margin: 1.2rem 0 0; color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions, .arc-actions, .filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.button, .filter-button, .text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 780;
  text-decoration: none;
}
.button { padding: 0.8rem 1.05rem; border: 1px solid transparent; }
.button.primary { background: var(--gold); color: #1b221d; }
.button.secondary { background: rgba(255,255,255,0.14); color: var(--white); border-color: rgba(255,255,255,0.5); }
.button.outline { background: var(--white); color: var(--forest); border-color: #bfcac3; }
.button.dark { background: var(--forest); color: var(--white); }
.button:hover, .button:focus, .filter-button:hover, .filter-button:focus { transform: translateY(-1px); }

.notice-strip {
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  background: var(--forest-dark);
  color: var(--white);
  font-size: 0.94rem;
}
.notice-strip a { color: #f6d675; font-weight: 800; white-space: nowrap; }

section { padding: 5rem 1.25rem; scroll-margin-top: 72px; }
.quick-actions, .events, .board, .arc, .meetings, .contact { width: min(1180px, 100%); margin: 0 auto; }
.content-band { background: #ebf0e8; }
.content-band > * { width: min(1180px, 100%); margin-left: auto; margin-right: auto; }
.section-heading { max-width: 780px; margin-bottom: 2rem; }
.section-intro, .section-note { color: var(--muted); }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-note { max-width: 320px; margin: 0; text-align: right; }

.action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.action-card, .feature-notice, .notice-list article, .event-item, .board-card, .governance-grid article, .document-item, .arc-summary article, .requirement-tool, .arc-rules, .assessment-panel, .next-meeting, .meeting-record, .link-grid a, .contact-list a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.action-card { min-height: 205px; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.72rem; text-decoration: none; }
.action-card span:last-child, .feature-notice p, .notice-list p, .event-details p, .board-card p, .governance-grid p, .document-item p, .arc-summary p, .arc-rules li, .meeting-record li, .next-meeting p, .link-grid span, .contact p { color: var(--muted); }
.action-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--forest); font-size: 0.72rem; font-weight: 850; }

.update-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1rem; }
.feature-notice { padding: 1.5rem; }
.status { display: inline-flex; margin-bottom: 1rem; padding: 0.3rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 850; }
.status.live { background: #dfebd6; color: #264d29; }
.status.past { background: #e8ece9; color: #53605c; }
time { display: block; margin-bottom: 0.4rem; color: var(--clay); font-size: 0.8rem; font-weight: 800; }
.text-link { justify-content: start; color: var(--forest); }
.notice-list { display: grid; gap: 1rem; }
.notice-list article { padding: 1.05rem 1.15rem; }

.event-list { display: grid; gap: 0.85rem; }
.event-item { padding: 1.1rem; display: grid; grid-template-columns: 92px 1fr; gap: 1.25rem; box-shadow: none; }
.event-item.upcoming-event { border-left: 5px solid var(--gold); }
.event-date { min-height: 100px; display: grid; place-content: center; text-align: center; border-right: 1px solid var(--line); }
.event-date span, .event-date small { color: var(--clay); font-size: 0.76rem; font-weight: 850; text-transform: uppercase; }
.event-date strong { font-size: 2.15rem; line-height: 1; }
.event-details .status { margin-bottom: 0.55rem; }
.event-details h3 { font-size: 1.3rem; }
.event-details p { margin: 0.45rem 0; }
.event-meta { color: var(--ink) !important; font-weight: 760; }

.board-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.board-card { grid-column: span 2; overflow: hidden; }
.board-card:nth-child(4) { grid-column: 2 / span 2; }
.board-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; background: #e7ece8; }
.board-card:first-child img, .board-card:nth-child(2) img, .board-card:nth-child(3) img { aspect-ratio: 4 / 4.4; }
.board-card > div { padding: 1rem 1.1rem 1.15rem; }
.board-card h3 { margin-top: 0.3rem; }
.board-card p { margin-bottom: 0; }
.role, .document-type { color: var(--clay); font-size: 0.75rem; font-weight: 850; text-transform: uppercase; }
.governance-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.governance-grid article { padding: 1.1rem; box-shadow: none; }

.filter-bar { margin: 0 0 1rem; }
.filter-button { padding: 0.55rem 0.9rem; border: 1px solid var(--line); background: var(--white); color: var(--forest); }
.filter-button.active { background: var(--forest); color: var(--white); }
.document-list { display: grid; gap: 0.75rem; }
.document-item { min-height: 110px; padding: 1rem 1.1rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.25rem; box-shadow: none; }
.document-item h3 { margin: 0.25rem 0 0.25rem; }
.document-item p { margin: 0; }

.arc-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.arc-summary article { padding: 1.15rem; box-shadow: none; }
.step-number { width: 34px; height: 34px; margin-bottom: 0.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--white); font-weight: 850; }
.arc-tools { margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: 1rem; }
.requirement-tool, .arc-rules { padding: 1.2rem; }
label { display: grid; gap: 0.45rem; color: #2a3633; font-weight: 800; }
select { width: 100%; min-height: 48px; padding: 0.75rem 0.8rem; border: 1px solid #c7d0ca; border-radius: var(--radius); background: #fffefb; color: var(--ink); }
.requirements { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.requirements h3 { font-size: 1rem; }
.requirements ul, .arc-rules ul, .meeting-record ul { margin: 0.65rem 0 0; padding-left: 1.2rem; }
.requirements li + li, .arc-rules li + li, .meeting-record li + li { margin-top: 0.45rem; }

.assessments { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); align-items: center; gap: 2rem; }
.assessment-copy p { color: var(--muted); }
.assessment-panel { padding: 1.25rem; }
.assessment-panel dl { grid-template-columns: 1fr; gap: 0; }
.assessment-panel dl > div { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.assessment-panel dl > div:first-child { padding-top: 0; }
.assessment-panel dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.assessment-panel small { color: var(--muted); font-weight: 600; }
.payment-alert { margin-top: 1.15rem; padding: 0.9rem 1rem; display: grid; gap: 0.2rem; border-left: 4px solid var(--gold); background: #fff8e5; }
.payment-alert span { color: var(--muted); }
dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
dt { font-size: 0.78rem; font-weight: 850; text-transform: uppercase; color: var(--clay); }
dd { margin: 0.2rem 0 0; color: var(--ink); font-weight: 700; }

.meeting-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.next-meeting, .meeting-record { padding: 1.35rem; }
.meeting-time { color: var(--ink) !important; font-size: 1.2rem; font-weight: 850; }
.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.link-grid a { min-height: 160px; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; box-shadow: none; }

.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.contact-list { display: grid; gap: 0.75rem; }
.contact-list a { padding: 1rem 1.1rem; display: grid; gap: 0.2rem; text-decoration: none; box-shadow: none; }
.contact-list span { color: var(--muted); font-size: 0.82rem; }
.contact-list strong { color: var(--forest); }

.site-footer { padding: 2rem 1.25rem; background: var(--forest-dark); color: rgba(255,255,255,0.84); text-align: center; }
.site-footer p { max-width: 920px; margin: 0.25rem auto; }
.footer-note { font-size: 0.82rem; color: rgba(255,255,255,0.62); }

select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(224,180,71,0.78); outline-offset: 2px; }
[hidden] { display: none !important; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.75rem 1.25rem 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .action-grid, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-card, .board-card:nth-child(4) { grid-column: auto; }
  .board-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 0.6fr) 1fr; }
  .board-card:last-child img { height: 100%; aspect-ratio: auto; }
  .governance-grid, .arc-summary { grid-template-columns: 1fr; }
  .update-layout, .arc-tools, .assessments, .meeting-layout, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand strong { font-size: 0.94rem; }
  .brand small { display: none; }
  .hero { min-height: 610px; }
  .hero-content { padding: 5rem 1rem 3.5rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .notice-strip { flex-direction: column; }
  section { padding: 3.5rem 1rem; }
  .split-heading { display: block; }
  .section-note { margin-top: 0.7rem; text-align: left; }
  .action-grid, .link-grid, .board-grid { grid-template-columns: 1fr; }
  .board-card:last-child { grid-column: auto; display: block; }
  .board-card img, .board-card:first-child img, .board-card:nth-child(2) img, .board-card:nth-child(3) img, .board-card:last-child img { aspect-ratio: 4 / 3; height: auto; }
  .document-item { grid-template-columns: 1fr; }
  .document-item .button { width: 100%; }
  .event-item { grid-template-columns: 72px 1fr; gap: 0.85rem; }
  .event-date strong { font-size: 1.8rem; }
  dl { grid-template-columns: 1fr; }
  .hero-actions .button, .arc-actions .button { width: 100%; }
}
