.cursor {
    width: 10px; height: 10px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
  }

.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(201,168,76,0.5);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, width 0.3s, height 0.3s;
  }

body:hover .cursor-ring { transform: translate(-50%, -50%); }

  /* ── TOP BAR (Logo + School Name) ── */
  .top-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    background: rgba(10, 22, 40, 0.97);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    display: flex; align-items: center; gap: 16px;
    padding: 10px 40px;
    backdrop-filter: blur(12px);
  }
  .top-bar-logo {
    width: 48px; height: 48px;
    background: radial-gradient(circle at 40% 40%, var(--gold-light), var(--gold-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 700;
    color: var(--navy);
    flex-shrink: 0;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.3);
    position: relative;
    overflow: hidden;
  }
  .top-bar-logo::after {
    content: '';
    position: absolute; inset: 0;
    background: conic-gradient(from 0deg, transparent 60%, rgba(255,255,255,0.2) 80%, transparent 100%);
    animation: logoSpin 4s linear infinite;
  }
  @keyframes logoSpin { to { transform: rotate(360deg); } }
  .top-bar-text { line-height: 1.2; }
  .top-bar-school {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px; font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.03em;
  }
  .top-bar-sub {
    font-size: 10px; font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .top-bar-divider {
    width: 1px; height: 36px;
    background: rgba(201,168,76,0.2);
    margin: 0 8px;
  }
  .top-bar-src {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .top-bar-right {
    margin-left: auto;
    display: flex; align-items: center; gap: 20px;
  }
  .top-bar-tag {
    font-size: 10px; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-muted);
  }
  .top-bar-date {
    font-family: 'Space Mono', monospace;
    font-size: 10px; color: var(--gold);
    letter-spacing: 0.08em;
  }

  /* ── MAIN NAV (Head Menu) ── */
  .main-nav {
    position: fixed; top: 69px; left: 0; right: 0; z-index: 800;
    background: rgba(15, 32, 64, 0.95);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    backdrop-filter: blur(16px);
    display: flex; align-items: center;
    padding: 0 40px;
    height: 54px;
  }
  .nav-list {
    display: flex; align-items: center; gap: 4px;
    list-style: none; margin: 0; padding: 0;
    height: 100%;
  }
  .nav-item { position: relative; height: 100%; display: flex; align-items: center; }
  .nav-link {
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(245,240,232,0.7);
    text-decoration: none;
    padding: 0 18px; height: 100%;
    display: flex; align-items: center; gap: 6px;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
  }
  .nav-link::after {
    content: '';
    position: absolute; bottom: 0; left: 18px; right: 18px; height: 2px;
    background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition-med);
  }
  .nav-link:hover { color: var(--gold-light); }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-chevron {
    width: 8px; height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--transition-fast);
  }
  .nav-item:hover .nav-chevron { transform: rotate(225deg) translateY(-2px); }

  /* Dropdown */
  .dropdown {
    position: absolute; top: 100%; left: 0;
    min-width: 220px;
    background: rgba(10, 22, 40, 0.98);
    border: 1px solid rgba(201,168,76,0.15);
    border-top: 2px solid var(--gold);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(8px);
    transition: all var(--transition-med);
    backdrop-filter: blur(20px);
    z-index: 1000;
  }
  .nav-item:hover .dropdown { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0); }
  .dropdown-item {
    display: block; padding: 12px 20px;
    font-size: 12px; font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(245,240,232,0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all var(--transition-fast);
    position: relative;
  }
  .dropdown-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--gold);
    transform: scaleY(0); transition: transform var(--transition-fast);
  }
  .dropdown-item:hover { color: var(--gold-light); padding-left: 28px; background: rgba(201,168,76,0.05); }
  .dropdown-item:hover::before { transform: scaleY(1); }

  .nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-portal {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none; padding: 8px 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }
  .btn-portal:hover { background: linear-gradient(135deg, var(--white), var(--gold-light)); transform: translateY(-1px); }

  /* Hide header on scroll down */
  header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .btn-login {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); background: transparent;
    border: 1px solid rgba(201,168,76,0.4);
    padding: 7px 18px; cursor: none;
    transition: all var(--transition-fast);
  }
  .btn-login:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

  /* ── SECTIONS BASE ── */
  .section { position: relative; overflow: hidden; }

  /* ── SCROLL REVEAL ── */
  .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
  .reveal-left.visible { opacity: 1; transform: translateX(0); }
  .reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
  .reveal-right.visible { opacity: 1; transform: translateX(0); }
  .delay-1 { transition-delay: 0.1s !important; }
  .delay-2 { transition-delay: 0.2s !important; }
  .delay-3 { transition-delay: 0.3s !important; }
  .delay-4 { transition-delay: 0.4s !important; }
  .delay-5 { transition-delay: 0.5s !important; }
  .delay-6 { transition-delay: 0.6s !important; }

  /* ── SECTION 1: HERO ── */
  #hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-top: 123px;
    position: relative;
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), url('https://picsum.photos/seed/hltu-campus/1920/1080') center/cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }
  .hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s ease-in-out infinite alternate;
  }
  @keyframes gridDrift { from { transform: translate(0,0); } to { transform: translate(10px, 10px); } }
  .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%); top: 10%; right: 10%; animation: orbFloat1 8s ease-in-out infinite; }
  .hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(30,107,74,0.1), transparent 70%); bottom: 20%; left: 5%; animation: orbFloat2 10s ease-in-out infinite; }
  @keyframes orbFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px, 30px) scale(1.1); } }
  @keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px, -20px); } }

  .hero-left {
    padding: 80px 60px 80px 60px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 2;
  }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 32px;
  }
  .hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
  .hero-tag::after { content: ''; width: 30px; height: 1px; background: var(--gold); }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 300; line-height: 0.92;
    color: var(--cream); margin-bottom: 8px;
  }
  .hero-title em { font-style: italic; color: var(--gold-light); }
  .hero-title-bold { font-weight: 700; display: block; }
  
  /* Kinetic Typography Animations */
  .kinetic-text span {
    opacity: 0;
    display: inline-block;
  }
  
  .kinetic-in.active span {
    animation: slideInFromBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .kinetic-out.active span {
    animation: slideOutToTop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .kinetic-static.active span {
    animation: fadeIn 0.4s ease forwards;
  }
  
  @keyframes slideInFromBottom {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideOutToTop {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .hero-title-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 300; font-style: italic;
    color: var(--text-muted); margin-bottom: 40px;
  }
  .hero-desc {
    font-size: 15px; font-weight: 300; line-height: 1.8;
    color: rgba(245,240,232,0.65); max-width: 460px; margin-bottom: 48px;
  }
  .hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .btn-primary {
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border: none; padding: 16px 36px; cursor: none;
    text-decoration: none; display: inline-block;
    transition: all var(--transition-med);
    position: relative; overflow: hidden;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  }
  .btn-primary::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.2); transform: translateX(-100%); transition: transform 0.4s ease; }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(201,168,76,0.3); }
  .btn-primary:hover::after { transform: translateX(100%); }
  .btn-outline {
    font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); background: transparent;
    border: 1px solid rgba(201,168,76,0.4); padding: 15px 32px; cursor: none;
    text-decoration: none; display: inline-block;
    transition: all var(--transition-fast);
  }
  .btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); color: var(--gold-light); }

  .hero-stats {
    display: flex; gap: 40px; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid rgba(201,168,76,0.1);
  }
  .stat-item { }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 700; color: var(--gold-light);
    line-height: 1;
  }
  .stat-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

  .hero-right {
    position: relative; display: flex; align-items: center; justify-content: center;
    padding: 80px 60px;
    overflow: hidden;
  }
  .hero-visual {
    width: 100%; max-width: 480px; aspect-ratio: 3/4;
    position: relative;
  }
  .hero-img-frame {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
    border: 1px solid rgba(201,168,76,0.15);
    position: relative; overflow: hidden;
  }
  .hero-img-frame::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.15) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 80%, rgba(30,107,74,0.1) 0%, transparent 50%);
  }
  .hero-img-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 20px;
    padding: 40px;
  }
  .hero-crest-ring {
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.3);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: ringPulse 3s ease-in-out infinite;
  }
  @keyframes ringPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.3); } 50% { box-shadow: 0 0 0 20px rgba(201,168,76,0); } }
  .hero-crest-inner {
    width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(201,168,76,0.25), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.4);
    display: flex; align-items: center; justify-content: center;
  }
  .hero-crest-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 700; color: var(--gold);
    text-align: center; line-height: 1;
  }
  .hero-crest-text span { display: block; font-size: 10px; letter-spacing: 0.2em; font-weight: 400; margin-top: 4px; }
  .hero-img-info {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-style: italic; color: var(--cream);
  }
  .hero-img-info small { display: block; font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
  .hero-corner {
    position: absolute;
    width: 40px; height: 40px;
  }
  .hero-corner.tl { top: 16px; left: 16px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
  .hero-corner.tr { top: 16px; right: 16px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
  .hero-corner.bl { bottom: 16px; left: 16px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
  .hero-corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

  .hero-floating-badge {
    position: absolute; bottom: 60px; left: -20px;
    background: var(--navy); border: 1px solid rgba(201,168,76,0.25);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: badgeFloat 4s ease-in-out infinite;
  }
  @keyframes badgeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
  .badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
  .badge-text { font-size: 11px; color: var(--cream); }
  .badge-text strong { display: block; font-weight: 600; }
  .badge-text span { color: var(--text-muted); font-size: 10px; }

  /* CINEMATIC DIVIDER */
  .cinematic-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    position: relative; overflow: visible;
  }
  .cinematic-divider::before {
    content: '✦';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px; color: var(--gold);
    background: var(--navy); padding: 0 12px;
  }

  /* ── SECTION 2: ABOUT / MISSION ── */
  #about {
    padding: 120px 80px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
    background: var(--navy-mid);
    position: relative;
  }
  #about::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  }
  .about-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .about-eyebrow::before { content: '02'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 300; line-height: 1.05; color: var(--cream);
    margin-bottom: 24px;
  }
  .section-title em { color: var(--gold-light); font-style: italic; }
  .section-body {
    font-size: 15px; font-weight: 300; line-height: 1.9;
    color: rgba(245,240,232,0.65); margin-bottom: 32px;
  }
  .about-values {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px;
  }
  .value-item {
    padding: 20px; border: 1px solid rgba(201,168,76,0.1);
    position: relative; transition: all var(--transition-med);
    background: rgba(201,168,76,0.02);
  }
  .value-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: 100%; height: 1px; background: var(--gold); transition: right var(--transition-med); }
  .value-item:hover::after { right: 0; }
  .value-item:hover { border-color: rgba(201,168,76,0.25); background: rgba(201,168,76,0.04); }
  .value-icon { font-size: 22px; margin-bottom: 10px; }
  .value-title { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; color: var(--gold-light); margin-bottom: 6px; }
  .value-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
  .about-visual {
    position: relative;
  }
  .about-img-main {
    width: 100%; aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--navy-light), var(--navy-mid));
    border: 1px solid rgba(201,168,76,0.12);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .about-img-main::before {
    content: 'HLTU\nSRC';
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px; font-weight: 700; line-height: 0.9;
    color: rgba(201,168,76,0.05);
    text-align: center; white-space: pre;
    letter-spacing: -2px;
    position: absolute;
  }
  .about-pattern {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(201,168,76,0.02) 20px, rgba(201,168,76,0.02) 21px);
  }
  .about-quote-card {
    position: absolute; bottom: -24px; right: -24px;
    background: var(--navy); border: 1px solid rgba(201,168,76,0.2);
    padding: 24px 28px; max-width: 260px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
  .quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px; font-style: italic; font-weight: 400;
    color: var(--cream); line-height: 1.5; margin-bottom: 12px;
  }
  .quote-attr { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

  /* ── SECTION 3: SERVICES / FEATURES ── */
  #services {
    padding: 120px 80px;
    background: var(--navy);
    position: relative;
  }
  .services-header { text-align: center; margin-bottom: 80px; }
  .services-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 12px;
  }
  .services-eyebrow::before { content: '03'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.08);
  }
  .service-card {
    background: var(--navy);
    padding: 36px 28px;
    position: relative; overflow: hidden;
    transition: all var(--transition-med);
  }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transition: transform var(--transition-med);
  }
  .service-card:hover { background: rgba(201,168,76,0.03); transform: translateY(-4px); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num {
    font-family: 'Space Mono', monospace; font-size: 11px;
    color: rgba(201,168,76,0.3); letter-spacing: 0.1em;
    margin-bottom: 24px;
  }
  .service-icon-wrap {
    width: 56px; height: 56px;
    border: 1px solid rgba(201,168,76,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; font-size: 24px;
    transition: all var(--transition-fast);
    position: relative;
  }
  .service-icon-wrap::after {
    content: '';
    position: absolute; inset: -4px;
    border: 1px solid rgba(201,168,76,0.1);
    transition: all var(--transition-fast);
  }
  .service-card:hover .service-icon-wrap { border-color: var(--gold); background: rgba(201,168,76,0.08); }
  .project-image-wrap {
    width: 100%;
    height: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(201,168,76,0.15);
    overflow: hidden;
    position: relative;
  }
  .project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .service-title { font-size: 18px; font-weight: 600; color: var(--cream); margin-bottom: 12px; }
  .service-desc { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
  .service-link {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); text-decoration: none;
    display: flex; align-items: center; gap: 8px;
    transition: gap var(--transition-fast);
  }
  .service-link:hover { gap: 14px; }
  .service-link::after { content: '→'; }

  /* ── SECTION 4: EXECUTIVE COUNCIL ── */
  #council {
    padding: 120px 80px;
    background: var(--navy-mid);
    position: relative;
  }
  .council-header { margin-bottom: 80px; }
  .council-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .council-eyebrow::before { content: '04'; color: rgba(201,168,76,0.3); font-size: 9px; }
.council-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 24px; 
  position: relative;
}
.council-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow-x: hidden;
  overflow-y: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.council-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;            /* gaps live on the cards themselves via translateX */
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
  .council-card {
    position: absolute;
    bottom: 44px;
    width: 260px;
    height: 350px;
    cursor: pointer;
    transition: left      1.4s ease-in-out,
                transform  1.4s ease-in-out,
                opacity    1.0s  ease-in-out,
                filter     1.0s  ease-in-out,
                box-shadow 1.0s  ease-in-out;
  }
  /* ─── Active card — centred via translateX(0) ─── */
  .council-card.active {
    opacity: 1;
    filter: none;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(201,168,76,0.40);
  }
  /* ─── Inactive / dimmed cards ─── */
  .council-card:not(.active) {
    opacity: 0.40;
    filter: grayscale(60%) brightness(0.82);
  }
  /* ─── Hover highlight ─── */
  .council-card:hover {
    box-shadow: 0 20px 40px rgba(201,168,76,0.40);
    filter: none !important;
  }
  /* ─── Name / position slides up and fades in below the active card only — anchored to top:100% so it grows upward inside carousel height, never spilling → */
  .council-info {
    position: absolute;
    top: 100%;
    bottom: auto;
    left: 0; right: 0;
    text-align: center;
    padding-top: 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity  0.55s ease 0.1s,
                transform 0.55s ease 0.1s;
    pointer-events: none;
  }
  .council-card.active .council-info {
    opacity: 1;
    transform: translateY(0);
  }
  .council-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .council-avatar img.active {
    opacity: 1;
  }
  .council-avatar::before {
    content: attr(data-initials);
    position: absolute; top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px; font-weight: 700;
    color: rgba(201,168,76,0.12); letter-spacing: -2px;
  }
  .council-avatar-inner {
    width: 80px; height: 80px; border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
    border: 2px solid rgba(201,168,76,0.3);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 700; color: var(--gold);
  }
  .council-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, transparent 60%);
  }
  .council-role {
    font-family: 'Space Mono', monospace; font-size: 9px;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 6px;
  }
  .council-name { font-size: 16px; font-weight: 600; color: var(--cream); }

  /* ── SECTION 5: SRC PROJECTS ── */
  #projects {
    padding: 120px 80px;
    background: var(--navy);
    position: relative;
  }
  .projects-header { text-align: center; margin-bottom: 80px; }
  .projects-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 12px;
    flex-wrap: wrap;
  }
  .projects-eyebrow::before { content: '05'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .view-all-wrap { text-align: center; padding: 36px 0 12px; }
  .view-all-link {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: gap 0.3s ease;
  }
  .view-all-link:hover { gap: 14px; }
  .view-all-link::after { content: '\2192'; }

  /* ── SECTION 6: NEWS & EVENTS ── */
  #news {
    padding: 120px 80px;
    background: var(--navy);
  }
  .news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
  .news-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .news-eyebrow::before { content: '06'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .news-featured {
    position: relative; overflow: hidden;
    border: 1px solid rgba(201,168,76,0.12);
    height: 420px;
    background: linear-gradient(160deg, var(--navy-light), var(--navy-mid));
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 40px;
    transition: all var(--transition-med);
  }
  .news-featured:hover { border-color: rgba(201,168,76,0.25); }
  .news-featured-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 70% 20%, rgba(201,168,76,0.1), transparent 60%),
      linear-gradient(to bottom, transparent 20%, rgba(10,22,40,0.85) 40%, rgba(10,22,40,0.95));
    z-index: 0;
  }
  .news-featured-tag {
    position: absolute; top: 28px; left: 28px;
    font-family: 'Space Mono', monospace; font-size: 9px;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--navy); background: var(--gold);
    padding: 5px 12px;
  }
  .news-featured-content { position: relative; z-index: 1; padding: 0 0 20px 0; }
  .news-date { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
  .news-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; color: var(--cream); line-height: 1.2; margin-bottom: 12px; }
  .news-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
  .news-list { display: flex; flex-direction: column; gap: 0; }
  .news-item {
    padding: 28px 0; border-bottom: 1px solid rgba(201,168,76,0.08);
    display: grid; grid-template-columns: 60px 1fr; gap: 20px;
    align-items: start; transition: all var(--transition-fast);
    cursor: none;
  }
  .news-item:hover { padding-left: 12px; }
  .news-item-date { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--gold); text-align: center; line-height: 1.2; }
  .news-item-date span { display: block; font-size: 24px; font-family: 'Cormorant Garamond', serif; }
  .news-item-title { font-size: 14px; font-weight: 500; color: var(--cream); margin-bottom: 6px; line-height: 1.4; }
  .news-item-cat { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

  /* ── SECTION 6: PORTAL / DASHBOARD ── */
  #portal {
    padding: 120px 80px;
    background: var(--navy-mid);
    position: relative; overflow: hidden;
  }
  #portal::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.06), transparent 70%);
    border-radius: 50%;
  }
  .portal-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
  .portal-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .portal-eyebrow::before { content: '07'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .portal-features { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
  .portal-feature {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 20px; border: 1px solid rgba(201,168,76,0.08);
    transition: all var(--transition-fast);
  }
  .portal-feature:hover { border-color: rgba(201,168,76,0.2); background: rgba(201,168,76,0.03); }
  .portal-feat-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
  .portal-feat-title { font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
  .portal-feat-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
  .portal-mockup {
    background: rgba(10,22,40,0.8);
    border: 1px solid rgba(201,168,76,0.15);
    overflow: hidden;
  }
  .mockup-bar {
    padding: 12px 20px; background: rgba(201,168,76,0.05);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    display: flex; align-items: center; gap: 8px;
  }
  .mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
  .mockup-dot:nth-child(1) { background: #ff5f56; }
  .mockup-dot:nth-child(2) { background: #febc2e; }
  .mockup-dot:nth-child(3) { background: #28c840; }
  .mockup-url { margin-left: 12px; font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text-muted); }
  .mockup-body { padding: 28px; }
  .mockup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .mockup-title { font-size: 14px; font-weight: 600; color: var(--cream); }
  .mockup-badge { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 4px 10px; }
  .mockup-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
  .mockup-card { padding: 16px; background: rgba(201,168,76,0.04); border: 1px solid rgba(201,168,76,0.1); }
  .mockup-card-val { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold-light); }
  .mockup-card-lbl { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
  .mockup-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 16px; }
  .bar-col { flex: 1; background: rgba(201,168,76,0.15); border-top: 2px solid rgba(201,168,76,0.4); transition: height 1s ease; }

  /* ── SECTION 7: ELECTIONS ── */
  #elections {
    padding: 120px 80px;
    background: var(--navy);
  }
  .elections-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
  .elections-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .elections-eyebrow::before { content: '08'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .election-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
  .election-step {
    display: flex; gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(201,168,76,0.08);
    position: relative;
  }
  .step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px; font-weight: 700; color: rgba(201,168,76,0.15);
    line-height: 1; flex-shrink: 0; width: 48px;
  }
  .step-content { }
  .step-title { font-size: 15px; font-weight: 600; color: var(--cream); margin-bottom: 6px; }
  .step-desc { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
  .election-visual {
    background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.12);
    padding: 40px;
  }
  .election-vis-title { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
  .vote-bars { display: flex; flex-direction: column; gap: 16px; }
  .vote-bar-item { }
  .vote-bar-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
  .vote-bar-name { font-size: 13px; color: var(--cream); }
  .vote-bar-pct { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--gold); }
  .vote-bar-track { height: 6px; background: rgba(255,255,255,0.05); position: relative; }
  .vote-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); transition: width 2s cubic-bezier(0.16,1,0.3,1); }

  /* ── SECTION 8: CLUBS & SOCIETIES ── */
  #clubs {
    padding: 120px 80px;
    background: var(--navy-mid);
  }
  .clubs-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .clubs-eyebrow::before { content: '09'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .clubs-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
  .clubs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .club-card {
    padding: 32px 24px;
    border: 1px solid rgba(201,168,76,0.08);
    background: rgba(255,255,255,0.01);
    position: relative; overflow: hidden;
    transition: all var(--transition-med); cursor: none;
  }
  .club-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.06), transparent 70%);
    opacity: 0; transition: opacity var(--transition-med);
  }
  .club-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-4px); }
  .club-card:hover::before { opacity: 1; }
  .club-emoji { font-size: 32px; margin-bottom: 16px; }
  .club-name { font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
  .club-members { font-size: 11px; color: var(--text-muted); margin-bottom: 16px; }
  .club-tag {
    display: inline-block; font-size: 9px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold);
    border: 1px solid rgba(201,168,76,0.25); padding: 4px 10px;
  }

  /* ── SECTION 9: WELFARE & SUPPORT ── */
  #welfare {
    padding: 120px 80px;
    background: var(--navy);
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
  }
  .welfare-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .welfare-eyebrow::before { content: '10'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .welfare-cards { display: flex; flex-direction: column; gap: 16px; }
  .welfare-card {
    display: flex; gap: 20px; padding: 24px;
    border: 1px solid rgba(201,168,76,0.08);
    transition: all var(--transition-fast);
  }
  .welfare-card:hover { border-color: rgba(201,168,76,0.2); background: rgba(201,168,76,0.03); }
  .welfare-icon { font-size: 28px; flex-shrink: 0; }
  .welfare-title { font-size: 15px; font-weight: 600; color: var(--cream); margin-bottom: 6px; }
  .welfare-desc { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
  .welfare-hotline {
    padding: 40px;
    background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
    border: 1px solid rgba(201,168,76,0.2);
    text-align: center;
    position: relative; overflow: hidden;
  }
  .welfare-hotline::before {
    content: 'SOS';
    position: absolute; bottom: -20px; right: -20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 120px; font-weight: 700;
    color: rgba(201,168,76,0.04); line-height: 1;
  }
  .hotline-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
  .hotline-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px; font-weight: 700; color: var(--gold-light);
    margin-bottom: 8px;
  }
  .hotline-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }

  /* ── SECTION 10: GALLERY / EVENTS ── */
  #gallery {
    padding: 120px 80px;
    background: var(--navy-mid);
  }
  .gallery-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .gallery-eyebrow::before { content: '11'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .gallery-header { text-align: center; margin-bottom: 60px; }
  .gallery-tabs {
    display: flex; justify-content: center; gap: 20px;
    margin-bottom: 40px;
  }
  .gallery-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.2);
    color: var(--text-muted);
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    cursor: none; transition: all var(--transition-fast);
    position: relative;
  }
  .gallery-tab.active {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
  }
  .gallery-tab:hover { border-color: rgba(201,168,76,0.4); }
  .gallery-content {
    display: none;
  }
  .gallery-content.active { display: block; }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px;
    gap: 4px;
  }
  .gallery-item {
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    border: 1px solid rgba(201,168,76,0.08);
    overflow: hidden; position: relative;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-med); cursor: pointer;
  }
  .gallery-item:first-child { grid-column: 1 / 2; grid-row: 1 / 3; }
  .gallery-item:hover { border-color: rgba(201,168,76,0.3); }
  .gallery-item:hover .gallery-overlay { opacity: 1; }
  .gallery-item.video-item {
    position: relative;
    cursor: pointer;
  }
  .gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gallery-item .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(201,168,76,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--navy);
    transition: all var(--transition-fast);
    z-index: 2;
  }
  .gallery-item .play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold);
  }
  .gallery-inner-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px; font-weight: 700; color: rgba(201,168,76,0.08);
  }
  .gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(10,22,40,0.8);
    opacity: 0; transition: opacity var(--transition-med);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
  }
  .gallery-overlay-tag { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
  .gallery-overlay-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--cream); }
  .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .gallery-image.active {
    opacity: 1;
  }

  /* ══════════════════════════════════════
     LIGHTBOX — Fullscreen Gallery Preview
  ══════════════════════════════════════ */
  .lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 10, 22, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 60px 20px 80px;
  }
  .lightbox-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
  .lightbox-overlay.open * {
    cursor: default;
  }
  #lightboxShutter {
    position: absolute; inset: 0;
    background: var(--navy);
    z-index: 10001;
    opacity: 1;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }
  .lightbox-overlay.open #lightboxShutter {
    opacity: 0;
  }
  .lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    z-index: 10002;
    width: 44px; height: 44px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.7);
  }
  .lightbox-close:hover {
    background: rgba(201, 168, 76, 0.3);
    border-color: var(--gold);
    transform: scale(1);
  }
  .lightbox-overlay.open .lightbox-close {
    opacity: 1;
    transform: scale(1);
  }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
    width: 52px; height: 52px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 50%;
    color: var(--gold);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
  }
  .lightbox-nav:hover {
    background: rgba(201, 168, 76, 0.3);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
  }
  .lightbox-overlay.open .lightbox-nav {
    opacity: 1;
  }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  .lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 85vw;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .lightbox-overlay.open .lightbox-content {
    opacity: 1;
  }
  .lightbox-content img {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  }
  .lightbox-content video {
    max-width: 85vw;
    max-height: 75vh;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    background: #000;
  }
  .lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: var(--cream);
    background: rgba(5, 10, 22, 0.75);
    padding: 8px 24px;
    border-radius: 4px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .lightbox-overlay.open .lightbox-caption {
    opacity: 1;
  }
  .lightbox-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: rgba(5, 10, 22, 0.75);
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .lightbox-overlay.open .lightbox-counter {
    opacity: 1;
  }

  /* Badge Styles for Project Status */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 6px;
}

.badge-active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.badge-completed {
    background: rgba(138, 155, 184, 0.15);
    color: #8A9BB8;
}

/* ── SECTION 11: CONTACT ── */
  #contact {
    padding: 120px 80px;
    background: var(--navy);
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  }
  .contact-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
  }
  .contact-eyebrow::before { content: '11'; color: rgba(201,168,76,0.3); font-size: 9px; }
  .contact-info { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
  .contact-item { display: flex; gap: 20px; align-items: flex-start; }
  .contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
  .contact-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
  .contact-value { font-size: 15px; color: var(--cream); }
  .contact-form { display: flex; flex-direction: column; gap: 20px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-field label { display: block; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
  .form-field input, .form-field textarea, .form-field select {
    width: 100%; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.15); color: var(--cream);
    padding: 14px 16px; font-family: 'Outfit', sans-serif; font-size: 14px;
    outline: none; transition: border-color var(--transition-fast);
    appearance: none;
  }
  .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--gold); background: rgba(201,168,76,0.03); }
  .form-field textarea { resize: vertical; min-height: 120px; }
  .form-field select option { background: var(--navy); }
  .form-submit {
    align-self: flex-start;
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none; padding: 16px 40px; cursor: none;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: all var(--transition-med);
  }
  .form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,168,76,0.25); }

