/* ===========================================================
   Montessori Peaks Academy | Board of Directors site
   Styled with tokens drawn from the real MPA logo
   (crimson + gold + teal, warm paper, Newsreader/Hanken).
   =========================================================== */

/* Webfonts: Newsreader (serif display), Hanken Grotesk (sans body),
   Caveat (handwritten accent). */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');

/* ===================== TOKENS ===================== */
:root {
  /* ---- Brand: Crimson (primary, from the logo) ---- */
  --crimson-50:#FBEBEE; --crimson-100:#F6D3DA; --crimson-200:#EDA8B5;
  --crimson-300:#E17D91; --crimson-400:#CD4B63; --crimson-500:#B93A52;
  --crimson-600:#9A2E43; --crimson-700:#7A2335; --crimson-800:#571927; --crimson-900:#3A101A;

  /* ---- Brand: Gold (secondary, from the logo) ---- */
  --gold-50:#FFF9E9; --gold-100:#FEF0C6; --gold-200:#FEE193; --gold-300:#FDCD60;
  --gold-400:#F7BC3D; --gold-500:#EDAA1E; --gold-600:#C98B10; --gold-700:#9C6B0C;
  --gold-800:#6F4C0A; --gold-900:#4A3307;

  /* ---- Brand: Teal (tertiary, from the logo) ---- */
  --teal-50:#E6F7F6; --teal-100:#C2ECEA; --teal-200:#8BDBD8; --teal-300:#4FC6C2;
  --teal-400:#1FB5B1; --teal-500:#00A8A4; --teal-600:#008783; --teal-700:#006A67;
  --teal-800:#004D4B; --teal-900:#003332;

  /* ---- Accent: Alpine sky ---- */
  --sky-50:#EBF3F6; --sky-100:#CFE3EA; --sky-200:#A3C8D6; --sky-300:#74AABF;
  --sky-400:#5390AB; --sky-500:#3E7793; --sky-600:#335F76; --sky-700:#274859;
  --sky-800:#1B333F; --sky-900:#112028;

  /* ---- Warm neutrals: Sand ---- */
  --sand-0:#FFFFFF; --sand-50:#FBF7EF; --sand-100:#F4ECDD; --sand-200:#E8DAC2;
  --sand-300:#D4C0A0; --sand-400:#B69E78; --sand-500:#8F7A57; --sand-600:#6B5A3E;
  --sand-700:#4E412C; --sand-800:#342B1D; --sand-900:#211B11;

  --ink:#2E2419;

  /* Semantic surfaces */
  --color-bg:var(--sand-50);
  --color-bg-sunk:var(--sand-100);
  --surface-card:var(--sand-0);
  --surface-inverse:var(--ink);
  --surface-brand:var(--crimson-500);
  --surface-brand-soft:var(--crimson-50);
  --surface-sun-soft:var(--gold-50);
  --surface-pine-soft:var(--teal-50);
  --surface-sky-soft:var(--sky-50);

  /* Text */
  --text-strong:var(--ink);
  --text-body:var(--sand-800);
  --text-muted:var(--sand-600);
  --text-subtle:var(--sand-500);
  --text-on-brand:var(--sand-50);
  --text-link:var(--crimson-600);

  /* Borders */
  --border-subtle:var(--sand-200);
  --border-default:var(--sand-300);
  --border-strong:var(--sand-400);
  --border-brand:var(--crimson-300);

  /* Interactive */
  --primary:var(--crimson-500); --primary-hover:var(--crimson-600); --primary-active:var(--crimson-700);
  --on-primary:var(--sand-50);
  --secondary:var(--gold-500); --secondary-hover:var(--gold-600); --secondary-active:var(--gold-700);
  --on-secondary:var(--ink);

  /* Typography */
  --font-display:'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent:'Caveat', 'Segoe Print', cursive;
  --font-mono:ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fw-regular:400; --fw-medium:500; --fw-semibold:600; --fw-bold:700; --fw-extra:800;

  --fs-display-1:clamp(2.75rem, 1.6rem + 5.2vw, 4.75rem);
  --fs-display-2:clamp(2.25rem, 1.5rem + 3.4vw, 3.5rem);
  --fs-h1:clamp(2rem, 1.5rem + 2.2vw, 2.75rem);
  --fs-h2:clamp(1.6rem, 1.3rem + 1.4vw, 2.125rem);
  --fs-h3:clamp(1.35rem, 1.2rem + 0.7vw, 1.625rem);
  --fs-h4:1.25rem; --fs-lead:1.1875rem; --fs-body:1.0625rem;
  --fs-sm:0.9375rem; --fs-xs:0.8125rem; --fs-eyebrow:0.78125rem;

  --lh-tight:1.08; --lh-snug:1.22; --lh-heading:1.18; --lh-body:1.62; --lh-relaxed:1.75;
  --ls-tight:-0.02em; --ls-snug:-0.01em; --ls-eyebrow:0.12em; --ls-wide:0.04em;

  /* Spacing & layout */
  --space-1:0.25rem; --space-2:0.5rem; --space-3:0.75rem; --space-4:1rem; --space-5:1.5rem;
  --space-6:2rem; --space-7:2.5rem; --space-8:3rem; --space-9:4rem; --space-10:5rem; --space-11:6rem;
  --container-max:1200px; --container-narrow:760px;
  --gutter:clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --section-y:clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Radius */
  --radius-xs:4px; --radius-sm:8px; --radius-md:12px; --radius-lg:18px; --radius-xl:26px;
  --radius-2xl:36px; --radius-pill:999px;

  /* Shadows: warm brown tint */
  --shadow-xs:0 1px 2px rgba(46,36,25,0.06);
  --shadow-sm:0 1px 3px rgba(46,36,25,0.08), 0 1px 2px rgba(46,36,25,0.05);
  --shadow-md:0 4px 10px rgba(46,36,25,0.08), 0 2px 4px rgba(46,36,25,0.05);
  --shadow-lg:0 12px 28px rgba(46,36,25,0.12), 0 4px 10px rgba(46,36,25,0.06);
  --shadow-xl:0 24px 56px rgba(46,36,25,0.16), 0 8px 18px rgba(46,36,25,0.08);
  --shadow-focus:0 0 0 3px rgba(83,144,171,0.45);
  --shadow-brand:0 10px 24px rgba(185,58,82,0.28);
  --shadow-sun:0 10px 24px rgba(253,205,96,0.45);

  /* Motion */
  --ease-standard:cubic-bezier(0.4,0,0.2,1);
  --ease-out:cubic-bezier(0.16,1,0.3,1);
  --ease-spring:cubic-bezier(0.34,1.56,0.64,1);
  --dur-fast:120ms; --dur-base:200ms; --dur-slow:320ms;
}

