:root {
  --color-void: #050014;
  --color-bg: #0d0020;
  --color-bg-soft: #180a2e;
  --color-panel: #170a2b;
  --color-panel-strong: #241145;
  --color-line: rgba(200, 160, 255, 0.28);
  --color-line-soft: rgba(200, 160, 255, 0.14);
  --color-gold: #f2edf4;
  --color-gold-light: #ffffff;
  --color-gold-deep: #8b3ffb;
  --color-text: #ffffff;
  --color-muted: #d8c9ee;
  --color-dim: #b19bd6;
  --color-danger: #ff6b7d;

  /* Violet system */
  --violet-1: #7c3aed;
  --violet-2: #9d5cff;
  --violet-3: #c084fc;
  --violet-glow: #b385ff;
  --violet-deep: #4c1d95;
  --grad-hero: linear-gradient(120deg, #ffffff 0%, #d9b8ff 28%, #9d5cff 55%, #ffffff 80%, #c084fc 100%);
  --grad-jelly: linear-gradient(135deg, #9d5cff, #7c3aed 55%, #c084fc);
  --grad-glass: linear-gradient(180deg, rgba(157, 92, 255, 0.16), rgba(13, 0, 32, 0.5));

  --font-heading: "Space Grotesk", "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --sidebar-width: 220px;
  --mobile-header: 72px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.46);
  --shadow-gold: 0 14px 40px rgba(124, 58, 237, 0.45);
  --transition-fast: 160ms ease;
  --transition-base: 240ms ease;
  --transition-slow: 520ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-jelly: 550ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --section-pad: clamp(4.5rem, 8vw, 7rem);
  --content-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-void);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-gold-deep), #8c43b3);
  border-radius: 999px;
  border: 1px solid var(--color-void);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8c43b3, var(--color-gold));
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 82% 9%, rgba(93, 0, 136, 0.55), transparent 30rem),
    radial-gradient(circle at 20% 24%, rgba(50, 0, 72, 0.52), transparent 24rem),
    linear-gradient(180deg, var(--color-void) 0%, var(--color-bg) 42%, #07000b 100%);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--color-gold);
  color: #160021;
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: transform var(--transition-base);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #160021, #5b027f, #ffffff);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.46);
}

.mobile-header {
  display: none;
}

.sidebar-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 800;
  width: var(--sidebar-width);
  border-right: 1px solid var(--color-line);
  background: linear-gradient(180deg, rgba(9, 0, 14, 0.96), rgba(18, 0, 27, 0.96));
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.sidebar-top {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-line-soft);
}

.sidebar-brand img {
  width: 180px;
  margin-inline: auto;
  filter: drop-shadow(0 12px 28px rgba(255, 255, 255, 0.2));
}

.sidebar-top .nav-toggle {
  display: none;
}

.sidebar-content {
  display: flex;
  min-height: calc(100vh - 170px);
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-6) var(--space-5);
}

.nav-links {
  display: grid;
  gap: var(--space-2);
}

.nav-links a {
  position: relative;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.85rem 0.9rem;
  text-transform: uppercase;
  transition: color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 999px;
  background: var(--color-gold);
  transform: translateY(-50%);
  transition: height var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(3px);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  height: 58%;
}

.sidebar-footer {
  display: grid;
  gap: var(--space-4);
}

.sidebar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  color: var(--color-gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.sidebar-cta:hover {
  background: var(--color-gold);
  color: #160021;
  box-shadow: var(--shadow-gold);
}

.sidebar-info {
  margin: 0;
  color: var(--color-dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: none;
  background: rgba(8, 0, 12, 0.72);
  backdrop-filter: blur(4px);
}

main {
  margin-left: var(--sidebar-width);
}

section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 1rem;
}

.section-shell,
.contact-frame {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(2rem, 6vw, 6rem)), var(--content-max));
  margin-inline: auto;
}

.section-shell {
  padding-block: var(--section-pad);
}

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* First-column div in two-column split layouts needs position:relative so the
   absolutely-positioned .section-number is anchored to it, matching sections 01–03 */
.section-col {
  position: relative;
}

.section-heading.compact {
  margin-bottom: var(--space-6);
}

