@import url('https://fonts.googleapis.com/css2?family=Syne:ital,wght@0,400;0,600;0,700;0,800;1,700;1,800&family=Inter:wght@300;400;500&display=swap');

@font-face {
  font-family: 'Genty';
  src: url('../fonts/GentyDemo-Regular.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #90B8D8;
  --sky-light: #C8E0F0;
  --sky-dark: #2C6FAC;
  --navy: #1A3A5C;
  --navy-deep: #0F2338;
  --pastel: #B8D4EC;
  --lime: #A8D8F5;
  --lime-dark: #7EC0EC;
  --white: #FFFFFF;
  --cloud: #EEF4FB;
  --text-dark: #0F2440;
  --text-mid: #2D5580;
  --nav-h: 72px;
}

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

h1, h2, h3, h4,
.section-title,
.page-hero h1,
.modal-name,
.nav-logo span,
.brand-name {
  font-family: 'Syne', sans-serif;
  font-style: italic;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--sky-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── LIQUID GLASS MIXIN ── */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 8px 32px rgba(0,0,0,0.18);
}

/* ── ANNOUNCEMENT TICKER ── */
.wave-ticker-band {
  background: transparent;
  margin-top: -2px;
  height: 30px;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  width: 200%;
  height: 30px;
  animation: ticker-right 50s linear infinite;
  will-change: transform;
}

.ticker-svg {
  display: block;
  width: 50%;
  height: 30px;
  flex-shrink: 0;
}

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  pointer-events: all;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.2s;
}

.nav-logo img:hover { transform: scale(1.06); }

.nav-logo span { display: none; }

/* glass pill — centered, contains links + apply */
.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 28px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 32px rgba(0,0,0,0.2);
  pointer-events: all;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* nav link color transition */
.nav-links a { transition: color 0.4s ease; }

/* nav over light/white backgrounds */
nav.scrolled .nav-pill {
  background: rgba(15, 35, 64, 0.82);
  border-color: rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.28);
}

nav.scrolled .nav-links a {
  color: rgba(255,255,255,0.92);
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-links a.active-page {
  color: var(--white);
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  padding-bottom: 2px;
}

.nav-cta {
  background: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.92) !important;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: background 0.2s, transform 0.2s !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.24) !important;
  transform: scale(1.04);
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 100px; /* room for the wave bleeding in from below */
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}

/* Full-bleed subject photo fills the entire hero */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-cover.jpg') left 22% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(10,28,54,0.65) 0%,
    rgba(10,28,54,0.35) 30%,
    rgba(10,28,54,0.4) 60%,
    rgba(10,28,54,0.55) 100%
  );
}

/* Decorative clouds — used on inner-page heroes (.page-hero) */
.cloud-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: var(--white);
  border-radius: 50px;
  opacity: 0.35;
  filter: blur(3px);
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: var(--white);
  border-radius: 50%;
}

@keyframes cloud-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 400px)); }
}

/* each cloud starts off the left edge; negative delay puts them mid-journey on load */
.c1 {
  width: 180px; height: 55px;
  top: 18%; left: -200px;
  animation: cloud-scroll 50s linear infinite;
  animation-delay: -10s;
}
.c1::before { width: 80px; height: 80px; top: -40px; left: 20px; }
.c1::after  { width: 60px; height: 60px; top: -30px; left: 70px; }

.c2 {
  width: 280px; height: 75px;
  top: 25%; left: -300px;
  animation: cloud-scroll 65s linear infinite;
  animation-delay: -30s;
}
.c2::before { width: 110px; height: 110px; top: -55px; left: 35px; }
.c2::after  { width: 80px; height: 80px;  top: -40px; left: 120px; }

.c3 {
  width: 150px; height: 42px;
  top: 52%; left: -180px;
  animation: cloud-scroll 42s linear infinite;
  animation-delay: -18s;
}
.c3::before { width: 65px; height: 65px; top: -35px; left: 18px; }
.c3::after  { width: 50px; height: 50px; top: -25px; left: 68px; }