/* ===================== BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: var(--lh-heading);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-snug);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--text-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--crimson-700); }

strong, b { font-weight: var(--fw-bold); }
code, kbd { font-family: var(--font-mono); font-size: 0.9em; background: var(--sand-100); padding: 0.1em 0.35em; border-radius: var(--radius-xs); }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--gold-200); color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-xs); }

em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--sky-700); color: var(--sand-50);
  padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Warm "paper" texture for heroes / wells */
.mpa-paper {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(224,163,60,0.08), transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(83,144,171,0.09), transparent 46%);
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,239,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 0; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--text-strong); }
.brand:hover { text-decoration: none; }
.brand-mark { height: 48px; width: auto; flex: none; }
.brand-text strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; line-height: 1.1; color: var(--text-strong); letter-spacing: var(--ls-snug);
}
.brand-text span { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-body); font-family: var(--font-body); font-weight: 700;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); font-size: 0.95rem;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.nav-links a:hover { background: var(--crimson-50); color: var(--crimson-600); text-decoration: none; }
.nav-links a.active { background: var(--crimson-50); color: var(--crimson-600); }
.nav-links a.cta {
  background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm);
}
.nav-links a.cta:hover { background: var(--primary-hover); color: var(--on-primary); box-shadow: var(--shadow-brand); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-body);
  padding: 0.6em 1.35em; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-spring),
    background var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); box-shadow: var(--shadow-brand); }
.btn-primary:active { background: var(--primary-active); }

.btn-secondary { background: var(--secondary); color: var(--on-secondary); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--secondary-hover); box-shadow: var(--shadow-sun); }

.btn-outline { background: transparent; color: var(--crimson-600); border-color: var(--crimson-300); }
.btn-outline:hover { background: var(--crimson-50); border-color: var(--crimson-500); color: var(--crimson-700); }

.btn-ghost { background: transparent; color: var(--text-strong); }
.btn-ghost:hover { background: var(--sand-100); }

/* ===================== HERO ===================== */
/* School building photo behind every hero, under a warm paper wash
   that stays strongest on the left where the text sits. */
.hero {
  padding: var(--section-y) 0;
  background-color: var(--color-bg);
  background-image:
    linear-gradient(to right,
      rgba(251,247,239,0.97) 0%,
      rgba(251,247,239,0.92) 48%,
      rgba(251,247,239,0.55) 100%),
    url('assets/Jeffco-Montesssori-Peaks-Upgrades-1200x676.jpg');
  background-size: cover;
  background-position: center 38%;
  border-bottom: 1px solid var(--border-subtle);
}
.hero h1 { font-size: var(--fs-display-2); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
.hero h1 em { color: var(--crimson-600); }
.hero p.lead {
  font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted);
  max-width: 46ch; margin-bottom: 1.6rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.accent-line {
  font-family: var(--font-accent); font-weight: 600; font-size: 1.5rem;
  color: var(--crimson-500); margin: 1.1rem 0 0;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); align-items: center; }

.hero-card {
  background: var(--surface-sun-soft); border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-md);
}
.hero-card h3 { margin-top: 0; }
.hero-card p { color: var(--text-body); margin-bottom: 0; font-size: 1rem; }

/* ===================== SECTIONS ===================== */
.section { padding: var(--section-y) 0; }
.section.alt { background: var(--color-bg-sunk); }

.section-head { max-width: 62ch; margin-bottom: var(--space-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--crimson-600);
  margin: 0 0 0.5rem;
}

/* ===================== GRID ===================== */
.grid { display: grid; gap: var(--space-5); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ===================== CARDS ===================== */
.card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-default); }

/* Cards that are links (e.g. Meeting Schedule → calendar) */
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--crimson-300); }
.card .card-cta { margin-top: 0.7rem; color: var(--crimson-600); font-weight: 700; }
a.card:hover .card-cta { color: var(--crimson-700); }

.card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--sky-100); color: var(--sky-700);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 0.9rem;
}
.card h3 { margin-bottom: 0.3rem; }
.card p { color: var(--text-body); margin-bottom: 0; font-size: var(--fs-sm); line-height: 1.55; }

/* ===================== LINK LIST ===================== */
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 0.95rem 1.2rem; color: var(--text-strong);
  font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.linklist a:hover { border-color: var(--crimson-300); background: var(--crimson-50); text-decoration: none; transform: translateY(-2px); }
.linklist a span.arrow { color: var(--crimson-600); font-weight: 700; }

