:root {
  --bg: #0a1219;
  --bg-soft: #101b27;
  --bg-panel: #131f2b;
  --surface: rgba(16, 24, 35, 0.9);
  --surface-strong: rgba(12, 18, 25, 0.96);
  --text: #edf3fb;
  --text-soft: #bfd0e6;
  --muted: #8ea6c4;
  --line: rgba(169, 188, 214, 0.18);
  --brand: #afc6e8;
  --brand-strong: #7ea7d9;
  --brand-deep: #132638;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --content-width: min(1180px, calc(100vw - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(175, 198, 232, 0.10), transparent 24%),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

main, footer { position: relative; z-index: 1; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(10, 17, 24, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  transition:
    max-width 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.scrolled {
  max-width: 100%;
  border-radius: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.brand-wrap { flex: 0 0 auto; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
}
.top-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.82;
  transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}
.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: rgba(175, 198, 232, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.28s ease;
  opacity: 0.9;
}
.top-nav a:hover::after, .top-nav a.active::after {
  transform: scaleX(1);
}
.top-nav a:hover, .top-nav a.active {
  color: var(--text);
  opacity: 1;
}

.register-button, .primary-btn, .secondary-btn, .contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.register-button, .primary-btn {
  background: var(--brand);
  color: #061724;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(92, 157, 251, 0.28);
}
.secondary-btn {
  background: rgba(255,255,255,0.02);
  color: var(--text);
}
.register-button:hover, .primary-btn:hover, .secondary-btn:hover, .contact-form button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.28);
}
.register-button { padding: 0.72rem 1rem; font-size: 0.9rem; }
.primary-btn, .secondary-btn { padding: 0.9rem 1.3rem; }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-button span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 15;
  width: min(1180px, calc(100vw - 18px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 14px 16px;
  background: rgba(9, 17, 25, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu a {
  color: var(--text-soft);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.mobile-menu .register-link {
  background: rgba(138, 197, 255, 0.1);
  border-color: rgba(138, 197, 255, 0.2);
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #091724;
  isolation: isolate;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 12%, rgba(175, 198, 232, 0.17), transparent 36%);
  z-index: 0;
}
.hero-section > * { z-index: 1; }
.hero-section::before { z-index: 2; pointer-events: none; }
.hero-backdrop {
  position: absolute;
  inset: 0;
  background: #091724 url("media/csisaulogo.jpg") center / cover no-repeat;
  z-index: 0;
}
#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) brightness(0.48) contrast(1.08);
  opacity: 0;
  transition: opacity 1.1s ease;
}
#bg-video.is-playing { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 11, 18, 0.82), rgba(4, 11, 18, 0.42), rgba(4, 11, 18, 0.82));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  padding: 92px 16px 72px;
}
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
}
.hero-section h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-family: 'Space Grotesk', sans-serif;
}
.lead {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 1.08rem;
  color: var(--text-soft);
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(9,17,25,0.3);
  color: var(--text);
  z-index: 1;
  animation: cue-float 2.8s ease-in-out infinite;
}
@keyframes cue-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}
::selection { background: rgba(175, 198, 232, 0.35); color: #ffffff; }

section {
  width: var(--content-width);
  margin: 64px auto 0;
}
#home.hero-section {
  width: 100vw;
  max-width: none;
  margin: 0 auto;
}
main > section + section {
  position: relative;
}
main > section + section::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 46%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(175, 198, 232, 0.32), transparent);
}
.section-heading .eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, rgba(175, 198, 232, 0.8));
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
}
.text-link {
  color: var(--brand);
  font-weight: 600;
}

.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.about-crest {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  display: grid;
  place-items: center;
}
.about-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-copy {
  color: var(--text-soft);
  font-size: 1.02rem;
}
.about-copy p { margin: 0 0 14px; }
.affiliation-note {
  margin-top: 20px;
  color: var(--text);
  font-weight: 600;
}
.affiliation-note a { color: var(--brand); }

.recognition-card {
  margin-top: 28px;
  padding: 18px 20px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.recognition-card h3 { margin: 0 0 16px; }
.certificate-trigger {
  display: block;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}
.certificate-trigger img {
  width: 100%;
  height: auto;
  display: block;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.person-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.person-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--line);
}
.person-info {
  padding: 14px 16px 16px;
}
.person-info h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}
.person-info p {
  margin: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(175, 198, 232, 0.38);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}