.section-heading p:not(.section-number),
.intro-copy p,
.registration-shell p:not(.section-number),
.fee-note,
.contact-frame > div:first-child p:not(.section-number) {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-4);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.section-number {
  position: absolute;
  z-index: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 14rem);
  line-height: 0.75;
  pointer-events: none;
  transform: translate(-0.15em, -0.26em);
}

.hero-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 5vw, 3rem);
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(4, 0, 6, 0.84), rgba(42, 1, 61, 0.76), rgba(8, 0, 12, 0.94)),
    radial-gradient(circle at center, rgba(92, 2, 132, 0.5), transparent 24rem),
    url("./assets/img/brochure-cover.png") center / cover;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, transparent, var(--color-bg));
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(4, 0, 6, 0.95), rgba(75, 2, 108, 0.5), rgba(4, 0, 6, 0.94));
}

.hero-content {
  width: min(100%, 930px);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.hero-header {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.hero-emblem {
  width: clamp(120px, 15vw, 180px);
  filter: drop-shadow(0 20px 42px rgba(255, 255, 255, 0.28));
}

.school-line,
.edition {
  color: var(--color-gold-light);
  font-size: clamp(0.76rem, 1.4vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.school-line {
  margin-bottom: 0;
}

.hero-content h1 {
  margin: var(--space-2) 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 24px 62px rgba(0, 0, 0, 0.72);
}

.hero-subtitle {
  margin: var(--space-3) 0 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.edition {
  margin: var(--space-2) 0 var(--space-4);
}

.date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  width: min(100%, 640px);
  margin: 0 auto var(--space-5);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-block::before,
.date-block::after {
  content: "";
  flex: 1 1 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}

.date-block::after {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.date-block .dash {
  color: rgba(255, 255, 255, 0.55);
}

.hero-text {
  width: min(100%, 720px);
  margin: 0 auto var(--space-5);
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

.hero-actions,
.registration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.primary-button {
  border: 1px solid var(--color-gold);
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  color: #160021;
  box-shadow: var(--shadow-gold);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(18, 0, 27, 0.58);
  color: var(--color-gold-light);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(112, 27, 150, 0.5);
}

.primary-button:hover {
  background: linear-gradient(180deg, #ffffff, #e8e0ee);
}

.secondary-button:hover {
  background: var(--color-gold);
  color: #160021;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.quick-facts span {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(18, 0, 27, 0.72);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 0.55rem 0.85rem;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.intro-section,
.fees-section {
  background: linear-gradient(180deg, var(--color-bg), #14001e);
}

.split,
.fee-shell,
.registration-shell,
.contact-frame {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: var(--space-4);
}

.messages-section,
.registration-section {
  background:
    radial-gradient(circle at 88% 16%, rgba(85, 2, 125, 0.42), transparent 25rem),
    #0b0010;
}

.secretariat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.member-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(35, 1, 52, 0.45), rgba(13, 0, 20, 0.55));
  backdrop-filter: blur(16px);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.member-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(111, 44, 145, 0.3);
}

.member-image {
  width: 132px;
  height: 132px;
  margin: 0 auto var(--space-5);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.member-image img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.member-info h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.member-title {
  margin-bottom: var(--space-4);
  color: var(--color-gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.member-quote {
  margin-bottom: 0;
  color: var(--color-muted);
  font-style: italic;
}

.committees-section {
  background:
    radial-gradient(circle at 5% 5%, rgba(83, 2, 122, 0.38), transparent 22rem),
    linear-gradient(180deg, #14001e, #060009);
}



.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.committee-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(23, 0, 32, 0.45);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.committee-card[hidden] {
  display: none;
}

.committee-card::before {
  content: "";
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.committee-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 22px 50px rgba(111, 44, 145, 0.35);
  transform: translateY(-7px);
}

.committee-card:hover::before {
  opacity: 1;
}

.committee-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.committee-info img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  filter: brightness(0.85) contrast(1.05) saturate(0.88);
  transition: filter var(--transition-base);
}
.committee-card:hover .committee-info img {
  filter: brightness(1) contrast(1) saturate(1);
}

.committee-details {
  padding: var(--space-5);
}

.committee-details h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.22rem;
  letter-spacing: 0.02em;
}

.committee-details p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.fee-shell {
  align-items: center;
}

.fee-note {
  max-width: 460px;
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}

.fee-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(36, 1, 53, 0.45), rgba(13, 0, 20, 0.55));
  backdrop-filter: blur(16px);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.fee-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px rgba(111, 44, 145, 0.3);
}

.fee-grid > article > span {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fee-grid strong {
  display: block;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 400;
  line-height: 0.9;
}

.fee-grid strong.fee-limit {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.fee-currency {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-left: 0.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: normal;
}

.fee-team-list {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.fee-team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--color-line-soft);
  padding-bottom: 4px;
}

.fee-team-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fee-team-label {
  font-weight: 500;
}

.fee-team-value {
  color: var(--color-gold-light);
  font-weight: 700;
}

.fee-grid small {
  display: block;
  margin-top: var(--space-3);
  color: var(--color-muted);
}



.registration-shell a:not(.primary-button):not(.secondary-button) {
  color: var(--color-gold-light);
  font-weight: 800;
}

.registration-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  margin-bottom: var(--space-5);
  counter-reset: registration;
}

.registration-steps span {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  color: var(--color-text);
  font-weight: 800;
  padding-left: 2px;
  padding-top: 6px;
  padding-bottom: var(--space-5);
}

.registration-steps span:last-child {
  padding-bottom: 0;
}

.registration-steps span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 37px;
  width: 1px;
  height: calc(100% - 34px);
  background: linear-gradient(180deg, var(--color-gold), transparent);
  opacity: 0.35;
}

.registration-steps span::before {
  counter-increment: registration;
  content: counter(registration);
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-gold-light);
  font-size: 0.8rem;
  margin-top: -3px;
}

.registration-actions {
  justify-content: flex-start;
  margin-top: var(--space-6);
}

.faq-section {
  background:
    radial-gradient(circle at 70% 20%, rgba(85, 2, 125, 0.32), transparent 24rem),
    linear-gradient(180deg, #060009, #0a0010);
}

.faq-grid {
  display: grid;
  gap: var(--space-3);
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(30, 1, 44, 0.85), rgba(13, 0, 20, 0.92));
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-line);
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-base), background var(--transition-base);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-gold-light);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.faq-item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-item p {
  margin: 0;
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: faqReveal 300ms ease forwards;
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  padding-block: var(--section-pad);
  background: linear-gradient(180deg, #060009, #040006);
}

.contact-frame {
  align-items: center;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding-block: clamp(2rem, 5vw, 4rem);
}

.contact-list {
  display: grid;
  gap: var(--space-3);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-sm);
  background: rgba(24, 0, 35, 0.72);
  color: var(--color-muted);
  padding: 0.95rem 1rem;
  overflow-wrap: anywhere;
  transition: color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.contact-list a span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-gold-light);
  font-size: 0.95rem;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.contact-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.25px;
  fill: none;
  display: block;
}

.contact-list a:hover span {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-list a:hover {
  border-color: var(--color-line);
  color: var(--color-text);
  transform: translateX(4px);
}

.chat-container {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
}

.chat-trigger {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-deep), #8c43b3);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(111, 44, 145, 0.4);
  color: var(--color-gold-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.chat-trigger:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #8c43b3, var(--color-gold-deep));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12), 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(111, 44, 145, 0.6);
}

.chat-trigger svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  transition: transform var(--transition-base);
}

.chat-trigger:hover svg {
  transform: rotate(5deg) scale(1.1);
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(375px, calc(100vw - 2rem));
  max-height: min(600px, calc(100vh - 7rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(13, 0, 20, 0.76);
  backdrop-filter: blur(25px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.chat-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(36, 1, 53, 0.45);
  padding: var(--space-4);
}

.chat-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

#closeChat,
#sendChat {
  border: 0;
  color: inherit;
}

#closeChat {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-muted);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

#closeChat:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-text);
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  overflow-y: auto;
  padding: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* Custom inner scrollbar for chat window */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.message {
  max-width: 86%;
  padding: 0.75rem 0.95rem;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  animation: message-appear 240ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-msg {
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 0, 35, 0.65);
  border-radius: 18px 18px 18px 3px;
  backdrop-filter: blur(10px);
}

.user-msg {
  justify-self: end;
  background: linear-gradient(135deg, var(--color-gold), #eadef0);
  color: #160021;
  font-weight: 600;
  border-radius: 18px 18px 3px 18px;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-3) var(--space-4);
}

.quick-chat {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.quick-chat:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(111, 44, 145, 0.2);
}

.quick-chat:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.message-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
  justify-content: flex-start;
  width: 100%;
  animation: message-appear 240ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 100ms;
  opacity: 0;
}

.chat-input-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4) var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area input {
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(4, 0, 6, 0.6);
  color: var(--color-text);
  padding: 0 0.85rem;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.chat-input-area input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(4, 0, 6, 0.8);
}

#sendChat {
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-gold), #e0d0eb);
  color: #160021;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

#sendChat:hover {
  background: linear-gradient(135deg, #ffffff, var(--color-gold));
  transform: scale(1.03);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-line-soft);
  background: var(--color-void);
  padding-block: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
  display: grid;
  gap: var(--space-2);
}

.footer-brand {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-credit {
  margin: 0;
  color: var(--color-dim);
  font-size: 0.85rem;
}

.footer-credit a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-base);
}

