/* Minutes MATter — site styles */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-400-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --teal: #1E6B73;
  --pine: #123F45;
  --ink: #1F2A30;
  --slate: #4A5A63;
  --mist: #E8EFEE;
  --white: #FFFFFF;
  --gold: #E3B04B;
  --line: #C9D7D5;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --spine: 4px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 84px; width: auto; }
.nav-toggle { display: none; font: 600 1rem var(--sans); background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 14px; border-radius: 4px; cursor: pointer; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--teal); color: var(--teal); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--slate); }

/* Hero: the joined-M stroke becomes the page's spine */
.hero { background: var(--pine); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 9vw, 112px); }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p { color: #D8E6E8; font-size: 1.25rem; max-width: 52ch; }
.hero-inner { padding-left: clamp(20px, 4vw, 48px); border-left: var(--spine) solid var(--gold); }
.hero-mark { position: absolute; right: var(--gutter); bottom: -40px; width: clamp(160px, 26vw, 320px); opacity: 0.12; pointer-events: none; }
/* Hero photo: public-domain USGS image under a pine duotone so text stays readable */
.hero-photo { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(18,63,69,0.94) 0%, rgba(18,63,69,0.86) 45%, rgba(18,63,69,0.55) 100%), url("https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/full_width/public/vhp_img259_0.jpg"); background-size: cover; background-position: center 35%; }
.hero .wrap { z-index: 1; }
.hero-mark { z-index: 1; }
.page-hero .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 20ch; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn { display: inline-block; font: 600 1.05rem var(--sans); padding: 13px 22px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #F0C46A; color: var(--ink); }
.btn-ghost { border-color: #D8E6E8; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--pine); color: var(--white); }

/* Sections hang off a continuous teal line */
main { position: relative; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.mist { background: var(--mist); }
.spine { border-left: var(--spine) solid var(--teal); padding-left: clamp(20px, 4vw, 48px); }
.section-head { max-width: 760px; }

/* Purpose statement */
.purpose { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.5; max-width: 40ch; color: var(--ink); }
.purpose-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; max-width: 760px; }
.purpose-list li { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; padding-left: 22px; position: relative; }
.purpose-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--teal); }

/* Program parts: a two-column definition layout, not cards */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 40px; }
.part h3 { margin-bottom: 0.35em; }
.part p { color: var(--slate); margin: 0; }

/* Who we serve */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.people > div { padding: 28px 28px 8px 0; }
.people > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.people p { color: var(--slate); }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; margin: 36px 0 12px; }
.figure-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--teal); line-height: 1; margin-bottom: 8px; }
.figure p { color: var(--slate); margin: 0; max-width: 40ch; }
.source { font-size: 0.95rem; color: var(--slate); }

/* Band */
.band { background: var(--teal); color: var(--white); }
.band h2, .band p { color: var(--white); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.band p { margin: 0; max-width: 56ch; color: #E3EFF0; }
.band .btn-primary { flex: none; }

/* About */
.statement { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.55; max-width: 44ch; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 32px; margin: 24px 0 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--slate); }

/* Get involved / contact */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.paths p { color: var(--slate); }
.contact-block { font-size: 1.25rem; }
.contact-block a { font-weight: 600; }

.note { background: var(--mist); border-left: var(--spine) solid var(--gold); padding: 18px 22px; max-width: 760px; }
.note p { margin: 0; }

/* Footer */
.site-footer { background: var(--pine); color: #D8E6E8; font-size: 1rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer img { height: 84px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer p { margin: 0 0 6px; }
.legal { border-top: 1px solid rgba(216,230,232,0.25); }
.legal .wrap { display: block; padding-top: 18px; padding-bottom: 24px; font-size: 0.9rem; }
.legal p { max-width: none; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; gap: 4px; padding: 8px 0 4px; }
  .site-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .parts, .figures, .paths { grid-template-columns: 1fr; gap: 28px; }
  .people { grid-template-columns: 1fr; }
  .people > div, .people > div + div { padding: 24px 0 4px; border-left: 0; border-bottom: 1px solid var(--line); }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .brand img { height: 56px; }
  .hero-mark { display: none; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