/* ===================== CALLOUT ===================== */
.callout {
  background: var(--crimson-500); color: var(--sand-50);
  border-radius: var(--radius-xl); padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.callout h2 { color: var(--sand-50); margin-bottom: 0.3rem; }
.callout p { color: rgba(253,246,232,0.88); margin: 0; max-width: 52ch; }
/* Buttons sitting on a colored band */
.callout .btn-primary { background: var(--secondary); color: var(--on-secondary); box-shadow: var(--shadow-sm); }
.callout .btn-primary:hover { background: var(--secondary-hover); box-shadow: var(--shadow-sun); }
.callout .btn-ghost { background: rgba(255,255,255,0.16); color: var(--sand-50); }
.callout .btn-ghost:hover { background: rgba(255,255,255,0.28); }

/* ===================== TIMELINE ===================== */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--border-default); }
.timeline li { position: relative; padding: 0 0 1.7rem 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: 4px; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface-card); border: 3px solid var(--sky-400);
}
.timeline li.done .dot { background: var(--sky-500); border-color: var(--sky-500); }
.timeline li.current .dot { background: var(--crimson-500); border-color: var(--crimson-500); box-shadow: 0 0 0 4px rgba(185,58,82,0.22); }
.timeline .phase-label {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--text-muted);
}
.timeline li.current .phase-label { color: var(--crimson-600); }
.timeline h3 { margin: 0.15rem 0 0.25rem; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--text-body); font-size: var(--fs-sm); }

/* ===================== FAQ ===================== */
.faq details {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 0.4rem 1.2rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.1rem;
  color: var(--text-strong); padding: 0.9rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--crimson-500); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--border-subtle); }
.faq .faq-body { padding: 0.9rem 0 0.4rem; color: var(--text-body); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ===================== PEOPLE ===================== */
.person {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.4rem; text-align: center; box-shadow: var(--shadow-sm);
}
.person .avatar {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--surface-sky-soft); color: var(--sky-700);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600;
  font-size: 1.35rem; margin: 0 auto 0.7rem;
}
.person strong { display: block; color: var(--text-strong); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.person span { font-size: var(--fs-sm); color: var(--text-muted); }

/* ===================== NOTE / PLACEHOLDER ===================== */
.note {
  background: var(--gold-50); border: 1px dashed var(--crimson-300);
  border-radius: var(--radius-md); padding: 1rem 1.2rem; font-size: var(--fs-sm); color: var(--text-body);
}
.note strong { color: var(--crimson-700); }

/* ===================== EMBEDDED FORM (Typeform) ===================== */
.form-embed {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 0.5rem; overflow: hidden;
}
.form-embed [data-tf-widget] { width: 100%; min-height: 650px; border-radius: var(--radius-lg); overflow: hidden; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: var(--sand-200); margin-top: var(--space-9); }
.footer-peaks { width: 100%; height: 88px; display: block; opacity: 0.9; object-fit: cover; }
.site-footer .container { padding-top: var(--space-8); padding-bottom: var(--space-6); }
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-7); margin-bottom: var(--space-6); }
.site-footer h4 {
  color: var(--gold-400); font-family: var(--font-body); margin: 0 0 0.8rem;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
}
.site-footer p { color: var(--sand-300); }
.site-footer a { color: var(--sand-200); }
.site-footer a:hover { color: var(--sand-0); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: var(--fs-sm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--space-5);
  font-size: var(--fs-xs); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; color: var(--sand-400);
}

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-6); }

/* ===================== CUSTOM ICONS (emoji replacements) ===================== */
/* Monochrome SVGs in assets/icons/, recolored via mask so they inherit
   the surrounding text color (sky in cards, terracotta inline). */
.icon-svg {
  display: inline-block;
  flex: none;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}
.card .icon .icon-svg { width: 28px; height: 28px; }
.linklist a > span:first-child { display: inline-flex; align-items: center; gap: 0.65rem; }
.linklist .icon-svg { width: 20px; height: 20px; color: var(--crimson-600); }
.hero-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.hero-card h3 .icon-svg { width: 26px; height: 26px; color: var(--crimson-600); }

/* ===================== MEETING DETAIL PAGES ===================== */
.docs-mark { width: 72px; height: 72px; margin: 0 auto 0.9rem; }

/* Document cards (policies & bylaws) */
.doc-badge {
  flex: none; width: 64px; text-align: center;
  background: var(--surface-sky-soft); border-radius: var(--radius-md);
  padding: 0.7rem 0 0.6rem; color: var(--sky-700);
}
.doc-badge svg { margin: 0 auto 0.15rem; }
.doc-badge span { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; }
.doc-desc { margin: 0.3rem 0 0; font-size: var(--fs-sm); color: var(--text-body); }
.video-embed {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-lg); background: #000;
}

