/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFD600;
  --yellow-dark: #E6BE00;
  --yellow-glow: rgba(255, 214, 0, 0.35);
  --black: #0A0A0A;
  --black-mid: #111111;
  --black-card: #161616;
  --black-border: #222222;
  --white: #FFFFFF;
  --grey: #888888;
  --grey-light: #BBBBBB;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

/* Eliminate 300ms tap delay on interactive elements */
a, button, [role="button"], label, input, select, textarea {
  touch-action: manipulation;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--yellow); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

/* ─── Canvas & Overlays ─────────────────────────────────── */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── Custom Cursor ─────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 214, 0, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s ease, height 0.3s ease, transform 0.08s linear, border-color 0.3s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring.hovering { width: 56px; height: 56px; border-color: var(--yellow); }

/* ─── Navigation ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: background var(--transition), backdrop-filter var(--transition);
}
nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
}
.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-logo:hover::after { transform: scaleX(1); }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--grey-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links > li > a:hover { color: var(--yellow); }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--yellow); }
.nav-links > li > a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--white) !important; transform: translateY(-2px); box-shadow: 0 8px 20px var(--yellow-glow); }
.nav-cta::after { display: none !important; }
.nav-cta-members { background: transparent !important; border: 1.5px solid var(--yellow) !important; color: var(--yellow) !important; }
.nav-cta-members:hover { background: rgba(255,214,0,0.08) !important; box-shadow: none; }

/* Alumni vzw link in main Miezerik nav — subtle "separate site" indicator */
/* Account nav button */
.acc-nav-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem !important;
  margin-left: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  color: var(--grey-light) !important;
  transition: border-color 200ms, color 200ms !important;
  white-space: nowrap;
  text-decoration: none;
}
.acc-nav-btn:hover { border-color: rgba(255,255,255,0.4) !important; color: var(--white) !important; }
.acc-nav-btn.logged-in { border-color: rgba(255,214,0,0.4) !important; color: var(--yellow) !important; }
.acc-nav-btn.logged-in:hover { border-color: rgba(255,214,0,0.7) !important; }
.acc-nav-btn::after { display: none !important; }
.alumni-nav-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 214, 0, 0.5) !important;
  border-radius: 20px !important;
  padding: 0.25rem 0.85rem !important;
  font-size: 0.78rem !important;
  color: var(--yellow) !important;
  background: rgba(255, 214, 0, 0.07);
  margin-left: 0.75rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
  position: relative;
}
.alumni-nav-pill::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.12);
}
.alumni-nav-pill:hover {
  background: rgba(255, 214, 0, 0.14) !important;
  border-color: rgba(255, 214, 0, 0.8) !important;
  color: var(--yellow) !important;
}
.alumni-nav-pill::after { display: none !important; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::before {
  content: '▾';
  margin-left: 0.3rem;
  font-size: 0.7rem;
  opacity: 0.6;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--black-border);
  border-radius: 10px;
  list-style: none;
  padding: 8px 0.5rem 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition) 0.15s, transform var(--transition) 0.15s, visibility 0s 0.45s;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition), visibility 0s;
}
.dropdown li a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--grey-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.dropdown li a:hover { background: rgba(255, 214, 0, 0.08); color: var(--yellow); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  /* 48×48px tap target */
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,214,0,0.08); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  padding: 0.75rem 5% 1.5rem;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--grey-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* 48px min touch target */
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--black-border);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--yellow); padding-left: 6px; }
/* Alumni card at bottom of mobile menu */
.mobile-menu-acc-card {
  margin-top: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,0.04);
  padding: 0.9rem 1rem !important;
  min-height: unset !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition) !important;
}
.mobile-menu-acc-card:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.3) !important;
  padding-left: 1rem !important;
  color: inherit !important;
}
.mobile-menu-acc-card.logged-in {
  border-color: rgba(255,214,0,0.3) !important;
  background: rgba(255,214,0,0.05);
}
.mobile-menu-acc-card.logged-in:hover {
  border-color: rgba(255,214,0,0.55) !important;
  background: rgba(255,214,0,0.1) !important;
}
.mobile-menu-acc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.mobile-menu-acc-card.logged-in .mobile-menu-acc-icon {
  background: rgba(255,214,0,0.1);
  border-color: rgba(255,214,0,0.25);
  color: var(--yellow);
}
.mobile-menu-acc-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
}
.mobile-menu-acc-card.logged-in .mobile-menu-acc-title { color: var(--yellow); }
.mobile-menu-acc-card.logged-in .mobile-menu-acc-sub { color: rgba(255,214,0,0.6); }
.mobile-menu-acc-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 2px;
  transition: color var(--transition);
}
.mobile-menu-alumni-card {
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 214, 0, 0.35) !important;
  border-radius: 12px !important;
  background: rgba(255, 214, 0, 0.06);
  padding: 0.9rem 1rem !important;
  min-height: unset !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition) !important;
}
.mobile-menu-alumni-card:hover {
  background: rgba(255, 214, 0, 0.12) !important;
  border-color: rgba(255, 214, 0, 0.6) !important;
  padding-left: 1rem !important;
  color: inherit !important;
}
.mobile-menu-alumni-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 214, 0, 0.12);
  border: 1px solid rgba(255, 214, 0, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}