.team-card:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}
.team-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 13% 16% 4%;
  filter: saturate(0.88);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.team-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.team-card-index {
  position: absolute;
  top: 13px;
  left: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.team-card-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.team-card-name::after {
  content: "→";
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.team-card:hover .team-card-name::after,
.team-card:focus-visible .team-card-name::after {
  opacity: 1;
  transform: translateX(0);
}
.technical { background: linear-gradient(180deg, rgba(175, 198, 232, 0.06), rgba(255,255,255,0.02)); }
.research { background: linear-gradient(180deg, rgba(126, 167, 217, 0.06), rgba(255,255,255,0.02)); }
.finance { background: linear-gradient(180deg, rgba(202, 216, 236, 0.06), rgba(255,255,255,0.02)); }
.design { background: linear-gradient(180deg, rgba(158, 189, 228, 0.06), rgba(255,255,255,0.02)); }
.public-relations { background: linear-gradient(180deg, rgba(145, 170, 214, 0.06), rgba(255,255,255,0.02)); }
.event-management { background: linear-gradient(180deg, rgba(131, 163, 211, 0.06), rgba(255,255,255,0.02)); }
.docs { background: linear-gradient(180deg, rgba(117, 155, 188, 0.06), rgba(255,255,255,0.02)); }

.events-preview {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 20px 20px;
}
.events-heading { padding: 0 4px; }

.event-feature {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 28px;
  margin-top: 16px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(175, 198, 232, 0.10), rgba(255,255,255,0.015) 58%);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.event-feature:hover {
  border-color: rgba(175, 198, 232, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.event-feature-date {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-days {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.event-year {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event-kicker {
  display: block;
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-feature h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
}
.event-feature-body p {
  margin: 8px 0 0;
  max-width: 56ch;
  color: var(--text-soft);
}
.event-go {
  color: var(--brand);
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}
.event-feature:hover .event-go, .event-index a:hover .event-go { transform: translateX(4px); }

.event-index-label {
  margin: 30px 0 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-index {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.event-index li { border-bottom: 1px solid var(--line); }
.event-index a {
  display: grid;
  grid-template-columns: 148px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px 12px;
  transition: background 0.15s ease;
}
.event-index a:hover { background: rgba(255, 255, 255, 0.025); }
.event-when {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.event-what strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.event-what em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.event-kind {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.contact-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.04rem;
}
.contact-card p, .contact-card a {
  color: var(--text-soft);
}
.social-list { display: flex; flex-direction: column; gap: 10px; }

.contact-form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.015);
  color: var(--text);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form button {
  width: fit-content;
  padding: 0.86rem 1.4rem;
  cursor: pointer;
  background: var(--brand);
  color: #061724;
  font-weight: 700;
}

.site-footer {
  width: var(--content-width);
  margin: 40px auto 60px;
  padding-top: 22px;
  position: relative;
  border-top: none;
  color: var(--muted);
  text-align: center;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 46%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(175, 198, 232, 0.32), transparent);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 8, 12, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 40;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-panel {
  width: min(760px, calc(100vw - 24px));
  max-height: 92vh;
  overflow: auto;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 18px 18px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
#modal-content { padding-top: 12px; }
.modal-kicker {
  margin-bottom: 10px;
}
.modal-summary {
  margin: 0 0 18px;
  color: var(--text-soft);
}
.team-profile-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
}
.modal-leader {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.modal-leader-image-wrap {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
}
.modal-leader-image-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}
.modal-leader-info {
  padding: 14px 14px 18px;
}
.modal-leader-info h4 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}
.modal-leader-info p {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
}
.member-panel {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.member-panel-title {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 700;
}
.member-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.member-list span {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 0.48rem 0.72rem;
  border-radius: 10px;
  background: rgba(175, 198, 232, 0.05);
  border: 1px solid rgba(175, 198, 232, 0.12);
  color: var(--text-soft);
  font-size: 0.82rem;
}
.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.certificate-panel {
  width: min(980px, calc(100vw - 24px));
}
.certificate-viewport {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.certificate-viewport img {
  width: 100%;
  height: auto;
  display: block;
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.4s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.team-grid > *, .leadership-grid > *, .contact-grid > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.team-grid.is-visible > *, .leadership-grid.is-visible > *, .contact-grid.is-visible > * {
  opacity: 1;
  transform: none;
}
.team-grid > :nth-child(2), .leadership-grid > :nth-child(2), .contact-grid > :nth-child(2) { transition-delay: 60ms; }
.team-grid > :nth-child(3), .leadership-grid > :nth-child(3), .contact-grid > :nth-child(3) { transition-delay: 120ms; }
.team-grid > :nth-child(4), .leadership-grid > :nth-child(4), .contact-grid > :nth-child(4) { transition-delay: 180ms; }
.team-grid > :nth-child(5), .leadership-grid > :nth-child(5), .contact-grid > :nth-child(5) { transition-delay: 240ms; }
.team-grid > :nth-child(6), .leadership-grid > :nth-child(6), .contact-grid > :nth-child(6) { transition-delay: 300ms; }
.team-grid > :nth-child(7), .leadership-grid > :nth-child(7), .contact-grid > :nth-child(7) { transition-delay: 360ms; }

@media (max-width: 860px) {
  .top-nav { display: none; }
  .register-button { display: none; }
  .menu-button { display: inline-flex; }
  .about-layout, .team-profile-shell { grid-template-columns: 1fr; }
  .hero-content { padding-top: 110px; }
}
@media (max-width: 700px) {
  .event-feature { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .event-feature-date { flex-direction: row; align-items: baseline; gap: 10px; }
  .event-feature .event-go { display: none; }
  .event-index a {
    grid-template-columns: 1fr auto;
    grid-template-areas: "when kind" "what go";
    row-gap: 8px;
    padding: 15px 8px;
  }
  .event-when { grid-area: when; }
  .event-kind { grid-area: kind; }
  .event-what { grid-area: what; }
  .event-go { grid-area: go; font-size: 1.1rem; align-self: center; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .site-header {
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 0;
  }
  .brand-mark { font-size: 1rem; gap: 8px; }
  .brand-mark img { width: 30px; height: 30px; border-radius: 8px; }
  .mobile-menu { width: min(100vw - 16px, 100%); }
  section { width: min(100vw - 18px, 100%); }
  .hero-section { min-height: 100vh; height: 100vh; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .contact-form button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .team-grid > *, .leadership-grid > *, .contact-grid > * { opacity: 1; transform: none; }
  #bg-video { opacity: 1; }
}
