/* CCSD66 Tech Hub — shared styles
 * Brand sampled directly from www.ccsd66.org:
 *   forest green #1F5409, charcoal #1A1A1A, white, Inter (weights 400/700/900).
 * Mirrors the district website + the deck/handout/run-of-show system.
 */

:root {
  /* District brand — sampled from www.ccsd66.org (April 2026) */
  --green: #1F5409;             /* primary district green — deep forest */
  --green-dark: #143804;        /* hover / pressed */
  --green-bg: #EFF1EA;           /* very light tint for soft sections */
  --green-bg-2: #F5F6F1;         /* even softer */
  --charcoal: #1A1A1A;           /* district uses near-black */
  --soft-gray: #595959;
  --rule-gray: #DDDDDD;
  --soft-bg: #F1F1F1;            /* matches district button gray */
  --white: #FFFFFF;
  --tile-blue: #5B7DA9;          /* used in app mockups only */
  --tile-blue-bg: #EAF0F7;

  --content-w: 1140px;
  --radius: 4px;                 /* district uses tight radii */
  --pad-y: 64px;

  /* Inter at the weights the district actually uses */
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* Pull Inter at all the weights we use, so we don't depend on local install */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--white);
}

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

/* ---------- HEADER / NAV ---------- */

.site-header {
  border-bottom: 1px solid var(--rule-gray);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}
.brand__wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--green);
  line-height: 1;
}
.brand__rule {
  width: 24px;
  height: 2px;
  background: var(--green);
  margin-top: 4px;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--soft-gray);
  margin-left: 4px;
  letter-spacing: 0.3px;
}

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 15px;
}
.site-nav a:hover { color: var(--green); text-decoration: none; }
.site-nav a.is-active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
}

.site-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--green);
}

.nav-toggle { display: none; }

/* ---------- LAYOUT ---------- */

main { min-height: 60vh; }

.section {
  padding: var(--pad-y) 24px;
}
.section--soft { background: var(--soft-bg); }
.section--green { background: var(--green-bg); }

.container {
  max-width: var(--content-w);
  margin: 0 auto;
}

.section__eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section__title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  color: var(--green);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section__lede {
  font-size: 19px;
  color: var(--soft-gray);
  margin: 0 0 32px;
  max-width: 720px;
}

/* ---------- HERO ---------- */

.hero {
  padding: 88px 24px 72px;
}
.hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.02;
  color: var(--green);
  margin: 0 0 22px;
  max-width: 850px;
  letter-spacing: -1px;
}
/* District-style italic subtitle — Inter Bold Italic, district green */
.hero__sub {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--green);
  margin: 0 0 14px;
  max-width: 800px;
}
.hero__supporting {
  font-size: 17px;
  color: var(--soft-gray);
  margin: 0 0 36px;
  max-width: 700px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- AUDIENCE BADGE + STAFF-ONLY MARKER ---------- */

.audience-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--green-bg);
  color: var(--green);
  margin-bottom: 16px;
}
.audience-pill--staff {
  background: var(--charcoal);
  color: var(--white);
}
.staff-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--charcoal);
  color: var(--white);
  margin-left: 10px;
  vertical-align: middle;
}
.staff-only-badge::before {
  content: "🔒";
  font-size: 11px;
}

/* Choose-your-path cards on the top home */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.path-card {
  border: 1px solid var(--rule-gray);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  transition: border-color 0.15s, transform 0.15s;
  display: block;
}
.path-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  text-decoration: none;
}
.path-card--staff {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.path-card--staff:hover {
  border-color: var(--charcoal);
}
.path-card__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}
.path-card--staff .path-card__eyebrow { color: rgba(255,255,255,0.7); }
.path-card__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 38px;
  line-height: 1.05;
  color: var(--green);
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.path-card--staff .path-card__title { color: var(--white); }
.path-card__body {
  font-size: 17px;
  color: var(--soft-gray);
  margin: 0 0 24px;
  line-height: 1.5;
}
.path-card--staff .path-card__body { color: rgba(255,255,255,0.85); }
.path-card__lock {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.path-card__lock::before { content: "🔒  "; }
.path-card__cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--green);
}
.path-card--staff .path-card__cta { color: var(--white); }
.path-card__cta::after { content: "  →"; }

@media (max-width: 760px) {
  .path-grid { grid-template-columns: 1fr; }
  .path-card { padding: 36px 28px; }
  .path-card__title { font-size: 30px; }
}

/* ---------- DISTRICT QUICK-LINKS STRIP (signature pattern) ---------- */