.footer-credit a:hover {
  text-decoration-color: var(--color-gold-light);
}

.footer-copy {
  margin: 0;
  color: var(--color-dim);
  font-size: 0.78rem;
  opacity: 0.7;
}


.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 230ms;
}

@media (max-width: 1023px) {
  .committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .secretariat-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-5);
    text-align: left;
    align-items: center;
  }

  .member-image {
    margin: 0;
  }

  .split,
  .fee-shell,
  .registration-shell,
  .contact-frame {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --section-pad: 4rem;
  }

  body {
    padding-top: var(--mobile-header);
  }

  .mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mobile-header);
    border-bottom: 1px solid var(--color-line);
    background: rgba(9, 0, 14, 0.94);
    padding: 0 var(--space-4);
    backdrop-filter: blur(16px);
  }

  .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
  }

  .nav-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    grid-area: 1 / 1;
    background: var(--color-gold-light);
    transform-origin: center;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .sidebar-nav {
    width: min(84vw, 320px);
    transform: translateX(-105%);
    transition: transform var(--transition-slow);
  }

  .sidebar-nav.open {
    transform: translateX(0);
  }

  .sidebar-top {
    justify-items: stretch;
    min-height: 112px;
  }

  .sidebar-brand img {
    width: 130px;
  }

  .sidebar-top .nav-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-grid;
  }

  .nav-backdrop.open {
    display: block;
  }

  main {
    margin-left: 0;
  }

  .hero-section {
    min-height: calc(100vh - var(--mobile-header));
    padding: clamp(2.5rem, 10vw, 4rem) var(--space-4);
  }

  section {
    scroll-margin-top: calc(var(--mobile-header) + 1rem);
  }

  .hero-content h1 {
    font-size: clamp(3.55rem, 17vw, 4.25rem);
    line-height: 0.92;
  }

  .school-line {
    max-width: 28ch;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  .date-block {
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    font-size: 0.93rem;
    letter-spacing: 0.06em;
  }

  .date-block::before,
  .date-block::after {
    flex: 1 1 34px;
  }

  .date-block .dash {
    color: var(--color-gold-light);
  }

  .hero-text {
    width: min(100%, 31ch);
    font-size: 1rem;
  }

  .hero-actions,
  .registration-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .quick-facts {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
  }

  .quick-facts::-webkit-scrollbar {
    display: none;
  }

  .quick-facts span {
    flex: 0 0 auto;
  }

  .section-shell,
  .contact-frame {
    width: min(calc(100% - 2rem), var(--content-max));
  }

  .section-number {
    font-size: clamp(7rem, 31vw, 9rem);
  }



  .committee-grid,
  .fee-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    display: block;
    text-align: center;
  }

  .member-image {
    margin: 0 auto var(--space-5);
  }

  .registration-shell img {
    max-height: none;
  }

  .contact-list a {
    align-items: flex-start;
  }

  .chat-container {
    right: var(--space-4);
    bottom: var(--space-4);
  }

  .chat-trigger {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.45);
  }

  .chat-trigger svg {
    width: 22px;
    height: 22px;
  }

  .chat-window {
    position: fixed;
    right: var(--space-3);
    bottom: 5rem;
    left: var(--space-3);
    width: auto;
    max-height: 75vh;
  }

  .chat-messages {
    overflow-y: scroll;
  }
}