.c4 {
  width: 220px; height: 60px;
  top: 65%; left: -250px;
  animation: cloud-scroll 55s linear infinite;
  animation-delay: -44s;
}
.c4::before { width: 90px; height: 90px; top: -48px; left: 25px; }
.c4::after  { width: 65px; height: 65px; top: -34px; left: 95px; }

.c5 {
  width: 195px; height: 52px;
  top: 8%; left: -220px;
  animation: cloud-scroll 58s linear infinite;
  animation-delay: -22s;
}
.c5::before { width: 85px; height: 85px; top: -44px; left: 28px; }
.c5::after  { width: 62px; height: 62px; top: -32px; left: 88px; }

.c6 {
  width: 130px; height: 36px;
  top: 44%; left: -150px;
  animation: cloud-scroll 38s linear infinite;
  animation-delay: -5s;
}
.c6::before { width: 55px; height: 55px; top: -30px; left: 14px; }
.c6::after  { width: 42px; height: 42px; top: -22px; left: 58px; }

/* ── Birds ── */
.bird {
  position: absolute;
  width: 46px; height: 18px;
  animation: cloud-scroll var(--bird-dur, 22s) linear infinite;
  animation-delay: var(--bird-delay, 0s);
  opacity: 0.55;
  z-index: 2;
}
.bird::before,
.bird::after {
  content: '';
  position: absolute;
  top: 0;
  width: 23px; height: 11px;
  border-top: 3px solid var(--navy-deep);
  border-radius: 50% 50% 0 0;
  animation: bird-flap var(--flap, 0.8s) ease-in-out infinite alternate;
}
.bird::before { right: 23px; transform-origin: right center; }
.bird::after  { left: 23px;  transform-origin: left center; animation-direction: alternate-reverse; }

@keyframes bird-flap {
  from { transform: rotate(-18deg); }
  to   { transform: rotate(12deg); }
}

.b1 { top: 20%; left: -70px;  --bird-dur: 20s; --bird-delay: -4s;  --flap: 0.75s; }
.b2 { top: 22%; left: -100px; --bird-dur: 22s; --bird-delay: -9s;  --flap: 0.85s; width: 36px; opacity: 0.4; }
.b3 { top: 36%; left: -60px;  --bird-dur: 17s; --bird-delay: -12s; --flap: 0.65s; }
.b4 { top: 14%; left: -85px;  --bird-dur: 25s; --bird-delay: -18s; --flap: 0.90s; width: 40px; }
.b5 { top: 58%; left: -55px;  --bird-dur: 19s; --bird-delay: -7s;  --flap: 0.70s; width: 32px; opacity: 0.45; }
.b6 { top: 16%; left: -110px; --bird-dur: 28s; --bird-delay: -14s; --flap: 0.80s; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: none;
  border: none;
  box-shadow: none;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 16px rgba(0,0,0,0.15);
  color: rgba(255,255,255,0.95);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Genty', 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.25);
}

.hero-dates {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--lime);
  color: var(--text-dark);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  display: inline-block;
}

/* pulsing aura, same color/timing as the event-card-glow effect on the events page */
.btn-glow {
  animation: btn-glow-pulse 2s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.15), 0 0 0 rgba(44,111,172,0);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.15), 0 0 24px 6px rgba(44,111,172,0.55);
  }
}