.quick-strip {
  background: var(--green);
  padding: 28px 24px;
}
.quick-strip__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  padding: 14px 10px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.quick-link:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--white);
}
.quick-link__icon {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1;
}
.quick-link__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
}

@media (max-width: 760px) {
  .quick-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-block;
  padding: 14px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  text-decoration: none;
}
.btn--secondary {
  background: var(--white);
  color: var(--green);
  border-color: var(--green);
}
.btn--secondary:hover {
  background: var(--green-bg);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--rule-gray);
}
.btn--ghost:hover {
  border-color: var(--charcoal);
  text-decoration: none;
}

/* ---------- CARDS ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--rule-gray);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { text-decoration: none; }
.card__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}
.card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--green);
  margin: 0 0 10px;
  line-height: 1.25;
}
.card__body {
  font-size: 15px;
  color: var(--soft-gray);
  line-height: 1.5;
  margin: 0 0 18px;
  flex-grow: 1;
}
.card__cta {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green);
  font-size: 14px;
  text-decoration: none;
}
.card__cta::after { content: "  →"; }

/* ---------- TILE PREVIEW (faux phone screen) ---------- */

.phone {
  background: #F0F0F0;
  border: 1px solid #B5B5B5;
  border-radius: 14px;
  padding: 14px 12px 18px;
  max-width: 320px;
}
.phone__notch {
  width: 50px;
  height: 4px;
  background: #B5B5B5;
  border-radius: 2px;
  margin: 0 auto 14px;
}
.phone__header {
  background: var(--tile-blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.tile {
  background: var(--tile-blue-bg);
  border: 1px solid var(--tile-blue);
  border-radius: 5px;
  padding: 10px 4px 8px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 9px;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 56px;
}
.tile__icon {
  width: 18px;
  height: 18px;
  background: var(--tile-blue);
  border-radius: 2px;
}
.tile--empty {
  background: transparent;
  border: 1px dashed transparent;
}

/* ---------- LIST/STEPS ---------- */

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-gray);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step);
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--charcoal);
  margin: 0 0 6px;
}
.steps__body {
  font-size: 16px;
  color: var(--soft-gray);
  margin: 0;
}

/* ---------- TWO COLUMN ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.split__card {
  background: var(--white);
  border: 1px solid var(--rule-gray);
  border-radius: var(--radius);
  padding: 32px;
}
.split__heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: var(--green);
  margin: 0 0 18px;
  letter-spacing: -0.4px;
}
.split__body { color: var(--charcoal); }
.split__body p { margin: 0 0 12px; }
.split__contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-gray);
}
.split__contact-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  color: var(--charcoal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.split__contact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
}

/* ---------- VIDEO EMBED ---------- */

.video-embed {
  background: var(--soft-bg);
  border: 1px solid var(--rule-gray);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.video-embed__placeholder {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}
.video-embed__play {
  width: 80px; height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.video-embed__play::before {
  content: "";
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent var(--green);
  margin-left: 6px;
}
.video-embed__caption {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--charcoal);
}
.video-embed__sub {
  font-size: 13px;
  color: var(--soft-gray);
  margin-top: 4px;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 24px 32px;
  margin-top: 64px;
}
.site-footer__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--white);
}
.site-footer__sub {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0 0 8px;
}
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 6px; }
.site-footer__links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-family: var(--font-head);
}
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 32px;
  padding-top: 20px;
  max-width: var(--content-w);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ---------- ANCHOR/QUOTE ---------- */

.anchor-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--green);
  border-left: 3px solid var(--green);
  padding-left: 18px;
  margin: 32px 0;
  max-width: 760px;
  line-height: 1.4;
}

/* ---------- BREADCRUMB ---------- */

.breadcrumb {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--soft-gray);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--soft-gray); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb__sep { margin: 0 8px; color: #C0C0C0; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: 42px; }
  .section__title { font-size: 30px; }
}

@media (max-width: 640px) {
  :root { --pad-y: 48px; }
  .card-grid, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px 48px; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 18px; }
  .section__title { font-size: 26px; }
  .section__lede { font-size: 17px; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    font-size: 14px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule-gray);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-header__inner { position: relative; }
  .site-mark { display: none; }
}

/* ----- Mobile header cleanup (added 2026-04-28) ----- */
@media (max-width: 640px) {
  /* Hide the "For Staff →" / "← For Families" cross-audience link on phones —
     it's redundant with the hamburger menu and footer, and crowds the brand row. */
  .site-header__inner > a:not(.brand) { display: none; }

  /* Bump the brand logo so the "Center Cass School District 66" wordmark
     inside the SVG is legible on a 390px viewport. */
  .brand__logo { height: 48px !important; }
}