@media (max-width: 360px) {
  .hero-section {
    align-items: start;
    padding-top: var(--space-6);
  }

  .hero-header {
    gap: var(--space-3);
  }

  .hero-emblem {
    width: 96px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 16vw, 3.45rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .date-block {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-2);
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .date-block::before,
  .date-block::after {
    display: none;
  }

  .hero-text {
    margin-bottom: var(--space-5);
  }

  .chat-container {
    top: calc(var(--mobile-header) + var(--space-3));
    right: var(--space-3);
    bottom: auto;
  }

  .chat-trigger {
    width: 46px;
    height: 46px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.45);
  }

  .chat-trigger svg {
    width: 20px;
    height: 20px;
  }
}

/* ── Chat typing indicator ────────────────────────────────────────────── */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 0.9rem;
}

.typing-indicator span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-dim);
  animation: typing-bounce 1.1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.18s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

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

  .typing-indicator span {
    animation: none;
    opacity: 0.5;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   V2 — GEN-Z JELLY ENHANCEMENTS
   Ambient backgrounds, glassmorphism, jelly motion, 3D tilt, cursor, marquee
   ══════════════════════════════════════════════════════════════════════ */

/* ---------- Ambient mesh background ---------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.blob-1 {
  top: -10%;
  left: -8%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(157, 92, 255, 0.55), transparent 70%);
  animation: blobFloat1 22s ease-in-out infinite;
}

.blob-2 {
  bottom: -15%;
  right: -10%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 70%);
  animation: blobFloat2 26s ease-in-out infinite;
}

.blob-3 {
  top: 40%;
  left: 55%;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  animation: blobFloat3 18s ease-in-out infinite;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6vw, 8vh) scale(1.12); }
  66% { transform: translate(-4vw, 4vh) scale(0.94); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-7vw, -5vh) scale(1.08); }
  75% { transform: translate(4vw, -8vh) scale(0.96); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 6vh) scale(1.18); }
}

@media (max-width: 767px) {
  .blob { filter: blur(60px); opacity: 0.4; }
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 200ms ease, width var(--transition-base), height var(--transition-base), background var(--transition-base);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cursor-glow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(200, 160, 255, 0.55);
  background: radial-gradient(circle, rgba(157, 92, 255, 0.18), transparent 70%);
  transition: opacity 200ms ease, width 260ms cubic-bezier(0.34, 1.56, 0.64, 1), height 260ms cubic-bezier(0.34, 1.56, 0.64, 1), transform 90ms linear;
}

@media (hover: hover) and (pointer: fine) {
  html.cursor-ready .cursor-dot,
  html.cursor-ready .cursor-glow {
    opacity: 1;
  }
  html.cursor-ready { cursor: none; }
  html.cursor-ready a,
  html.cursor-ready button,
  html.cursor-ready summary,
  html.cursor-ready input {
    cursor: none;
  }
  .cursor-glow.is-active {
    width: 64px;
    height: 64px;
    background: radial-gradient(circle, rgba(157, 92, 255, 0.32), transparent 70%);
    border-color: rgba(224, 200, 255, 0.8);
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-glow { display: none; }
}

/* ---------- Scroll progress: comet style ---------- */
.scroll-progress {
  background: linear-gradient(90deg, #4c1d95, #9d5cff, #ffffff);
  box-shadow: 0 0 20px rgba(157, 92, 255, 0.75), 0 0 4px rgba(255, 255, 255, 0.9);
}

.scroll-progress::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0.9);
  transform: translate(50%, -50%);
}