/* ── SECTION 12: FOOTER ── */
/* ── FOOTER ── */
footer#footer {
  background: #0a1628;
  border-top: 3px solid var(--gold);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 60px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Brand column */
.footer-brand { }

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-school-text { }

.footer-school-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 12.5px;
  color: rgba(200, 215, 240, 0.7);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 280px;
}

/* Contact list */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(200, 215, 240, 0.75);
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  width: 18px;
  text-align: center;
}

/* Link columns */
.footer-links-section { }

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links li {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(200, 215, 240, 0.7);
  text-decoration: none;
  padding: 9px 0 9px 10px;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 16px;
}

.footer-links a:hover::before {
  height: 60%;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 22px;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(200, 215, 240, 0.5);
}

.footer-badge {
  font-size: 11px;
  color: var(--gold);
  opacity: 0.8;
}

/* Newsletter form */
.footer-newsletter-text {
  font-size: 13px;
  color: rgba(200, 215, 240, 0.65);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-input:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.footer-subscribe-btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.footer-subscribe-btn:hover {
  background: var(--gold-light);
}

.footer-result {
  font-size: 12px;
  min-height: 20px;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: none;
}

.footer-result.footer-result-success {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
  display: block;
}

.footer-result.footer-result-error {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
  display: block;
}

.footer-result.footer-result-info {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
  display: block;
}

/* Social icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(200, 215, 240, 0.6);
  text-decoration: none;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 1100px) {
  .footer-container { padding: 44px 32px 24px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer-container { padding: 32px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-school-name { font-size: 15px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
}



/* SCROLL PROGRESS */
  .scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: transparent; z-index: 9999;
  }
  .scroll-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transition: width 0.1s linear;
  }

  /* BACK TO TOP */
  .back-top {
    position: fixed; bottom: 40px; right: 40px;
    width: 44px; height: 44px;
    background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.3);
    display: flex; align-items: center; justify-content: center;
    cursor: none; z-index: 500;
    opacity: 0; transform: translateY(20px);
    transition: all var(--transition-fast);
    color: var(--gold); font-size: 18px;
  }
  .back-top.visible { opacity: 1; transform: translateY(0); }
  .back-top:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }

  /* MOBILE MENU TOGGLE */
  .mobile-toggle { 
    display: none; 
    position: fixed;
    top: 82px;
    right: 20px;
    z-index: 1001;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    position: relative;
    transition: background var(--transition-fast);
  }
  .mobile-toggle span::before,
  .mobile-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transition: transform var(--transition-fast), top var(--transition-fast);
  }
  .mobile-toggle span::before {
    top: -8px;
  }
  .mobile-toggle span::after {
    top: 8px;
  }
  .mobile-toggle.active span {
    background: transparent;
  }
  .mobile-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .mobile-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  @media (max-width: 900px) {
    .top-bar { 
      padding: 10px 20px; 
      position: relative;
      z-index: 998;
    }
    .main-nav { 
      padding: 0 20px 60px; 
      position: relative;
      margin-top: 60px;
    }
    .mobile-toggle { 
      display: block; 
    }
    .nav-list { 
      display: flex; 
      position: fixed;
      top: 0;
      right: -300px;
      width: 280px;
      height: 100vh;
      flex-direction: column; 
      gap: 0;
      background: var(--navy);
      padding: 20px 0;
      overflow-y: auto;
      z-index: 999;
      box-shadow: -4px 0 20px rgba(0,0,0,0.3);
      transition: right 0.3s ease;
    }
    .nav-list.active {
      right: 0;
    }
    .nav-list > li { 
      width: 100%;
      border-bottom: 1px solid rgba(201,168,76,0.1);
    }
    .nav-list > li:last-child { border-bottom: none; }
    .nav-link { 
      display: block; 
      padding: 12px 16px; 
      color: var(--cream); 
      text-decoration: none;
      transition: all var(--transition-fast);
    }
    .nav-link:hover { 
      background: rgba(201,168,76,0.1); 
      color: var(--gold);
    }
    .nav-chevron { 
      float: right; 
      transition: transform var(--transition-fast);
    }
    .nav-item:hover .nav-chevron { 
      transform: rotate(180deg);
    }
    .dropdown { 
      position: static; 
      display: none; 
      background: var(--navy-mid); 
      border: 1px solid rgba(201,168,76,0.2); 
      border-radius: 0 0 8px 8px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      margin-top: 4px;
    }
    .nav-item:hover .dropdown { 
      display: block;
    }
    .dropdown-item { 
      display: block; 
      padding: 10px 16px; 
      color: var(--text-muted); 
      text-decoration: none; 
      transition: all var(--transition-fast);
      font-size: 13px;
    }
    .dropdown-item:hover { 
      background: rgba(201,168,76,0.1); 
      color: var(--cream);
    }
#hero { 
       grid-template-columns: 1fr; 
       padding-top: 100px; 
       padding-left: 16px;
       padding-right: 16px;
       gap: 24px;
       justify-items: center;
       text-align: center;
       min-height: auto;
     }
.hero-left { 
       padding: 60px 20px 20px 20px;
       text-align: center;
       max-width: 600px;
       margin: 0 auto 20px auto;
       margin-top: 20px;
     }
    .hero-right { 
      display: block;
      padding: 0;
      max-width: 100%;
      margin: 0 auto;
    }
    .hero-visual {
      width: 100%;
      max-width: 320px;
      aspect-ratio: 3/4;
      margin: 0 auto;
      text-align: center;
    }
    .hero-floating-badge {
      position: relative;
      bottom: auto;
      left: auto;
      right: auto;
      margin-top: 16px;
      justify-content: center;
    }
    .hero-right.reveal-right {
      opacity: 1;
      transform: none;
    }
.hero-title {
       font-size: 28px !important;
       line-height: 1.2 !important;
       margin-bottom: 16px !important;
       margin-top: 20px !important;
     }
    .hero-title-bold {
      font-size: 32px !important;
    }
    .hero-title-sub {
      font-size: 16px !important;
      margin-bottom: 20px !important;
    }
    .hero-desc {
      font-size: 14px !important;
      line-height: 1.6 !important;
      margin-bottom: 30px !important;
      max-width: 100% !important;
    }
    .hero-ctas {
      flex-direction: column;
      gap: 16px;
      align-items: center;
    }
    .btn-primary, .btn-outline {
      width: 100%;
      max-width: 280px;
      text-align: center;
    }
    .hero-stats {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
    .stat-item {
      text-align: center;
      padding: 20px;
      background: rgba(201,168,76,0.05);
      border-radius: 12px;
      border: 1px solid rgba(201,168,76,0.1);
    }
    .stat-num {
      font-size: 24px !important;
    }
    .stat-label {
      font-size: 11px !important;
    }
    #about, #welfare, #contact { grid-template-columns: 1fr; padding: 80px 20px; }
    #services, #council, #clubs, #elections, #gallery, #news, #portal { padding: 80px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .council-grid { grid-template-columns: repeat(2, 1fr); }
.clubs-grid { grid-template-columns: repeat(2, 1fr); }
     .footer-container { padding: 60px 20px 30px; }
    .gallery-grid {
     grid-template-columns: 1fr; 
     grid-template-rows: auto;
     gap: 16px;
   }
   .gallery-item:first-child { 
     grid-column: 1; 
     grid-row: 1; 
   }
   .gallery-item {
     min-height: 200px;
   }
   .elections-grid, .portal-inner { grid-template-columns: 1fr; }
   .news-layout { grid-template-columns: 1fr; }
   #assembly { grid-template-columns: 1fr; padding: 80px 20px; }
 }

/* Ensure menu toggle is hidden on desktop screens (≥901px) */
@media (min-width: 901px) {
   .mobile-toggle {
     display: none !important;
   }
 }



/* ═══════════════════════════════════════════════════
   DHLTU SRC — Master Stylesheet
   ═══════════════════════════════════════════════════
   File  : assets/css/main.css
   Scope : Applied to all project HTML pages (index.html, constitution.html,
           complaint.html) via <link rel="stylesheet" href="assets/css/main.css">
   Coeffs: :root custom properties — no hard-coded colours in component rules
   Arch  : Components then sections then pages then utilities then responsive
   ═══════════════════════════════════════════════════

   COLOUR TOKENS (defined in :root, lines 5–21)
   ─────────────────────────────────────────────
     --gold          #C9A84C   Primary accent (borders, highlights, CTAs)
     --gold-light    #E8C97A   Lighter gold for hover/active states
     --gold-dark     #8B6914   Darker gold for gradients
     --navy          #0A1628   Deepest background
     --navy-mid      #0F2040   Cards, overlays, nav background
     --navy-light    #1A3060   Lighter navy for subtle gradients
     --cream         #F5F0E8   Body text, primary labels
     --cream-dark    #E8E0CC   Muted cream for secondary elements
     --white         #FFFFFF   High-contrast text over dark backgrounds
     --text-muted    #8A9BB8   Secondary / placeholder text
     --accent-red    #C0392B   Error states, required-field markers
     --green-accent  #1E6B4A   Success states
*/

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #8B6914;
  --navy: #0A1628;
  --navy-mid: #0F2040;
  --navy-light: #1A3060;
  --cream: #F5F0E8;
  --cream-dark: #E8E0CC;
  --white: #FFFFFF;
  --text-muted: #8A9BB8;
  --accent-red: #C0392B;
  --green-accent: #1E6B4A;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── HTML & BODY ──────────────────────────────────
   html/body are both explicitly constrained to overflow-x:hidden;
   html owns smooth-scroll navigation; body carries the main colour */

html {
  scroll-behavior: smooth;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  overflow-y: visible;
  line-height: 1.6;
  min-height: 100%;
}

/* ── TYPOGRAPHY ───────────────────────────────────
   Base: Outfit for UI / body; Cormorant Garamond for headings;
   Space Mono for eyebrow/meta/ecode text                 */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--cream);
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ────────────────────────────────────────
   .btn-primary — gold-gradient CTA with clip-path corners
   .btn-outline — transparent variant with gold glow on hover   */

.btn-primary {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 15px 32px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-light);
}

/* ── SECTIONS & CARDS ──────────────────────────────
   .section      — uniform section padding + relative context
   .section-header / .section-eyebrow — reused by every page section  */

.section {
  padding: 120px 80px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ── CARD ───────────────────────────────────────────
   .card — navy-mid surface with gold border + hover lift */

.card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 32px;
  transition: all var(--transition-med);
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
}

/* ── FORM CONTROLS ─────────────────────────────────
   Shared input/textarea/select styling — applied to all pages
   .form-field label adds Space Mono uppercase label styling
   .form-group in complaint.html uses the same base; see complaint-page overrides below */

input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  transition: all var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* ── UTILITY CLASSES ────────────────────────────────
   One-off helpers used across pages — keep minimal  */

/* Utility helpers */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ── TOP BAR ────────────────────────────────────────
   Fixed zone at the very top of the viewport  (z-index: 900)
   Contains: school logo (circle), name, SRC label, session year
   Classes: .top-bar / .top-bar-logo / .top-bar-logo img  ← logo image sizing added 2025
            .top-bar-text / .top-bar-school / .top-bar-sub / .top-bar-divider
            .top-bar-src / .top-bar-right / .top-bar-tag / .top-bar-date */

/* Top Bar */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  max-width: 1440px;
  margin: 0 auto;
  background: rgba(10, 22, 40, 0.97);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  display: flex; align-items: center; gap: 16px;
  padding: 10px 40px;
  backdrop-filter: blur(12px);
}
.top-bar-logo {
  width: 48px; height: 48px;
  background: radial-gradient(circle at 40% 40%, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.top-bar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.top-bar-text { line-height: 1.2; }
.top-bar-school {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}
.top-bar-sub {
  font-size: 10px; font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.top-bar-divider {
  width: 1px; height: 36px;
  background: rgba(201,168,76,0.2);
  margin: 0 8px;
}
.top-bar-src {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.top-bar-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 20px;
}
.top-bar-tag {
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
}
.top-bar-date {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--gold);
  letter-spacing: 0.08em;
}

/* Main Nav — Second fixed bar, below top bar  (z-index: 800)
   Contains: nav-list / nav-item / nav-link + hover underline
             nav-chevron rotation indicator
   Dropdown: .dropdown / .dropdown-item — absolute-positioned sub-panel   */

/* Main Nav */
.main-nav {
  position: fixed; top: 69px; left: 0; right: 0; z-index: 800;
  background: rgba(15, 32, 64, 0.95);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  backdrop-filter: blur(16px);
  display: flex; align-items: center;
  padding: 0 40px;
  height: 54px;
}
.nav-list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
  height: 100%;
}
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  text-decoration: none;
  padding: 0 18px; height: 100%;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 18px; right: 18px; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-med);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-chevron {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition-fast);
}
.nav-item:hover .nav-chevron { transform: rotate(225deg) translateY(-2px); }

/* ── DROPDOWN ────────────────────────────────────────
   Hidden by default — revealed on .nav-item:hover
   .dropdown-item has a left-gold-border on hover  */

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: rgba(10, 22, 40, 0.98);
  border: 1px solid rgba(201,168,76,0.15);
  border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition-med);
  backdrop-filter: blur(20px);
  z-index: 1000;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0); }
.dropdown-item {
  display: block; padding: 12px 20px;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition-fast);
  position: relative;
}
.dropdown-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
  transform: scaleY(0); transition: transform var(--transition-fast);
}
.dropdown-item:hover { color: var(--gold-light); padding-left: 28px; background: rgba(201,168,76,0.05); }
.dropdown-item:hover::before { transform: scaleY(1); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-portal {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none; padding: 8px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-portal:hover { background: linear-gradient(135deg, var(--white), var(--gold-light)); transform: translateY(-1px); }

/* ── MOBILE MENU ────────────────────────────────────
   .mobile-toggle — hidden on desktop, reveals nav drawer on click
   .nav-list.active — slides the nav panel into view via right:-300px → right:0
   Dropdowns cascade as static blocks inside the slide-in drawer on ≤900 px  */

/* Mobile Menu Toggle */
.mobile-toggle { 
  display: none; 
  position: fixed;
  top: 82px;
  right: 20px;
  z-index: 1001;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  position: relative;
  transition: background var(--transition-fast);
}
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition-fast), top var(--transition-fast);
}
.mobile-toggle span::before {
  top: -8px;
}
.mobile-toggle span::after {
  top: 8px;
}
.mobile-toggle.active span {
  background: transparent;
}
.mobile-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ── BACK-LINK ───────────────────────────────────────
   Used on /complaint.html and constitution.html for the
   "← Back to Portal" / "← Back" breadcrumb link */

.back-link-board {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.back-link-board:hover {
  color: var(--gold-light);
  gap: 14px;
  text-decoration: none;
}

/* ── CINEMATIC DIVIDER ───────────────────────────────
   Gold gradient line with a centred ✦ star glyph
   inserted between every main page section  */

.cinematic-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  position: relative;
  overflow: visible;
  margin: 0;
}
.cinematic-divider::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--gold);
  background: var(--navy);
  padding: 0 12px;
}

/* ── CONSTITUTION PAGE (constitution.html) ───────────
   Header + PDF preview subsection — classes are page-specific only
   .constitution-header        full-width gradient header with rotating ::before orb
   .constitution-content       z-index wrapper for header text
   .constitution-title         large Cormorant Garamond H1
   .constitution-subtitle      Space Mono uppercase sub-row
   .constitution-meta          flex row of 3 meta items (institution / date / format)
   .pdf-preview-container      960 px centred container with border radius + shadow
   .pdf-preview-header         chrome bar with filename + print + download actions
   .pdf-preview-frame          absolute-height iframe (600 px desktop / 400 px mobile)
   .download-section           centred download CTA block below PDF
   .info-section / .info-card  4-column grid of support info cards
    .info-card-icon             gold circle icon housing  */

.constitution-header {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 160px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.constitution-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.constitution-content {
  position: relative;
  z-index: 1;
}
.constitution-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
}
.constitution-subtitle {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.constitution-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.meta-item i {
  color: var(--gold);
}
.pdf-preview-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.pdf-preview-header {
  background: rgba(201, 168, 76, 0.05);
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.pdf-preview-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdf-preview-title i {
  font-size: 20px;
  color: var(--accent-red);
}
.pdf-preview-actions {
  display: flex;
  gap: 12px;
}
.pdf-preview-frame {
  width: 100%;
  height: 600px;
  background: var(--navy);
  border: none;
}
.download-section {
  max-width: 1000px;
  margin: 60px auto 0;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.03) 100%);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
}
.download-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  margin-bottom: 12px;
}
.download-section p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.info-section {
  max-width: 1000px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.info-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 28px;
  border-radius: 8px;
  transition: all var(--transition-med);
}
.info-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
}
.info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-card-icon i {
  font-size: 20px;
  color: var(--gold);
}
.info-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.info-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.back-link:hover {
  color: var(--gold-light);
  gap: 12px;
}

/* Responsive Design — Tablet (≤900px)
   Compact horizontal nav, shorter bars, tighter padding  */
@media (max-width: 900px) {
   .section { padding: 70px 20px; }
   h1 { font-size: 30px; }
   h2 { font-size: 26px; }

   /* ── Top bar & Main nav remain visible (no drawer on tablets) ── */
   .top-bar {
     padding: 8px 20px;
     position: relative;
     z-index: 998;
     flex-wrap: wrap;
     gap: 10px;
     height: auto;
     min-height: 52px;
   }
   .top-bar-text { max-width: 55%; }
   .top-bar-src { display: none; }
   .top-bar-right { margin-left: auto; gap: 10px; }

   /* Main nav: still horizontal, fewer px per item */
   .main-nav {
     padding: 0 12px;
     position: relative;
     margin-top: 0;
     height: 46px;
     overflow-x: auto;
     overflow-y: hidden;
     scrollbar-width: none; /* Firefox */
     -ms-overflow-style: none; /* IE/Edge */
   }
   .main-nav::-webkit-scrollbar { display: none; }

   .nav-list {
     display: flex;
     align-items: center;
     gap: 1px;
     list-style: none;
     margin: 0;
     padding: 0;
     height: 100%;
     flex-shrink: 0;
   }

   .nav-item { height: 100%; display: flex; align-items: center; flex-shrink: 0; }

   .nav-link {
     font-size: 9.5px;
     font-weight: 500;
     letter-spacing: 0.08em;
     text-transform: uppercase;
     color: rgba(245,240,232,0.75);
     text-decoration: none;
     padding: 0 10px;
     height: 100%;
     display: flex;
     align-items: center;
     gap: 4px;
     white-space: nowrap;
     transition: color var(--transition-fast);
     position: relative;
   }
   .nav-link::after {
     content: '';
     position: absolute; bottom: 0; left: 10px; right: 10px; height: 2px;
     background: var(--gold);
     transform: scaleX(0); transform-origin: left;
     transition: transform var(--transition-med);
   }
   .nav-link:hover { color: var(--gold-light); }
   .nav-link:hover::after { transform: scaleX(1); }

   .nav-chevron {
     width: 6px; height: 6px;
     border-right: 1.5px solid currentColor;
     border-bottom: 1.5px solid currentColor;
     transform: rotate(45deg) translateY(-1px);
     transition: transform var(--transition-fast);
     flex-shrink: 0;
   }
   .nav-item:hover .nav-chevron { transform: rotate(225deg) translateY(-1px); }

   /* ── Dropdown: still desktop-style absolute popup (appears on hover/tap) ── */
   .dropdown {
     position: absolute;
     top: calc(100% + 4px);
     left: 0;
     min-width: 200px;
     background: rgba(10, 22, 40, 0.98);
     border: 1px solid rgba(201,168,76,0.15);
     border-top: 2px solid var(--gold);
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     transform: translateY(8px);
     transition: all var(--transition-med);
     backdrop-filter: blur(20px);
     z-index: 1000;
   }
   .nav-item:hover .dropdown,
   .dropdown.open {
     opacity: 1;
     visibility: visible;
     pointer-events: all;
     transform: translateY(0);
   }
   /* Touch devices: open class is toggled by JS */
   @media (hover: none) and (pointer: coarse) {
     .dropdown { display: none; }
     .dropdown.open { display: block; opacity: 1; visibility: visible; pointer-events: all; transform: none; }
   }

   .dropdown-item {
     display: block;
     padding: 9px 16px;
     font-size: 11px;
     font-weight: 400;
     letter-spacing: 0.04em;
     color: rgba(245,240,232,0.7);
     text-decoration: none;
     border-bottom: 1px solid rgba(255,255,255,0.04);
     transition: all var(--transition-fast);
     position: relative;
   }
   .dropdown-item::before {
     content: ''; position: absolute; left: 0; top: 0; bottom: 0;
     width: 2px; background: var(--gold);
     transform: scaleY(0); transition: transform var(--transition-fast);
   }
   .dropdown-item:hover { color: var(--gold-light); padding-left: 24px; background: rgba(201,168,76,0.05); }
   .dropdown-item:hover::before { transform: scaleY(1); }

   /* Hide hamburger toggle on tablets */
   .mobile-toggle { display: none !important; }

   .btn-primary, .btn-outline { padding: 10px 20px; font-size: 10px; }
}

/* Ensure menu toggle is hidden on desktop screens (≥901px) */
@media (min-width: 901px) {
   .mobile-toggle {
     display: none !important;
   }
}

/* ═══════════════════════════════════════════════════
   COMPLAINT PAGE — /complaint.html
   ═══════════════════════════════════════════════════ */

/* Hero */
.complaint-hero {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 180px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.complaint-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.complaint-hero-content { position: relative; z-index: 1; }
.complaint-hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
}
.complaint-hero-eyebrow-spaced {
  margin-bottom: 24px;
}

/* ── FORM SECTION HEADING (document-request.html Step 1 / Step 2 sub-labels)
     Applied to <p class="form-section-heading complaint-hero-eyebrow"> blocks that
     separate identity fields from document-type fields inside the no-card layout   */
.form-section-heading {
  display: block;
  margin-top: 36px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.complaint-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 16px;
}
.complaint-hero-title em { color: var(--gold-light); font-style: italic; }
.complaint-hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Form section */
.complaint-form-section {
  padding: 80px 40px 120px;
  background: var(--navy);
}
.complaint-form-section .container { max-width: 720px; margin: 0 auto; }

/* Steps indicator */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}
.form-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: var(--navy);
  line-height: 1;
}
.form-step.active .form-step-num,
.form-step.done .form-step-num {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.form-step.done .form-step-num {
  background: rgba(201,168,76,0.2);
}
.form-step.done .form-step-num {
  color: var(--gold-light);
}
.form-step-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-step.active .form-step-label { color: var(--gold-light); }
.form-step.done .form-step-label { color: var(--gold); }
.form-step-line {
  width: 60px;
  height: 1px;
  background: rgba(201,168,76,0.2);
  margin: 0 12px;
}
.form-step-line.done { background: var(--gold); }

/* Form card */
.complaint-form-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}
.complaint-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* Anonymous badge */
.anon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 10px 18px;
  margin-bottom: 36px;
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  border-radius: 4px;
}
.anon-badge i { font-size: 16px; line-height: 1; }

/* Form groups */
.form-group { margin-bottom: 28px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-group label .required {
  color: var(--accent-red);
  margin-left: 3px;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px;
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  transition: all var(--transition-fast);
  outline: none;
}
.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.form-group select option {
  background: var(--navy-mid);
  color: var(--cream);
}

/* Priority radio cards */
.priority-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.priority-option { position: relative; }
.priority-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.priority-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition-fast);
  -webkit-user-select: none;
  user-select: none;
}
.priority-option label i { font-size: 22px; line-height: 1; }
.priority-option input[type="radio"]:checked + label {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}
.priority-option input[type="radio"]:focus + label {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.priority-low    i { color: var(--green-accent); }
.priority-med    i { color: var(--gold); }
.priority-high   i { color: #febc2e; }
.priority-urgent i { color: var(--accent-red); }

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.form-submit-hint {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-submit-hint i { color: var(--gold); margin-right: 6px; }

.btn-submit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: none;
  padding: 16px 44px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all var(--transition-med);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  white-space: nowrap;
  line-height: 1;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(201,168,76,0.3);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Info strip */
.complaint-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.info-strip-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 4px;
}
.info-strip-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}
.info-strip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}
.info-strip-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Confirmation section */
.confirm-section {
  display: none;
  text-align: center;
  padding: 64px 40px;
}
.confirm-section.active { display: block; }

.confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--green-accent);
  font-size: 36px;
}
.confirm-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
}
.confirm-token {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 12px 28px;
  margin: 20px 0 32px;
  border-radius: 4px;
}
.confirm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Track card */
.track-form-card {
  display: none;
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 36px;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
}
.track-form-card.active { display: block; }

/* Back link */
.back-link-board {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.back-link-board:hover {
  color: var(--gold-light);
  gap: 14px;
  text-decoration: none;
}

/* Grid helper — Category + Priority side-by-side row */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.form-row-2col .form-group { margin-bottom: 0; }

/* Vertical step (Track card purpose row) */
.form-step-col {
  flex-direction: column;
}

/* Confirmation paragraph helpers */
.confirm-width {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 8px;
}
.confirm-uppercase {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}
.btn-full-width {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   PHONES (≤ 768px) — full mobile drawer + hamburger
   Overrides tablet rules above (same selectors, more specific) */
@media (max-width: 768px) {

  /* Top bar: pín down to the top, trim content */
  .top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 6px 16px;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 44px;
    z-index: 998;
  }
  .top-bar-text   { max-width: 52%; }
  .top-bar-sub    { display: none; }
  .top-bar-src    { display: none; }
  .top-bar-right  { gap: 8px; }
  .top-bar-tag    { display: none; }

  /* Main nav: hidden off-canvas; opened via hamburger */
  .main-nav {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    padding: 0 0 80px;
    background: rgba(10, 22, 40, 0.99);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    backdrop-filter: blur(16px);
    z-index: 997;
    overflow: visible;
    height: auto;
  }

  /* Hamburger */
  .mobile-toggle { display: flex !important; }

  /* Drawer: slides in from the right */
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    gap: 0;
    background: rgb(8, 17, 36);
    padding: 56px 0 16px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0,0,0,0.35);
    transition: right 0.32s ease;
  }
  .nav-list.active { right: 0; }

  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    flex-shrink: 0;
  }
  .nav-list > li:last-child { border-bottom: none; }

  /* Nav link: full-width row */
  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    color: var(--cream);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
  }
  .nav-link::after { display: none; }
  .nav-link:hover,
  .nav-link.active-drawer {
    background: rgba(201,168,76,0.12);
    color: var(--gold-light);
  }

  .nav-chevron {
    float: none;
    transform: rotate(45deg) translateY(-1px);
    transition: transform var(--transition-fast);
  }
  .nav-item.open .nav-chevron { transform: rotate(225deg) translateY(-1px); }

  /* Dropdown: nested block, toggled with .open class */
  .dropdown {
    position: static;
    display: none;
    background: rgb(14, 28, 58);
    border: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: none;
    transition: none;
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown.open            { display: block; }

  .dropdown-item {
    padding: 11px 20px 11px 28px;
    font-size: 13px;
    color: rgba(245,240,232,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .dropdown-item::before { display: none; }
  .dropdown-item:hover { padding-left: 34px; background: rgba(201,168,76,0.06); color: var(--cream); }

  /* Section padding tightens */
  .section { padding: 60px 16px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .btn-primary, .btn-outline { padding: 10px 18px; font-size: 10px; }

/* Complaint page within the 768px scope */
   .complaint-hero { padding: 100px 16px 50px; }
   .complaint-form-card { padding: 22px 16px; }
   
   /* Hero mobile adjustments */
   .hero-title { margin-top: 40px !important; }
   .hero-left { padding-top: 80px !important; }
  .priority-group { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .complaint-hero { padding: 120px 20px 60px; }
  .complaint-form-section { padding: 60px 16px 80px; }

  .priority-group { grid-template-columns: repeat(2, 1fr); }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-submit-hint { text-align: center; }
  .btn-submit { text-align: center; width: 100%; }
  .complaint-info-strip { grid-template-columns: 1fr; }
  .track-form-card { padding: 24px; margin: 0 0 40px; }
  .complaint-form-card { padding: 28px 20px; }
  .form-steps { gap: 0; }
  .form-step-line { width: 24px; }
  .form-step-label { font-size: 9px; }
  .confirm-actions { flex-direction: column; align-items: stretch; }
  .confirm-actions .btn-submit,
  .confirm-actions .btn-outline { text-align: center; width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   ANNUAL GENERAL MEETING — GA Session Grid Cards
   Driven by: ga_sessions (session_type='ANNUAL'),
              ga_sessions.status, scheduled_datetime,
              location, description, minutes_url
   ═══════════════════════════════════════════════════════ */

/* Grid of session cards — sits inside .info-section */
.ga-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* ── Individual session card ────────────────────────── */
.ga-session-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  padding: 32px 28px 28px;
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ga-session-card:hover {
  border-color: rgba(201, 168, 76, 0.30);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* Top bar — type & status badges side by side */
.session-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.session-type-badge {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.session-type-annual {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.30);
}
.session-type-emergency {
  color: var(--accent-red);
  background: rgba(192, 57, 43, 0.10);
  border: 1px solid rgba(192, 57, 43, 0.30);
}
.session-type-special {
  color: #febc2e;
  background: rgba(254, 188, 46, 0.10);
  border: 1px solid rgba(254, 188, 46, 0.28);
}

.session-status-badge {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.status-scheduled {
  color: var(--green-accent);
  background: rgba(30, 107, 74, 0.12);
  border: 1px solid rgba(30, 107, 74, 0.30);
}
.status-completed {
  color: var(--text-muted);
  background: rgba(138, 155, 184, 0.08);
  border: 1px solid rgba(138, 155, 184, 0.18);
}
.status-in_progress {
  color: #febc2e;
  background: rgba(254, 188, 46, 0.10);
  border: 1px solid rgba(254, 188, 46, 0.28);
}
.status-cancelled {
  color: var(--accent-red);
  background: rgba(192, 57, 43, 0.10);
  border: 1px solid rgba(192, 57, 43, 0.28);
}

/* Session edition label (e.g. "23rd AGM") */
.session-card-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0;
}

/* Meta row — date, time, location */
.session-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 4px;
}
.session-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.session-meta-item i {
  font-size: 13px;
  color: var(--gold);
}

/* Description / abstract */
.session-card-abstract {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.60);
  line-height: 1.75;
  margin: 0;
}

/* Action buttons */
.session-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.session-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.session-btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.session-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.30);
  color: var(--navy);
}
.session-btn-outline {
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.35);
}
.session-btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
  color: var(--gold-light);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 700px) {
  .ga-sessions-grid {
    grid-template-columns: 1fr;
  }
  .session-card-actions {
    flex-direction: column;
  }
.session-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ── CLUBS PAGE ────────────────────────────────────── */
.clubs-page-header {
  padding: 160px 40px 60px;
  text-align: center;
}

.clubs-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
}

.clubs-page-title em {
  color: var(--gold-light);
  font-style: italic;
}

.clubs-page-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.clubs-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.clubs-tab {
  padding: 12px 32px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.clubs-tab.active,
.clubs-tab:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 40px 80px;
}

.club-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.1);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.club-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.club-face {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
}