/* ===================== CALENDAR PAGE ===================== */
.cal-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  padding: clamp(1rem, 0.6rem + 2vw, 2rem);
}
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.cal-toolbar h3 { margin: 0; }
.cal-nav { display: flex; gap: 0.4rem; }
.cal-nav .btn { padding: 0.35em 0.9em; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow {
  text-align: center; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
  padding: 0.3rem 0 0.5rem;
}
.cal-cell {
  min-height: 92px; background: var(--color-bg);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  padding: 0.3rem 0.35rem;
}
.cal-cell .day-num {
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem;
  border-radius: 50%; font-size: var(--fs-xs); font-weight: 700; color: var(--text-muted);
}
.cal-cell.out { background: transparent; border-style: dashed; }
.cal-cell.out .day-num { color: var(--text-subtle); opacity: 0.7; }
.cal-cell.today { border-color: var(--crimson-400); background: var(--surface-brand-soft); }
.cal-cell.today .day-num { background: var(--crimson-500); color: var(--sand-50); }

.cal-event {
  display: block; margin-top: 0.25rem; padding: 0.25rem 0.4rem;
  border-radius: var(--radius-xs); background: var(--sky-100);
  border-left: 3px solid var(--sky-500); color: var(--sky-800);
  font-size: 0.72rem; font-weight: 700; line-height: 1.3; text-decoration: none;
}
.cal-event:hover { background: var(--sky-200); color: var(--sky-900); text-decoration: none; }
.cal-event.past { background: var(--teal-50); border-left-color: var(--teal-300); color: var(--teal-700); }

.cal-legend { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1rem; font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.cal-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; }

/* Meeting cards (upcoming & past lists) */
.meeting-list { display: grid; gap: 0.9rem; }
.meeting-card {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
}
.meeting-card:target { border-color: var(--crimson-400); box-shadow: var(--shadow-brand); }
.date-badge {
  flex: none; width: 64px; text-align: center;
  background: var(--surface-brand-soft); border-radius: var(--radius-md);
  padding: 0.45rem 0 0.55rem;
}
.date-badge .mon { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crimson-600); }
.date-badge .day { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; color: var(--text-strong); }
.date-badge .yr { display: block; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); }
.meeting-main { flex: 1 1 16rem; }
.meeting-main h3 { margin: 0 0 0.15rem; font-size: 1.15rem; }
.meeting-meta { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.meeting-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { font-size: var(--fs-sm); padding: 0.45em 1.05em; }
.badge-soft {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; color: var(--text-muted);
  background: var(--sand-100); border: 1px dashed var(--border-default);
  border-radius: var(--radius-pill); padding: 0.35em 0.9em;
}
.past-year {
  margin: 1.6rem 0 0.7rem; font-size: 1rem; color: var(--text-muted);
  font-family: var(--font-body); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}

@media (max-width: 700px) {
  .cal-cell { min-height: 52px; padding: 0.2rem; }
  /* Collapse event chips to dots on small screens */
  .cal-event, .cal-event:hover {
    width: 10px; height: 10px; padding: 0; border-left: none; border-radius: 50%;
    margin: 0.3rem auto 0; overflow: hidden; color: transparent; background: var(--sky-500);
  }
  .cal-event.past { background: var(--teal-300); }
}

/* ===================== GRIEVANCE PROCESS FLOW ===================== */
.flow-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 0.8rem; }
.flow-tab {
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-body);
  padding: 0.55em 1.4em; border-radius: var(--radius-pill); cursor: pointer;
  border: 2px solid var(--border-default); background: var(--surface-card); color: var(--text-body);
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.flow-tab:hover { border-color: var(--crimson-300); }
.flow-tab.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.flow-toolbar { text-align: center; margin-bottom: 2rem; }
.flow-expand {
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 700; color: var(--text-link); text-decoration: underline;
  text-underline-offset: 2px; padding: 0.3rem;
}