/* ---------- Jelly buttons ---------- */
.primary-button,
.secondary-button,
.sidebar-cta,
.chat-trigger,
.back-to-top,
.filter-pill {
  transition: transform var(--transition-jelly), background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), border-radius var(--transition-jelly) !important;
}

.primary-button {
  border: none;
  background: var(--grad-jelly);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.primary-button span, .secondary-button span { display: inline-block; }

.secondary-button {
  border: 1.5px solid rgba(224, 200, 255, 0.55);
  background: rgba(157, 92, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.sidebar-cta:hover {
  transform: translateY(-4px) scale(1.045);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.7);
  background: linear-gradient(135deg, #c084fc, #9d5cff 55%, #ffffff);
}

.secondary-button:hover {
  transform: translateY(-4px) scale(1.045);
  border-radius: 999px;
  background: rgba(157, 92, 255, 0.22);
  border-color: #ffffff;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.4);
}

.primary-button:active,
.secondary-button:active,
.sidebar-cta:active {
  transform: scale(0.93);
  border-radius: 999px;
}

.sidebar-cta {
  border: none;
  background: var(--grad-jelly);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}

/* magnetic wrapper – JS applies inline transform, CSS supplies spring-back */
.magnetic { will-change: transform; }

/* ---------- Nav pills ---------- */
.nav-links a {
  border-radius: 999px;
}

.nav-links a::before { display: none; }

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, rgba(157, 92, 255, 0.35), rgba(124, 58, 237, 0.18));
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  transform: translateX(4px) scale(1.02);
}

.sidebar-nav {
  background: linear-gradient(180deg, rgba(10, 0, 22, 0.86), rgba(20, 4, 40, 0.86));
  border-right: 1px solid rgba(200, 160, 255, 0.16);
  backdrop-filter: blur(22px);
}

/* ---------- Hero enhancements ---------- */
.hero-section {
  background:
    linear-gradient(120deg, rgba(5, 0, 20, 0.86), rgba(60, 10, 100, 0.68), rgba(8, 0, 18, 0.94)),
    radial-gradient(circle at center, rgba(124, 58, 237, 0.45), transparent 26rem),
    url("./assets/img/brochure-cover.png") center / cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.1), transparent 20rem),
    linear-gradient(90deg, rgba(5, 0, 20, 0.92), rgba(90, 20, 150, 0.35), rgba(5, 0, 20, 0.92));
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(157, 92, 255, 0.05) 70%);
  filter: blur(1px);
  animation: orbDrift 9s ease-in-out infinite;
}