.btn-outline:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.7);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── WAVE DIVIDERS ── */
.wave-wrap {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.wave-wrap svg {
  display: block;
  width: 100%;
}

/* ── SECTIONS ── */
section {
  padding: 96px 40px;
}

.section-tag {
  display: inline-block;
  background: rgba(44, 111, 172, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(44, 111, 172, 0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  color: var(--sky-dark);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* glass section tag on dark backgrounds (page heroes) */
.page-hero .section-tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ── PRESIDENT'S WELCOME ── */
.president-section {
  background: var(--white);
  padding: 80px 40px;
}

.president-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.president-text .section-tag { margin-bottom: 28px; }

.president-text p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.president-sign  { margin-top: 28px; color: var(--text-dark); }
.president-name  { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 2px; }
.president-title { font-size: 0.9rem; color: var(--text-mid); font-style: italic; }

.president-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  aspect-ratio: 3/4;
  background: var(--sky-light);
}

.president-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.president-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  background: linear-gradient(135deg, var(--sky-light), var(--sky));
}

/* ── CORE VALUES ── */
.values-section {
  background: var(--navy);
  padding: 80px 40px;
  text-align: center;
}

.values-inner {
  max-width: 900px;
  margin: 0 auto;
}

.values-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 48px 0 56px;
  flex-wrap: wrap;
}

.value-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.value-icon {
  width: 96px; height: 96px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  backdrop-filter: blur(8px);
}

.value-icon-item span {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.value-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}

.value-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.value-item p {
  font-size: 1.05rem;
  color: #ffffff !important;
  line-height: 1.75;
  margin: 0;
}

/* ── PILLARS (home) ── */
.pillars {
  background: var(--white);
}

.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pillars-header {
  text-align: center;
  margin-bottom: 60px;
}

.pillars-header .section-sub {
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--cloud);
  border-radius: 24px;
  padding: 36px 28px;
  border: 1.5px solid rgba(126,200,227,0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(74,159,191,0.15);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.pillar-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── STATS BAND ── */
.stats-band {
  background: linear-gradient(135deg, var(--navy), var(--sky-dark));
  padding: 60px 40px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
  text-align: center;
}

.stat-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 20px;
  padding: 24px 36px;
}

.stat-item span {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

.stat-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── CLOUD CARD ── */
.cloud-card {
  background: var(--white);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(74,159,191,0.1);
  border: 1.5px solid rgba(126,200,227,0.2);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  padding: 130px 40px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0F2F54 0%, #2C6FAC 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0F2F54 0%, #1A4A7A 60%, #2C6FAC 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-top: 14px;
  max-width: 500px;
}

/* ── BROTHERS GRID ── */
.brothers-section {
  background: var(--white);
}

.brothers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.filter-bar-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 36px 0;
}

.filter-arrow {
  flex-shrink: 0;
  margin-top: 12px; /* vertically center to the 56px icon (28px center - 16px half-button) */
  background: var(--white);
  border: 1.5px solid rgba(44,111,172,0.2);
  color: var(--sky-dark);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-arrow:hover { background: var(--sky-light); }
.filter-arrow.hidden { opacity: 0; pointer-events: none; }

.filter-bar {
  display: flex;
  gap: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  flex: 1;
  min-width: 0;
  border-bottom: 1.5px solid rgba(144, 184, 216, 0.25);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: opacity 0.2s;
  opacity: 0.5;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--sky-dark);
  border-radius: 2px;
  transition: width 0.2s;
}

.filter-btn.active { opacity: 1; }
.filter-btn.active::after { width: 60%; }
.filter-btn:hover { opacity: 0.85; }

.filter-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-light), var(--pastel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(44, 111, 172, 0.1);
}

.filter-btn.active .filter-icon {
  background: linear-gradient(135deg, var(--sky-dark), var(--navy));
  box-shadow: 0 4px 16px rgba(44, 111, 172, 0.3);
  transform: scale(1.08);
}

.filter-btn:hover .filter-icon { transform: scale(1.3); transition: transform 0.2s; }

.filter-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--text-dark);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.brothers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.brother-card {
  background: var(--cloud);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(126,200,227,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}

.brother-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(74,159,191,0.15);
}

.brother-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-light), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.brother-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brother-info {
  padding: 18px 16px;
}

.brother-info h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.brother-info .role {
  font-size: 0.82rem;
  color: var(--sky-dark);
  font-weight: 500;
  margin-bottom: 4px;
}

.brother-info .major {
  font-size: 0.8rem;
  color: var(--text-mid);
}

/* ── EVENTS ── */
.events-section {
  background: var(--cloud);
}

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

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.event-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(126,200,227,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(74,159,191,0.14);
}

.event-date-strip {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.event-date-box {
  background: var(--lime);
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  min-width: 52px;
}

.event-date-box .month {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.event-date-box .day {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  line-height: 1;
}

.event-weekday {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.event-type {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.event-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.event-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--sky-dark);
  font-weight: 500;
}

/* ── DEADLINE BANNER ── */
.deadline-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 20px 40px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* ── APPLY SECTION ── */
.apply-section {
  background: var(--white);
}

.apply-inner {
  max-width: 760px;
  margin: 0 auto;
}

.apply-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 56px;
}

.apply-requirements {
  margin-bottom: 56px;
}

.apply-requirements .section-title {
  margin-bottom: 20px;
}

.req-eligibility {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--sky-light);
  border-radius: 14px;
  border-left: 4px solid var(--sky-dark);
}