.mobile-menu-alumni-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-alumni-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: none;
  letter-spacing: 0;
}
.mobile-menu-alumni-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.mobile-menu-alumni-arrow {
  flex-shrink: 0;
  color: rgba(255, 214, 0, 0.5);
}
/* CTA links in mobile menu */
.mobile-menu a.nav-cta {
  margin-top: 0.75rem;
  border: none;
  border-radius: 8px;
  justify-content: center;
  font-weight: 700;
}
.mobile-menu a.nav-cta:hover { padding-left: 0; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px var(--yellow-glow); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--black-border);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 214, 0, 0.1);
}

/* ─── Shared Section Styles ─────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 5%;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 560px;
  line-height: 1.75;
}

.section-header { margin-bottom: 4rem; }
.text-yellow { color: var(--yellow); }

/* ─── Page Header (inner pages) ─────────────────────────── */
.page-header {
  padding-top: 72px;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 214, 0, 0.1) 0%, transparent 60%),
    var(--black);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,214,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 5%;
}
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 560px;
  line-height: 1.75;
}

/* ─── Marquee ────────────────────────────────────────────── */
.marquee-wrapper {
  overflow: hidden;
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 1.25rem 0;
  background: var(--black-mid);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--grey);
  flex-shrink: 0;
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Hero (homepage only) ───────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 72px 5% 6rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,214,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255,214,0,0.06) 0%, transparent 50%),
    var(--black);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,214,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 214, 0, 0.1);
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title span {
  color: var(--yellow);
  display: block;
  text-shadow: 0 0 60px rgba(255, 214, 0, 0.4);
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--grey-light);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-top: 0.25rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 2.5s ease-in-out infinite;
  z-index: 2;
}
.scroll-indicator span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--grey); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--yellow), transparent); }

