/* ===== Colors & fonts — change these to restyle the whole site ===== */
:root {
  --ink: #0b0f14;        /* near-black: text and title bands */
  --paper: #ffffff;      /* page background */
  --paper-alt: #f4f5f6;  /* alternate section background */
  --accent: #1d4d3a;     /* deep green: section headings, links, buttons */
  --accent-dark: #143628;
  --muted: #59626d;      /* secondary text */
  --line: #e2e5e9;       /* borders and rules */
  --ph-bg: #fff3c4;      /* highlight for [PLACEHOLDERS] still to fill in */
  --display: "Jost", "Futura", "Century Gothic", sans-serif;
  --sans: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@font-face { font-family: "Jost"; src: url("fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Placeholder text that still needs filling in */
.ph { background: var(--ph-bg); padding: 0 4px; border-radius: 2px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.88em; color: var(--ink); }

/* ===== Header ===== */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.wordmark strong { font-family: var(--display); font-weight: 500; font-size: 1.75rem; letter-spacing: 0.08em; }
.wordmark span { font-family: var(--display); font-size: 0.95rem; color: var(--muted); }
.site-nav { display: flex; gap: 26px; }
.site-nav a { font-family: var(--display); font-size: 1rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* ===== Title band (black, like a report cover) ===== */
.band { background: var(--ink); color: #fff; padding: 96px 0 88px; }
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: #a9b4bf; margin-bottom: 18px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 6.5vw, 4rem); line-height: 1.08; max-width: 18ch; }
.band .lead { font-size: 1.2rem; color: #d4dae0; max-width: 52ch; margin-top: 26px; }

/* ===== Notice strip (recruitment, status) ===== */
.notice { border-bottom: 1px solid var(--line); background: var(--paper-alt); }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; }
.notice-label { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--accent); }
.notice p { flex: 1 1 320px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--paper-alt); border-top: none; }
h2 { font-family: var(--display); font-weight: 400; color: var(--accent); font-size: clamp(1.8rem, 3.6vw, 2.2rem); line-height: 1.2; margin-bottom: 20px; }
h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 10px; }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 16px; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 36px; font-size: 1.08rem; }
.label { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Columns separated by a top rule, no boxes */
.col { border-top: 3px solid var(--ink); padding-top: 22px; }
.col p { color: var(--muted); }
.col ul { list-style: none; margin-top: 12px; }
.col li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Numbered list (draft curriculum topics) */
.topics { list-style: none; counter-reset: t; border-top: 1px solid var(--line); max-width: 760px; }
.topics li { counter-increment: t; display: grid; grid-template-columns: 56px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.topics li::before { content: counter(t, decimal-leading-zero); font-family: var(--display); color: var(--accent); }

/* Timeline table */
.timeline { width: 100%; max-width: 760px; border-collapse: collapse; }
.timeline th, .timeline td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.timeline th { font-family: var(--display); font-weight: 500; width: 34%; white-space: nowrap; }
.timeline caption { text-align: left; }

.button { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500; letter-spacing: 0.04em; padding: 13px 28px; margin-top: 32px; }
.button:hover { background: var(--accent-dark); }
.text-link { font-family: var(--display); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ===== Team ===== */
.person .photo { aspect-ratio: 1 / 1; max-width: 220px; background: var(--paper-alt); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 18px; color: var(--muted); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--accent); font-family: var(--display); margin-bottom: 4px; }
.person .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

/* ===== Phones ===== */
@media (max-width: 820px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; }
  .site-nav { gap: 20px; overflow-x: auto; width: 100%; padding-bottom: 6px; }
  .site-nav a { white-space: nowrap; }
  .wordmark span { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .band { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .timeline th { white-space: normal; }
}
