  :root{
    --navy:#14213D;
    --navy-deep:#0D1729;
    --navy-mid:#1E3260;
    --blue:#2A5CDB;
    --blue-hover:#2450BE;
    --blue-light:#EAF0FE;
    --paper:#F5F7FA;
    --white:#FFFFFF;
    --charcoal:#1D2330;
    --charcoal-soft:#5B6472;
    --line:rgba(20,33,61,0.10);
    --line-onnavy:rgba(255,255,255,0.14);
    --radius:8px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--charcoal);
    font-family:'Public Sans', sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Inter', sans-serif;
    margin:0;
    letter-spacing:-0.01em;
    color:var(--navy);
  }
  a{color:inherit;}
  .mono{font-family:'IBM Plex Mono', monospace; letter-spacing:0.01em;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    text-transform:uppercase;
    font-size:0.72rem;
    letter-spacing:0.12em;
    color:var(--blue);
    display:flex;
    align-items:center;
    gap:0.6em;
    font-weight:500;
  }
  .eyebrow::before{
    content:"";
    width:20px;
    height:2px;
    background:var(--blue);
    display:inline-block;
    border-radius:2px;
  }
  .wrap{max-width:1160px; margin:0 auto; padding:0 32px;}

  /* ---------- utility bar ---------- */
  .utility-bar{
    background:var(--navy-deep);
    color:var(--paper);
    font-family:'IBM Plex Mono', monospace;
    font-size:0.74rem;
  }
  .utility-bar .wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:9px;
    padding-bottom:9px;
    flex-wrap:wrap;
    gap:8px;
  }
  .utility-bar a{text-decoration:none; opacity:0.8; color:#C7D2E8;}
  .utility-bar a:hover{opacity:1; color:#fff;}
  .utility-links{display:flex; gap:22px; align-items:center;}

  /* "System status" dropdown in the utility bar */
  .status-menu{position:relative;}
  .status-menu summary{
    list-style:none;
    cursor:pointer;
    opacity:0.8;
    color:#C7D2E8;
  }
  .status-menu summary::-webkit-details-marker{display:none;}
  .status-menu summary::after{content:" ▾";}
  .status-menu[open] summary, .status-menu summary:hover{opacity:1; color:#fff;}
  .status-menu-list{
    position:absolute;
    right:0;
    top:calc(100% + 8px);
    z-index:60;               /* above the sticky header */
    min-width:140px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 8px 24px rgba(20,33,61,0.14);
    padding:6px 0;
  }
  .utility-bar .status-menu-list a{
    display:block;
    padding:8px 16px;
    color:var(--navy);
    opacity:1;
    font-family:'Public Sans', sans-serif;
    font-size:0.88rem;
  }
  .utility-bar .status-menu-list a:hover{background:var(--blue-light); color:var(--navy);}

  /* ---------- header ---------- */
  header{
    background:var(--white);
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:50;
  }
  header .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-top:16px;
    padding-bottom:16px;
  }
  .logo{
    display:flex;
    align-items:center;
    text-decoration:none;
  }
  .logo-img{
    height:42px;
    width:auto;
    display:block;
  }
  nav.primary{display:flex; align-items:center; gap:34px;}
  nav.primary > a, .nav-menu summary{white-space:nowrap;}
  @media (min-width: 901px) and (max-width: 1120px){
    nav.primary{gap:18px;}
  }
  nav.primary a{
    text-decoration:none;
    font-size:0.92rem;
    font-weight:600;
    color:var(--charcoal);
  }
  nav.primary a:hover{color:var(--blue);}

  .header-actions{display:flex; align-items:center; gap:10px;}
  .menu-toggle{
    display:none;           /* shown on small screens */
    align-items:center;
    justify-content:center;
    width:42px; height:42px;
    border:1px solid var(--line);
    border-radius:var(--radius);
    background:var(--white);
    cursor:pointer;
    padding:0;
  }
  .menu-toggle svg{width:22px; height:22px; stroke:var(--navy); stroke-width:2; fill:none; stroke-linecap:round;}
  .menu-toggle .close{display:none;}
  header.menu-open .menu-toggle .bars{display:none;}
  header.menu-open .menu-toggle .close{display:inline;}

  /* "Services" dropdown in the main menu */
  .nav-menu{position:relative;}
  .nav-menu summary{
    list-style:none;
    cursor:pointer;
    font-size:0.92rem;
    font-weight:600;
    color:var(--charcoal);
  }
  .nav-menu summary::-webkit-details-marker{display:none;}
  .nav-menu summary::after{content:" ▾"; font-size:0.75em;}
  .nav-menu summary:hover, .nav-menu[open] summary{color:var(--blue);}
  .nav-menu-list{
    position:absolute;
    left:-16px;
    top:calc(100% + 14px);
    z-index:60;
    min-width:220px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 10px 28px rgba(20,33,61,0.14);
    padding:6px 0;
  }
  nav.primary .nav-menu-list a{display:block; padding:9px 18px; font-weight:500;}
  nav.primary .nav-menu-list a:hover{background:var(--blue-light);}
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:11px 22px;
    border:1.5px solid var(--navy);
    border-radius:var(--radius);
    font-weight:600;
    font-size:0.88rem;
    text-decoration:none;
    color:var(--navy);
    transition:background .15s ease, color .15s ease, border-color .15s ease;
  }
  .btn:hover{background:var(--navy); color:#fff;}
  .btn-solid{
    background:var(--blue);
    border-color:var(--blue);
    color:#fff;
  }
  .btn-solid:hover{background:var(--blue-hover); border-color:var(--blue-hover); color:#fff;}
  .btn-onnavy{
    border-color:var(--line-onnavy);
    color:#fff;
  }
  .btn-onnavy:hover{background:#fff; color:var(--navy); border-color:#fff;}
  .btn-ghost{
    border-color:transparent;
    color:var(--blue);
    padding-left:0; padding-right:0;
  }
  .btn-ghost:hover{background:none; color:var(--blue-hover); text-decoration:underline;}

  /* ---------- hero ---------- */
  .hero{
    background:var(--navy);
    background-image:
      radial-gradient(circle at 82% 15%, rgba(42,92,219,0.35) 0%, transparent 55%),
      linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color:#fff;
    position:relative;
    overflow:hidden;
    padding:88px 0 76px;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image:radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size:24px 24px;
    mask-image:linear-gradient(180deg, transparent, rgba(0,0,0,0.6) 40%, transparent 90%);
    pointer-events:none;
  }
  .hero .wrap{
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:40px;
    align-items:center;
    position:relative;
    z-index:2;
  }
  .hero h1{
    font-size:clamp(2.3rem, 3.6vw, 3.2rem);
    line-height:1.12;
    font-weight:800;
    color:#fff;
    margin:18px 0 22px;
  }
  .hero h1 .accent{color:#8FB0FF;}
  .hero p.lede{
    font-size:1.08rem;
    line-height:1.6;
    color:rgba(255,255,255,0.78);
    max-width:48ch;
    margin:0 0 34px;
  }
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}
  .hero-diagram{position:relative; height:360px;}
  .hero-diagram svg{width:100%; height:100%;}
  .net-line{stroke:rgba(143,176,255,0.5); stroke-width:1.4; fill:none;}
  .net-node-ring{fill:none; stroke:rgba(143,176,255,0.35); stroke-width:1;}
  .hub-bg{fill:var(--blue);}
  .hub-icon{color:#fff;}
  .hub-pulse{
    fill:none;
    stroke:#8FB0FF;
    stroke-width:1.4;
    opacity:0.55;
    transform-origin:200px 180px;
    animation:hubPulse 3s ease-out infinite;
  }
  .hub-pulse.pulse-delay{animation-delay:1.5s;}
  @keyframes hubPulse{
    0%{ r:30; opacity:0.55; }
    100%{ r:78; opacity:0; }
  }
  .node-bg{fill:rgba(255,255,255,0.10); stroke:rgba(143,176,255,0.45); stroke-width:1;}
  .node-icon{color:#C9D9FF;}
  .node-label{
    font-family:'IBM Plex Mono', monospace;
    font-size:9px;
    fill:rgba(255,255,255,0.55);
    letter-spacing:0.04em;
  }
  .hub-label{font-size:9.5px; fill:rgba(255,255,255,0.7); letter-spacing:0.06em;}
  @media (prefers-reduced-motion: reduce){
    .hub-pulse{animation:none; display:none;}
  }

  /* ---------- stats strip ---------- */
  .stats{
    background:var(--white);
    border-bottom:1px solid var(--line);
  }
  .stats .wrap{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:0;
  }
  .stat{
    padding:28px 24px;
    border-left:1px solid var(--line);
  }
  .stat:first-child{border-left:none;}
  .stat .num{
    font-family:'Inter', sans-serif;
    font-size:1.9rem;
    font-weight:800;
    color:var(--navy);
    display:block;
  }
  .stat .label{
    font-size:0.82rem;
    color:var(--charcoal-soft);
    margin-top:4px;
  }

  /* ---------- section shell ---------- */
  section{padding:88px 0;}
  .section-head{
    max-width:640px;
    margin:0 0 52px;
  }
  .section-head h2{
    font-size:clamp(1.8rem, 2.4vw, 2.2rem);
    font-weight:800;
    margin-top:14px;
  }
  .section-head p{
    font-size:1.02rem;
    color:var(--charcoal-soft);
    line-height:1.6;
    margin-top:14px;
  }

  /* ---------- services ---------- */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
  }
  .service-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    padding:32px;
    transition:box-shadow .15s ease, transform .15s ease;
  }
  .service-card:hover{
    box-shadow:0 8px 24px rgba(20,33,61,0.08);
    transform:translateY(-2px);
  }
  .service-card h3{
    font-size:1.24rem;
    font-weight:700;
    margin-bottom:10px;
  }
  .service-card p{
    font-size:0.96rem;
    line-height:1.6;
    color:var(--charcoal-soft);
    margin:0;
  }
  .service-icon{
    width:46px; height:46px;
    border-radius:10px;
    background:var(--blue-light);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .service-icon svg{width:22px; height:22px; stroke:var(--blue); fill:none; stroke-width:1.7;}

  /* ---------- mission quote ---------- */
  .mission{
    background:var(--navy);
    color:#fff;
    padding:76px 0;
  }
  .mission .wrap{max-width:820px;}
  .mission blockquote{
    font-family:'Inter', sans-serif;
    font-weight:600;
    font-size:clamp(1.4rem, 2.3vw, 1.85rem);
    line-height:1.5;
    margin:0;
    color:#fff;
    border-left:3px solid var(--blue);
    padding-left:32px;
  }
  .mission cite{
    display:block;
    margin-top:24px;
    font-style:normal;
    font-family:'IBM Plex Mono', monospace;
    font-size:0.8rem;
    letter-spacing:0.04em;
    color:rgba(255,255,255,0.55);
    padding-left:35px;
  }

  /* ---------- team carousel ---------- */
  .team-head-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:32px;
    gap:24px;
    flex-wrap:wrap;
  }
  .carousel-controls{display:flex; gap:10px;}
  .carousel-btn{
    width:42px; height:42px;
    border-radius:50%;
    border:1.5px solid var(--line);
    background:var(--white);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    transition:background .15s ease, border-color .15s ease;
  }
  .carousel-btn:hover{background:var(--blue-light); border-color:var(--blue);}
  .carousel-btn svg{width:18px; height:18px; stroke:var(--navy); fill:none; stroke-width:2;}
  .carousel-btn:disabled{opacity:0.35; cursor:default;}
  .carousel-btn:disabled:hover{background:var(--white); border-color:var(--line);}

  .team-viewport{
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -ms-overflow-style:none;
    margin:0 -32px;
    padding:4px 32px 20px;
  }
  .team-viewport::-webkit-scrollbar{display:none;}
  .team-track{
    display:flex;
    gap:20px;
  }
  .team-card{
    flex:0 0 240px;
    scroll-snap-align:start;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    padding:26px 22px;
  }
  .avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:'Inter', sans-serif;
    font-weight:700;
    font-size:1rem;
    color:#fff;
    background:var(--navy-mid);
    margin-bottom:16px;
  }
  .team-card h4{
    font-size:1.02rem;
    font-weight:700;
    margin:0 0 2px;
  }
  .team-card .role{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.68rem;
    text-transform:uppercase;
    letter-spacing:0.05em;
    color:var(--blue);
    margin-bottom:10px;
    display:block;
  }
  .team-card p{
    font-size:0.86rem;
    line-height:1.55;
    color:var(--charcoal-soft);
    margin:0;
  }
  .scroll-track{
    height:3px;
    background:var(--line);
    border-radius:3px;
    margin-top:6px;
    position:relative;
    overflow:hidden;
  }
  .scroll-thumb{
    position:absolute;
    top:0; left:0;
    height:100%;
    width:25%;
    background:var(--blue);
    border-radius:3px;
    transition:transform .1s linear;
  }

  /* ---------- districts ---------- */
  .districts-section{
    background:var(--white);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .district-groups{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:36px 40px;
    margin-top:44px;
  }
  .district-group:first-child{grid-column:1 / -1;}
  .district-group:first-child .district-list{columns:3; column-gap:40px;}
  .district-group h3{
    font-size:0.78rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--charcoal-soft);
    padding-bottom:10px;
    margin-bottom:8px;
    border-bottom:1px solid var(--line);
  }
  .district-group .count{
    font-family:'IBM Plex Mono', monospace;
    color:var(--blue);
    margin-left:6px;
  }
  .district-list{list-style:none; margin:0; padding:0;}
  .district-list li{break-inside:avoid;}
  .district-list a{
    display:block;
    padding:7px 0;
    color:var(--charcoal);
    text-decoration:none;
    font-size:0.96rem;
  }
  .district-list a:hover{color:var(--blue); text-decoration:underline;}

  /* ---------- contact / footer ---------- */
  footer{
    background:var(--navy-deep);
    color:#fff;
    padding:70px 0 30px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:44px;
    border-bottom:1px solid var(--line-onnavy);
  }
  footer h3{
    color:#fff;
    font-size:1.3rem;
    font-weight:800;
    margin-bottom:14px;
  }
  footer p{
    color:rgba(255,255,255,0.68);
    line-height:1.6;
    font-size:0.94rem;
    max-width:36ch;
  }
  .foot-col .eyebrow{margin-bottom:16px;}
  .foot-col a{
    display:block;
    text-decoration:none;
    color:rgba(255,255,255,0.8);
    font-size:0.92rem;
    margin-bottom:11px;
  }
  .foot-col a:hover{color:#8FB0FF;}
  .foot-contact .mono{
    display:block;
    color:rgba(255,255,255,0.8);
    font-size:0.92rem;
    margin-bottom:9px;
  }
  .bottom-row{
    padding-top:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-family:'IBM Plex Mono', monospace;
    font-size:0.74rem;
    color:rgba(255,255,255,0.45);
    flex-wrap:wrap;
    gap:10px;
  }

  /* ---------- responsive ---------- */
  @media (max-width: 900px){
    /* phone menu: the nav becomes a panel under the header, opened by the menu button */
    .menu-toggle{display:inline-flex;}
    header .btn{padding:9px 14px; font-size:0.85rem;}
    nav.primary{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      right:0;
      flex-direction:column;
      align-items:stretch;
      gap:0;
      background:var(--white);
      border-bottom:1px solid var(--line);
      box-shadow:0 12px 24px rgba(20,33,61,0.10);
      padding:6px 0 10px;
      max-height:calc(100vh - 80px);
      overflow-y:auto;
    }
    header.menu-open nav.primary{display:flex;}
    nav.primary > a, .nav-menu summary{
      display:block;
      padding:13px 24px;
      font-size:1rem;
      border-bottom:1px solid var(--line);
    }
    .nav-menu summary::after{float:right;}
    .nav-menu[open] summary::after{content:" ▴";}
    .nav-menu-list{
      position:static;
      min-width:0;
      border:none;
      border-radius:0;
      box-shadow:none;
      padding:4px 0;
      background:var(--paper);
      border-bottom:1px solid var(--line);
    }
    nav.primary .nav-menu-list a{padding:11px 40px; font-size:0.95rem;}
    .hero .wrap{grid-template-columns:1fr;}
    .hero-diagram{height:200px; opacity:0.7;}
    .stats .wrap{grid-template-columns:repeat(2,1fr);}
    .stat:nth-child(3){border-left:none;}
    .services-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr; gap:32px;}
    .district-groups{grid-template-columns:1fr;}
    .district-group:first-child .district-list{columns:2;}
  }

  :focus-visible{
    outline:2px solid var(--blue);
    outline-offset:2px;
  }

/* ---------- interior page hero ---------- */
.page-hero{
  background:var(--navy);
  background-image:
    radial-gradient(circle at 85% 0%, rgba(42,92,219,0.35) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff;
  padding:72px 0 64px;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,0.6), transparent 85%);
  pointer-events:none;
}
.page-hero .wrap{position:relative; z-index:2;}
.page-hero .eyebrow{color:#8FB0FF;}
.page-hero .eyebrow::before{background:#8FB0FF;}
.page-hero h1{
  font-size:clamp(2rem, 3.2vw, 2.9rem);
  line-height:1.15;
  font-weight:800;
  color:#fff;
  margin:16px 0 18px;
}
.page-hero .lede{
  font-size:1.06rem;
  line-height:1.6;
  color:rgba(255,255,255,0.78);
  max-width:60ch;
  margin:0 0 30px;
}
.page-hero h1{max-width:20ch;}
.page-hero .lede a{color:#8FB0FF;}

/* ---------- department jump chips ---------- */
.dept-chips{
  background:var(--white);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:74px;               /* sits under the sticky header */
  z-index:40;
}
.dept-chips .wrap{
  display:flex;
  gap:10px;
  padding-top:14px;
  padding-bottom:14px;
  overflow-x:auto;
  scrollbar-width:none;
}
.dept-chips .wrap::-webkit-scrollbar{display:none;}
.chip{
  flex:0 0 auto;
  padding:8px 16px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:0.86rem;
  font-weight:600;
  color:var(--navy);
  text-decoration:none;
  background:var(--white);
  transition:background .15s ease, border-color .15s ease;
}
.chip:hover{background:var(--blue-light); border-color:var(--blue);}

/* ---------- department sections + staff cards ---------- */
.dept{padding:64px 0 8px; scroll-margin-top:130px;}
.dept:last-of-type{padding-bottom:88px;}
.dept-head{max-width:640px; margin-bottom:28px;}
.dept-head h2{font-size:1.6rem; font-weight:800;}
.dept-head p{
  margin:10px 0 0;
  color:var(--charcoal-soft);
  line-height:1.6;
  font-size:0.98rem;
}
.staff-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap:20px;
}
.staff-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  padding:26px;
  display:flex;
  gap:20px;
  align-items:flex-start;
  transition:box-shadow .15s ease, transform .15s ease;
}
.staff-card:hover{box-shadow:0 8px 24px rgba(20,33,61,0.08); transform:translateY(-2px);}
.staff-avatar{
  flex:0 0 68px;
  width:68px; height:68px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Inter', sans-serif;
  font-weight:700;
  font-size:1.15rem;
  color:#fff;
  background:var(--navy-mid);
}
.staff-avatar.photo, .avatar.photo{object-fit:cover; background:var(--blue-light);}
.staff-card h3{font-size:1.12rem; font-weight:700; margin:2px 0 2px;}
.staff-card .role{
  display:block;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.7rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--blue);
  margin-bottom:4px;
}
.staff-card .ext{
  display:block;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.74rem;
  color:var(--charcoal-soft);
  margin-bottom:4px;
}
.staff-card p{
  margin:10px 0 0;
  font-size:0.9rem;
  line-height:1.6;
  color:var(--charcoal-soft);
}

/* ---------- resources page link cards ---------- */
.link-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap:20px;
  align-items:start;
}
.link-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px 26px;
}
.link-card h3{
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--charcoal-soft);
  margin-bottom:6px;
}
.link-card ul{list-style:none; margin:0; padding:0;}
.link-card li{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:4px 10px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
}
.link-card li:last-child{border-bottom:none;}
.link-card a{color:var(--navy); font-weight:600; text-decoration:none; font-size:0.95rem;}
.link-card a:hover{color:var(--blue); text-decoration:underline;}
.link-card .ftype{
  margin-left:auto;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.68rem;
  color:var(--blue);
}
.link-card .note{flex-basis:100%; font-size:0.85rem; color:var(--charcoal-soft);}