.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 740px; }
.flow-node details {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.flow-node summary { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.flow-node summary::-webkit-details-marker { display: none; }
.flow-node summary::after { content: "+"; margin-left: auto; color: var(--crimson-500); font-size: 1.5rem; line-height: 1; flex: none; }
.flow-node details[open] summary::after { content: "\2013"; }
.flow-step {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky-100); color: var(--sky-700);
  font-weight: 800; font-size: 1.05rem;
}
.flow-node.decision .flow-step { background: var(--gold-100); color: var(--gold-800); }
.flow-node h3 { margin: 0; font-size: 1.15rem; }
.flow-sub { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.flow-detail { padding: 0 1.4rem 1.15rem 4.2rem; color: var(--text-body); font-size: var(--fs-sm); line-height: 1.6; }
.flow-detail p { margin: 0 0 0.6em; }
.flow-detail p:last-child, .flow-detail ul:last-child { margin-bottom: 0; }
.flow-detail ul { margin: 0.3rem 0 0.6rem; padding-left: 1.2rem; }
.flow-detail li { margin-bottom: 0.25rem; }

.flow-connector { display: grid; place-items: center; padding: 0.15rem 0; }
.flow-connector i { display: block; width: 2px; height: 13px; background: var(--border-strong); }
.flow-connector span {
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); padding: 0.15rem 0;
}
.flow-connector .arrowhead { color: var(--border-strong); font-size: 0.8rem; line-height: 0.6; padding-bottom: 0.2rem; }

.flow-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.branch { border-radius: var(--radius-lg); padding: 1.05rem 1.2rem; border: 1px solid; font-size: var(--fs-sm); line-height: 1.55; }
.branch h4 { margin: 0 0 0.35rem; font-size: 1.02rem; font-family: var(--font-display); }
.branch p { margin: 0 0 0.5em; }
.branch p:last-child { margin-bottom: 0; }
.branch.end { background: var(--sand-100); border-color: var(--sand-300); }
.branch.go { background: var(--teal-50); border-color: var(--teal-200); }
.branch-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; border-radius: var(--radius-pill); padding: 0.25em 0.8em; margin-bottom: 0.5rem;
}
.branch.end .branch-tag { background: var(--sand-200); color: var(--sand-700); }
.branch.go .branch-tag { background: var(--teal-100); color: var(--teal-700); }

@media (max-width: 700px) {
  .flow-branches { grid-template-columns: 1fr; }
  .flow-detail { padding-left: 1.4rem; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  /* Text spans the full width on small screens, so wash evenly */
  .hero {
    background-image:
      linear-gradient(rgba(251,247,239,0.94), rgba(251,247,239,0.94)),
      url('assets/Jeffco-Montesssori-Peaks-Upgrades-1200x676.jpg');
  }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .nav-links a { padding: 0.4rem 0.7rem; font-size: 0.9rem; }
  .form-embed [data-tf-widget] { min-height: 560px; }
}

/* ===================== BOARD BIOS PAGE ===================== */
.bio-list { display: grid; gap: var(--space-6); }

.bio-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-6);
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}

.bio-photo {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.bio-avatar {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-brand-soft);
  color: var(--crimson-600);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
}

.bio-role {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--crimson-600);
  margin-bottom: 0.3rem;
}

.bio-text h2 { margin-bottom: 0.7rem; }
.bio-text p:last-child { margin-bottom: 0; }
.bio-pending { color: var(--text-muted); font-style: italic; }

@media (max-width: 700px) {
  .bio-card { grid-template-columns: 1fr; }
  .bio-media { max-width: 260px; }
}

/* Home roster cards link to the bios page */
a.person {
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
a.person:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

/* Photo thumbnails on the home roster cards */
.person .avatar-photo {
  width: 66px; height: 66px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 0.7rem;
  box-shadow: var(--shadow-xs);
}