.req-list {
  margin: 0 0 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.req-list li {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.req-list li strong {
  color: var(--text-dark);
}

.req-note {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.req-note a {
  color: var(--sky-dark);
  font-weight: 600;
  text-decoration: none;
}
.req-note a:hover { text-decoration: underline; }

.apply-cta {
  text-align: center;
  padding: 48px 0 16px;
  border-top: 1px solid var(--sky-light);
}

.apply-cta .section-title { margin-bottom: 24px; }

.apply-google-btn {
  font-size: 1.05rem;
  padding: 16px 40px;
}

.apply-cta-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-mid);
  opacity: 0.7;
}

.timeline {
  position: relative;
  margin: 48px 0;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--sky), var(--lime));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sky);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--sky-light);
}

.timeline-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.timeline-item .tl-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--text-dark);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.apply-form {
  background: var(--cloud);
  border-radius: 28px;
  padding: 48px;
  border: 1.5px solid rgba(126,200,227,0.25);
  margin-top: 48px;
}

.apply-form h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.apply-form p.sub {
  color: var(--text-mid);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(126,200,227,0.4);
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(126,200,227,0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--sky-dark);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

/* ── ABOUT ── */
.about-section {
  background: var(--white);
}

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--sky-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.project-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-img-launchpad  { background: linear-gradient(135deg, #1A3A5C, #2C6FAC); }
.project-img-thinktank  { background: linear-gradient(135deg, #4A90C4, #87CEEB); }
.project-img-upcycling  { background: linear-gradient(135deg, #7DAF7A, #A8D5A2); }
.project-img-heartbeats { background: linear-gradient(135deg, #3D2B6B, #7B5EA7); }

.project-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  padding: 20px 24px 8px;
}

.project-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 0 24px 24px;
}

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

/* ── EXEC BOARD ── */
.eboard-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .eboard-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .eboard-grid { grid-template-columns: repeat(2, 1fr); }
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}

.about-crest {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.about-crest img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .about-content-grid { grid-template-columns: 1fr; }
  .about-crest { order: -1; }
  .about-crest img { width: 160px; }
}

.about-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.about-body strong {
  color: var(--text-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-light), var(--sky));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* ── FAQ ── */
.faq-section {
  background: var(--cloud);
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid rgba(126,200,227,0.2);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--sky-dark);
}

.faq-q svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--sky-dark);
  transition: transform 0.3s;
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 280px;
}

.footer-brand .brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--lime);
  text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { min-height: 60vh; }
  .hero-bg { background-position: 4% 18%; background-size: cover; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(10,28,54,0.55) 0%,
      rgba(10,28,54,0.5) 40%,
      rgba(10,28,54,0.75) 100%
    );
  }
  .hero-content { max-width: 520px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .president-inner { grid-template-columns: 1fr; }
  .president-photo { max-width: 360px; aspect-ratio: 1; }
  .value-item { grid-template-columns: 140px 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 20px; }
  /* shrink (not remove) the gap between a page-hero and the section right
     after it — every inner page (about/apply/brothers/events/faq) shares
     this pattern, so targeting the adjacent-sibling covers all of them */
  .page-hero + section { padding-top: 28px; }
  /* smaller hero description text on mobile */
  .hero p { font-size: 0.95rem; }
  /* smaller so "August 24th – September 10th" fits on one line instead of
     wrapping "10th" onto its own line, crowding the paragraph below */
  .hero-dates { font-size: 0.8rem; }
  /* smaller, tighter buttons so Interest Form + Rush Events fit side by side */
  .hero-btns { gap: 10px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    padding: 12px 18px;
    font-size: 0.82rem;
  }
  /* padding matches the 16px top gap (nav's own top:12px + half the 8px
     leftover from centering the 44px logo/hamburger in nav's 52px height)
     so the logo sits the same distance from the right edge as from the top */
  nav { padding: 0 16px; }
  nav { min-width: unset; top: 12px; }
  /* .nav-links is nested inside .nav-pill in the markup — display:none
     here would hide it too (a display:none ancestor hides descendants
     even when they're position:fixed). display:contents instead removes
     just the pill's own box from nav's flex layout (so it stops being an
     invisible third item throwing off justify-content:space-between)
     while still rendering .nav-links normally. */
  .nav-pill {
    display: contents;
  }

  /* Side-panel mobile nav: slides in from the right, covers roughly half
     the screen (not the whole thing), white with a decorative blue wave
     along the bottom. Kept in flex layout (not display:none) and slid
     off-screen via transform so it can animate; visibility hides it from
     click/tab focus while closed without breaking the transition. */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 62%;
    min-width: 230px;
    max-width: 320px;
    height: 100dvh;
    gap: 22px;
    background: var(--white);
    padding: 110px 32px 40px;
    z-index: 200;
    border-radius: 0 20px 20px 0;
    box-shadow: 16px 0 48px rgba(0,0,0,0.25);
    overflow: hidden;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s ease, visibility 0s;
  }
  /* decorative wave along the bottom of the panel */
  .nav-links::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 140px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C60,30 120,100 180,60 C230,30 270,80 300,50 L300,150 L0,150 Z' fill='%232C6FAC'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
    pointer-events: none;
  }
  /* white-panel text colors (base + nav.scrolled rules are styled for the
     translucent/dark-on-navy desktop pill — !important since nav.scrolled
     .nav-links a otherwise outranks this on specificity alone) */
  .nav-links a {
    position: relative;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
  }
  .nav-links a:hover { color: var(--sky-dark) !important; }
  .nav-links a.active-page {
    color: var(--sky-dark) !important;
    border-bottom-color: var(--sky-dark);
  }
  .nav-links .nav-cta {
    position: relative;
    background: var(--navy) !important;
    color: var(--white) !important;
    border-color: var(--navy) !important;
  }
  /* dim + blur the page behind the panel while it's open */
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 64, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 150;
  }
  /* nav has its own z-index (100), which is below the backdrop overlay
     (150) — bump the whole bar above it so the hamburger stays sharp and
     tappable to close, instead of getting blurred with everything else */
  body.nav-open nav { z-index: 201; }
  /* logo on the left, hamburger on the right as a self-contained circular
     glass button styled like the desktop nav-pill. Its own background
     gives it contrast against any backdrop (hero photo, white section
     once scrolled, or the open panel), so — unlike plain white bars on
     transparent — it never needs scroll/open-state color swaps. */
  nav { justify-content: space-between; }
  .nav-logo { order: 1; }
  .hamburger {
    order: 2;
    display: flex;
    position: relative;
    z-index: 201;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 32px rgba(0,0,0,0.2);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }
  /* dark variant also when the panel is open (regardless of scroll position)
     since the hamburger then sits over the white panel, not the hero */
  nav.scrolled .hamburger,
  body.nav-open .hamburger {
    background: rgba(15, 35, 64, 0.82);
    border-color: rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.28);
  }
  .pillars-grid { grid-template-columns: 1fr; }
  .brothers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brother-photo { height: 160px; }
  .brother-info { padding: 12px; }
  .brother-info h3 { font-size: 0.85rem; }
  .brother-info .role, .brother-info .major { font-size: 0.72rem; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 24px; }
  .apply-form { padding: 28px 22px; }
  .page-hero { padding: 100px 20px 48px; }
  /* mobile only: header, then photo, then the rest of the text, in the
     president welcome section. display:contents lifts president-text's
     children up to be direct grid items of president-inner so each piece
     can be given its own order, without changing desktop/tablet markup. */
  .president-inner { gap: 0; }
  .president-text { display: contents; }
  .president-inner .section-tag { order: -2; margin-bottom: 20px; }
  .president-photo { order: -1; margin-bottom: 24px; }
  .president-text p { margin-bottom: 16px; }
  /* mobile only: stack each core value's label above its description
     instead of squeezing a fixed 180px label column next to it */
  .value-item { grid-template-columns: 1fr; gap: 6px; }
}
