/* ==========================================================================
   Pine View School NHS — design system
   Palette: pastel blue + pastel yellow + white
   ========================================================================== */

:root {
  /* Blues */
  --blue-050: #f2f8fe;
  --blue-100: #e2eefb;
  --blue-200: #c7dff7;
  --blue-300: #a5c9ee;
  --blue-400: #77a9dd;
  --blue-500: #4d86c4;
  --blue-600: #35679f;
  --blue-700: #24486f;
  --blue-900: #14293f;

  /* Yellows */
  --yellow-050: #fffdf3;
  --yellow-100: #fdf6dc;
  --yellow-200: #fbecb6;
  --yellow-300: #f7dd85;
  --yellow-400: #f0cd55;
  --yellow-500: #d9ab2c;
  --yellow-700: #8a6a12;

  /* Neutrals */
  --white: #ffffff;
  --paper: #fbfdff;
  --ink: #14293f;
  --ink-soft: #3f5a75;
  --ink-mute: #6b839b;
  --line: #dfeaf6;

  /* Semantic */
  --bg: var(--paper);
  --surface: var(--white);
  --brand: var(--blue-600);
  --brand-soft: var(--blue-200);
  --accent: var(--yellow-300);
  --accent-soft: var(--yellow-200);

  /* Shape + depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(20, 41, 63, .05), 0 2px 8px rgba(20, 41, 63, .05);
  --sh-2: 0 2px 6px rgba(20, 41, 63, .06), 0 12px 28px rgba(20, 41, 63, .08);
  --sh-3: 0 4px 12px rgba(20, 41, 63, .08), 0 24px 56px rgba(20, 41, 63, .12);

  --wrap: 1120px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.3rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.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;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease),
              background .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20, 41, 63, .06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  padding: .3rem 0;
}
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text .b1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -.01em;
}
.brand-text .b2 {
  font-size: .705rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-weight: 550;
  font-size: .945rem;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--blue-100); color: var(--blue-700); }
.nav-links a[aria-current="page"] {
  background: var(--blue-600);
  color: #fff;
}

.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: absolute;
    inset: 100% var(--gut) auto var(--gut);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-3);
    padding: .6rem;
    display: none;
  }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-links a { padding: .8rem 1rem; border-radius: var(--r-sm); }
  .nav-cta { margin: .45rem 0 .2rem; }
  .nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Buttons + small UI
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: .96rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: var(--sh-2); }

.btn-accent { background: var(--yellow-300); color: var(--ink); box-shadow: var(--sh-1); }
.btn-accent:hover { background: var(--yellow-400); color: var(--ink); box-shadow: var(--sh-2); }

.btn-ghost { background: var(--white); color: var(--blue-700); border-color: var(--blue-200); }
.btn-ghost:hover { background: var(--blue-050); border-color: var(--blue-300); color: var(--blue-700); }

.btn-sm { padding: .55rem 1rem; font-size: .88rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: .4rem .85rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.eyebrow.is-accent { color: var(--yellow-700); background: var(--yellow-200); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  font-size: .78rem;
  font-weight: 650;
  padding: .28rem .7rem;
  border-radius: var(--r-pill);
  background: var(--blue-100);
  color: var(--blue-700);
  white-space: nowrap;
}
.pill.is-accent { background: var(--yellow-200); color: var(--yellow-700); }
.pill.is-mute { background: #eef2f7; color: var(--ink-mute); }

.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.section.tight { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.section-blue { background: linear-gradient(180deg, var(--blue-050), var(--blue-100)); }
.section-white { background: var(--white); }

.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 940px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.card.lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--blue-200);
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .965rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(900px 520px at 78% -8%, var(--yellow-100) 0%, transparent 62%),
    radial-gradient(1000px 620px at 10% 0%, var(--blue-100) 0%, transparent 60%),
    linear-gradient(180deg, var(--white), var(--paper));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.hero h1 { margin-bottom: .55rem; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, var(--yellow-200) 62%);
  padding-inline: .06em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.4rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.hero-stats .stat .n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.hero-stats .stat .l {
  font-size: .82rem;
  color: var(--ink-mute);
  font-weight: 600;
  letter-spacing: .02em;
}

/* Emblem panel */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.emblem-card {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  display: grid;
  place-items: center;
  padding: 2.2rem;
  overflow: hidden;
}
.emblem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 300px at 25% 15%, var(--blue-050), transparent 70%),
    radial-gradient(360px 280px at 85% 90%, var(--yellow-050), transparent 70%);
}
.emblem-card svg { position: relative; width: 78%; height: auto; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  border-radius: var(--r-pill);
  padding: .5rem .95rem;
  font-size: .84rem;
  font-weight: 650;
  color: var(--ink);
  animation: bob 6s ease-in-out infinite;
}
.float-chip .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-400);
}
.float-chip.c1 { top: 6%; left: -2%; }
.float-chip.c2 { bottom: 12%; right: -3%; animation-delay: -2s; }
.float-chip.c2 .dot { background: var(--yellow-400); }
.float-chip.c3 { bottom: 2%; left: 8%; animation-delay: -4s; }
.float-chip.c3 .dot { background: var(--blue-600); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 520px) {
  .float-chip.c1, .float-chip.c2, .float-chip.c3 { display: none; }
}

