
    :root {
    --bg-dark: #0f1b22;
    --panel: #16242b;
    --accent: #ffc000;
    --accent-2: #ffca504e;
    --muted: #a8bac2;
    --text-on-dark: #f5fbfc;
    --glass: rgba(255, 255, 255, 0.03);
    --nav-bg: rgba(18, 28, 34, 0.96);
    --committee-name: #61d4ff;
}


* {
    box-sizing: border-box
}

a {
    text-decoration: none;
    color: inherit
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    -webkit-font-smoothing: antialiased
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px
}

header {
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    z-index: 60;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04)
}

/* simpler, reliable nav layout */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    width: 100%
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img.logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.brand .title-img {
    height: 36px;
    display: block;
    filter: none;
    opacity: 0.98
}

/* NAVIGATION BAR (desktop) */
.nav-links {
    display: flex;
    gap: 6px;
    /* smaller gap between items (tighten) */
    align-items: center;
    justify-self: end;
    flex-wrap: nowrap;
    /* prevent wrapping that creates big gaps */
    overflow-x: auto;
    /* keep content usable if viewport is narrow */
    -webkit-overflow-scrolling: touch;
}

.nav-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    padding: 8px 8px;
    /* slightly reduced horizontal padding */
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    transition: all .12s ease;
    white-space: nowrap;
    /* prevent links from breaking into multiple lines */
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    transform: translateY(-2px);
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.nav-links a.active {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.12), rgba(255, 209, 102, 0.06));
    color: var(--accent);
    box-shadow: 0 6px 20px rgba(8, 12px, 16px, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-on-dark);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    justify-self: end
}

.nav-toggle:focus {
    outline: 2px solid rgba(255, 192, 0, 0.18);
    outline-offset: 2px
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 18px;
    align-items: center;
    padding: 30px 0
}

.hero-left {
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    box-shadow: 0 8px 30px rgba(2, 6, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.02)
}

.logo-holder {
    display: flex;
    gap: 12px;
    align-items: center
}

.logo-holder img {
    max-height: 72px
}

.muted {
    color: var(--muted)
}

.countdown {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.countdown .box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.006));
    padding: 12px 14px;
    border-radius: 10px;
    min-width: 72px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.countdown strong {
    display: block;
    font-size: 20px;
    color: var(--text-on-dark)
}

.cta a {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--accent);
    color: #08121a;
    text-decoration: none;
    font-weight: 700
}

.hero-right {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 340px;
    background: #0b0f13
}

.slides {
    height: 100%;
    width: 100%;
    position: relative
}

.slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .9s ease
}

.slides img.show {
    opacity: 1
}

.hero-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 14, 0.24), rgba(0, 0, 0, 0.26));
    pointer-events: none
}

.carousel-controls {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.dot.active {
    background: var(--accent)
}

main {
    padding: 22px 0
}

section.page {
    display: none
}

section.page.active {
    display: block
}

h2 {
    margin-top: 0
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px
}

.card {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(180deg, var(--panel), rgba(22, 36, 43, 0.98))
}

/* Organizer */
.organizer-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 16px;
}

/* Card base */
.org-card {
  position: relative;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(22,36,43,0.95), rgba(16,28,34,0.96));
  border: 1px solid rgba(255,255,255,0.03);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Hover lift */
.org-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(1,6,12,0.55);
  border-color: rgba(255,192,0,0.08);
}

/* Highlighted card variant */
.org-card--highlight {
  border: 1px solid rgba(255,200,50,0.06);
  background: linear-gradient(180deg, rgba(24,42,50,0.96), rgba(14,22,28,0.98));
}

/* Card title in accent */
.org-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);    /* only card title in accent */
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

/* Person block styling: name above, role below */
/* Names should use --text-on-dark */
.org-card-person {
  padding: 10px 8px;
  border-radius: 8px;
  margin: 8px 0;
  transition: background .12s ease, transform .12s ease;
}