.hero-orbs span:nth-child(1) { top: 18%; left: 12%; width: 8px; height: 8px; animation-delay: 0s; }
.hero-orbs span:nth-child(2) { top: 65%; left: 85%; width: 12px; height: 12px; animation-delay: 2s; }
.hero-orbs span:nth-child(3) { top: 30%; left: 80%; width: 6px; height: 6px; animation-delay: 4s; }

@keyframes orbDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-26px) scale(1.4); opacity: 1; }
}

.hero-emblem-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.emblem-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(200, 160, 255, 0.4);
  animation: ringPulse 3.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 0.15; }
}

.hero-emblem {
  filter: drop-shadow(0 20px 42px rgba(157, 92, 255, 0.45));
  animation: emblemFloat 6s ease-in-out infinite;
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content h1 {
  background: var(--grad-hero);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: heroGradientShift 6s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 18px 46px rgba(124, 58, 237, 0.45));
}

@keyframes heroGradientShift {
  to { background-position: 300% center; }
}

.school-line {
  display: inline-block;
  border: 1px solid rgba(200, 160, 255, 0.35);
  border-radius: 999px;
  background: rgba(157, 92, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  color: #ffffff;
}

/* ---------- Marquee strip (replaces static quick-facts row) ---------- */
.marquee-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(200, 160, 255, 0.18);
  border-bottom: 1px solid rgba(200, 160, 255, 0.18);
  background: rgba(13, 0, 32, 0.55);
  backdrop-filter: blur(14px);
  padding-block: 0.85rem;
  margin-top: clamp(1.5rem, 5vh, 3rem);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mq-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #c9a6ff;
  stroke-width: 1.8;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Scroll cue chevron ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 6.5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 46px;
  border: 1.5px solid rgba(224, 200, 255, 0.5);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: cueBounce 1.8s ease-in-out infinite;
}

