/* Rotaract Club of Kasthamandap - premium design system */

:root {
  --pink: #d6006f;
  --pink-dark: #a5005a;
  --pink-light: #ff4fa0;
  --gold: #f7a81b;
  --gold-dark: #d98d0a;
  --ink: #1a1418;
  --ink-soft: #5f5560;
  --ink-faint: #948b93;
  --paper: #ffffff;
  --paper-alt: #fbf4f7;
  --paper-warm: #fffaf0;
  --line: #ece3e7;
  --line-soft: #f3ecef;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --max: 1160px;
  --shadow-sm: 0 2px 10px rgba(26, 20, 24, 0.06);
  --shadow-md: 0 12px 32px rgba(214, 0, 111, 0.12), 0 2px 8px rgba(26, 20, 24, 0.05);
  --shadow-lg: 0 24px 64px rgba(214, 0, 111, 0.16), 0 4px 16px rgba(26, 20, 24, 0.06);
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.19,1,.22,1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--pink); color: #fff; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn:active { transform: translateY(-1px); }
.btn.outline {
  background: none;
  border: 1.5px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}
.btn.outline:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--paper-alt);
  box-shadow: var(--shadow-sm);
}
.btn.on-dark {
  background: #fff;
  color: var(--pink-dark);
}
.btn.on-dark:hover { background: var(--gold); color: #fff; }
.btn.outline.on-dark {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.btn.outline.on-dark:hover {
  border-color: #fff;
  background: #fff;
  color: var(--pink-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(26,20,24,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  max-width: none;
  padding-left: 20px;
  padding-right: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--pink);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.header-social a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  transform: translateY(-2px);
  text-decoration: none;
}
@media (max-width: 700px) {
  .header-social { display: none; }
}

.letterhead {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.letterhead img {
  height: auto;
  width: auto;
  max-height: 38px;
  max-width: 150px;
  object-fit: contain;
}
.letterhead-rule {
  width: 1px;
  height: 26px;
  background: var(--line);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
nav.main-nav a:hover { color: var(--pink); border-color: var(--gold); text-decoration: none; }
nav.main-nav a.active { color: var(--pink); border-color: var(--pink); }

nav.main-nav a.join {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border-bottom: none;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
nav.main-nav a.join:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* Decorative layer */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.blob-pink { background: radial-gradient(circle, rgba(214,0,111,0.35), transparent 70%); }
.blob-gold { background: radial-gradient(circle, rgba(247,168,27,0.35), transparent 70%); }

.wheel-mark {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  user-select: none;
}
@media (prefers-reduced-motion: no-preference) {
  .wheel-mark.spin { animation: spin 120s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Cinematic Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,8,16,0.55) 0%, rgba(20,8,16,0.72) 55%, rgba(12,5,10,0.92) 100%),
    linear-gradient(120deg, rgba(166,0,90,0.35), rgba(12,5,10,0.1) 60%);
}
.hero-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 0 90px;
}
.hero-center .eyebrow {
  color: var(--gold);
  justify-content: center;
}
.hero-center .eyebrow::before { background: var(--gold); }
.hero h1 {
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.hero-rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink-light));
  margin: 0 auto 26px;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll-cue span { animation: scrollcue 1.8s ease-in-out infinite; }
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Generic section */
.section {
  padding: 108px 0;
  position: relative;
  overflow: hidden;
}
.section-alt { background: var(--paper-alt); }
.section-warm { background: var(--paper-warm); }
.section-dark {
  background: linear-gradient(135deg, var(--ink) 0%, #2b1220 100%);
  color: #fff;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}
.section-head p { margin-bottom: 0; }
.section-head.left { margin-left: 0; text-align: left; }

.section > .wrap { position: relative; z-index: 1; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: card;
}
.card {
  position: relative;
  padding: 36px 30px 30px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  counter-increment: card;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--gold)) 1;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card::before {
  content: counter(card, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(214, 0, 111, 0.08);
  line-height: 1;
  pointer-events: none;
}
.card h3 { margin-bottom: 10px; padding-right: 30px; }
.card p { margin-bottom: 0; }

/* CTA band */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); }
.cta-band .btn {
  background: #fff;
  color: var(--pink-dark);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.cta-band .btn:hover {
  background: var(--gold);
  color: #fff;
}

/* Page header (non-home pages) */
.page-header {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--paper-alt) 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.page-header p { max-width: 640px; margin: 0 auto; }
.page-header .eyebrow { justify-content: center; }

/* About page */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.stat {
  text-align: center;
  padding: 26px 10px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--pink), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* About photo card (home page) */
.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  aspect-ratio: 4 / 3;
}
.about-photo-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 32px 80px rgba(214,0,111,0.18), 0 4px 20px rgba(26,20,24,0.08);
}
.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}
.about-photo-card:hover img {
  transform: scale(1.05);
}
.about-photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-photo-badge-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.about-photo-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

/* Impact statistics band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .3s ease;
}
.stat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #fff;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .plus { color: var(--gold); }
.stat-label {
  font-size: 0.85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* BOD page */
.follow-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 0 8px;
}
.bod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bod-card {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.bod-card--featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: -10px;
  padding: 34px 30px 36px;
  background: linear-gradient(135deg, var(--paper-warm), var(--paper));
  border: 1px solid rgba(247,168,27,0.35);
  box-shadow: var(--shadow-md);
}
.avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 auto 18px;
  overflow: hidden;
  position: relative;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.bod-card:hover .avatar img { transform: scale(1.06); }