.org-card-person:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  transform: translateY(-3px);
}

.org-card-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-on-dark);   /* names in text-on-dark */
  line-height: 1.15;
}

.org-card-role {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.25;
}

/* Provost two-column grid */
.provost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 10px;
}

/* Provost item follows same name/role style (name in --text-on-dark) */
.provost-item {
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.01);
  transition: transform .12s ease, background .12s ease;
}

.provost-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.02);
}

.provost-name {
  font-weight: 700;
  color: var(--text-on-dark);  /* provost names same as other names */
  font-size: 14px;
}

.provost-role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Responsive: single column provosts on narrow screens */
@media (max-width: 560px) {
  .provost-grid { grid-template-columns: 1fr; }
  .organizer-card-grid { gap: 14px; }
}

/* Accessibility focus */
.org-card:focus-within,
.org-card-person:focus-within,
.provost-item:focus-within {
  outline: 2px solid rgba(255,192,0,0.08);
  outline-offset: 3px;
}

/* Team dropdown */
.team-card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.team-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.team-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-on-dark);
    transition: transform .12s ease, background .12s ease
}

.team-toggle:hover {
    transform: translateY(-2px);
    color: var(--accent)
}

.team-toggle:focus {
    outline: 2px solid rgba(255, 192, 0, 0.18);
    outline-offset: 2px
}

.member-list {
    margin: 0;
    padding-left: 14px;
    list-style: disc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease, opacity 200ms ease, transform 200ms ease;
    opacity: 0;
    transform: translateY(-6px);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 8px
}

.member-list.show {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0)
}

.team-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
    transition: transform .18s ease
}

.member-list li {
    margin: 6px 0;
    color: var(--muted);
    font-weight: 600
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px
}

.tabs button {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: transparent;
    color: var(--text-on-dark);
    font-weight: 600
}

.tabs button:hover {
    cursor: pointer;
    border: 2px solid var(--accent-2);
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6)
}

.tabs button.active {
    background: var(--accent);
    color: #08121a
}

/* -------- Poster grid styles for Events (Event List / posters) -------- */
/* Poster grid styles for Events (Event List / posters) */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: start;
}

/* -------------------- */
ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Grid with 3 columns: bullet | time | text */
.event-item {
  display: grid;
  grid-template-columns: 24px auto 1fr; /* bullet col, time col, text col */
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
  margin: 6px 0;
}

/* Custom bullet in the first column */
.event-item::before {
  content: "o";
  grid-column: 1 / 2;
  justify-self: center;
  align-self: start;
  font-size: 1.05rem;
  line-height: 1;
  color: white; /* change bullet color */
}

/* Time sits in second column and is kept on one line */
.event-time {
  grid-column: 2 / 3;
  white-space: nowrap;
  font-weight: 600;
}

/* Event text sits in third column and can wrap */
.event-text {
  grid-column: 3 / 4;
  min-width: 0;           /* important to let it shrink/wrap properly */
  line-height: 1.35;
}

/* Venue always starts under the event text column */
.event-item .venue {
  grid-column: 3 / 4;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Mobile tweaks if needed */
@media (max-width: 420px) {
  .event-item { grid-template-columns: 20px auto 1fr; column-gap: 8px; }
  .event-item::before { font-size: 1rem; }
}
/* ------------------------- */

/* .venue {
    margin-left: 0;
    padding-left: 5.625rem;
    display: block;
} */

@media (max-width: 980px) {
    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .poster-grid {
        grid-template-columns: 1fr;
    }
}

.poster-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, var(--panel), rgba(22, 36, 43, 0.98));
    display: block;
}

/* The img itself — use aspect-ratio so it's visible and covers */
.poster-card a,
.poster-card img.poster-img {
    display: block;
    width: 100%;
}