/* Compact page hero for interior pages */
.page-hero {
  padding: clamp(2.8rem, 6vw, 4.4rem) 0 clamp(2.2rem, 4vw, 3rem);
  background:
    radial-gradient(760px 420px at 88% -20%, var(--yellow-100) 0%, transparent 60%),
    linear-gradient(180deg, var(--blue-050), var(--paper));
  border-bottom: 1px solid var(--line);
}
.crumb {
  font-size: .84rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
}
.crumb a { color: var(--ink-mute); text-decoration: none; font-weight: 600; }
.crumb a:hover { color: var(--blue-600); text-decoration: underline; }
.crumb span[aria-current] { color: var(--ink); font-weight: 650; }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 1.85rem);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-300), var(--yellow-300));
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }

.pillar .ico {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 1.05rem;
}
.pillar:nth-child(even) .ico { background: var(--yellow-200); color: var(--yellow-700); }
.pillar .ico svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { font-size: .95rem; margin: 0; }
.pillar .tldr {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--line);
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* --------------------------------------------------------------------------
   Requirements checklist + eligibility tool
   -------------------------------------------------------------------------- */

.req-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
@media (max-width: 940px) { .req-layout { grid-template-columns: minmax(0, 1fr); } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: .9rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.checklist li:hover { border-color: var(--blue-200); transform: translateX(3px); }
.checklist .tick {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-top: .12rem;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist .t { font-weight: 650; color: var(--ink); display: block; }
.checklist .d { font-size: .89rem; color: var(--ink-mute); display: block; margin-top: .15rem; }

.note {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: var(--yellow-100);
  border: 1px solid var(--yellow-200);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-size: .92rem;
  color: var(--yellow-700);
}
.note .ico { flex: none; margin-top: .12rem; }
.note strong { color: #6d520c; }
.note.is-blue {
  background: var(--blue-050);
  border-color: var(--blue-200);
  color: var(--blue-700);
}
.note.is-blue strong { color: var(--blue-700); }

/* Eligibility checker */
.checker {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  position: sticky;
  top: 100px;
}
@media (max-width: 940px) { .checker { position: static; } }

.checker h3 { margin-bottom: .3rem; }
.checker .hint { font-size: .87rem; color: var(--ink-mute); margin-bottom: 1.15rem; }

.check-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .62rem .7rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .16s var(--ease);
  font-size: .92rem;
}
.check-item:hover { background: var(--blue-050); }
.check-item input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 21px; height: 21px;
  margin: .16rem 0 0;
  border: 2px solid var(--blue-300);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.check-item input::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2.4px solid #fff;
  border-bottom: 2.4px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .16s var(--ease);
  margin-top: -2px;
}
.check-item input:checked { background: var(--blue-600); border-color: var(--blue-600); }
.check-item input:checked::after { transform: rotate(-45deg) scale(1); }

.checker-bar {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.meter {
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--blue-100);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-400), var(--yellow-300));
  transition: width .45s var(--ease);
}
.checker-out {
  margin-top: .9rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.checker-out strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.1rem;
  position: relative;
  display: grid;
  gap: 1.6rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-300), var(--yellow-300));
  border-radius: 2px;
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: .42rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-050);
}
.timeline li:last-child::before { border-color: var(--yellow-400); box-shadow: 0 0 0 4px var(--yellow-050); }
.timeline .when {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.timeline h4 { margin: .18rem 0 .28rem; }
.timeline p { font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------------
   Meetings
   -------------------------------------------------------------------------- */

.meet-facts { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .meet-facts { grid-template-columns: minmax(0, 1fr); } }

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--sh-1);
  display: flex;
  gap: .95rem;
  align-items: flex-start;
}
.fact .ico {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: var(--yellow-200);
  color: var(--yellow-700);
  display: grid; place-items: center;
}
.fact:nth-child(even) .ico { background: var(--blue-100); color: var(--blue-600); }
.fact .ico svg { width: 21px; height: 21px; }
.fact .k {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: .15rem;
}
.fact .v {
  display: block;
  font-weight: 650; color: var(--ink); font-size: 1.02rem; line-height: 1.4;
}

.meet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.meet {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .85rem 1.1rem;
  box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease);
}
.meet:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.meet.is-past { opacity: .62; }
.meet.is-next { border-color: var(--yellow-300); background: var(--yellow-050); box-shadow: var(--sh-2); }