.link-card ul.two-col{columns:2; column-gap:40px;}
.link-card ul.two-col li{break-inside:avoid; display:block;}

.service-more{
  display:inline-block;
  margin-top:14px;
  font-size:0.9rem;
  font-weight:600;
  color:var(--blue);
  text-decoration:none;
}
.service-more:hover{text-decoration:underline;}

/* very narrow phones: shrink the header so logo + Helpdesk + menu button fit */
@media (max-width: 380px){
  .logo-img{height:34px;}
  .data-table th, .data-table td{padding:10px 10px;}
  .data-table{font-size:0.88rem;}
  .data-table .num{white-space:normal;}
  header .btn{padding:8px 11px;}
  .header-actions{gap:8px;}
}

/* ---------- quick links tiles ---------- */
.link-tiles{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:stretch;
  grid-auto-flow:row dense;   /* let a tile move up to fill a gap left by a full-width tile */
}
.link-tile{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px 26px 18px;
  scroll-margin-top:110px;
}
.link-tile.span-2{grid-column:span 2;}
.link-tile-head{display:flex; align-items:center; gap:14px; margin-bottom:8px;}
.link-tile-head .service-icon{margin:0; flex:0 0 auto;}
.link-tile-head h2{font-size:1.15rem; font-weight:800; color:var(--navy); margin:0;}
.link-tile ul{list-style:none; margin:0; padding:0;}
.link-tile ul.two-col{columns:2; column-gap:32px;}
.link-tile li{break-inside:avoid; border-bottom:1px solid var(--line);}
.link-tile li:last-child{border-bottom:none;}
.link-tile ul.two-col li{border-bottom:1px solid var(--line);}
.link-tile a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 0;
  color:var(--navy);
  font-weight:600;
  font-size:0.95rem;
  text-decoration:none;
}
.link-tile a::after{content:"↗"; font-size:0.8rem; color:var(--charcoal-soft); opacity:0; transition:opacity .15s ease;}
.link-tile a:hover{color:var(--blue);}
.link-tile a:hover::after{opacity:1;}
.link-tile.span-all{grid-column:1 / -1;}
.link-tile a.jump::after{content:"↓"; opacity:1;}