/* ─── About (homepage) ───────────────────────────────────── */
#over {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-visual { position: relative; }
.about-image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}
.about-image-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,214,0,0.08), transparent 60%);
  z-index: 1;
}
.about-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.about-icon-big { font-size: 5rem; filter: grayscale(1) brightness(0.6); }
.about-frame-label { font-family: var(--font-heading); font-size: 1.5rem; color: var(--yellow); letter-spacing: 2px; }
.about-corner {
  position: absolute;
  width: 40px; height: 40px;
  border-color: var(--yellow);
  border-style: solid;
}
.about-corner.tl { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.about-corner.br { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }
.about-badge-float {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 8px 30px rgba(255, 214, 0, 0.3);
}
.about-badge-float .num { font-family: var(--font-heading); font-size: 2.25rem; }
.about-badge-float .lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.about-text .section-desc { max-width: 100%; margin-bottom: 1.25rem; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-pillar {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}
.about-pillar:hover { transform: translateY(-3px); }
.pillar-icon {
  width: 40px; height: 40px;
  background: rgba(255, 214, 0, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.pillar-icon svg { width: 20px; height: 20px; color: var(--yellow); }
.pillar-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.pillar-desc { font-size: 0.8rem; color: var(--grey); }

/* ─── Join cards ─────────────────────────────────────────── */
#join {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}
.join-inner { max-width: 1200px; margin: 0 auto; }
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.join-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.join-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.join-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.join-card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(255,214,0,0.08);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  transition: color var(--transition);
}
.join-card:hover .card-num { color: rgba(255,214,0,0.15); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(255,214,0,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.join-card:hover .card-icon { background: rgba(255,214,0,0.2); }
.card-icon svg { width: 26px; height: 26px; color: var(--yellow); }
.card-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.card-desc { font-size: 0.9rem; color: var(--grey-light); line-height: 1.65; }

/* ─── Events ─────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.event-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
  text-decoration: none;
  display: block;
  color: var(--white);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.event-thumb {
  height: 180px;
  background: var(--black-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-thumb-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--black-mid), var(--black)); }
.event-thumb svg { width: 56px; height: 56px; color: rgba(255,214,0,0.3); position: relative; z-index: 1; }
.event-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  z-index: 2;
}
.event-date-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  z-index: 2;
}
.event-date-day { font-family: var(--font-heading); font-size: 1.6rem; color: var(--yellow); line-height: 1; }
.event-date-month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); }
.event-body { padding: 1.5rem; }
.event-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.event-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--grey); flex-wrap: wrap; }
.event-meta-item { display: flex; align-items: center; gap: 0.35rem; }
.event-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.event-meta-line { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--grey); margin-top: 0.35rem; }
.event-meta-line svg { flex-shrink: 0; opacity: .7; }
.btn-reg { background: var(--yellow); color: var(--black); font-weight: 700; font-size: 0.78rem; border: none; border-radius: 6px; padding: 0.45rem 1rem; cursor: pointer; transition: background .15s, transform .15s; }
.btn-reg:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-reg-paid { background: var(--yellow-dark); }
.btn-fb { background: transparent; color: var(--grey); font-size: 0.78rem; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 0.4rem 0.85rem; text-decoration: none; display: flex; align-items: center; gap: 0.35rem; transition: border-color .15s, color .15s; }
.btn-fb:hover { border-color: var(--yellow); color: var(--yellow); }
/* Registration modal */
.reg-modal-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.78); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.reg-modal-overlay[hidden] { display: none; }
.reg-modal { background: var(--black-mid); border: 1px solid var(--black-border); border-radius: 16px; max-width: 480px; width: 100%; padding: 2rem; position: relative; max-height: 90vh; overflow-y: auto; }
.reg-modal-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin-bottom: .35rem; }
.reg-modal h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: .25rem; }
.reg-modal-date { font-size: .82rem; color: var(--grey); margin-bottom: 1.5rem; }
.reg-field { display: flex; flex-direction: column; gap: .3rem; }
.reg-field label { font-size: .78rem; font-weight: 600; color: var(--grey); }
.reg-field input, .reg-field textarea { background: var(--black); border: 1px solid var(--black-border); border-radius: 8px; padding: .6rem .85rem; color: #fff; font-size: .9rem; width: 100%; }
.reg-field textarea { resize: vertical; }
.reg-field input:focus, .reg-field textarea:focus { outline: none; border-color: rgba(255,214,0,.5); }
.reg-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--grey); cursor: pointer; font-size: 1.2rem; line-height: 1; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: background 150ms, color 150ms; }
.reg-modal-close:hover { color: #fff; background: rgba(255,255,255,0.14); }
.reg-success-icon { font-size: 2rem; margin-bottom: .75rem; color: var(--yellow); }

/* ─── Counters ───────────────────────────────────────────── */
#cijfers { background: var(--yellow-dark); }
.counters-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.counter-num { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 5rem); color: var(--black); line-height: 1; }
.counter-label { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(0,0,0,0.6); margin-top: 0.5rem; }

/* ─── Praesidium Page ────────────────────────────────────── */
.praesidium-inner { max-width: 1200px; margin: 0 auto; }
.praesidium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.member-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.member-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}
.member-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.member-card:hover::before { transform: scaleX(1); }
.member-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  border-radius: 0;
  background: rgba(255,214,0,0.07);
  border: none;
  border-bottom: 1px solid var(--black-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: rgba(255,214,0,0.35);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.member-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  transition: transform 0.4s ease;
}
.member-card:hover .member-photo { transform: scale(1.04); }
.member-info {
  padding: 1rem 1.1rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.archive-member-photo {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 1px solid var(--black-border);
  background: rgba(255,214,0,0.07);
}
.member-role {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 0.1rem;
}
.member-name { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.member-year { font-size: 0.72rem; color: var(--grey); margin-top: 0.1rem; }
.member-card.praeses { border-color: rgba(255,214,0,0.3); }
.member-card.praeses .member-avatar { background: rgba(255,214,0,0.1); }

/* ─── Archive Page ───────────────────────────────────────── */
.archive-inner { max-width: 900px; margin: 0 auto; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 3rem;
}
.archive-item {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--grey-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  cursor: default;
}
.archive-item:hover { border-color: var(--yellow); color: var(--yellow); transform: translateX(4px); }
.archive-item.current { border-color: var(--yellow); color: var(--yellow); background: rgba(255,214,0,0.05); }
.archive-item svg { width: 14px; height: 14px; opacity: 0.4; transition: opacity var(--transition); }
.archive-item:hover svg { opacity: 1; }

/* ─── Media Page ─────────────────────────────────────────── */
.media-inner { max-width: 1200px; margin: 0 auto; }
.media-placeholder {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.media-placeholder-icon { font-size: 3rem; margin-bottom: 1rem; filter: grayscale(1) brightness(0.6); }
.media-placeholder h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 0.75rem; }
.media-placeholder p { color: var(--grey); max-width: 400px; margin: 0 auto 1.5rem; font-size: 0.9rem; }

/* ─── Miezeriklied ───────────────────────────────────────── */
.lied-inner { max-width: 800px; margin: 0 auto; }
.lied-card {
  background: var(--black-card);
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.lied-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--yellow), var(--yellow-dark));
}
.lied-wijze {
  font-size: 0.8rem;
  color: var(--grey);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--black-border);
}
.lied-verse {
  margin-bottom: 2rem;
}
.lied-verse p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--grey-light);
}
.lied-refrain {
  background: rgba(255,214,0,0.05);
  border-left: 3px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.lied-refrain-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.lied-refrain p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--white);
  font-weight: 500;
}
.lied-source {
  font-size: 0.8rem;
  color: var(--grey);
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--black-border);
}
.lied-note-card {
  background: rgba(255,214,0,0.06);
  border: 1px solid rgba(255,214,0,0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.lied-note-icon { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.lied-note-icon svg { width: 20px; height: 20px; }
.lied-note-text { font-size: 0.9rem; color: var(--grey-light); line-height: 1.65; }

/* ─── Alumni Page ────────────────────────────────────────── */
.alumni-inner { margin: 0 auto; }
.alumni-founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.founder-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.founder-card:hover { transform: translateY(-4px); }
.founder-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,214,0,0.1);
  border: 2px solid rgba(255,214,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.founder-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.founder-role { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); margin-bottom: 0.75rem; }
.founder-history { font-size: 0.8rem; color: var(--grey); line-height: 1.6; }

.lecture-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.lecture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
}
.lecture-card:hover { }
.lecture-tag {
  display: inline-block;
  background: rgba(255,214,0,0.1);
  border: 1px solid rgba(255,214,0,0.2);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.lecture-title { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.75rem; line-height: 1.4; }
.lecture-desc { font-size: 0.9rem; color: var(--grey-light); line-height: 1.65; margin-bottom: 1.25rem; }
.lecture-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.85rem; color: var(--grey-light); }
.lecture-meta-item { display: flex; align-items: center; gap: 0.4rem; }

.alumni-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.activity-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.activity-card:hover { transform: translateY(-4px); }
.activity-icon {
  width: 48px; height: 48px;
  background: rgba(255,214,0,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.activity-icon svg { width: 24px; height: 24px; color: var(--yellow); }
.activity-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.75rem; }
.activity-desc { font-size: 0.9rem; color: var(--grey-light); line-height: 1.65; }

/* ─── Wallpapers Page ────────────────────────────────────── */
.wallpapers-inner { max-width: 1100px; margin: 0 auto; }
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.wallpaper-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}
.wallpaper-card:hover { transform: translateY(-4px); }
.wallpaper-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
}
.wallpaper-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wallpaper-preview.no-image img { display: none; }
.wallpaper-preview.no-image .wallpaper-preview-placeholder { display: flex; }
.wallpaper-preview-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: var(--yellow);
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
}
.wallpaper-preview-text {
  position: relative;
  z-index: 1;
  color: var(--yellow);
  text-shadow: 0 0 30px rgba(255,214,0,0.5);
}
.wallpaper-body {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wallpaper-info { }
.wallpaper-name { font-weight: 600; font-size: 0.9rem; }
.wallpaper-size { font-size: 0.75rem; color: var(--grey); margin-top: 0.2rem; }
.wallpaper-dl {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(255,214,0,0.1);
  border: 1px solid rgba(255,214,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.wallpaper-dl:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.wallpaper-dl svg { width: 18px; height: 18px; }

/* ─── Webshop Page ───────────────────────────────────────── */
.webshop-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.webshop-cta-box {
  background: linear-gradient(135deg, rgba(255,214,0,0.08), rgba(255,214,0,0.03));
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: 20px;
  padding: 4rem 3rem;
  margin-top: 3rem;
}
.webshop-icon { font-size: 4rem; margin-bottom: 1.5rem; filter: grayscale(1) brightness(0.7); }
.webshop-cta-title { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; }
.webshop-cta-desc { color: var(--grey-light); max-width: 460px; margin: 0 auto 2rem; font-size: 0.95rem; line-height: 1.7; }

/* ─── Sponsors Page ──────────────────────────────────────── */
/* Sponsor-specific styles are in sponsors.html <style> block (sp-* prefix). */
/* These shared classes are also used on index.html: */
.sponsor-cta-box {
  background: linear-gradient(135deg, rgba(255,214,0,0.08), rgba(255,214,0,0.03));
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.sponsor-cta-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.1; margin-bottom: 0.75rem; }
.sponsor-cta-desc { color: var(--grey-light); font-size: 0.95rem; line-height: 1.7; max-width: 500px; }
.sponsor-perks { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.sponsor-perk { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--grey-light); }
.perk-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,214,0,0.15);
  border: 1px solid rgba(255,214,0,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.perk-check svg { width: 9px; height: 9px; color: var(--yellow); }

/* ─── Contact / Form ─────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: border-color var(--transition), transform var(--transition);
}
.contact-link:hover { border-color: var(--yellow); transform: translateX(6px); }
.contact-link-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,214,0,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link-icon svg { width: 20px; height: 20px; color: var(--yellow); }
.contact-link-label { font-size: 0.75rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-link-value { font-weight: 600; font-size: 0.95rem; }
.contact-form { background: var(--black-card); border: 1px solid var(--black-border); border-radius: 16px; padding: 2.5rem; }
.form-title { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.5rem; }
.form-subtitle { font-size: 0.875rem; color: var(--grey); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--black-mid);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,214,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--black-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; margin-top: 1rem; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  padding: 4rem 5% 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--black-border);
}
.footer-logo { font-family: var(--font-heading); font-size: 2.5rem; color: var(--yellow); letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; text-decoration: none; }
.footer-tagline { font-size: 0.875rem; color: var(--grey); line-height: 1.65; max-width: 260px; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: translateY(-3px); }
.social-link svg { width: 18px; height: 18px; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--grey); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--grey-light); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--grey); }
.footer-heart { color: var(--yellow); }
.footer-admin-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--grey); text-decoration: none; font-size: 0.75rem; opacity: 0.5; transition: opacity 200ms ease, color 200ms ease; }
.footer-admin-link:hover { opacity: 1; color: var(--yellow); }
.footer-admin-link:focus-visible { outline: 1px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── Archive accordion ──────────────────────────────────── */
.archive-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.archive-year {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.archive-year[open] { border-color: rgba(255,214,0,0.25); }
.archive-year-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}
.archive-year-header::-webkit-details-marker { display: none; }
.archive-year-header::marker { display: none; }
.archive-year-header:hover { background: rgba(255,214,0,0.05); }
.archive-year[open] > .archive-year-header {
  background: rgba(255,214,0,0.06);
  border-bottom: 1px solid var(--black-border);
}
.archive-year-label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: var(--yellow);
  flex-shrink: 0;
  width: 100px;
}
.archive-year-praeses {
  font-size: 0.83rem;
  color: var(--grey);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.archive-year-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey);
  background: rgba(255,214,0,0.08);
  border: 1px solid rgba(255,214,0,0.15);
  border-radius: 100px;
  padding: 0.15rem 0.55rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.archive-chevron {
  width: 15px; height: 15px;
  color: var(--grey);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.archive-year[open] .archive-chevron { transform: rotate(90deg); color: var(--yellow); }
.archive-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.15rem;
  padding: 0.75rem 1.5rem 1.25rem;
}
.archive-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.archive-member:hover { }
.archive-member-name {
  font-size: 0.875rem;
  color: var(--grey-light);
  font-weight: 600;
}
.archive-member-role {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--yellow);
  opacity: 0.75;
}
.archive-year.current-year { border-color: rgba(255,214,0,0.4); }
.archive-year-current-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  flex-shrink: 0;
}
.archive-year-simple {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
}

