/* ============================================
   WAI 2000 — design tokens
   ============================================ */
:root {
  --bg-deep:      #12211A;   /* deep bush green — base background */
  --bg-panel:     #1B2E24;   /* lighter panel green */
  --bg-panel-2:   #223A2D;   /* hover / raised panel */
  --paper:        #E9E3D2;   /* stone/parchment — light content sections */
  --paper-soft:   #F4EFE2;   /* lighter text on dark bg */
  --ink:          #201D17;   /* dark text on paper */
  --ink-soft:     #4A4638;   /* secondary text on paper */
  --wai-blue:     #4A96A8;   /* water accent */
  --wai-blue-dim: #2F6472;
  --ochre:        #C1913F;   /* land / milestone accent */
  --ochre-dim:    #8A6529;
  --line:         rgba(233, 227, 210, 0.14);
  --line-soft:    rgba(32, 29, 23, 0.12);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--paper-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

a {
  color: var(--wai-blue);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(18, 33, 26, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--paper-soft);
}

.brand .mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand .tag {
  font-size: 0.78rem;
  color: var(--wai-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--paper-soft);
  font-size: 0.95rem;
  opacity: 0.85;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  opacity: 1;
  color: var(--ochre);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper-soft);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
  }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  color: var(--ochre);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--paper-soft);
  max-width: 14ch;
}

.hero p.lede {
  max-width: 60ch;
  font-size: 1.1rem;
  color: rgba(244, 239, 226, 0.82);
  margin-top: 18px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 14px;
  border: 1px solid var(--wai-blue-dim);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--paper-soft);
  background: rgba(74, 150, 168, 0.1);
}
.status-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wai-blue);
  box-shadow: 0 0 0 4px rgba(74, 150, 168, 0.2);
}

/* ============================================
   Timeline (signature element)
   ============================================ */
.timeline-section {
  padding: 56px 0 72px;
}

.timeline-section .section-head {
  margin-bottom: 40px;
}

.section-head .eyebrow {
  color: var(--wai-blue);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-head h2 {
  color: var(--paper-soft);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--ochre-dim);
}

.timeline-item.is-done::before {
  background: var(--ochre);
  border-color: var(--ochre);
}

.timeline-item.is-current::before {
  background: var(--wai-blue);
  border-color: var(--wai-blue);
  box-shadow: 0 0 0 5px rgba(74, 150, 168, 0.28);
}

.timeline-item.is-upcoming::before {
  background: var(--bg-deep);
  border-color: var(--line);
  border-style: dashed;
}

.timeline-item .year {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wai-blue);
  margin-bottom: 6px;
}
.timeline-item.is-upcoming .year { color: rgba(244, 239, 226, 0.5); }

.timeline-item h3 {
  color: var(--paper-soft);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: rgba(244, 239, 226, 0.75);
  max-width: 58ch;
  margin: 0;
}

.you-are-here {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--bg-deep);
  background: var(--wai-blue);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================
   Paper panels (content sections)
   ============================================ */
.panel-section {
  background: var(--paper);
  color: var(--ink);
  padding: 64px 0;
}

.panel-section h2 {
  color: var(--ink);
}

.panel-section .section-head .eyebrow {
  color: var(--wai-blue-dim);
}

.panel-section p {
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 24px;
}

.card .card-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wai-blue-dim);
  margin-bottom: 8px;
}

.card h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95rem;
  margin: 0;
}

.card a.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wai-blue-dim);
}

/* ============================================
   Update feed
   ============================================ */
.update-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.update-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
}

.update-item:first-child { padding-top: 0; }

.update-item .update-date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.update-item h3 {
  color: var(--ink);
  font-size: 1.15rem;
}

.update-item .update-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(74, 150, 168, 0.12);
  color: var(--wai-blue-dim);
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .update-item { grid-template-columns: 1fr; gap: 6px; }
}

/* Video embeds */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 14px;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================
   Placeholder callout
   ============================================ */
.placeholder-note {
  border: 1px dashed var(--ochre-dim);
  background: rgba(193, 145, 63, 0.08);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin: 18px 0;
}
.placeholder-note strong { color: var(--ochre-dim); }

/* ============================================
   Resource list
   ============================================ */
.resource-group {
  margin-top: 40px;
}
.resource-group h3 {
  color: var(--ink);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.resource-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  gap: 16px;
}
.resource-row:last-child { border-bottom: none; }
.resource-row .r-name { color: var(--ink); font-weight: 600; }
.resource-row .r-desc { color: var(--ink-soft); font-size: 0.9rem; }
.resource-row .r-link {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================
   Contact / about blocks
   ============================================ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.person-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--line-soft);
}
.person-card .role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wai-blue-dim);
  margin-bottom: 4px;
}
.person-card h3 { font-size: 1.05rem; color: var(--ink); }

.contact-box {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}
.contact-box h3 { color: var(--paper-soft); }
.contact-box p { color: rgba(244, 239, 226, 0.75); }

form.simple-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  max-width: 480px;
}
form.simple-form label {
  font-size: 0.85rem;
  color: var(--paper-soft);
  margin-bottom: 4px;
  display: block;
}
form.simple-form input,
form.simple-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--paper-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
form.simple-form button {
  justify-self: start;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  background: var(--ochre);
  color: var(--bg-deep);
  font-weight: 600;
  cursor: pointer;
}
form.simple-form button:hover { background: var(--ochre-dim); color: var(--paper-soft); }

/* ============================================
   Footer
   ============================================ */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: rgba(244, 239, 226, 0.55);
  font-size: 0.88rem;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Section spacing utility */
.section-pad { padding: 56px 0; }