.bod-card h3 { margin-bottom: 2px; }
.bod-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.bod-card p { font-size: 0.9rem; margin-bottom: 0; }

.section-more {
  text-align: center;
  margin-top: 48px;
}

.board-collage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}
.board-collage figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.board-collage figure:nth-child(3n+1) { transform: rotate(-1.4deg); }
.board-collage figure:nth-child(3n+2) { transform: rotate(1deg); }
.board-collage figure:nth-child(3n) { transform: rotate(-0.5deg); }
.board-collage figure:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.04);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.board-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.board-collage figure:hover img { transform: scale(1.08); }

/* Testimonials / leadership messages */
.message-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.message-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.message-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.message-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}
.message-card img {
  width: 38%;
  max-width: 200px;
  flex-shrink: 0;
  object-fit: cover;
}
.message-body {
  padding: 30px 32px;
  min-width: 0;
}
.message-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 16px;
}
.message-body h3 { margin-bottom: 2px; }
.message-role {
  color: var(--pink);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.edit-note {
  border: 1px dashed var(--pink);
  background: var(--paper-alt);
  color: var(--pink-dark);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Completed project cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.project-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.project-photos {
  display: grid;
  gap: 3px;
  height: 260px;
  overflow: hidden;
}
.project-photos.grid-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.project-photos.grid-3 img:first-child { grid-row: span 2; }
.project-photos.grid-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.project-photos.grid-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.project-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.project-photos img:hover { transform: scale(1.06); }
.project-body { padding: 26px 28px 30px; }

/* Homepage project highlights */
.project-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.project-highlight {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
  color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-highlight:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.project-highlight img {
  width: 100%;
  height: 200px;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.project-highlight:hover img { transform: scale(1.08); }
.project-highlight span {
  display: block;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
}
.project-body h3 { margin-bottom: 8px; }
.project-body p { margin-bottom: 0; font-size: 0.93rem; }

/* Coming-soon placeholder pattern (shared: projects, gallery, partners, timeline) */
.coming-soon {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 8px;
}
.coming-soon p:last-child { margin-bottom: 0; }

.placeholder-panel {
  position: relative;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  background: var(--paper);
}

/* Milestone grid */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 1100px) { .milestone-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .milestone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .milestone-grid { grid-template-columns: 1fr; } }

.milestone-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.milestone-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.milestone-card--current {
  border-color: var(--pink);
  background: linear-gradient(145deg, #fff5fa, #fff);
  box-shadow: 0 0 0 2px rgba(214,0,111,0.08);
}
.milestone-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--pink), var(--gold));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.milestone-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
}
.milestone-icon svg { width: 22px; height: 22px; }
.milestone-card h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
}
.milestone-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

/* Gallery masonry placeholder */
.gallery-placeholder {
  column-count: 3;
  column-gap: 20px;
  margin-bottom: 8px;
}
.gallery-tile {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--line-soft), var(--paper-alt));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gallery-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-tile svg { width: 30px; height: 30px; color: var(--ink-faint); }
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile:nth-child(1) { height: 220px; }
.gallery-tile:nth-child(2) { height: 260px; }
.gallery-tile:nth-child(3) { height: 190px; }
.gallery-tile:nth-child(4) { height: 240px; }
.gallery-tile:nth-child(5) { height: 200px; }
.gallery-tile:nth-child(6) { height: 250px; }
.gallery-tile:nth-child(7) { height: 220px; }
.gallery-caption {
  text-align: center;
  margin-top: 24px;
}

/* Timeline placeholder */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--pink), var(--gold));
  opacity: 0.35;
}
.timeline-item {
  position: relative;
  padding-bottom: 34px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--pink);
}
.timeline-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.timeline-item p { margin-bottom: 0; font-size: 0.92rem; }

/* Contact page */
.contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.contact-tile {
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 38px 20px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border-top: 3px solid var(--pink);
}
.contact-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-tile .eyebrow { margin-bottom: 12px; justify-content: center; }
.contact-tile a,
.contact-tile span.value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.contact-tile a:hover { color: var(--pink); }