/* eFP logins by district: pick a district, see its sign-in links */
.efp-intro{margin:2px 0 14px; color:var(--charcoal-soft); font-size:0.95rem;}
.efp-pick{display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-bottom:6px;}
.efp-pick span{font-weight:600; color:var(--navy); font-size:0.92rem;}
.efp-pick select{
  font:inherit;
  font-size:0.95rem;
  width:min(320px, 100%);
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--white);
  color:var(--charcoal);
}
.efp-panels{display:grid; grid-template-columns:repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap:4px 28px;}
.efp-panel{padding:12px 0;}
.efp-panel h3{font-size:0.95rem; font-weight:700; color:var(--navy); margin:0 0 8px;}
.efp-links{display:flex; flex-direction:column;}
.link-tile a.efp-link{padding:6px 0; font-size:0.9rem;}
/* with JavaScript: show only the chosen district, links as buttons */
.js .efp-panels{display:block;}
.js .efp-panel{display:none; padding-top:14px;}
.js .efp-panel.is-active{display:block;}
.js .efp-panel h3{display:none;}
.js .efp-links{flex-direction:row; flex-wrap:wrap; gap:10px;}
.js .link-tile a.efp-link{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:10px 16px;
  background:var(--paper);
}
.js .link-tile a.efp-link:hover{background:var(--blue-light); border-color:var(--blue);}
.js .link-tile a.efp-link::after{opacity:1;}

