@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #162d54;
  --gold: #f0a500;
  --gold-light: #ffc940;
  --gold-dim: #a87200;
  --red: #c0392b;
  --white: #f4f6f9;
  --gray: #8a9ab5;
  --gray-light: #c5cfdf;
  --border: rgba(240,165,0,0.25);
  --glow: rgba(240,165,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-callsign {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.nav-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: var(--glow);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social a {
  color: var(--gray);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.nav-social a:hover { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(15,32,64,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(240,165,0,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #0a1628 0%, #0f2040 50%, #0a1628 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-radar {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 3rem 2rem 3rem 6rem;
}

.hero-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.hero h1 span {
  color: var(--gold);
  display: block;
}

.hero-callsign {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--gray);
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 24px rgba(240,165,0,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--glow);
  transform: translateY(-1px);
}

/* ── STAT BAR ── */
.stat-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 6rem;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* ── SECTIONS ── */
section {
  padding: 5rem 6rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 80px;
}

.section-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.section-header p {
  color: var(--gray-light);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 560px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.card:hover {
  border-color: rgba(240,165,0,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(240,165,0,0.08);
  transform: translateY(-3px);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--glow);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ── ACTIVITY GRID ── */
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.2s;
}

.activity-item:nth-child(even) { border-right: none; }
.activity-item:nth-last-child(-n+2) { border-bottom: none; }

.activity-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.activity-item:hover { background: rgba(240,165,0,0.025); }
.activity-item:hover::before { opacity: 1; }

.activity-item-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 2px;
  opacity: 0.5;
  min-width: 20px;
  padding-top: 3px;
  flex-shrink: 0;
}

.activity-item-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.85;
}

.activity-item-body h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.activity-item-body p {
  color: var(--gray-light);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 700px) {
  .activity-grid { grid-template-columns: 1fr; }
  .activity-item { border-right: none; }
  .activity-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .activity-item:last-child { border-bottom: none; }
}

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── ABOUT INFO STRIP ── */
.about-info-strip {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.about-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.about-info-row:hover { background: rgba(240,165,0,0.025); }

.about-info-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.about-info-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.about-info-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.about-info-sub {
  font-size: 0.82rem;
  color: var(--gray-light);
  font-weight: 300;
  margin-top: 0.2rem;
  line-height: 1.5;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
}

.about-badge {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-badge-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(240,165,0,0.1);
}

.about-badge-inner .callsign {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
}

.about-badge-inner .domain {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 2px;
}

.about-rings {
  position: absolute;
  inset: -40px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: pulse-ring 3s ease-in-out infinite;
}

.ring:nth-child(1) { inset: 30px; animation-delay: 0s; }
.ring:nth-child(2) { inset: 0; animation-delay: 0.8s; }
.ring:nth-child(3) { inset: -30px; animation-delay: 1.6s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.08; transform: scale(1.02); }
}

.about-text h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold);
}

.about-text p {
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

/* ── EVENTS TABLE ── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.event-row {
  background: var(--navy-mid);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  transition: background 0.2s;
}

.event-row:hover { background: var(--navy-light); }

.event-date {
  text-align: center;
}

.event-date .day {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.event-date .month {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
}

.event-info h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.event-info p {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 300;
}

.event-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid;
}

.badge-meeting { color: var(--gold); border-color: var(--gold-dim); background: rgba(240,165,0,0.08); }
.badge-contest { color: #5bc8ff; border-color: rgba(91,200,255,0.4); background: rgba(91,200,255,0.06); }
.badge-nets { color: #7be88f; border-color: rgba(123,232,143,0.4); background: rgba(123,232,143,0.06); }
.badge-special { color: #e879f9; border-color: rgba(232,121,249,0.4); background: rgba(232,121,249,0.06); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--glow);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-detail {
  padding-top: 2px;
}

.contact-detail label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail a, .contact-detail span {
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--navy-mid); }

/* ── FOOTER ── */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 3rem 6rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .callsign {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--gray);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--gold-light); }

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--glow);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 64px;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
  padding-left: 6rem;
  padding-right: 6rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
}

.breadcrumb {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb span { color: var(--gray); }

.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--gray-light);
  font-weight: 300;
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── UTILITIES ── */
.text-gold { color: var(--gold); }
.mt-2 { margin-top: 2rem; }
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  section, footer, .page-hero { padding-left: 3rem; padding-right: 3rem; }
  .stat-bar { padding-left: 3rem; padding-right: 3rem; }
  .hero-content { padding-left: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { height: 280px; }
  .hero-radar { display: none; }
}

@media (max-width: 768px) {
  section, footer, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .stat-bar { padding: 1.25rem 1.5rem; }
  .hero-content { padding: 2rem 1.5rem; padding-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 60px 1fr; }
  .event-badge { display: none; }

  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(10,22,40,0.98); padding: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; }
  .hamburger { display: flex; }
  .nav-social { display: none; }
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.7s forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blink cursor */
.blink {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Radar sweep */
.radar-sweep {
  transform-origin: center;
  animation: radarSweep 4s linear infinite;
}
@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── MEMBERS PAGE ── */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.member-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.member-card:hover {
  border-color: rgba(240,165,0,0.5);
  transform: translateY(-2px);
}

.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--border);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.member-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin: 0 auto 0.75rem;
  display: block;
  object-fit: cover;
}

.member-card .callsign {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

.member-card .name {
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 300;
}

.member-card .role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: var(--glow);
  border-radius: 99px;
  display: inline-block;
}

/* Emphasize leadership cards on the Members page */
.officer-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.officer-grid .member-card {
  padding: 2rem 1.75rem;
  border-color: rgba(240,165,0,0.42);
  background: linear-gradient(180deg, rgba(15,32,64,1) 0%, rgba(22,45,84,0.75) 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 18px rgba(240,165,0,0.08);
}

.officer-grid .member-avatar,
.officer-grid .member-avatar-img {
  width: 112px;
  height: 112px;
  margin-bottom: 1rem;
}

.officer-grid .callsign {
  font-size: 1.05rem;
  letter-spacing: 2.2px;
}

.officer-grid .name {
  font-size: 1rem;
  color: var(--white);
  margin-top: 0.2rem;
}

.officer-grid .role {
  font-size: 0.72rem;
  letter-spacing: 1.6px;
  padding: 0.28rem 0.75rem;
}

.officer-grid .officer-bio {
  margin-top: 0.95rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray-light);
  text-align: left;
}

/* ── RESOURCES PAGE ── */
.resource-table {
  width: 100%;
  border-collapse: collapse;
}

.resource-table th {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--navy-mid);
}

.resource-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(240,165,0,0.08);
  font-size: 0.9rem;
  color: var(--gray-light);
  font-weight: 300;
}

.resource-table td:first-child {
  font-family: 'Share Tech Mono', monospace;
  color: var(--gold);
  font-size: 0.85rem;
}

.resource-table tr:hover td { background: rgba(240,165,0,0.03); }

.resource-table { background: var(--navy-mid); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }

/* ── POWERED BY ── */
.powered-by {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.powered-by a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.powered-by a:hover { color: var(--gold-light); }

/* Keep linked cards from inheriting browser default visited colors */
a.card h3 {
  color: var(--white);
}

a.card p {
  color: var(--gray-light);
}
