/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep-ocean:  #08253A;
  --ocean:       #0D4A6B;
  --teal:        #1590A8;
  --teal-light:  #27B5CE;
  --coral:       #E8754A;
  --coral-dark:  #C95E35;
  --sand:        #F2EDE4;
  --off-white:   #F8F6F2;
  --white:       #FFFFFF;
  --text-dark:   #162630;
  --text-mid:    #3D5C6B;
  --text-light:  #7A9BAB;
  --border:      rgba(13,74,107,0.12);
  --shadow-sm:   0 2px 12px rgba(8,37,58,0.10);
  --shadow-md:   0 8px 40px rgba(8,37,58,0.16);
  --shadow-lg:   0 20px 60px rgba(8,37,58,0.22);
  --radius:      6px;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════ */
.display-xl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}
.section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-ocean {
  background: transparent;
  color: var(--ocean);
  border-color: var(--ocean);
}
.btn-outline-ocean:hover { background: var(--ocean); color: var(--white); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--ocean); border-color: var(--ocean); }

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled,
.page-inner #navbar {
  background: rgba(8,37,58,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(8,37,58,0.3);
}
.page-inner {
  padding-top: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links .nav-cta a {
  background: var(--coral);
  color: var(--white);
  padding: 8px 18px;
}
.nav-links .nav-cta a:hover { background: var(--coral-dark); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100dvh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/511271115_4028472030726422_6965196239218865742_n.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.10);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,37,58,0.78) 0%,
    rgba(13,74,107,0.55) 50%,
    rgba(8,37,58,0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-content.visible { opacity: 1; transform: translateY(0); }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--teal-light);
}
.hero-title {
  color: var(--white);
  margin-bottom: 10px;
}
.hero-title em {
  font-style: italic;
  color: var(--teal-light);
}
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-style: italic;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll i { font-size: 1.1rem; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Hero wave bottom */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
  transform:rotate(180deg);
  transform-origin: center center;
}
.hero-wave svg { width: 100%; }

/* ═══════════════════════════════════════════════
   SECTION SHARED STYLES
═══════════════════════════════════════════════ */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-label {
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}
.section-header .display-lg {
  color: var(--deep-ocean);
  margin-bottom: 16px;
}
.section-header .lead { max-width: 600px; margin: 0 auto; }

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
#stats {
  background: var(--ocean);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-number span { color: var(--teal-light); }
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════ */
#about {
  background: var(--off-white);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: 4px 40px 4px 40px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.about-image-main:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge span { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.about-content .section-label { color: var(--teal); display: block; margin-bottom: 12px; }
.about-content .display-lg { color: var(--deep-ocean); margin-bottom: 20px; }
.about-content .lead { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; color: var(--text-mid); font-size: 0.97rem; line-height: 1.8; }
.about-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* About page — story, detail sections, committee */
.about-prose {
  max-width: 720px;
  margin: 0 auto;
}
.about-prose .lead { margin-bottom: 24px; }
.about-prose p {
  margin-bottom: 16px;
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
}
.about-prose .display-md {
  color: var(--deep-ocean);
  margin: 32px 0 12px;
}
.about-list {
  margin: 0 0 24px 1.2em;
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
}
.about-list li { margin-bottom: 8px; }

.about-detail { background: var(--white); }
.about-detail-alt { background: var(--off-white); }
.about-detail-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}
.about-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.about-detail .section-label { color: var(--teal); display: block; margin-bottom: 8px; }
.about-detail .display-md { color: var(--deep-ocean); margin-bottom: 16px; }
.about-detail p {
  margin-bottom: 14px;
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
}
.about-detail a { color: var(--coral); font-weight: 600; }
.about-detail a:hover { color: var(--coral-dark); }

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.committee-card {
  background: var(--white);
  border-radius: 4px 24px 4px 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.committee-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.committee-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.committee-name {
  font-size: 0.95rem;
  color: var(--text-mid);
}

#story { background: var(--white); }
#policies { background: var(--off-white); }

/* ═══════════════════════════════════════════════
   WAVE DIVIDERS
═══════════════════════════════════════════════ */
.wave-divider { line-height: 0; overflow: hidden;  transform:rotate(180deg);
  transform-origin: center center; }
.wave-divider svg { display: block; width: 100%; }

/* ═══════════════════════════════════════════════
   ACTIVITIES SECTION
═══════════════════════════════════════════════ */
#activities {
  background: var(--white);
  position: relative;
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.activity-card {
  background: var(--off-white);
  border-radius: 4px 28px 4px 28px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.activity-icon {
  width: 70px;
  height: 70px;
  background: var(--ocean);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background 0.3s;
}
.activity-card:hover .activity-icon { background: var(--teal); }
.activity-icon i { font-size: 1.7rem; color: var(--white); }
.activity-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-ocean);
  margin-bottom: 12px;
}
.activity-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.75; }

/* ═══════════════════════════════════════════════
   GALLERY SECTION
═══════════════════════════════════════════════ */
#gallery {
  background: var(--deep-ocean);
  position: relative;
  padding: 90px 0 60px;
}
#gallery .section-header .section-label { color: var(--teal-light); }
#gallery .section-header .display-lg { color: var(--white); }
#gallery .section-header .lead { color: rgba(255,255,255,0.62); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 10px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,37,58,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.gallery-cta { text-align: center; margin-top: 40px; }

