
    :root{
      --school-maroon:#0B3022;
      --brand-gold:#c5a059;
      --brand-cream:#e5dfcc;
      --text-main:#0B3022;
      --text-muted: rgba(11,48,34,0.72);
      --glass-white: rgba(255,255,255,0.92);
      --shadow: 0 10px 30px rgba(0,0,0,0.12);
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
      --bg:#f6f2ea;
      --radius-lg: 28px;
      --page-side-pad: 18px;

      --nav-h-desktop: 76px;
      --nav-h-tablet: 66px;
      --nav-h-mobile: 58px;

      --nav-top-desktop: 16px;
      --nav-top-mobile: 10px;

      --topbar-spacer-desktop: 106px;
      --topbar-spacer-tablet: 96px;
      --topbar-spacer-mobile: 82px;

      --controls-sticky-desktop: 100px;
      --controls-sticky-tablet: 88px;
      --controls-sticky-mobile: 74px;
    }

    *{ box-sizing:border-box; margin:0; padding:0; }
    html, body { scroll-behavior:smooth; }
    body{
      background: var(--bg);
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
      line-height:1.45;
      color: var(--text-main);
      overflow-x:hidden;
      -webkit-font-smoothing: antialiased;
    }

    img{ max-width: 100%; height: auto; display:block; }
    a{ color: inherit; }

    .page-bg{
      position: fixed; inset: 0; z-index: -3;
      background:
        radial-gradient(1200px 600px at 10% 0%, rgba(197,160,89,0.20), transparent 60%),
        radial-gradient(900px 500px at 90% 15%, rgba(11,48,34,0.18), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.4), transparent 40%);
      pointer-events: none;
    }
    .grain{
      position: fixed; inset: 0; z-index: -2;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
      opacity: .14;
      mix-blend-mode: multiply;
      pointer-events: none;
    }

    .container{
      max-width: 1200px;
      margin: 0 auto;
      padding: 28px var(--page-side-pad);
    }

    /* ============================================================
       NAV
       ============================================================ */
    .topbar-spacer{
      height: var(--topbar-spacer-desktop);
    }

    .nav-border-wrap{
      position: fixed;
      top: var(--nav-top-desktop);
      left: 50%;
      transform: translateX(-50%);
      width: min(1220px, 93vw);
      border-radius: 54px;
      padding: 2px;
      background: conic-gradient(
        from var(--angle),
        #0B3022 0%, #c5a059 18%, #e8d49a 28%,
        #c5a059 38%, #0B3022 55%, #2C5E46 72%,
        #c5a059 85%, #0B3022 100%
      );
      animation: spin-border 6s linear infinite;
      z-index: 1000;
      transition: top 0.35s var(--ease), border-radius 0.35s var(--ease);
    }
    @property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
    @keyframes spin-border { to { --angle: 360deg; } }

    .nav-border-wrap.nav-shrink{ top: 8px; border-radius: 40px; padding: 1.5px; }

    .nav-container{
      width: 100%;
      background: linear-gradient(
        105deg,
        rgba(8,32,20,0.97) 0%, rgba(11,48,34,0.97) 40%,
        rgba(14,56,38,0.97) 70%, rgba(9,36,24,0.97) 100%
      );
      backdrop-filter: blur(18px) saturate(160%);
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      border-radius: 52px;
      display: flex;
      flex-direction: column;
      padding: 0 22px;
      z-index: 1000;
      box-shadow:
        inset 0 1px 0 rgba(197,160,89,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.35),
        0 22px 55px rgba(0,0,0,0.45);
      transition: all 0.35s var(--ease);
    }
    .nav-border-wrap.nav-shrink .nav-container{ border-radius: 38px; padding: 0 16px; }

    .nav-inner{
      width: 100%;
      height: var(--nav-h-desktop);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .nav-border-wrap.nav-shrink .nav-inner{ height: 60px; }

    .logo-wrapper{
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
      min-width: 0;
    }
    .logo-shield img{
      width: 56px; height: 56px;
      object-fit: contain;
      filter: brightness(0) invert(1);
      flex-shrink: 0;
    }
    .brand-text{ min-width: 0; }
    .brand-text h1{
      font-size: clamp(0.62rem, 1.6vw, 0.95rem);
      text-transform: uppercase;
      letter-spacing: 1.2px;
      font-weight: 900;
      background: linear-gradient(
        90deg,
        #e8d49a 0%, #c5a059 20%, #fff8e7 40%,
        #c5a059 60%, #e8d49a 80%, #c5a059 100%
      );
      background-size: 200% auto;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: shimmer-sweep 6s linear infinite;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    @keyframes shimmer-sweep {
      0%   { background-position: -200% center; }
      100% { background-position:  200% center; }
    }
    .sub-text{
      font-size: 0.52rem;
      font-style: italic;
      color: rgba(197,160,89,0.7);
      margin-top: -2px;
      letter-spacing: 2.5px;
      font-weight: 500;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .nav-links{
      display: flex;
      gap: 2px;
      justify-content: center;
      align-items: center;
      flex: 1;
      margin: 0 6px;
    }
    .nav-links a{
      text-decoration: none;
      color: rgba(229,215,180,0.78);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.2px;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid transparent;
      transition: all .25s ease;
      white-space: nowrap;
    }
    .nav-links a:hover{
      color: #f5e9c4;
      background: rgba(197,160,89,0.12);
      border-color: rgba(197,160,89,0.28);
      transform: translateY(-1px);
    }

    .cta-btn{
      background: linear-gradient(135deg, #c5a059 0%, #a07830 50%, #c5a059 100%);
      color: #0B3022;
      border: none;
      padding: 10px 18px;
      border-radius: 999px;
      font-weight: 900;
      font-size: 0.78rem;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      box-shadow: 0 4px 18px rgba(197,160,89,0.35);
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .cta-btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 28px rgba(197,160,89,0.55); }

    .hamburger{
      display: none;
      width: 42px; height: 42px;
      border-radius: 12px;
      border: 1.5px solid rgba(197,160,89,0.35);
      background: rgba(197,160,89,0.08);
      cursor: pointer;
      align-items: center; justify-content: center;
      flex-direction: column;
      gap: 5px;
      transition: background 0.2s ease;
      flex-shrink: 0;
    }
    .hamburger:hover{ background: rgba(197,160,89,0.18); }
    .hamburger span{
      display: block; width: 20px; height: 2px;
      background: linear-gradient(90deg, #e8d49a, #c5a059);
      border-radius: 3px;
      transition: all 0.3s var(--ease);
      transform-origin: center;
    }
    .hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2){ opacity: 0; transform: scaleX(0); }
    .hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu{
      width: 100%;
      border-top: 1px solid rgba(197,160,89,0.2);
      flex-direction: column;
      gap: 4px;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s var(--ease), padding 0.3s ease;
      padding: 0;
      display: flex;
    }
    .mobile-menu.open{
      max-height: 360px;
      padding: 12px 0 16px;
    }
    .mobile-menu a{
      text-decoration: none;
      color: rgba(229,215,180,0.88);
      font-size: 0.92rem;
      font-weight: 800;
      padding: 11px 14px;
      border-radius: 12px;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .mobile-menu a:hover{ background: rgba(197,160,89,0.12); color: #f5e9c4; }
    .mobile-cta{
      background: linear-gradient(135deg, #c5a059 0%, #a07830 100%) !important;
      color: #0B3022 !important;
      text-align: center;
      font-weight: 1000 !important;
      box-shadow: 0 4px 18px rgba(197,160,89,0.3);
      margin-top: 4px;
    }

    @media (max-width: 980px){
      .nav-links a{ font-size: 0.72rem; padding: 7px 9px; }
      .cta-btn{ display: none; }
    }

    @media (max-width: 720px){
      .topbar-spacer{ height: var(--topbar-spacer-tablet); }
      .nav-border-wrap{
        top: var(--nav-top-mobile);
        width: min(98vw, 98vw);
        border-radius: 22px;
        padding: 2px;
      }
      .nav-border-wrap.nav-shrink{ top: 6px; border-radius: 18px; }
      .nav-container{ border-radius: 20px; padding: 0 14px; }
      .nav-border-wrap.nav-shrink .nav-container{ border-radius: 16px; }
      .nav-inner{ height: var(--nav-h-tablet); }
      .nav-border-wrap.nav-shrink .nav-inner{ height: 54px; }
      .nav-links{ display: none !important; }
      .hamburger{ display: flex; }
      .cta-btn{ display: none; }
      .logo-shield img{ width: 50px; height: 50px; }
      .brand-text h1{ font-size: 0.75rem; letter-spacing: 0.9px; }
      .sub-text{ font-size: 0.48rem; letter-spacing: 2px; }
    }

    @media (max-width: 480px){
      .topbar-spacer{ height: var(--topbar-spacer-mobile); }
      .nav-inner{ height: var(--nav-h-mobile); }
      .nav-border-wrap.nav-shrink .nav-inner{ height: 50px; }
      .logo-shield img{ width: 42px; height: 42px; }
      .brand-text h1{ font-size: 0.68rem; letter-spacing: 0.6px; }
      .sub-text{ display: none; }
    }

    @media (max-width: 360px){
      .logo-shield img{ width: 36px; height: 36px; }
      .brand-text h1{ font-size: 0.6rem; }
    }

    /* ============================================================
       PAGE HERO
       ============================================================ */
    .page-hero{
      padding: 36px 0 16px;
      text-align: center;
    }
    .page-hero .kicker{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      border-radius: 999px;
      background: rgba(11,48,34,0.06);
      border: 1px solid rgba(11,48,34,0.14);
      color: rgba(11,48,34,0.85);
      font-weight: 900;
      letter-spacing: 0.2px;
      font-size: 0.9rem;
    }
    .page-hero h1{
      font-family: 'Playfair Display','Georgia',serif;
      font-size: clamp(1.5rem, 4.8vw, 2.8rem);
      margin-top: 14px;
      color: #0F3A2B;
      letter-spacing: -0.03em;
      font-weight: 700;
      padding: 0 6px;
    }
    .page-hero p{
      margin-top: 10px;
      color: rgba(11,48,34,0.78);
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      font-size: 1rem;
      padding: 0 6px;
    }

    /* ============================================================
       STICKY CONTROLS
       ============================================================ */
    .sticky-controls-wrapper{
      position: sticky;
      top: var(--controls-sticky-desktop);
      z-index: 900;
      background: rgba(246, 242, 234, 0.93);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(11,48,34,0.10);
      box-shadow: 0 6px 18px rgba(0,0,0,0.04);
      padding: 8px 0;
      margin-top: 8px;
      transition: top 0.35s var(--ease);
    }

    body.nav-scrolled .sticky-controls-wrapper{
      top: calc(var(--controls-sticky-desktop) - 18px);
    }

    @media (max-width: 720px){
      .sticky-controls-wrapper{
        top: var(--controls-sticky-tablet);
        padding: 6px 0;
      }
      body.nav-scrolled .sticky-controls-wrapper{
        top: calc(var(--controls-sticky-tablet) - 10px);
      }
    }

    @media (max-width: 480px){
      .sticky-controls-wrapper{
        top: var(--controls-sticky-mobile);
        padding: 5px 0;
      }
      body.nav-scrolled .sticky-controls-wrapper{
        top: calc(var(--controls-sticky-mobile) - 8px);
      }
    }

    /* ============================================================
       CONTROLS
       ============================================================ */
    .controls{
      display: flex;
      gap: 8px;
      justify-content: center;
      flex-wrap: wrap;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 var(--page-side-pad);
    }

    .search{
      width: min(480px, 92vw);
      display: flex;
      gap: 8px;
      align-items: center;
      background: rgba(255,255,255,0.70);
      border: 1px solid rgba(11,48,34,0.14);
      border-radius: 16px;
      padding: 8px 12px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    }
    .search .icon{
      color: rgba(11,48,34,0.65);
      font-size: 0.95rem;
      width: 26px;
      text-align: center;
      flex-shrink: 0;
    }
    .search input{
      border: 0;
      outline: none;
      flex: 1;
      font-size: 0.93rem;
      background: transparent;
      color: #0B3022;
      min-width: 100px;
    }
    .search input::placeholder{ color: rgba(11,48,34,0.45); }

    .pills-row{
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }

    .pill{
      border: 1px solid rgba(11,48,34,0.14);
      background: rgba(255,255,255,0.60);
      border-radius: 999px;
      padding: 7px 13px;
      cursor: pointer;
      font-weight: 800;
      color: rgba(11,48,34,0.85);
      transition: transform .15s ease, background .2s ease, border-color .2s ease;
      user-select: none;
      font-size: 0.87rem;
      white-space: nowrap;
    }
    .pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.80); }
    .pill.active{
      background: rgba(197,160,89,0.20);
      border-color: rgba(197,160,89,0.50);
      color: #0B3022;
    }

    @media (max-width: 400px){
      .pill{ font-size: 0.78rem; padding: 6px 10px; }
      .search input{ font-size: 0.85rem; }
    }

    /* ============================================================
       CATEGORY SECTIONS
       ============================================================ */
    .category{ margin-top: 22px; }

    .cat-card{
      background: rgba(255,251,242,0.80);
      border: 1px solid rgba(92,138,114,0.25);
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 35px -15px rgba(0,0,0,0.08);
      overflow: hidden;
    }

    .cat-header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 18px;
      background:
        linear-gradient(135deg, rgba(197,160,89,0.16) 0%, rgba(255,255,255,0.55) 55%, rgba(11,48,34,0.06) 100%);
      border-bottom: 1px solid rgba(11,48,34,0.10);
    }

    .cat-title{
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      flex: 1;
    }

    .cat-badge{
      width: 40px; height: 40px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(11,48,34,0.08);
      border: 1px solid rgba(11,48,34,0.14);
      color: var(--school-maroon);
      flex-shrink: 0;
      font-size: 1.1rem;
    }

    .cat-title-text{ min-width: 0; }
    .cat-title-text h2{
      font-family: 'Playfair Display','Georgia',serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #0F3A2B;
    }
    .cat-title-text p{
      margin-top: 2px;
      color: rgba(11,48,34,0.72);
      font-size: 0.88rem;
      font-weight: 600;
    }

    .cat-actions{ flex-shrink: 0; }

    .toggle-all{
      border-radius: 999px;
      padding: 8px 14px;
      font-weight: 800;
      font-size: 0.82rem;
      border: 1px solid rgba(11,48,34,0.14);
      background: rgba(255,255,255,0.62);
      cursor: pointer;
      transition: transform .15s ease, background .2s ease;
      white-space: nowrap;
    }
    .toggle-all:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.82); }

    @media (max-width: 480px){
      .cat-header{ flex-wrap: wrap; }
      .cat-actions{ width: 100%; }
      .toggle-all{ width: 100%; text-align: center; }
    }

    /* ============================================================
       STAFF GRID
       ============================================================ */
    .staff-grid{
      padding: 16px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 14px;
    }

    @media (max-width: 520px){
      .staff-grid{
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
        gap: 10px;
      }
    }
    @media (max-width: 340px){
      .staff-grid{ grid-template-columns: 1fr; }
    }

    .staff-card{
      background: rgba(255,255,255,0.65);
      border: 1px solid rgba(11,48,34,0.12);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(0,0,0,0.04);
      transition: transform .18s var(--ease), box-shadow .18s var(--ease);
      display: flex;
      flex-direction: column;
      min-height: 220px;
    }
    .staff-card:hover{
      transform: translateY(-5px);
      background: rgba(255,255,255,0.82);
      box-shadow: 0 16px 36px rgba(0,0,0,0.08);
    }

    /* ---- Avatar with click-to-zoom ---- */
    .avatar-wrap{
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      cursor: zoom-in;
    }
    .avatar-wrap::after{
      content: '🔍';
      position: absolute;
      bottom: 8px;
      right: 8px;
      width: 30px;
      height: 30px;
      background: rgba(11,48,34,0.72);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      opacity: 0;
      transition: opacity 0.2s ease;
      pointer-events: none;
      display: grid;
      place-items: center;
    }
    .avatar-wrap:hover::after{
      opacity: 1;
    }

    .avatar{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
      background: linear-gradient(135deg, rgba(197,160,89,0.18), rgba(11,48,34,0.10));
      display: block;
      transition: transform 0.3s var(--ease);
    }
    .avatar-wrap:hover .avatar{
      transform: scale(1.04);
    }

    .staff-body{
      padding: 12px 13px 13px;
      display: flex;
      flex-direction: column;
      gap: 7px;
      flex: 1;
    }

    .staff-name{
      font-weight: 900;
      color: #0F3A2B;
      font-size: 0.98rem;
      letter-spacing: -0.01em;
    }

    .staff-role{
      color: rgba(11,48,34,0.82);
      font-size: 0.9rem;
      font-weight: 700;
      line-height: 1.35;
      min-height: 2.5em;
    }

    .staff-tags{
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: auto;
    }

    .tag{
      font-size: 0.74rem;
      font-weight: 800;
      padding: 5px 9px;
      border-radius: 999px;
      background: rgba(197,160,89,0.14);
      border: 1px solid rgba(197,160,89,0.34);
      color: #0B3022;
      white-space: nowrap;
    }

    .cat-body{
      transition: max-height .35s var(--ease), opacity .25s var(--ease);
      max-height: 2000px;
      opacity: 1;
    }
    .cat-body.collapsed{
      max-height: 0;
      opacity: 0;
      overflow: hidden;
    }

    .no-results{
      padding: 26px 18px;
      text-align: center;
      color: rgba(11,48,34,0.72);
      font-weight: 800;
    }

    /* ============================================================
       LIGHTBOX
       ============================================================ */
    .lightbox-overlay{
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(5,20,12,0.88);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .lightbox-overlay.active{
      opacity: 1;
      pointer-events: all;
    }
    .lightbox-inner{
      position: relative;
      max-width: min(520px, 90vw);
      width: 100%;
      transform: scale(0.92);
      transition: transform 0.28s var(--ease);
    }
    .lightbox-overlay.active .lightbox-inner{
      transform: scale(1);
    }
    .lightbox-img{
      width: 100%;
      border-radius: 20px;
      object-fit: cover;
      object-position: center 20%;
      box-shadow: 0 30px 80px rgba(0,0,0,0.5);
      display: block;
      max-height: 70vh;
    }
    .lightbox-caption{
      margin-top: 14px;
      text-align: center;
      color: rgba(255,255,255,0.92);
      font-weight: 700;
      font-size: 1rem;
    }
    .lightbox-sub{
      margin-top: 4px;
      text-align: center;
      color: rgba(197,160,89,0.85);
      font-size: 0.88rem;
      font-weight: 600;
    }
    .lightbox-close{
      position: absolute;
      top: -14px;
      right: -14px;
      width: 38px; height: 38px;
      border-radius: 50%;
      background: rgba(197,160,89,0.95);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      font-weight: 900;
      color: #0B3022;
      transition: transform 0.18s ease, background 0.18s ease;
      box-shadow: 0 4px 16px rgba(0,0,0,0.4);
      line-height: 1;
    }
    .lightbox-close:hover{
      transform: scale(1.12);
      background: #e8d49a;
    }

    /* ============================================================
       FOOTER
       ============================================================ */
    .site-footer{
      padding: 40px 0 26px;
      border-top: 1px solid rgba(255,255,255,0.15);
      background: #0B3022;
      margin-top: 46px;
    }
    .footer-wrap{ max-width: 1200px; margin: 0 auto; padding: 0 18px; }
    .footer-grid{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 24px;
    }
    .footer-col h3,.footer-col h4{ color: var(--brand-cream); margin-bottom: 10px; font-weight: 900; }
    .footer-col p,.footer-col a{
      color: rgba(255,255,255,0.82);
      font-size: 0.92rem;
      line-height: 1.6;
      text-decoration: none;
      display: block;
      margin-bottom: 7px;
      font-weight: 600;
    }
    .footer-col a:hover{ color: var(--brand-gold); }
    .footer-badge{
      margin-top: 10px;
      display: inline-block;
      padding: 7px 13px;
      background: rgba(197,160,89,0.15);
      border: 1px solid rgba(197,160,89,0.35);
      border-radius: 18px;
      font-size: 0.82rem;
      font-weight: 900;
      color: rgba(255,255,255,0.92);
    }
    .footer-bottom{
      text-align: center;
      margin-top: 22px;
      color: rgba(255,255,255,0.55);
      font-size: 0.88rem;
      font-weight: 700;
    }

    @media (prefers-reduced-motion: reduce){
      *{
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }
