   @font-face {
  font-family: 'Source Serif 4';
  src: url('/templates/2027/assets/fonts/SourceSerif4-VariableFont_opsz-wght.woff2') format('woff2');
  font-weight: 400 700;
  font-optical-sizing: auto;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/templates/2027/assets/fonts/SourceSans3-VariableFont_wght.woff2') format('woff2');
  font-weight: 400 700;
}

   
   /* ==========================================================================
       DESIGN TOKENS
       ========================================================================== */
    :root {
      /* Brand palette — verified WCAG AA */
      --maroon: #6B1A1A;
      --maroon-dark: #5A1414;
      --maroon-darker: #4A1010;
      --gold: #F5B027;
      --gold-light: #F8C547;
      --gold-pale: #FDF4DC;

      /* Neutrals */
      --white: #FFFFFF;
      --off-white: #FAFAFA;
      --gray-50: #F7F7F7;
      --gray-100: #EFEFEF;
      --gray-200: #E5E5E5;
      --gray-300: #D4D4D4;
      --gray-500: #6B6B6B;   /* meets AA on white at ~5.7:1 */
      --gray-700: #404040;
      --gray-900: #1A1A1A;

      /* Semantic */
      --text-body: var(--gray-900);
      --text-muted: #555555;     /* 7.46:1 on white */
      --text-subtle: #6B6B6B;    /* 5.74:1 on white — bumped from earlier 4.74 estimate */
      --border: var(--gray-200);
      --surface: var(--white);
      --surface-alt: var(--off-white);

      /* Spacing scale (4px base) */
      --space-1: 4px;
      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-5: 20px;
      --space-6: 24px;
      --space-8: 32px;
      --space-10: 40px;
      --space-12: 48px;
      --space-16: 64px;
      --space-20: 80px;
      --space-24: 96px;

      /* Typography */
      --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
      --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

      /* Layout */
      --container-max: 1240px;
      --container-pad: clamp(16px, 4vw, 32px);

      /* Effects */
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
      --shadow-lg: 0 10px 20px -5px rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.06);

      /* Motion */
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --duration: 200ms;
    }

    /* ==========================================================================
       RESET & BASE
       ========================================================================== */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-body);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img { max-width: 100%; height: auto; display: block; }
    button { font: inherit; cursor: pointer; }
    a { color: var(--maroon); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
    a:hover { color: var(--maroon-dark); text-decoration-thickness: 2px; }

    /* Headings */
    h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0; color: var(--maroon); }

    /* Focus styles — high-contrast visible focus for keyboard nav */
    :focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: 2px;
      border-radius: 2px;
    }
    /* For elements on gold backgrounds, switch focus color */
    .focus-on-gold:focus-visible { outline-color: var(--maroon); }

    /* Screen-reader-only utility */
    .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;
    }

    /* Skip link */
    .skip-link {
      position: absolute;
      top: -100px;
      left: 16px;
      background: var(--maroon);
      color: var(--white);
      padding: 12px 20px;
      z-index: 1000;
      text-decoration: none;
      border-radius: 0 0 var(--radius-md) var(--radius-md);
      font-weight: 600;
      transition: top var(--duration) var(--ease);
    }
    .skip-link:focus { top: 0; color: var(--white); }

    /* Container */
    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding-left: var(--container-pad);
      padding-right: var(--container-pad);
    }

    /* ==========================================================================
       TOP UTILITY BAR
       ========================================================================== */
    .topbar {
      background: var(--maroon-dark);
      color: var(--white);
      font-size: 14px;
    }
    .topbar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-height: 40px;
      gap: var(--space-4);
    }
    .topbar a, .topbar button {
      color: var(--white);
      text-decoration: none;
      padding: 10px 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: transparent;
      border: 0;
    }
    .topbar a:hover, .topbar button:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
    .topbar-links { display: flex; gap: 2px; flex-wrap: wrap; }
    .topbar-search {
      background: var(--gold) !important;
      color: var(--maroon) !important;
      padding: 10px 14px !important;
      font-weight: 600;
      border: 0;
      cursor: pointer;
      font-family: inherit;
    }
    .topbar-search:hover { background: var(--gold-light) !important; color: var(--maroon-darker) !important; }
    .translate-select {
      background: transparent;
      color: var(--white);
      border: 0;
      padding: 10px 12px;
      cursor: pointer;
      font-family: inherit;
      font-size: 14px;
    }
    .translate-select option { color: var(--gray-900); }

    /* The topbar dropdown sits outside .nav-primary, so it carries its own
       base rules rather than inheriting the primary nav's. */
    .topbar-nav-item { display: flex; align-items: stretch; position: relative; }
    .topbar-nav-item .nav-link {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--white);
      text-decoration: none;
      padding: 10px 12px;
      font-size: 14px;
      font-weight: 400;
      letter-spacing: normal;
      text-transform: none;
      background: transparent;
      border: 0;
      cursor: pointer;
      font-family: inherit;
      white-space: nowrap;
      transition: background var(--duration) var(--ease);
    }
    .topbar-nav-item .nav-link:hover,
    .topbar-nav-item .nav-link[aria-expanded="true"] {
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
    }
    .topbar-nav-item .nav-chevron {
      width: 10px;
      height: 10px;
      transition: transform var(--duration) var(--ease);
    }
    .topbar-nav-item .nav-link[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
    .topbar-nav-item .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 260px;
      background: var(--white);
      border-top: 3px solid var(--gold);
      box-shadow: var(--shadow-lg);
      padding: var(--space-2) 0;
      list-style: none;
      margin: 0;
      display: none;
      z-index: 200;
    }
    .topbar-nav-item .nav-dropdown.is-open { display: block; }
    .topbar-nav-item .nav-dropdown a {
      display: block;
      padding: 10px 20px;
      color: var(--gray-900);
      text-decoration: none;
      font-size: 14px;
      border-left: 3px solid transparent;
      transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
    }
    .topbar-nav-item .nav-dropdown a:hover,
    .topbar-nav-item .nav-dropdown a:focus-visible {
      background: var(--gold-pale);
      border-left-color: var(--gold);
      color: var(--maroon-dark);
    }

    @media (max-width: 768px) {
      .topbar-links { display: none; }
      .topbar-links.is-mobile-visible { display: flex; }
      /* But keep the search button accessible */
      .topbar-inner .topbar-search { display: inline-flex; }
      .topbar-links { display: flex; }
      .topbar-links > a { display: none; }
      .topbar-links > .topbar-search { display: inline-flex; }
      .is-mobile-hidden { display:none; }
    }

    /* ==========================================================================
       MAIN HEADER (logo + quick links)
       ========================================================================== */
    .header-main {
      background: var(--white);
      padding: var(--space-6) 0;
      border-bottom: 1px solid var(--gray-100);
    }
    .header-grid {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: var(--space-8);
    }
    .brand {
      display: flex;
      align-items: center;
      gap: var(--space-4);
      text-decoration: none;
      color: var(--maroon);
    }
    .brand:hover { color: var(--maroon); }
    .brand-logo {
      width: 180px;
      height: auto;
      flex-shrink: 0;
    }
    .brand-text { display: flex; flex-direction: column; }
    .brand-name {
      font-family: var(--font-display);
      font-size: clamp(48px, 6vw, 72px);
      font-weight: 700;
      color: var(--maroon);
      letter-spacing: 1.5px;
      line-height: 0.95;
    }
    .brand-sub {
      font-family: var(--font-display);
      font-size: clamp(26px, 3vw, 36px);
      color: var(--maroon);
      font-weight: 400;
      letter-spacing: 8px;
      line-height: 1.3;
      margin-top: 8px;
    }

    .header-quicklinks {
      display: flex;
      gap: var(--space-2);
      align-items: stretch;
      border-left: 1px solid var(--gray-200);
      padding-left: var(--space-8);
    }
    .quicklink {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: var(--space-3) var(--space-4);
      min-width: 90px;
      color: var(--maroon);
      text-decoration: none;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      text-align: center;
      border-radius: var(--radius-md);
      transition: background var(--duration) var(--ease);
    }
    .quicklink:hover { background: var(--gold-pale); color: var(--maroon-dark); text-decoration: none; }
    .quicklink-icon { width: 28px; height: 28px; color: var(--maroon); }

    .mobile-menu-toggle {
      display: none;
      background: var(--maroon);
      color: var(--white);
      border: 0;
      padding: 12px 16px;
      border-radius: var(--radius-md);
      font-weight: 600;
      align-items: center;
      gap: 8px;
    }

    @media (max-width: 1024px) {
      .header-quicklinks { padding-left: var(--space-4); }
      .quicklink { min-width: 76px; padding: var(--space-2) var(--space-3); }
    }
    @media (max-width: 860px) {
      .header-main { padding: var(--space-4) 0; }
      .header-grid {
        grid-template-columns: auto 1fr auto;
        gap: var(--space-3);
        align-items: center;
      }
      .header-quicklinks { display: none; }
      .mobile-menu-toggle {
        display: inline-flex;
        padding: 10px 14px;
        font-size: 13px;
      }
      .brand-logo { width: 64px; }
      .brand-name {
        font-size: 24px;
        letter-spacing: 0.5px;
      }
      .brand-sub {
        font-size: 13px;
        letter-spacing: 2.5px;
        margin-top: 2px;
      }
      .brand { gap: var(--space-3); }
    }
    @media (max-width: 480px) {
      .brand-logo { width: 56px; }
      .brand-name { font-size: 20px; }
      .brand-sub { font-size: 11px; letter-spacing: 2px; }
      .mobile-menu-toggle span { display: none; }
      .mobile-menu-toggle { padding: 10px 12px; }
    }

    /* ==========================================================================
       PRIMARY NAVIGATION
       ========================================================================== */
    .nav-primary {
      background: var(--maroon);
      border-top: 3px solid var(--gold);
      position: relative;
      z-index: 100;
    }
    /* Wider than the site's boxed --container-max so more top-level items
       fit before "More" overflow kicks in; the item group still centers
       itself within it via justify-content below. */
    .nav-primary .container { max-width: none; }
    .nav-primary .nav-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: var(--space-2);
    }
   .nav-primary  .nav-item { position: relative; flex: 0 0 auto; }

    /* "More" overflow item — nested items render as a static accordion
       instead of a flyout, since they're already inside an open dropdown. */
    /* "More" is always the rightmost top-level item, so its own dropdown
       hangs from the right edge of the button instead of the left — left
       alignment here would push it past the edge of the viewport. */
    .nav-primary .nav-item-more > .nav-dropdown-more { left: auto; right: 0; }
    .nav-primary .nav-dropdown-more .nav-item { border-bottom: 1px solid var(--gray-200); }
    .nav-primary .nav-dropdown-more .nav-item:last-child { border-bottom: 0; }
    .nav-primary .nav-dropdown-more .nav-item > .nav-link {
      width: 100%;
      justify-content: space-between;
      padding: 10px 20px;
      color: var(--gray-900);
      text-transform: none;
      font-size: 14px;
      letter-spacing: normal;
    }
    .nav-primary .nav-dropdown-more .nav-item > .nav-link:hover,
    .nav-primary .nav-dropdown-more .nav-item > .nav-link[aria-expanded="true"] {
      background: var(--gold-pale);
      color: var(--maroon-dark);
    }
    .nav-primary .nav-dropdown-more .nav-item > .nav-dropdown {
      position: static;
      box-shadow: none;
      border-top: 0;
      background: var(--gray-50);
      padding: 0;
    }
    .nav-primary .nav-dropdown-more .nav-item > .nav-dropdown a { padding-left: 32px; }
    .nav-primary .nav-link {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--white);
      text-decoration: none;
      padding: 18px 14px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      background: transparent;
      border: 0;
      cursor: pointer;
      font-family: inherit;
      white-space: nowrap;
      transition: background var(--duration) var(--ease);
    }
    .nav-primary .nav-link:hover, .nav-primary .nav-link[aria-expanded="true"] {
      background: var(--maroon-dark);
      color: var(--white);
      text-decoration: none;
    }
    .nav-primary .nav-chevron {
      width: 10px;
      height: 10px;
      transition: transform var(--duration) var(--ease);
    }
    .nav-primary .nav-link[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

    /* Dropdown */
    .nav-primary .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 260px;
      background: var(--white);
      border-top: 3px solid var(--gold);
      box-shadow: var(--shadow-lg);
      padding: var(--space-2) 0;
      list-style: none;
      margin: 0;
      display: none;
      z-index: 1050;
    }
    .nav-primary .nav-dropdown.is-open { display: block; }
    .nav-primary .nav-dropdown.nav-dropdown--right { left: auto; right: 0; }
    .nav-primary .nav-dropdown a {
      display: block;
      padding: 10px 20px;
      color: var(--gray-900);
      text-decoration: none;
      font-size: 14px;
      border-left: 3px solid transparent;
      transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
    }
    .nav-primary .nav-dropdown a:hover, .nav-primary .nav-dropdown a:focus-visible {
      background: var(--gold-pale);
      border-left-color: var(--gold);
      color: var(--maroon-dark);
    }

    /* "For Parents and Students" has 16 links — 2 columns on desktop only (client request) */
    .nav-primary #dd-parents {
      min-width: 480px;
      column-count: 2;
      column-gap: 0;
    }
    .nav-primary #dd-parents li { break-inside: avoid; }

    @media (max-width: 1024px) {
      .nav-primary .nav-link { padding: 16px 10px; font-size: 12px; letter-spacing: 0.3px; }
    }
    @media (max-width: 860px) {
      .nav-primary { display: none; }
      .nav-primary.is-mobile-open { display: block; }
      .nav-primary .nav-list { flex-direction: column; }
      /* A shared/legacy stylesheet's generic ".nav-item { display:flex }" rule
         (styled for the Technology department's section nav, which reuses
         this class name) leaks onto the primary nav on inside.shtml /
         inside2.shtml. On desktop this is harmless because the dropdown is
         position:absolute and removed from flow, but in this static/stacked
         mobile layout it puts the button and its dropdown side by side
         instead of stacked. Reset it back to a plain block box here. */
      .nav-primary .nav-item { display: block; border-bottom: 1px solid var(--maroon-dark); }
      .nav-primary .nav-link { width: 100%; justify-content: space-between; padding: 16px 20px; }
      .nav-primary .nav-dropdown {
        position: static;
        box-shadow: none;
        border-top: 0;
        background: var(--maroon-darker);
        padding: 0;
      }
      .nav-primary .nav-dropdown a {
        color: var(--white);
        padding: 12px 36px;
        border-left: 0;
      }
      .nav-primary .nav-dropdown a:hover, .nav-primary .nav-dropdown a:focus-visible {
        background: var(--maroon-dark);
        color: var(--gold);
        border-left: 0;
      }
      .nav-primary #dd-parents { min-width: 0; column-count: 1; }
    }

    /* ==========================================================================
       HERO
       ========================================================================== */
    .hero {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--maroon);
    }
    .hero-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* Shift image right so the sunset/orange-glow side sits behind the text on the left */
      object-position: 75% center;
      z-index: 0;
    }
    /* Subtle warm wash on the left only — guarantees AA contrast for the maroon hero text
       over any darker patches of the photo while keeping the photo dominant and the right
       side completely unobstructed. */
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        90deg,
        rgba(253, 244, 220, 0.55) 0%,
        rgba(253, 244, 220, 0.45) 20%,
        rgba(253, 244, 220, 0.3) 45%,
        rgba(253, 244, 220, 0.1) 65%,
        rgba(253, 244, 220, 0) 80%
      );
      z-index: 1;
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      padding: var(--space-16) var(--container-pad) var(--space-24);
      padding-left: clamp(32px, 10vw, 140px);
      max-width: 760px;
      margin-right: auto;
    }
    .hero-title {
      font-size: clamp(36px, 5.5vw, 64px);
      line-height: 1.02;
      color: var(--maroon-darker);
      letter-spacing: -0.5px;
      margin-bottom: var(--space-4);
      font-weight: 700;
      /* Layered white halo lifts maroon text crisply off the warm sunset without a fade overlay */
      text-shadow:
        0 0 1px rgba(255, 255, 255, 0.9),
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.65),
        0 0 40px rgba(255, 255, 255, 0.4);
    }
    .hero-title-accent {
      display: block;
      color: var(--maroon-darker);
    }
    .hero-rule {
      width: 80px;
      height: 4px;
      background: var(--gold);
      margin-bottom: var(--space-6);
      border-radius: 2px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      padding: 14px 28px;
      background: var(--maroon);
      color: var(--white);
      text-decoration: none;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      border: 0;
      border-radius: var(--radius-sm);
      transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
      box-shadow: var(--shadow-sm);
    }
    .btn:hover { background: var(--maroon-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
    .btn-arrow { transition: transform var(--duration) var(--ease); }
    .btn:hover .btn-arrow { transform: translateX(3px); }

    @media (max-width: 860px) {
      .hero { min-height: 380px; }
      .hero-image { object-position: 70% center; }
      .hero-content {
        padding: var(--space-10) var(--container-pad) var(--space-12);
        padding-left: var(--container-pad);
        max-width: 100%;
      }
      .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.05;
      }
      .btn {
        padding: 12px 22px;
        font-size: 12px;
      }
      .hero::before {
        background: linear-gradient(
          180deg,
          rgba(253, 244, 220, 0.6) 0%,
          rgba(253, 244, 220, 0.3) 50%,
          rgba(253, 244, 220, 0.1) 100%
        );
      }
    }

    /* ==========================================================================
       QUICK ACCESS BAR
       ========================================================================== */
    .quickaccess-wrap {
      position: relative;
      margin-top: -56px;
      z-index: 3;
    }
    .quickaccess {
      background: var(--white);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      display: grid;
      grid-template-columns: auto 1fr;
    }
    .quickaccess-label {
      background: var(--gold);
      color: var(--maroon-darker);
      padding: var(--space-4) var(--space-6);
      font-weight: 800;
      font-size: 12px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      writing-mode: horizontal-tb;
    }
    .quickaccess-grid {
      display: grid;
      grid-template-columns: repeat(9, 1fr);
    }
    .qa-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-2);
      padding: var(--space-5) var(--space-3);
      text-decoration: none;
      color: var(--maroon);
      text-align: center;
      border-left: 1px solid var(--gray-100);
      transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
      font-size: 13px;
      font-weight: 600;
      line-height: 1.3;
    }
    .qa-item:first-child { border-left: 0; }
    .qa-item:hover { background: var(--gold-pale); color: var(--maroon-dark); text-decoration: none; transform: translateY(-2px); }
    .qa-icon { width: 32px; height: 32px; color: var(--maroon); }

    .home-template .popular-links {
      background: var(--off-white);
    }
    
    .popular-links {
      padding: 0;
      border-top: 0;
      border-bottom: 0;
    }
    .popular-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: clamp(12px, 2vw, 24px);
      align-items: center;
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: var(--space-4) var(--container-pad);
    }
    .popular-link {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 72px;
      text-decoration: none;
    }
    .popular-link img {
      display: block;
      width: min(100%, 280px);
      max-height: 70px;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.04));
    }

    @media (max-width: 1024px) {
      .quickaccess-grid { grid-template-columns: repeat(4, 1fr); }
      .qa-item:nth-child(5) { border-left: 0; }
      .qa-item:nth-child(n+5) { border-top: 1px solid var(--gray-100); }
    }
    @media (max-width: 640px) {
      .popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        padding-top: 20px;
        padding-bottom: 20px;
      }
      .popular-link { min-height: 60px; }
    }
    @media (max-width: 640px) {
      .quickaccess { grid-template-columns: 1fr; }
      .quickaccess-label { padding: var(--space-3) var(--space-5); justify-content: center; }
      .quickaccess-grid { grid-template-columns: repeat(2, 1fr); }
      .qa-item:nth-child(odd) { border-left: 0; }
      .qa-item:nth-child(n+3) { border-top: 1px solid var(--gray-100); }
      .quickaccess-wrap { margin-top: -32px; }
    }

    /* ==========================================================================
       ALERTS BAR
       ========================================================================== */
    .alerts {
      margin-top: var(--space-10);
      background: var(--off-white);
      border: 1px solid var(--gray-100);
      border-radius: var(--radius-md);
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: stretch;
      overflow: hidden;
    }
    .alerts-label {
      background: var(--maroon);
      color: var(--white);
      padding: var(--space-4) var(--space-5);
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: var(--space-2);
    }
    .alerts-content {
      padding: var(--space-4) var(--space-6);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      font-size: 15px;
      gap: var(--space-3);
      min-width: 0;
    }

    /* Scrolling ticker */
    .alerts-ticker {
      flex: 1 1 auto;
      min-width: 0;
      min-height: 44px;
      align-self: stretch;
      display: flex;
      position: relative;
      container-type: inline-size;
      overflow: hidden;
    }
    .alerts-track {
      display: flex;
      align-items: center;
      width: max-content;
      gap: var(--space-8);
      list-style: none;
      margin: 0;
      padding: 0 var(--space-4) 0 0;
    }
    /* The measured fallback below needs custom properties, so a browser without
       them keeps a plain static row rather than a track parked off-screen where
       nobody can read it. */
    @supports (--alerts-travel: 0px) {
      .alerts-track {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 100%;
        padding: 0;
        /* Starting duration only - home.js replaces it with one derived from
           the measured distance, so the speed holds as alerts are added. */
        animation: alerts-scroll 45s linear infinite;
      }
    }
    /* Starts at the bar's right edge (100cqw is the bar, not the track) and
       runs until the last alert clears the left edge, so the bar never sits
       empty waiting for the loop to come back around. */
    @keyframes alerts-scroll {
      from { transform: translateX(0); }
      to { transform: translateX(calc(-100% - 100cqw)); }
    }
    /* No container query units: home.js measures the same distance in pixels. */
    .alerts-ticker.is-measured .alerts-track { animation-name: alerts-scroll-measured; }
    @keyframes alerts-scroll-measured {
      from { transform: translateX(0); }
      to { transform: translateX(var(--alerts-travel, -100%)); }
    }
    /* WCAG 2.2.2 - motion stops on hover, on keyboard focus, and on demand */
    .alerts-ticker:hover .alerts-track,
    .alerts-ticker:focus-within .alerts-track,
    .alerts-ticker.is-paused .alerts-track {
      animation-play-state: paused;
    }
    .alert-item { white-space: nowrap; }
    .alert-item a {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      color: var(--gray-900);
      text-decoration: none;
    }
    .alert-item a:hover { color: var(--maroon); text-decoration: underline; }
    .alert-item a:focus-visible {
      outline: 2px solid var(--maroon);
      outline-offset: 2px;
      border-radius: var(--radius-sm);
    }
    .alert-tag {
      background: var(--gray-100);
      color: var(--gray-900);
      border-radius: var(--radius-sm);
      padding: 2px 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.6px;
      text-transform: uppercase;
    }
    .alert-tag-urgent { background: var(--maroon); color: var(--white); }
    .alert-tag-alert { background: var(--gold); color: var(--maroon); }

    /* View All alerts page (inside template) */
    /* Rows are subgrids of the list, so the tag column sizes to the widest tag
       on the page and every notice lines up. */
    .alerts-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: max-content 1fr;
      column-gap: var(--space-4);
    }
    .alerts-list-item {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 10rem 1fr; /* browsers without subgrid */
      grid-template-columns: subgrid;
      column-gap: var(--space-4);
      align-items: baseline;
      padding: var(--space-4) 0;
      border-bottom: 1px solid var(--gray-100);
      color: var(--gray-900);
    }
    .alerts-list-item > .alert-tag { justify-self: start; white-space: nowrap; }
    .alerts-list-date { font-weight: 700; }
    .alerts-list-date::after { content: " \2013"; font-weight: 400; }

    /* Tag and date share the first line; the notice wraps below them. */
    @media (max-width: 640px) {
      .alerts-list { display: block; }
      .alerts-list-item {
        grid-template-columns: max-content 1fr;
        column-gap: var(--space-3);
        row-gap: var(--space-2);
      }
      .alerts-list-body { display: contents; }
      .alerts-list-message { grid-column: 1 / -1; }
      .alerts-list-date::after { content: none; }
    }

    .alerts-toggle {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      min-width: 44px;
      min-height: 44px;
      padding: 0 var(--space-3);
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-sm);
      color: var(--maroon);
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      cursor: pointer;
    }
    .alerts-toggle:hover { background: var(--gold-pale); color: var(--maroon-dark); }
    .alerts-toggle:focus-visible {
      outline: 2px solid var(--maroon);
      outline-offset: 2px;
    }
    .alerts-toggle .alerts-icon-play { display: none; }
    .alerts-ticker.is-paused ~ .alerts-toggle .alerts-icon-pause { display: none; }
    .alerts-ticker.is-paused ~ .alerts-toggle .alerts-icon-play { display: inline; }
    .alerts-link {
      padding: var(--space-4) var(--space-6);
      color: var(--maroon);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: var(--space-2);
      border-left: 1px solid var(--gray-200);
    }
    .alerts-link:hover { background: var(--gold-pale); color: var(--maroon-dark); }

    /* No motion: fall back to a row the reader scrolls themselves. */
    @media (prefers-reduced-motion: reduce) {
      .alerts-track {
        position: static;
        width: auto;
        padding: 0 var(--space-4) 0 0;
        animation: none;
      }
      .alerts-ticker { overflow-x: auto; }
      .alerts-toggle { display: none; }
    }

    @media (max-width: 640px) {
      .alerts { grid-template-columns: 1fr; }
      .alerts-link { border-left: 0; border-top: 1px solid var(--gray-200); justify-content: center; }
      .alerts-toggle-text { display: none; }
      .alerts-toggle { padding: 0; }
    }

    /* ==========================================================================
       EVENTS + NEWS SECTION
       ========================================================================== */
    .events-news {
      padding: var(--space-16) 0;
      display: grid;
      grid-template-columns: 350px 1fr;
      gap: var(--space-12);
    }
    @media (max-width: 1024px) {
      .events-news { grid-template-columns: 1fr; gap: var(--space-10); }
    }

    .section-heading {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--maroon);
      margin-bottom: var(--space-6);
      padding-bottom: var(--space-3);
      border-bottom: 1px solid var(--gray-200);
    }
    .section-heading-icon { width: 22px; height: 22px; color: var(--maroon); }
    .section-heading .accent { color: var(--gold); }
    .section-heading.nompb {margin: 0; padding: 0; border: 0;}
    /* Events */
    .events { display: flex; flex-direction: column; }
    .event {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: var(--space-4);
      padding: var(--space-4) 0;
      border-bottom: 1px solid var(--gray-100);
      align-items: center;
    }
    .event:last-of-type { border-bottom: 0; }
    .event-date {
      background: var(--white);
      border: 1px solid var(--gold);
      border-radius: var(--radius-sm);
      text-align: center;
      padding: var(--space-2) 0;
      overflow: hidden;
    }
    .event-month {
      background: var(--maroon);
      color: var(--white);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 4px 0;
      display: block;
      margin: -8px 0 4px;
    }
    .event-day {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 700;
      color: var(--maroon);
      line-height: 1;
      display: block;
    }
    .event-title {
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 700;
      color: var(--gray-900);
      margin: 0 0 2px;
      line-height: 1.3;
    }
    .event-meta {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.4;
    }
    .events-footer {
      margin-top: var(--space-4);
      padding-top: var(--space-4);
      border-top: 1px solid var(--gray-200);
    }
    .text-link {
      color: var(--maroon);
      text-decoration: none;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 1px;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
    }
    .text-link:hover { color: var(--maroon-dark); text-decoration: underline; text-underline-offset: 4px; }

    /* News */
    .news-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: var(--space-6);
      padding-bottom: var(--space-3);
      border-bottom: 1px solid var(--gray-200);
    }
    .news-header .section-heading { margin: 0; padding: 0; border: 0; }
    .news-list { display: flex; flex-direction: column; }
    .news-item {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: var(--space-5);
      padding: var(--space-5) 0;
      border-bottom: 1px solid var(--gray-100);
      align-items: start;
    }
    .news-item:last-child { border-bottom: 0; }
    .news-thumb {
      width: 130px;
      height: 90px;
      object-fit: cover;
      border-radius: var(--radius-sm);
      background: var(--gray-100);
    }
    .news-content { min-width: 0; }
    .news-title {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 700;
      color: var(--maroon);
      margin: 0 0 4px;
      line-height: 1.3;
    }
    .news-title a { color: inherit; text-decoration: none; }
    .news-title a:hover { color: var(--maroon-dark); text-decoration: underline; text-underline-offset: 3px; }
    .news-desc {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.5;
      margin: 0 0 6px;
    }
    .news-date {
      color: var(--text-subtle);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    @media (max-width: 540px) {
      .news-item { grid-template-columns: 1fr; gap: var(--space-3); }
      .news-thumb { width: 100%; height: 140px; }
    }

    /* ==========================================================================
       BY THE NUMBERS / WELCOME
       ========================================================================== */
    .welcome {
      background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-darker) 100%);
      color: var(--white);
      padding: var(--space-16) 0;
      position: relative;
      overflow: hidden;
      scroll-margin-top: var(--space-6);
    }
    .welcome::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
      pointer-events: none;
    }
    .welcome-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-12);
      align-items: center;
      position: relative;
      z-index: 1;
    }
    @media (max-width: 900px) {
      .welcome-grid { grid-template-columns: 1fr; gap: var(--space-10); }
    }
    .welcome-content .section-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: var(--space-4);
    }
    .welcome-heading {
      font-family: var(--font-display);
      font-size: clamp(28px, 3.5vw, 40px);
      color: var(--white);
      line-height: 1.15;
      margin-bottom: var(--space-5);
      letter-spacing: -0.5px;
    }
    .welcome-text {
      color: rgba(255, 255, 255, 0.88);
      font-size: 16px;
      line-height: 1.65;
      margin-bottom: var(--space-6);
      max-width: 540px;
    }
    .welcome-btn {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      padding: 13px 26px;
      background: var(--gold);
      color: var(--maroon-darker);
      text-decoration: none;
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      border-radius: var(--radius-sm);
      transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
    }
    .welcome-btn:hover { background: var(--gold-light); color: var(--maroon-darker); transform: translateY(-1px); text-decoration: none; }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-4);
    }
    .stat-card {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-md);
      padding: var(--space-6) var(--space-5);
      backdrop-filter: blur(4px);
      transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
    }
    .stat-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); }
    .stat-value {
      font-family: var(--font-display);
      font-size: clamp(36px, 4.5vw, 48px);
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
      letter-spacing: -1px;
      margin-bottom: 6px;
    }
    .stat-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.85);
    }
    .stat-sublabel {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
      margin-top: 4px;
      line-height: 1.3;
    }

    .schools {
      padding: var(--space-16) 0 var(--space-20);
      background: var(--off-white);
      border-top: 1px solid var(--gray-100);
      scroll-margin-top: var(--space-6);
    }
    .schools-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: var(--space-5);
      margin-top: var(--space-8);
    }
    @media (max-width: 1024px) { .schools-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 640px) { .schools-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 420px) { .schools-grid { grid-template-columns: 1fr; } }

    .school-card {
      background: var(--maroon);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: var(--white);
      transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
      box-shadow: var(--shadow-sm);
      border-bottom: 4px solid var(--gold);
    }
    a.school-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      color: var(--white);
      text-decoration: none;
    }
    .school-card-img {
      width: 100%;
      height: 160px;
      display: block;
      object-fit: cover;
      object-position: center;
      background: var(--gray-200);
    }

    @media (max-width: 640px) {
      .school-card-img { height: 120px; }
      .school-card-body { padding: var(--space-4); }

      .events-news { padding: var(--space-10) 0; gap: var(--space-8); }
      .schools { padding: var(--space-10) 0 var(--space-12); }
      .welcome { padding: var(--space-10) 0; }
      .footer { padding: var(--space-10) 0 0; }
      .stats-grid { gap: var(--space-3); }
      .stat-card { padding: var(--space-4); }
      .stat-value { font-size: 30px; }
      .stat-label { font-size: 11px; }
      .stat-sublabel { font-size: 12px; }
      .welcome-heading { font-size: 26px; }
      .welcome-text { font-size: 15px; }
      .section-heading { font-size: 16px; }
      .news-header { flex-wrap: wrap; gap: var(--space-2); }
      .alerts-content { padding: var(--space-3) var(--space-4); font-size: 14px; }
      .alerts-label { padding: var(--space-3) var(--space-4); font-size: 11px; }
    }
    @media (max-width: 480px) {
      .stats-grid { grid-template-columns: 1fr; }
    }
    .school-card-body {
      padding: var(--space-5);
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
      flex: 1;
    }
    .school-card-icon {
      width: 36px;
      height: 36px;
      color: var(--white);
      margin-bottom: var(--space-1);
    }
    .school-card-title {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 1.2px;
      text-transform: uppercase;
      margin: 0;
      line-height: 1.2;
    }
    .school-card-subtitle {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      color: var(--gold);
      letter-spacing: 0.3px;
      margin: 2px 0 0;
      line-height: 1.3;
    }
    .school-card-grade {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.75);
      margin-top: 2px;
    }
    .school-card-desc {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.92);
      line-height: 1.4;
      flex: 1;
    }
    .school-card-desc.mt6 { margin-top: 6px; }
    .school-card-link {
      margin-top: var(--space-3);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--gold);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .school-card:hover .school-card-link { color: var(--gold-light); }

    /* For the Primary Schools card — three direct-nav pill links instead of a single link */
    .school-card-pills {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: var(--space-3);
    }
    .school-card-pill {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      padding: 8px 12px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
      text-decoration: none;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      border-radius: var(--radius-sm);
      border-left: 3px solid var(--gold);
      transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
    }
    .school-card-pill:hover {
      background: var(--gold);
      color: var(--maroon-darker);
      text-decoration: none;
      transform: translateX(2px);
    }
    .school-card-pill svg { flex-shrink: 0; }

    .schools-heading {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      font-size: 18px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--maroon);
      font-family: var(--font-display);
      font-weight: 700;
    }

    /* ==========================================================================
       FOOTER
       ========================================================================== */
    .footer {
      background: var(--maroon);
      color: var(--white);
      padding: var(--space-16) 0 0;
    }
    .footer a { color: var(--white); }
    .footer a:hover { color: var(--gold); }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
      gap: var(--space-10);
      padding-bottom: var(--space-12);
    }
    @media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: var(--space-4);
    }
    .footer-logo { width: 200px; height: auto; }
    .footer-brand-name {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 1px;
      line-height: 1;
    }
    .footer-brand-sub {
      font-family: var(--font-display);
      font-size: 14px;
      letter-spacing: 3px;
      color: rgba(255, 255, 255, 0.85);
    }
    .footer-divider {
      width: 60px;
      height: 3px;
      background: var(--gold);
      margin: var(--space-2) 0;
    }
    .footer-tagline {
      font-size: 11px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.85);
      max-width: 220px;
      line-height: 1.5;
    }

    .footer-heading {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--white);
      margin: 0 0 var(--space-5);
      padding-bottom: var(--space-3);
      border-bottom: 2px solid var(--gold);
      display: inline-block;
    }

    .footer-contact-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
    }
    .footer-contact-list li {
      display: flex;
      gap: var(--space-3);
      align-items: flex-start;
      font-size: 14px;
      line-height: 1.5;
    }
    .footer-contact-list svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--gold);
    }
    .footer-contact-list a { text-decoration: none; }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
    }
    .footer-links a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      text-decoration: none;
      padding: 4px 0;
      transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
    }
    .footer-links a:hover { padding-left: 6px; }
    .footer-links a::after {
      content: '›';
      color: var(--gold);
      font-weight: 700;
      margin-left: var(--space-2);
    }

    .footer-connect-grid {
      display: flex;
      flex-direction: column;
      gap: var(--space-5);
    }
    .social-icons {
      display: flex;
      gap: var(--space-3);
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .social-icons a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--duration) var(--ease);
    }
    .social-icons a:hover { background: var(--gold); color: var(--maroon-darker); }
    .social-icons svg { width: 18px; height: 18px; }

    .footer-cta-buttons {
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
    }
    .footer-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 20px;
      border: 2px solid var(--white);
      color: var(--white);
      text-decoration: none;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      border-radius: var(--radius-sm);
      transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
    }
    a.footer-btn:hover { background: var(--gold); color: var(--maroon-darker); border-color: var(--white); }

    .footer-bottom {
      background: var(--gold);
      color: var(--maroon-darker);
      padding: var(--space-4) 0;
      font-size: 13px;
    }
    .footer-bottom-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: var(--space-6);
      flex-wrap: wrap;
    }
    .footer-bottom a {
      color: var(--maroon-darker);
      text-decoration: none;
      font-weight: 600;
    }
    .footer-bottom a:hover { color: var(--maroon-darker); text-decoration: underline; text-underline-offset: 3px; }
    .footer-bottom-nav {
      display: flex;
      gap: var(--space-5);
      list-style: none;
      padding: 0;
      margin: 0;
      flex-wrap: wrap;
    }

    a.contact-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      background: var(--gold);
      color: var(--maroon-darker);
      border: 0;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-decoration: none;
      margin-top: var(--space-3);
      align-self: flex-start;
      transition: background var(--duration) var(--ease);
    }
    a.contact-btn:hover { background: var(--gold-light); color: var(--white); }

    /* ==========================================================================
       SEARCH MODAL
       ========================================================================== */
    .search-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: var(--space-12) var(--space-4);
      background: rgba(26, 26, 26, 0.7);
      backdrop-filter: blur(4px);
      animation: searchFadeIn 200ms var(--ease);
    }
    .search-modal.is-open { display: flex; }
    @keyframes searchFadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes searchSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

    .search-panel {
      background: var(--white);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 640px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      animation: searchSlideDown 250ms var(--ease);
    }
    .search-header {
      display: flex;
      align-items: center;
      padding: var(--space-5);
      border-bottom: 1px solid var(--gray-100);
      gap: var(--space-3);
    }
    .search-icon {
      width: 22px;
      height: 22px;
      color: var(--text-muted);
      flex-shrink: 0;
    }
    .search-input {
      flex: 1;
      border: 0;
      outline: 0;
      font-family: var(--font-body);
      font-size: 18px;
      color: var(--text-body);
      background: transparent;
      padding: 4px 0;
    }
    .search-input::placeholder { color: var(--text-subtle); }
    .search-close {
      background: var(--gray-100);
      color: var(--text-muted);
      border: 0;
      width: 32px;
      height: 32px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: background var(--duration) var(--ease);
      flex-shrink: 0;
    }
    .search-close:hover { background: var(--gray-200); color: var(--gray-900); }

    .search-body { padding: var(--space-5); }
    .search-section-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--text-subtle);
      margin-bottom: var(--space-3);
    }
    .search-suggestions {
      list-style: none;
      padding: 0;
      margin: 0 0 var(--space-5);
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
    }
    @media (max-width: 540px) { .search-suggestions { grid-template-columns: 1fr; } }
    .search-suggestion {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      padding: 10px 14px;
      background: var(--gray-50);
      border-radius: var(--radius-sm);
      text-decoration: none;
      color: var(--gray-900);
      font-size: 14px;
      font-weight: 600;
      transition: background var(--duration) var(--ease);
    }
    .search-suggestion:hover {
      background: var(--gold-pale);
      color: var(--maroon);
      text-decoration: none;
    }
    .search-suggestion svg {
      width: 16px;
      height: 16px;
      color: var(--text-muted);
      flex-shrink: 0;
    }
    .search-footer {
      padding: var(--space-3) var(--space-5);
      background: var(--gray-50);
      border-top: 1px solid var(--gray-100);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--text-muted);
    }
    .search-kbd {
      display: inline-block;
      padding: 2px 6px;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 3px;
      font-family: ui-monospace, 'SF Mono', Monaco, monospace;
      font-size: 11px;
      color: var(--gray-700);
    }