.club-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.club-card:hover .club-face img {
  transform: scale(1.05);
}

.club-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.club-status {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.club-info {
  padding: 20px;
}

.club-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.club-president {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.club-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.club-members {
  font-size: 12px;
  color: var(--gold);
}

.club-category {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid rgba(201,168,76,0.2);
}

.new-club-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.05), rgba(201,168,76,0.02));
  border: 2px dashed rgba(201,168,76,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  padding: 40px 20px;
}

.new-club-card:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
}

.new-club-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 20px;
}

.new-club-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}

.new-club-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.register-section {
  padding: 60px 40px;
  background: var(--navy-mid);
  display: none;
}

.register-section.active {
  display: block;
}

.register-container {
  max-width: 800px;
  margin: 0 auto;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream);
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.03);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.file-upload {
  position: relative;
  border: 2px dashed rgba(201,168,76,0.3);
  padding: 32px;
  text-align: center;
  cursor: pointer;
}

.file-upload:hover {
  border-color: var(--gold);
}

.file-upload input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.file-label i {
  font-size: 32px;
  color: var(--gold);
}

@media (max-width: 900px) {
  .clubs-page-header {
    padding: 120px 20px 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .clubs-grid {
    padding: 0 20px 40px;
  }
  
  .register-section {
    padding: 40px 20px;
  }
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease;
    opacity: 0;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    text-align: center;
}

.carousel-caption {
    display: inline-block;
    background: rgba(10, 22, 40, 0.7);
    padding: 20px 30px;
    border-radius: 12px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active,
.carousel-indicator:hover {
    background: var(--gold);
    transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════
   THE HALLS PAGE — Hogwarts-style Guild Halls
   ═══════════════════════════════════════════════════ */

#halls-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 123px;
  position: relative;
  background: 
    linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)),
    url('https://picsum.photos/seed/halls-campus/1920/1080') center/cover;
}

#halls-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(30, 107, 74, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 22, 64, 0.3) 0%, transparent 70%);
  z-index: 0;
}

.halls-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.halls-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.halls-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.9;
  color: var(--cream);
  margin-bottom: 24px;
}

.halls-title-accent {
  display: block;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
}

.halls-title-main {
  display: block;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.halls-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15), transparent 70%);
  top: 10%;
  right: 5%;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 107, 74, 0.12), transparent 70%);
  bottom: 15%;
  left: 8%;
  animation: orbFloat2 10s ease-in-out infinite;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 69, 19, 0.1), transparent 70%);
  top: 60%;
  right: 20%;
  animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.05); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.08); }
}

/* ── HALLS GRID SECTION ── */
#halls-grid {
  padding: 120px 80px;
  background: var(--navy-mid);
  position: relative;
}

#halls-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.halls-section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.halls-section-eyebrow::before {
  content: '02';
  color: rgba(201, 168, 76, 0.3);
  font-size: 9px;
}

.halls-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hall-card {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med);
}

.hall-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
}

.hall-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.hall-card:nth-child(1) .hall-accent-bar { background: linear-gradient(90deg, #C9A84C, #E8C97A); }
.hall-card:nth-child(2) .hall-accent-bar { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.hall-card:nth-child(3) .hall-accent-bar { background: linear-gradient(90deg, #EF4444, #F87171); }
.hall-card:nth-child(4) .hall-accent-bar { background: linear-gradient(90deg, #10B981, #34D399); }

.hall-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 32px;
  transition: all var(--transition-med);
}

.hall-card:nth-child(1) .hall-icon { color: #C9A84C; background: rgba(201, 168, 76, 0.15); }
.hall-card:nth-child(2) .hall-icon { color: #3B82F6; background: rgba(59, 130, 246, 0.15); }
.hall-card:nth-child(3) .hall-icon { color: #EF4444; background: rgba(239, 68, 68, 0.15); }
.hall-card:nth-child(4) .hall-icon { color: #10B981; background: rgba(16, 185, 129, 0.15); }

.hall-card:hover .hall-icon {
  transform: scale(1.1) rotate(5deg);
}

.hall-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

.hall-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.hall-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* ── HALLS LEADERS SECTION ── */
#halls-leaders {
  padding: 120px 80px;
  background: var(--navy);
  position: relative;
}

#halls-leaders::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.leaders-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.leaders-eyebrow::before {
  content: '03';
  color: rgba(201, 168, 76, 0.3);
  font-size: 9px;
}

.leaders-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.leader-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med);
}

.leader-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.3);
}

.leader-avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.5);
  background: var(--navy);
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-avatar img {
  transform: scale(1.05);
}

.leader-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.leader-role {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.leader-motto {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

/* ── LEADERS ROSTER ── */
.leaders-roster {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.roster-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.roster-title {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roster-item {
  padding: 16px;
  background: rgba(10, 22, 40, 0.4);
  border-left: 2px solid var(--gold);
  transition: all var(--transition-fast);
}

.roster-item:hover {
  background: rgba(201, 168, 76, 0.05);
}

.roster-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.roster-position {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .halls-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .leaders-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .halls-hero-content {
    padding: 0 20px;
  }

  .halls-title {
    font-size: clamp(40px, 8vw, 64px);
  }
}

@media (max-width: 768px) {
  #halls-hero,
  #halls-grid,
  #halls-leaders {
    padding: 80px 20px;
  }

  .leaders-container {
    grid-template-columns: 1fr;
  }

  .roster-grid {
    grid-template-columns: 1fr;
  }

  .halls-subtitle {
    font-size: 16px;
  }
}

/* ── HALL SEARCH FORM ── */
.hall-search-container {
  margin-top: 40px;
}

.hall-search-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
}

.hall-search-input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
}

.hall-search-input::placeholder {
  color: var(--text-muted);
}

.hall-search-btn {
  padding: 0 28px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.hall-search-btn:hover {
  background: var(--gold-light);
}

/* ── MEMBER RESULT CARD ── */
#hall-result {
  padding: 80px 80px 120px;
  background: var(--navy-mid);
}

.member-result-card {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 40px;
}

.member-avatar-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  background: var(--navy-mid);
}

.member-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  background: var(--navy-mid);
}

.member-details {
  text-align: left;
}

.member-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.member-index {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.member-hall-badge {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.member-president {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── COMPACT HALL CARDS ── */
.halls-container.compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hall-card.compact {
  padding: 28px 16px;
}

.hall-card.compact .hall-icon {
  width: 60px;
  height: 60px;
  font-size: 24px;
  margin-bottom: 16px;
}

.hall-card.compact .hall-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.hall-card.compact .hall-tagline {
  font-size: 10px;
  margin-bottom: 0;
}

.hall-card.compact .hall-desc {
  display: none;
}

/* ── LEADER CARD ── */
.leader-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med);
}

.leader-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.1);
  background: var(--navy);
}

/* Leader image wrapper - same as profile images */
.leader-avatar-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(30,107,74,0.05));
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image {
  transform: scale(1.05);
}

/* Leader initials fallback */
.leader-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.4);
  background: var(--navy);
}

/* ── LEADER INFO ── */
.leader-info {
  padding: 24px 16px;
  flex-grow: 1;
}

/* ── RESULT SECTION ── */
#hall-result .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.result-eyebrow::before {
  content: '01';
  color: rgba(201, 168, 76, 0.3);
  font-size: 9px;
}

/* Responsive Updates */
@media (max-width: 900px) {
  .halls-container.compact {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .member-result-card {
    flex-direction: column;
    text-align: center;
  }
  
  .member-details {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .halls-container.compact {
    grid-template-columns: 1fr;
  }
  
  #hall-result {
    padding: 60px 20px 80px;
  }
}

/* ── SEARCH SUGGESTIONS ── */
.search-suggestions {
  position: fixed;
  display: none;
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-top: none;
  max-height: 280px;
  overflow-y: auto;
  z-index: 10000;
  margin-top: -1px;
}

.search-suggestions:not(:empty) {
  display: block;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(201, 168, 76, 0.1);
}

.suggestion-item.no-results {
  cursor: default;
  opacity: 0.7;
}

.suggestion-item.no-results:hover {
  background: transparent;
}

.suggestion-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggestion-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.suggestion-index {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.suggestion-hall {
  font-size: 12px;
  color: var(--text-muted);
}

.hall-search-container {
  position: relative;
  z-index: 1000;
}