@media (min-width: 901px) and (max-width: 1120px){
  .link-tiles{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width: 900px){
  .link-tiles{grid-template-columns:minmax(0, 1fr);}
  .link-tile.span-2{grid-column:auto;}
  .link-tile ul.two-col{columns:1;}
}

/* ---------- department pages + team photos ---------- */
.page-hero .eyebrow a{color:inherit; text-decoration:none;}
.page-hero .eyebrow a:hover{text-decoration:underline;}
.dept-photo-section{padding:48px 0 0;}
.dept-photo{margin:0;}
.dept-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;     /* trims a little top/bottom so the photo doesn't push content off-screen */
  object-fit:cover;
  object-position:center 40%;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(20,33,61,0.12);
}
.dept-photo figcaption{
  margin-top:12px;
  font-size:0.9rem;
  color:var(--charcoal-soft);
  text-align:center;
}
.other-depts{border-top:1px solid var(--line); background:var(--white);}
.other-depts .wrap{display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding-top:28px; padding-bottom:28px;}
.other-depts span{font-weight:600; color:var(--navy); margin-right:6px;}

/* services overview: one card per department */
.dept-card-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}
.dept-card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:box-shadow .15s ease, transform .15s ease;
}
.dept-card:hover{box-shadow:0 10px 28px rgba(20,33,61,0.10); transform:translateY(-2px);}
.dept-card .service-icon{margin:26px 26px 0;}
.dept-card-body{padding:0 26px 26px;}
.dept-card h3{font-size:1.25rem; font-weight:800; color:var(--navy); margin:0 0 8px;}
.dept-card p{margin:0; color:var(--charcoal-soft); line-height:1.6; font-size:0.95rem;}
.dept-card .service-more{margin-top:14px;}
.dept-card:hover .service-more{text-decoration:underline;}

/* ---------- tables (fees, board) ---------- */
.data-table{
  width:100%;
  max-width:860px;
  border-collapse:collapse;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  font-size:0.95rem;
}
.data-table th{
  text-align:left;
  font-size:0.74rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--charcoal-soft);
  background:var(--paper);
  padding:12px 18px;
  border-bottom:1px solid var(--line);
}
.data-table td{padding:12px 18px; border-bottom:1px solid var(--line); vertical-align:top;}
.data-table tr:last-child td{border-bottom:none;}
.data-table .num{text-align:right; font-family:'IBM Plex Mono', monospace; white-space:nowrap;}
.data-table a{color:var(--blue); overflow-wrap:anywhere;}
.table-scroll{overflow-x:auto;}

/* ---------- testimonials ---------- */
.quote-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap:20px;
}
.quote-grid blockquote{
  margin:0;
  background:var(--white);
  border:1px solid var(--line);
  border-left:3px solid var(--blue);
  border-radius:12px;
  padding:20px 22px;
  font-size:0.95rem;
  line-height:1.6;
  color:var(--charcoal);
}

/* leadership cards get an accent; every card shows its department as a small tag */
.staff-card.is-lead{border-top:3px solid var(--blue);}
.staff-card .dept-tag{
  display:inline-block;
  font-size:0.74rem;
  font-weight:600;
  color:var(--navy);
  background:var(--blue-light);
  border-radius:999px;
  padding:2px 10px;
  margin:2px 0 4px;
}

/* "full directory" link under the home-page carousel */
.team-more{margin-top:28px;}

@media (max-width: 900px){
  .dept-chips{top:0; position:static;}
  .staff-grid{grid-template-columns:1fr;}
  .staff-card{padding:22px;}
  .link-card ul.two-col{columns:1;}
  .dept-card-grid{grid-template-columns:1fr;}
  .dept-photo-section{padding-top:28px;}}