/* ─── Archive photo cards (years with photos) ────────────── */
.archive-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  padding: 0.75rem 1.5rem 1.25rem;
}
.archive-photo-card {
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.archive-photo-card:hover { border-color: rgba(255,214,0,0.25); transform: translateY(-3px); }
.archive-photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255,214,0,0.07);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: rgba(255,214,0,0.3);
  position: relative;
  overflow: hidden;
}
.archive-photo-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.archive-photo-card:hover .archive-photo-img { transform: scale(1.04); }
.archive-photo-info {
  padding: 0.55rem 0.6rem 0.7rem;
  text-align: center;
}
.archive-photo-role {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 0.15rem;
}
.archive-photo-name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--grey-light);
}

/* ─── Logo images ────────────────────────────────────────── */
.nav-logo-img { height: 34px; width: auto; object-fit: contain; flex-shrink: 0; }
.footer-logo-img { height: 44px; width: auto; object-fit: contain; flex-shrink: 0; }

/* ─── River canvas (hero) ────────────────────────────────── */
#river-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ─── About section: ECG + logo ──────────────────────────── */
.about-logo-wrap {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: radial-gradient(ellipse at center, rgba(255,214,0,0.07) 0%, transparent 70%);
  position: relative; z-index: 1;
}
.about-logo-img {
  height: 60%; width: auto; max-width: 70%; object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255,214,0,0.35));
  /* delay: -0.1s ≈ puts peak at t=0 when R-spike is at center of frame */
  animation: ecg-beat 1.5s ease-in-out -0.1s infinite;
  position: relative; z-index: 1;
  transform: translateY(-12%);
}
.ecg-svg {
  position: absolute;
  bottom: 6%; left: 0;
  width: 200%; height: 18%;
  pointer-events: none;
  z-index: 0;
  animation: ecg-scroll 1.5s linear infinite;
}
.ecg-path {
  fill: none;
  stroke: rgba(255,214,0,0.45);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes ecg-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ecg-beat {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 24px rgba(255,214,0,0.35)); }
  7%        { transform: scale(1.12); filter: drop-shadow(0 0 48px rgba(255,214,0,0.75)); }
  20%       { transform: scale(1);   filter: drop-shadow(0 0 24px rgba(255,214,0,0.35)); }
}
/* ─── Archive photo lightbox ─────────────────────────────── */
.archive-photo-frame { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: min(88vw, 520px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}
.lightbox-caption {
  margin-top: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.lightbox-caption strong { color: var(--yellow); }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: white; font-size: 1.4rem; cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }
@media (prefers-reduced-motion: reduce) {
  .ecg-svg { animation: none; }
  .about-logo-img { animation: none; }
}



/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  #over { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-float { display: none; }
  .join-grid { grid-template-columns: 1fr 1fr; }
  .counters-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .sponsor-cta-box { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .alumni-activity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .join-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .counters-inner { grid-template-columns: 1fr 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cursor-dot, .cursor-ring { display: none; }
  section { padding: 3.5rem 5%; }
  .page-header { min-height: 200px; }
  .page-header-content { padding: 3rem 5%; }
  .praesidium-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  /* Reduce heavy section spacing on mobile */
  .section-header { margin-bottom: 2.5rem; }
  /* Tighter card padding on tablet */
  .join-card { padding: 1.5rem; }
  .webshop-cta-box { padding: 2.5rem 2rem; }
  .sponsor-cta-box { padding: 2rem; }
  .contact-form { padding: 1.75rem; }
  /* Archive accordion on mobile */
  .archive-members-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  /* Reg modal */
  .reg-modal { padding: 1.5rem; }
  /* Hide scroll indicator on mobile — takes up space in hero */
  .scroll-indicator { display: none; }
  /* Alumni activity grid: single column on tablet */
  .alumni-activity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  section { padding: 2.75rem 4%; }
  .page-header-content { padding: 2.5rem 4%; }
  footer { padding: 2.75rem 4% 2rem; }

  /* Force 1-column event grid on phones to prevent 300px minmax overflow */
  .events-grid { grid-template-columns: 1fr; }
  .counters-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
  /* Further reduce section margin */
  .section-header { margin-bottom: 2rem; }
  .page-header { min-height: 160px; }

  .archive-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .archive-members-grid { grid-template-columns: 1fr 1fr; padding: 0.6rem 1rem 1rem; }

  .praesidium-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }

  /* Reduce all heavy card padding on small screens */
  .join-card { padding: 1.25rem; }
  .lied-card { padding: 1.5rem 1.25rem; }
  .webshop-cta-box { padding: 2rem 1.25rem; }
  .sponsor-cta-box { padding: 1.75rem 1.25rem; }
  .contact-form { padding: 1.5rem 1.25rem; }
  .reg-modal { padding: 1.25rem; }

  /* Wallpaper grid: 2 columns on small phones */
  .wallpaper-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

  /* Event card slightly more compact */
  .event-body { padding: 1.1rem; }
}

/* ─── Very small screens (≤ 390px — iPhone SE / smaller Android) ── */
@media (max-width: 390px) {
  nav { padding: 0 4%; }

  /* Hero: clamp min is 4.5rem which is big on 375px — bring down */
  .hero-title { font-size: clamp(3.5rem, 18vw, 5rem); }
  .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.85rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { font-size: 0.9rem; padding: 0.75rem 1.4rem; }

  .section-title { font-size: clamp(2rem, 10vw, 2.75rem); }
  .page-title { font-size: clamp(2.4rem, 12vw, 3.5rem); }

  /* Counters: stack to 2×2 */
  .counter-num { font-size: 2.75rem; }

  /* Archive photo grid: 2 columns */
  .archive-photo-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 0.6rem; }

  /* Praesidium: tighter */
  .praesidium-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .member-info { padding: 0.75rem 0.75rem 1rem; }

  /* Webshop CTA icon */
  .webshop-icon { font-size: 3rem; }
  .webshop-cta-title { font-size: 1.75rem; }

  /* Lied card: very compact */
  .lied-card { padding: 1.25rem 1rem; }
  .lied-verse p, .lied-refrain p { font-size: 0.95rem; line-height: 1.75; }

  /* Mobile menu: slightly bigger font for readability */
  .mobile-menu a { font-size: 1rem; }

  /* Buttons: full-width on very small screens */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { justify-content: center; }
}

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