.follow-panel { text-align: center; }
.follow-panel h3 { margin-bottom: 16px; }
.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: color .2s ease, border-color .2s ease, transform .3s var(--ease), background .2s ease;
}
.social-links a:hover {
  border-color: var(--pink);
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  text-decoration: none;
  transform: translateY(-3px);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 56px;
}
.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* Enhanced Contact Page */
.contact-page-header { overflow: hidden; }
.contact-main-section { padding-top: 72px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info-col h2 { margin-bottom: 12px; }
.contact-info-col > p { color: var(--ink-soft); margin-bottom: 36px; }
.contact-info-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 36px; }
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.contact-info-row:hover { background: var(--paper-alt); transform: translateX(4px); text-decoration: none; }
.contact-info-row.no-link { cursor: default; }
.contact-info-row.no-link:hover { transform: none; background: none; }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--pink), var(--gold));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 2px;
}
.contact-info-value {
  display: block; font-family: var(--font-heading);
  font-size: 0.98rem; font-weight: 600; color: var(--ink);
}
.contact-social-block { margin-top: 8px; }
.contact-social-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px;
}
.contact-map-col { position: relative; }
.contact-map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); height: 420px;
}
.contact-map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15) contrast(1.05); }
.contact-map-caption { font-size: 0.82rem; color: var(--ink-faint); text-align: center; margin-top: 12px; font-style: italic; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-map-wrap { height: 300px; }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #17101a 0%, #0d090f 100%);
  padding: 72px 0 28px;
  color: #cfc5cc;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: #b8adb4; font-size: 0.92rem; transition: color .2s ease; }
.footer-grid a:hover { color: var(--gold); text-decoration: none; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 38px;
  background: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.footer-brand strong { font-family: var(--font-heading); color: #fff; font-size: 1.1rem; }
.footer-grid p { font-size: 0.92rem; margin-bottom: 0; color: #b8adb4; }
.footer-badges {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-badges img {
  height: 34px;
  background: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  color: #cfc5cc;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.footer-social a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  text-decoration: none;
}
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 4px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 13px 18px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: #93878f; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  border: none;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--pink), var(--gold-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .2s ease;
}
.newsletter-form button:hover { filter: brightness(1.1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #857a81;
}

/* Scroll reveal (progressive enhancement fallback when GSAP is unavailable) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wheel-mark.spin { animation: none; }
  .hero-scroll-cue span { animation: none; }
}

/* Join form */
.wrap-narrow { max-width: 720px; }

.join-form-section .wrap-narrow {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.form-progress {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
}
.form-progress li {
  position: relative;
  flex: 1;
  min-width: 90px;
  text-align: center;
  padding-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 3px solid var(--line);
}
.form-progress li.is-active {
  color: var(--pink);
  border-top-color: var(--pink);
}
.form-progress li.is-done {
  color: var(--ink);
  border-top-color: var(--gold);
}

.form-step { display: none; }
.form-step.is-active { display: block; }
.form-step-title {
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.field .req { color: var(--pink); }
.field input[type="text"],
.field input[type="date"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(214,0,111,0.1);
}

.form-note { font-size: 0.88rem; margin-bottom: 14px; }

.qr-image {
  width: 220px;
  max-width: 100%;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease;
}
.option:hover { border-color: var(--pink); }
.option input { margin-top: 3px; accent-color: var(--pink); flex-shrink: 0; }
.option:has(input:checked) {
  border-color: var(--pink);
  background: var(--paper-alt);
}

.form-error {
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
}

.form-review { margin-bottom: 20px; }
.review-list {
  margin: 0;
  border-top: 1px solid var(--line);
}
.review-list dt {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 12px 0 2px;
  border-bottom: 1px solid transparent;
}
.review-list dd {
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--pink);
  border-radius: var(--radius);
  background: var(--paper-alt);
}
.form-success h2 { color: var(--pink-dark); }
.form-success p { margin-bottom: 0; }

/* Responsive */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .bod-grid { grid-template-columns: repeat(2, 1fr); }
  .message-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .gallery-placeholder { column-count: 2; }
  .project-grid { grid-template-columns: 1fr; }
  .project-highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 10px 24px 20px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  nav.main-nav a.join { display: inline-block; }
  .stat-row { grid-template-columns: 1fr; }
  .contact-tiles { grid-template-columns: 1fr; }
  .letterhead img { max-height: 32px; max-width: 110px; }
  .letterhead { gap: 8px; }
  .letterhead-rule { height: 20px; }
  .form-progress li { font-size: 0.62rem; min-width: 60px; }
  .join-form-section .wrap-narrow { padding: 28px 20px; margin-top: -20px; }
  .bod-card--featured { padding: 24px; }
}

@media (max-width: 520px) {
  .bod-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .gallery-placeholder { column-count: 1; }
  .project-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .letterhead { gap: 8px; }
  .letterhead img { max-height: 26px; max-width: 78px; }
  .letterhead-rule { display: none; }
}

/* ─── Scroll-reveal CSS fallback (no-JS / no-GSAP) ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* will-change hints for smoother GPU compositing */
.card, .stat-card, .bod-card, .message-card,
.project-card, .project-highlight, .gallery-tile,
.contact-tile, .board-collage figure, .timeline-item {
  will-change: transform, opacity;
}

/* Smooth scroll for in-page anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
}

