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

:root {
  --maroon: #881124;
  --maroon-dark: #5a0b18;
  --maroon-light: #c41a35;
  --navy: #1e3a5f;
  --navy-dark: #162b47;
  --cream: #e6e9ed;
  --warm-white: #f0f2f5;
  --charcoal: #1a1d20;
  --mid: #6b5e57;
  --border: #d8dce5;
  --yellow: #f5c842;
  --font-display: 'Familjen Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 80px;
  border-bottom: 2px solid #7dd4dc;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
  align-self: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9bfb5;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--yellow); }

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-discord {
  display: flex;
  align-items: center;
  color: #c9bfb5;
  transition: color 0.15s;
}

.nav-discord:hover { color: var(--yellow); }

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid #7dd4dc;
  list-style: none;
  min-width: 160px;
  z-index: 200;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  color: #c9bfb5;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.dropdown-menu li a:hover {
  color: var(--yellow);
  background: rgba(255,255,255,0.04);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

/* ── TICKER ── */
.ticker {
  background: var(--charcoal);
  color: white;
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
}


.ticker-scroll {
  overflow: hidden;
  flex: 1;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.ticker-dot { color: var(--yellow); margin: 0 3.5rem; }
.ticker-hours { color: #7dd4dc; }

/* ── HERO ── */
.hero {
  background: white;
  background-image: url('../images/arduino_1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border);
  padding: 7rem 4rem 5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.hero-inner, .hero-stats {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 1000px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mid);
  margin-bottom: 2rem;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-eyebrow-logo {
  height: 40px;
  width: auto;
  display: block;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.hero-title em {
  font-style: italic;
  color: var(--maroon);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c0b8b0;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: calc(0.5rem + 10px);
}

.btn-primary {
  background: transparent;
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: white; border-color: white; color: var(--charcoal); }

.btn-outline {
  background: transparent;
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover { background: white; border-color: white; color: var(--charcoal); }

.circuit-bg { display: none; }

.hero-stats {
  display: flex;
  width: 100%;
  max-width: 900px;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.hero-stat {
  flex: 1;
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
  text-align: left;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-icon { font-size: 20px; margin-bottom: 8px; }

.hero-stat-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
}

/* ── SHARED ── */
section { scroll-margin-top: 40px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* ── ABOUT ── */
#about {
  background: var(--warm-white);
  border-top: 4px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  padding: 5rem 4rem;
  border-right: 1px solid var(--border);
}

.about-title {
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.about-title span { color: var(--maroon); }

.about-body {
  font-size: 17px;
  color: #4a4038;
  line-height: 1.75;
  max-width: 480px;
}

.about-body + .about-body { margin-top: 1rem; }

.about-features {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.about-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-bullets li {
  font-size: 16px;
  color: var(--charcoal);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--border);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }

.feature-body { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ── ABOUT PHOTO STRIP ── */
.about-photo-strip {
  width: 100%;
  height: 420px;
  background-image: url('../images/workbench_1_sm.jpg');
  background-size: cover;
  background-position: center;
}

/* ── HOURS ── */
.hours-band {
  background: var(--charcoal);
  color: white;
  padding: 3.5rem 4rem;
}

.hours-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.hours-heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hours-heading span { font-style: normal; color: var(--yellow); }

.hours-subheading {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  font-style: normal;
}

.hours-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}

.hours-cell { background: rgba(255,255,255,0.04); padding: 1rem 1.25rem; }

.hours-day {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.hours-time { font-size: 16px; font-weight: 700; }
.hours-time.closed { color: rgba(255,255,255,0.3); font-weight: 400; font-style: italic; }
.hours-time.small { font-size: 13px; font-weight: 400; }

/* ── PEOPLE ── */
#people {
  background: var(--cream);
  padding: 5rem 4rem;
}

.people-inner { max-width: 1200px; margin: 0 auto; }

.people-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  line-height: 1.05;
}

.people-subtitle {
  font-family: var(--font-mono);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* Leadership */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.leader-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.leader-info {
  padding: 1.5rem;
}

.leader-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.leader-role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--maroon);
  margin-bottom: 1rem;
}

.leader-bio {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.leader-email {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--maroon);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.leader-email::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.leader-email:hover { text-decoration: underline; }

.ambassador-placeholder {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.75;
  font-style: italic;
}

.ambassador-note-link {
  color: var(--maroon);
  text-decoration: underline;
}

.ambassador-note-link:hover { color: var(--maroon-dark); }

/* Ambassadors */
.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ambassador-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.ambassador-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.ambassador-info {
  padding: 0.75rem;
  font-size: 14px;
  color: var(--charcoal);
}

.ambassador-name {
  font-weight: 700;
  display: inline;
}

.ambassador-year {
  font-weight: 400;
  color: var(--mid);
  display: inline;
}

/* ── EVENTS ── */
#events {
  background: var(--charcoal);
  color: white;
  padding: 5rem 4rem;
  border-top: 4px solid #7dd4dc;
}

.events-inner { max-width: 1200px; margin: 0 auto; }

.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.events-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.events-title em { color: var(--yellow); font-style: italic; }

.events-link {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-decoration: none;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.event-card {
  background: #22262a;
  padding: 1.75rem;
  transition: background 0.15s;
}

.event-card:hover { background: #2a2e33; }

.event-date {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.event-title { font-size: 18px; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; }

.event-body { font-size: 14px; color: #8a7e76; line-height: 1.65; margin-bottom: 1.25rem; }

.event-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: var(--maroon);
  color: white;
}

/* ── TUTORIALS ── */
#tutorials {
  background: var(--warm-white);
  padding: 5rem 4rem;
  border-top: 4px solid var(--border);
}

.tutorials-inner { max-width: 1200px; margin: 0 auto; }

.tut-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: end;
}

.tut-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tut-title span { color: var(--maroon); }

.tut-intro { font-size: 16px; color: var(--mid); line-height: 1.75; }

.tut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tut-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.15s;
}

.tut-card:hover { border-color: var(--maroon); }

.tut-thumb {
  background: var(--charcoal);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tut-thumb-photo {
  background-size: cover;
  background-position: center;
}

.tut-thumb-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(245,200,66,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,66,0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}

.tut-thumb-icon { position: relative; z-index: 2; font-size: 36px; }

.tut-content { padding: 1.25rem; }

.tut-difficulty {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--maroon);
  margin-bottom: 8px;
}

.tut-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }

.tut-desc { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── MADE AT PHYSCOMP ── */
#made-at-physcomp {
  background: var(--warm-white);
  padding: 5rem 4rem;
  border-top: 4px solid var(--border);
}

.made-inner { max-width: 1200px; margin: 0 auto; }

.made-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

.made-title span { color: var(--maroon); }

/* ── HACKATHONS ── */
#hackathons {
  background: var(--cream);
  padding: 5rem 4rem;
  border-top: 4px solid var(--border);
}

.hackathons-inner { max-width: 1200px; margin: 0 auto; }

.hack-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: end;
}

.hack-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hack-title span { color: var(--maroon); }

.hack-intro { font-size: 16px; color: var(--mid); line-height: 1.75; }

.hack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hack-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hack-card:hover { border-color: var(--maroon); }

.hack-logo-area {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.hack-logo-placeholder {
  background: var(--charcoal);
  border-bottom: none;
  font-size: 48px;
}

.hack-logo {
  height: 220px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
}

.hack-logo-wide {
  height: auto;
  width: 70%;
}

.hack-logo-area--fill {
  padding: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hack-content { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.hack-name { font-size: 17px; font-weight: 700; margin-bottom: 0.6rem; }

.hack-desc { font-size: 13px; color: var(--mid); line-height: 1.65; flex: 1; }

.hack-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--maroon);
  text-decoration: none;
}

.hack-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hack-link:hover { text-decoration: underline; }

/* ── CSL PHOTO STRIP ── */
.csl-photo-strip {
  width: 100%;
  height: calc(100vw * (727 / 1800) - 90px);
  background-image: url('../images/CSL_expanded_2.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center -70px;
  scroll-margin-top: 80px;
}

/* ── VISIT ── */
#visit {
  background: var(--charcoal);
  color: white;
  padding: 5rem 4rem;
  border-top: 4px solid #7dd4dc;
}

.visit-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.visit-text {
  display: flex;
  flex-direction: column;
}

.visit-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.visit-title span { color: var(--yellow); }

.visit-address {
  margin-top: auto;
  padding-top: 1.5rem;
}

.visit-address-line {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
}

.visit-map-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.visit-map-col .visit-hours-label {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.visit-map {
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.visit-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.visit-link {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--yellow);
  text-decoration: none;
}

.visit-link:hover { text-decoration: underline; }

.visit-hours-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.visit-hours-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.visit-hours-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.1);
}

.visit-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.visit-hours-row:last-child { border-bottom: none; }

.visit-day {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

.visit-time {
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.visit-time.closed {
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  font-style: italic;
}

/* ── CONTACT ── */
#contact {
  background: var(--charcoal);
  color: white;
  padding: 5rem 4rem;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.contact-title em { color: var(--yellow); font-style: italic; }

.contact-icons {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.contact-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  transition: border-color 0.15s, color 0.15s;
}

.contact-icon-btn:hover { border-color: var(--yellow); color: var(--yellow); }

.contact-desc { font-size: 16px; color: #8a7e76; line-height: 1.75; margin-bottom: 2.5rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.contact-detail-val { font-size: 15px; color: white; }

.contact-email-link { color: white; text-decoration: none; }
.contact-email-link:hover { text-decoration: underline; }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.social-btn:hover { border-color: var(--yellow); color: var(--yellow); }

.contact-form-area { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.45);
}

.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-display);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.form-input:focus { border-color: var(--yellow); }
.form-input::placeholder { color: rgba(255,255,255,0.25); }
textarea.form-input { resize: vertical; min-height: 110px; }

.btn-send {
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s;
}

.btn-send:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.4);
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  border-top: 2px solid #7dd4dc;
}

footer span { color: var(--yellow); }

.footer-copy { color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; font-size: 15px; vertical-align: 1px; }

/* ── SCROLL MARGINS: MOBILE ── */
@media (max-width: 640px) {
  section { scroll-margin-top: 82px; }
}

/* ── RESPONSIVE: TABLET (768px) ── */
@media (max-width: 768px) {

  /* Nav */
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 11px; }

  /* Hero */
  .hero { padding: 4rem 2rem 0; }
  .hero-title { white-space: normal; font-size: clamp(36px, 7vw, 60px); }
  .hero-pill { font-size: 10px; text-align: center; }
  .hero-sub { font-size: 15px; }
  .hero-stats { flex-direction: column; max-width: 100%; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-text { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 2rem; }
  .about-features { padding: 3rem 2rem; }

  /* Hours */
  .hours-band { padding: 2.5rem 2rem; }
  .hours-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hours-table { grid-template-columns: repeat(2, 1fr); }

  /* People */
  #people { padding: 3rem 2rem; }
  .leadership-grid { grid-template-columns: 1fr; }
  .ambassador-grid { grid-template-columns: repeat(2, 1fr); }

  /* Events */
  #events { padding: 3rem 2rem; }
  .events-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .events-grid { grid-template-columns: 1fr; }

  /* Tutorials */
  #tutorials { padding: 3rem 2rem; }
  .tut-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .tut-grid { grid-template-columns: 1fr; }

  /* Hackathons */
  #hackathons { padding: 3rem 2rem; }
  .hack-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .hack-grid { grid-template-columns: 1fr; }

  /* Visit */
  #visit { padding: 3rem 2rem; }
  .visit-inner { grid-template-columns: 1fr; gap: 3rem; }

  /* Contact */
  #contact { padding: 3rem 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }

  /* Footer */
  footer { padding: 1.5rem 2rem; }
}

/* ── HAMBURGER & MOBILE MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  background: var(--charcoal);
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.nav-mobile-menu.open {
  max-height: 600px;
  border-bottom: 2px solid #7dd4dc;
}

.nav-mobile-menu ul {
  list-style: none;
  padding: 1rem 0;
}

.nav-mobile-menu ul li a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9bfb5;
  text-decoration: none;
}

.nav-mobile-menu ul li a:hover { color: var(--yellow); }

.mobile-menu-group {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  padding: 0.75rem 1.5rem 0.25rem;
  margin-top: 0.5rem;
}

.mobile-menu-sub a { padding-left: 2.5rem !important; }

.mobile-menu-icons { list-style: none; }

.mobile-icons-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
}

.nav-mobile-menu .mobile-icons-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #c9bfb5;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
  transition: color 0.15s, border-color 0.15s;
}

.nav-mobile-menu .mobile-icons-row a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.nav-mobile-menu .mobile-icons-row svg {
  fill: currentColor;
  width: 22px;
  height: 22px;
}

/* ── RESPONSIVE: NARROW (640px) ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── RESPONSIVE: MOBILE (480px) ── */
@media (max-width: 480px) {

  /* Nav — hide links, keep logo */
  .nav-links { display: none; }
  nav { padding: 0 1.25rem; }
  .nav-logo-img { height: 40px; }
  .nav-logo-text { font-size: 15px; }

  /* Hero */
  .hero { padding: 3rem 1.25rem 0; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-eyebrow { font-size: 9px; letter-spacing: 0.08em; }
  .hero-pill { font-size: 9px; padding: 7px 14px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { justify-content: center; }

  /* Hours */
  .hours-table { grid-template-columns: 1fr; }
  .hours-cell[style] { grid-column: span 1 !important; }
  .hours-heading { font-size: 30px; }

  /* Events */
  .events-title { font-size: 30px; }

  /* Tutorials */
  .tut-header { margin-bottom: 2rem; }

  /* Contact */
  .btn-send { width: 100%; justify-content: center; }

  /* Footer */
  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.25rem; }
}