/* ═══════════════════════════════════════════════
   EVENTS SECTION
═══════════════════════════════════════════════ */
#events {
  background: var(--sand);
  position: relative;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.event-date-band {
  background: var(--ocean);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.event-date-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.event-date-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.event-year {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}
.event-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-ocean);
  margin-bottom: 8px;
}
.event-location {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.event-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.2s, color 0.2s;
}
.event-link:hover { gap: 10px; color: var(--ocean); }

/* ═══════════════════════════════════════════════
   JOIN CTA SECTION
═══════════════════════════════════════════════ */
#join {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep-ocean) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#join::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(21,144,168,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.join-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.join-inner .section-label { color: var(--teal-light); display: block; margin-bottom: 14px; }
.join-inner .display-lg { color: var(--white); margin-bottom: 18px; }
.join-inner .lead { color: rgba(255,255,255,0.70); margin-bottom: 36px; }
.join-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.membership-types {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.membership-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 10px 24px;
  text-align: center;
  transition: background 0.2s;
}
.membership-pill:hover { background: rgba(255,255,255,0.14); }
.membership-pill .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.membership-pill .type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════ */
#contact {
  background: var(--off-white);
  padding: 90px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-label { color: var(--teal); display: block; margin-bottom: 12px; }
.contact-info .display-md { color: var(--deep-ocean); margin-bottom: 20px; }
.contact-info .lead { margin-bottom: 32px; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.contact-details i {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 3px;
  width: 18px;
  flex-shrink: 0;
}
.contact-details a { color: var(--teal); }
.contact-details a:hover { color: var(--ocean); }
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: var(--ocean);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.social-link:hover { background: var(--teal); transform: translateY(-3px); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(21,144,168,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer {
  background: var(--deep-ocean);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo-mark { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.30);
}
.footer-bottom a { color: var(--teal-light); }
.footer-affiliates {
  display: flex;
  align-items: center;
  gap: 12px;
}
.affiliate-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ═══════════════════════════════════════════════
   MOBILE NAV DRAWER
═══════════════════════════════════════════════ */
#mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--deep-ocean);
  z-index: 1100;
  padding: 80px 32px 40px;
  transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}
#mobile-nav.open { right: 0; }
#mobile-nav a {
  display: block;
  padding: 12px 0;
  color: rgba(255,255,255,0.80);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, padding-left 0.2s;
}
#mobile-nav a:hover { color: var(--white); padding-left: 8px; }
#mobile-nav .mobile-cta {
  margin-top: 20px;
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--coral);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 700;
  border-bottom: none !important;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
#mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════ */
.blog-header {
  background: var(--sand);
  padding: 72px 0 60px;
  text-align: center;
}
.blog-header .section-header { margin-bottom: 0; }
.blog-header .display-lg { color: var(--deep-ocean); }

.blog-section { padding-top: 60px; }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-card {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.blog-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.blog-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card h2 a {
  color: var(--deep-ocean);
  transition: color 0.25s ease;
}
.blog-card h2 a:hover { color: var(--teal); }

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-light);
  margin-bottom: 14px;
}
.blog-meta i { margin-right: 4px; }

.blog-excerpt {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, gap 0.25s ease;
}
.blog-read-more:hover { color: var(--coral-dark); gap: 10px; }

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--border);
}
.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.blog-pagination a:hover {
  background: var(--sand);
  color: var(--ocean);
  border-color: var(--ocean);
}
.blog-pagination a.active {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}
.blog-pagination-next {
  margin-left: auto;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--deep-ocean);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

.recent-posts-list {
  list-style: none;
}
.recent-post-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.recent-post-item a {
  display: block;
  transition: color 0.2s ease;
}
.recent-post-item a:hover { color: var(--teal); }
.recent-post-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.recent-post-item a:hover .recent-post-title { color: var(--teal); }
.recent-post-date {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.sidebar-search {
  display: flex;
  gap: 8px;
}
.sidebar-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease;
}
.sidebar-search input:focus {
  border-color: var(--teal);
}
.sidebar-search .btn {
  padding: 10px 16px;
  min-width: auto;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 520px; margin: 0 auto; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .blog-layout { grid-template-columns: 1fr 280px; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .activities-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-detail-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .about-detail-icon { margin: 0 auto; }
  .committee-grid { grid-template-columns: 1fr; max-width: 320px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item.tall { grid-row: span 1; }
  .events-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .membership-types { gap: 12px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ═══ Gallery Page ═══════════════════════════════════════════════════════════ */

.page-gallery { padding: 4rem 0 6rem; }

.gallery-albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-album-card {
  background: var(--white, #fff);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.gallery-album-cover {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f3f5;
}

.gallery-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-album-card:hover .gallery-album-cover img { transform: scale(1.05); }

.gallery-album-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ccc;
}

.gallery-album-info {
  padding: 1rem 1.25rem;
}

.gallery-album-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.gallery-album-count {
  font-size: 0.85rem;
  color: var(--warm-gray, #6b7280);
}

/* Lightbox grid */
.gallery-lightbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-lightbox-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-lightbox-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-lightbox-item:hover img { transform: scale(1.05); }

.gallery-lightbox-item .gallery-overlay {
  opacity: 0;
}

.gallery-lightbox-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Event / Post attached photos display */
.attached-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.attached-photos-grid a {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.attached-photos-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.attached-photos-grid a:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .gallery-albums-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .gallery-lightbox-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 480px) {
  .gallery-albums-grid { grid-template-columns: 1fr; }
  .gallery-lightbox-grid { grid-template-columns: repeat(2, 1fr); }
}