/* ── Media album cards ─────────────────────────────── */
.media-album {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.media-album:hover {
  border-color: rgba(255,214,0,0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.media-album-cover {
  height: 160px;
  background: linear-gradient(135deg, #1a1a0a, #0a0a0a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.media-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-album-cover .cover-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-album-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-album-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  z-index: 1;
}
.media-album-count {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}
.media-album-info { padding: 1.25rem; }
.media-album-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.media-album-desc { font-size: 0.8rem; color: var(--grey); }
.media-empty {
  background: rgba(255,214,0,0.04);
  border: 1px dashed rgba(255,214,0,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 240px;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ── Gallery lightbox ──────────────────────────────── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.gallery-lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: 1rem;
}
.gallery-lightbox-media {
  max-width: 88vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
}
.gallery-lightbox-media video {
  max-width: 88vw;
  max-height: 76vh;
  border-radius: 6px;
}
.gallery-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}
.gallery-lightbox-caption {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  flex: 1;
}
.gallery-lightbox-counter {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.gallery-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9001;
}
.gallery-close:hover { background: rgba(255,255,255,0.15); }
.gallery-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9001;
}
.gallery-nav:hover { background: rgba(255,214,0,0.15); border-color: rgba(255,214,0,0.3); }
.gallery-nav.prev { left: 1.25rem; }
.gallery-nav.next { right: 1.25rem; }
.gallery-nav:disabled { opacity: 0.2; cursor: default; }
.gallery-album-title {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  z-index: 9001;
}

@media (max-width: 768px) {
  .gallery-nav { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
  .gallery-nav.prev { left: 0.5rem; }
  .gallery-nav.next { right: 0.5rem; }
}