.meet .date {
  display: grid;
  place-items: center;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  padding: .45rem .3rem;
  line-height: 1.1;
}
.meet.is-next .date { background: var(--yellow-100); border-color: var(--yellow-200); }
.meet .date .m {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-600);
}
.meet.is-next .date .m { color: var(--yellow-700); }
.meet .date .d {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600; color: var(--ink);
}
.meet .where { display: block; font-weight: 650; color: var(--ink); }
.meet .meta { display: block; font-size: .87rem; color: var(--ink-mute); }

@media (max-width: 560px) {
  .meet { grid-template-columns: 62px 1fr; }
  .meet > .pill { grid-column: 2; justify-self: start; }
}

/* --------------------------------------------------------------------------
   Board members
   -------------------------------------------------------------------------- */

.people { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: minmax(0, 1fr); } }

.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--sh-1);
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--blue-200); }

.avatar {
  width: 96px; height: 96px;
  margin: 0 auto 1.05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--blue-700);
  background: linear-gradient(145deg, var(--blue-100), var(--blue-200));
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  letter-spacing: .01em;
}
.person.is-lead .avatar {
  color: var(--yellow-700);
  background: linear-gradient(145deg, var(--yellow-100), var(--yellow-300));
}
.person .name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--ink); }
.person .role {
  font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue-600); margin-top: .3rem;
}
.person.is-lead .role { color: var(--yellow-700); }
.person .blurb { font-size: .9rem; color: var(--ink-mute); margin-top: .8rem; }

/* --------------------------------------------------------------------------
   Files
   -------------------------------------------------------------------------- */

.file-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.file-row:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.file-row .ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600);
}
.file-row .ico.pdf { background: var(--yellow-200); color: var(--yellow-700); }
.file-row .ico svg { width: 22px; height: 22px; }
.file-row .n { display: block; font-weight: 650; color: var(--ink); }
.file-row .s { display: block; font-size: .87rem; color: var(--ink-mute); }
@media (max-width: 560px) {
  .file-row { grid-template-columns: 44px 1fr; }
  .file-row > .pill { grid-column: 2; justify-self: start; }
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: .7rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--sh-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.35rem;
  font-weight: 650;
  color: var(--ink);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--blue-500);
  border-bottom: 2.2px solid var(--blue-500);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--blue-050); }
.faq .a { padding: 0 1.35rem 1.25rem; font-size: .95rem; }
.faq .a p { margin-bottom: .7rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--blue-200), var(--blue-100) 45%, var(--yellow-200));
  border: 1px solid var(--blue-200);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  box-shadow: var(--sh-2);
}
.cta-band h2 { margin-bottom: .5rem; }
.cta-band .lede { margin-inline: auto; color: var(--blue-700); }
.cta-band .row {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.9rem;
}

/* --------------------------------------------------------------------------
   Contact + footer
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--sh-1);
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.contact-card .ico {
  width: 50px; height: 50px; margin: 0 auto .95rem;
  border-radius: 15px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600);
}
.contact-card:nth-child(2) .ico { background: var(--yellow-200); color: var(--yellow-700); }
.contact-card .k {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .3rem;
}
.contact-card .v {
  font-weight: 650;
  color: var(--ink);
  /* Long email addresses have no break opportunity — shrink slightly so they
     fit on one line, and only break as a last resort on narrow screens. */
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.site-footer {
  background: var(--blue-900);
  color: #b9cee2;
  padding: clamp(2.8rem, 5vw, 4rem) 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-text .b2 { color: var(--blue-300); }
.site-footer p { font-size: .93rem; color: #a8c1d8; max-width: 42ch; }
.site-footer h4 {
  color: #fff; font-family: var(--font); font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer ul a, .site-footer address a {
  color: #c6dcef; text-decoration: none; font-size: .93rem; font-style: normal;
}
.site-footer ul a:hover, .site-footer address a:hover { color: var(--yellow-300); text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: .55rem; font-size: .93rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.6rem; font-size: .85rem; color: #8fabc6;
}
.social { display: flex; gap: .5rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #d7e7f5;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { background: var(--yellow-300); color: var(--blue-900); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

.footer-actions { display: flex; align-items: center; gap: .9rem; }
.admin-link {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #d7e7f5; font-size: .85rem; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.admin-link:hover { background: var(--yellow-300); color: var(--blue-900); transform: translateY(-2px); }
.admin-link svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */

/* Only hide content when JS is available to reveal it again — otherwise the
   page would be blank for anyone whose scripts fail to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-600);
  display: grid; place-items: center;
  box-shadow: var(--sh-2);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-050); }
.to-top svg { width: 18px; height: 18px; }

@media print {
  .site-header, .to-top, .hero-art, .cta-band, .checker { display: none !important; }
  body { background: #fff; }
  .card, .meet, .person, .file-row { box-shadow: none; break-inside: avoid; }
}