.poster-card img.poster-img {
    aspect-ratio: 2 / 3;
    /* typical poster ratio; change if needed */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* caption under each poster */
.poster-caption {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.poster-title {
    font-weight: 700;
    font-size: 14px;
}

.poster-meta {
    color: var(--muted);
    font-size: 13px;
}

/* optional: show a faint placeholder border if image fails (makes it obvious) */
.poster-card img.poster-img[alt]:not([src]) {
    outline: 1px dashed rgba(255, 255, 255, 0.06);
}



.primary-btn {
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: #08121a;
    border: none;
    font-weight: 700
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px 0;
    margin-top: 30px
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px
}

.social-icons {
    display: flex;
    gap: 8px
}

/* Responsive adjustments + mobile nav
           NOTE: breakpoint adjusted to 900px so iPads in portrait use mobile nav style
        */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr
    }

    .hero-right {
        height: 220px
    }

    /* show the nav toggle and switch to the mobile sheet behavior at <=900px */
    .nav-toggle {
        display: inline-block
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        height: 100vh;
        width: min(340px, 92vw);
        background: linear-gradient(180deg, var(--panel), rgba(16, 28, 34, 0.98));
        flex-direction: column;
        padding: 80px 16px 20px 16px;
        border-radius: 0 0 0 12px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
        transform: none;
        z-index: 200;
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
        overflow-y: auto;
    }

    .nav-links.show {
        display: flex;
        opacity: 1;
        pointer-events: auto
    }

    .nav-links a {
        padding: 12px 14px
    }

    /* make header items align nicely in grid */
    nav {
        grid-template-columns: auto 1fr auto
    }

    .brand {
        grid-column: 1 / 2
    }

    .nav-links {
        grid-column: 2 / 4
    }
}

@media (max-width: 680px) {
    .nav-links {
        padding-top: 72px
    }

    .brand .title-img {
        height: 28px
    }

    .logo-holder img {
        max-height: 48px
    }
}

/* small utility */
.visually-hidden {
    position: absolute;
    left: -9999px
}

/* ===== Team member interactive styles & reveal animation (explicit HTML markup) ===== */

/* ===========================
   TEAM — PERSON STYLES
   (NO inline styles required)
=========================== */

.member-list li.person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;

  padding: 8px 10px;
  margin: 6px 0;

  border-radius: 8px;
  cursor: pointer;

  opacity: 0;
  transform: translateY(-10px) scale(0.98);

  transition:
    opacity 300ms ease,
    transform 300ms cubic-bezier(.2,.9,.2,1),
    background 180ms ease,
    box-shadow 180ms ease;
}

/* Show animation when dropdown opens */
.member-list.show li.person {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger animation using nth-child */
.member-list.show li.person:nth-child(1) { transition-delay: 40ms; }
.member-list.show li.person:nth-child(2) { transition-delay: 80ms; }
.member-list.show li.person:nth-child(3) { transition-delay: 120ms; }
.member-list.show li.person:nth-child(4) { transition-delay: 160ms; }
.member-list.show li.person:nth-child(5) { transition-delay: 200ms; }
.member-list.show li.person:nth-child(6) { transition-delay: 240ms; }
.member-list.show li.person:nth-child(7) { transition-delay: 280ms; }

/* NAME + YEAR STYLING */
.person-name {
  font-weight: 800;
  font-size: 15px;
  color: var(--committee-name);   /* NEW COLOR */
}

.person-year {
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

/* Hover effects */
.member-list li.person:hover,
.member-list li.person:focus {
  background: rgba(255,255,255,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}

.member-list li.person:focus {
  outline: 2px solid var(--committee-name);
  outline-offset: 3px;
}

/* Selected */
.member-list li.person.selected {
  background: rgba(97, 212, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

/* ------------------ */
/* allow card to expand (avoid clipping by ancestor) */
.team-card { overflow: visible; }

/* collapsed list */
.member-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

/* rotate chevron when open */
.team-toggle { background: none; border: none; cursor: pointer; }
.team-toggle[aria-expanded="true"] svg { transform: rotate(180deg); transition: transform 200ms ease; }