@keyframes cueBounce {
  0% { transform: translateY(-8px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@media (max-width: 767px) {
  .scroll-cue { display: none; }
}

/* ---------- Section numbers: gradient outline ---------- */
.section-number {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(157, 92, 255, 0.28);
  animation: numberFloat 8s ease-in-out infinite;
}

@keyframes numberFloat {
  0%, 100% { transform: translate(-0.15em, -0.26em); }
  50% { transform: translate(-0.15em, -0.32em); }
}

/* ---------- Glass card system (member / committee / fee) ---------- */
.member-card,
.committee-card,
.fee-grid article,
.faq-item,
.chat-window {
  background: var(--grad-glass);
  border: 1px solid rgba(200, 160, 255, 0.16);
  backdrop-filter: blur(20px);
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 60%);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.tilt-card:hover::before { opacity: 1; }

.member-card:hover,
.committee-card:hover,
.fee-grid article:hover {
  border-color: rgba(224, 200, 255, 0.55);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.45);
}

.member-image {
  border-color: #ffffff;
  position: relative;
}

.member-image::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(157, 92, 255, 0.5);
  animation: ringPulse 4s ease-in-out infinite;
}

/* ---------- Committee filter pills ---------- */
.committee-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-6);
}

.filter-pill {
  border: 1px solid rgba(200, 160, 255, 0.3);
  border-radius: 999px;
  background: rgba(157, 92, 255, 0.08);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
}

.filter-pill:hover {
  border-color: rgba(224, 200, 255, 0.6);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.filter-pill.active {
  background: var(--grad-jelly);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.5);
}

.committee-card.filtered-out {
  display: none !important;
}

/* Committee image hover CTA overlay */
.committee-info {
  position: relative;
}

.committee-info::after {
  content: "View Agenda →";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(10, 0, 24, 0.65);
  border: 1px solid rgba(224, 200, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.committee-card:hover .committee-info::after {
  opacity: 1;
  transform: translateY(0);
}

.committee-info img {
  transition: filter var(--transition-base), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.committee-card:hover .committee-info img {
  transform: scale(1.07);
}

/* ---------- Fee count-up numbers ---------- */
.count-value { font-variant-numeric: tabular-nums; }

/* ---------- FAQ accent ---------- */
.faq-item {
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad-jelly);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-slow);
}

.faq-item[open]::before { transform: scaleY(1); }

.faq-item summary::after {
  background: var(--grad-jelly);
  border-color: transparent;
  color: #fff;
}

/* ---------- Contact cards ---------- */
.contact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-list a {
  border-radius: var(--radius-md);
  background: var(--grad-glass);
  backdrop-filter: blur(16px);
}

.contact-list a:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.35);
}

.contact-list a span {
  background: var(--grad-jelly);
  border: none;
  color: #fff;
}

@media (max-width: 640px) {
  .contact-list { grid-template-columns: 1fr; }
}

/* ---------- Chat widget ---------- */
.chat-trigger {
  background: var(--grad-jelly);
  box-shadow: 0 0 0 6px rgba(157, 92, 255, 0.12), 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(157, 92, 255, 0.55);
  position: relative;
}

.chat-trigger::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(157, 92, 255, 0.55);
  animation: ringPulse 2.4s ease-in-out infinite;
}

.chat-trigger:hover {
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  transform: translateY(-3px) scale(1.08);
}

.chat-window {
  border-radius: var(--radius-md);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 40px rgba(124, 58, 237, 0.25);
}

.chat-header { background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(13, 0, 32, 0.4)); }

.user-msg {
  background: var(--grad-jelly);
  color: #fff;
}

#sendChat { background: var(--grad-jelly); color: #fff; }
#sendChat:hover { background: linear-gradient(135deg, #c084fc, #7c3aed); }

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(6rem, 12vh, 7rem);
  z-index: 890;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 160, 255, 0.35);
  border-radius: 50%;
  background: rgba(20, 4, 40, 0.7);
  backdrop-filter: blur(14px);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--grad-jelly);
  border-color: transparent;
  transform: translateY(-4px) scale(1.08);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

@media (max-width: 767px) {
  .back-to-top { bottom: 5.5rem; }
}

/* ---------- Footer wave ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0a0018, #05000f);
  padding-top: calc(clamp(2rem, 4vw, 3rem) + 30px);
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 40px;
}

.footer-wave path { fill: rgba(124, 58, 237, 0.22); }

.footer-brand {
  background: var(--grad-jelly);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Reveal: blur-in ---------- */
.reveal {
  filter: blur(6px);
  transform: translateY(28px) scale(0.98);
  transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
}

.reveal.visible {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .blob, .hero-orbs span, .hero-emblem, .emblem-ring, .scroll-cue span,
  .marquee-track, .hero-content h1, .section-number, .chat-trigger::after {
    animation: none !important;
  }
}
