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

:root {
  --ale: #4EA8DE;
  --ale-dark: #1B4F72;
  --stout: #080E1A;
  --foam: #E8F4FD;
  --chalk: #F0F8FF;
  --slate: #1E2D45;
  --hops: #2E86AB;
  --accent: #A8DAFF;
  --nav-h: 60px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lora', serif;
  background: var(--stout);
  color: var(--foam);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--ale)
}

/* ── NOISE TEXTURE overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: var(--nav-h);
  background: rgba(8, 14, 26, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(78, 168, 222, 0.25);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ale);
  letter-spacing: 0.02em;
  text-decoration: none;
  /* Prevent text overflow on small screens */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 56px);
}

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

.nav-links a {
  color: var(--foam);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  /* Ensure tappable area is big enough */
  padding: 0.5rem 0;
  display: block;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--ale);
}

/* ── PAGES ── */
.page {
  display: none;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ── HOME / HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 3rem 1.25rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(78, 168, 222, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(46, 134, 171, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, #080E1A 0%, #0D1B2E 50%, #080E1A 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border-radius: 50%;
  border: 1px solid rgba(78, 168, 222, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 4s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: min(620px, 130vw);
  height: min(620px, 130vw);
  border-radius: 50%;
  border: 1px solid rgba(78, 168, 222, 0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 4s ease-in-out infinite 1s;
}

@keyframes pulseRing {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  border: 1px solid var(--ale);
  color: var(--ale);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--foam);
  margin-bottom: 0.6rem;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--ale);
  display: block;
}

.hero-sub {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: var(--accent);
  max-width: 560px;
  margin: 1rem auto 2rem;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.3s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image box */
.image-box {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ale-dark) 0%, var(--stout) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(78, 168, 222, 0.25);
  gap: 0.5rem;
  color: rgba(232, 244, 253, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUp 0.7s ease 0.3s both;
}

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

.home-image {
  margin: 0 auto 1.5rem;
  max-width: 480px;
  width: 100%;
}

/* CTA buttons */
.cta-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.03em;
  /* Minimum touch target */
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ale);
  color: var(--stout);
  box-shadow: 0 4px 24px rgba(78, 168, 222, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(78, 168, 222, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--foam);
  border: 1px solid rgba(232, 244, 253, 0.4);
}

.btn-outline:hover {
  border-color: var(--foam);
}

/* Social links */
.social-strip {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp 0.8s ease 0.75s both;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(78, 168, 222, 0.3);
  border-radius: 999px;
  color: var(--foam);
  text-decoration: none;
  font-size: 0.83rem;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, background 0.2s;
  min-height: 44px;
}

.social-link:hover {
  border-color: var(--ale);
  background: rgba(78, 168, 222, 0.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--ale);
  flex-shrink: 0;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.feature-card {
  background: rgba(232, 244, 253, 0.04);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: rgba(78, 168, 222, 0.5);
  background: rgba(78, 168, 222, 0.06);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: block;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ale);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(232, 244, 253, 0.7);
}

/* ── EVENTS CALENDAR ── */
.calendar-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cal-btn {
  background: rgba(78, 168, 222, 0.15);
  border: 1px solid rgba(78, 168, 222, 0.4);
  color: var(--ale);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.cal-btn:hover {
  background: rgba(78, 168, 222, 0.3);
  border-color: var(--ale);
}

.cal-month-label {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 700;
  color: var(--foam);
  min-width: 160px;
  text-align: center;
}

.calendar-grid {
  background: rgba(232, 244, 253, 0.03);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
}

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(78, 168, 222, 0.1);
  border-bottom: 1px solid rgba(78, 168, 222, 0.2);
}

.cal-day-name {
  text-align: center;
  padding: 0.6rem 0;
  font-size: clamp(0.6rem, 1.8vw, 0.75rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ale);
  font-weight: 600;
}

.cal-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-cell {
  min-height: 70px;
  border-right: 1px solid rgba(78, 168, 222, 0.1);
  border-bottom: 1px solid rgba(78, 168, 222, 0.1);
  padding: 0.4rem;
  position: relative;
  transition: background 0.15s;
}

.cal-cell:nth-child(7n) {
  border-right: none;
}

.cal-cell.other-month .cal-date {
  opacity: 0.25;
}

.cal-cell.today {
  background: rgba(78, 168, 222, 0.08);
}

.cal-cell.today .cal-date {
  background: var(--ale);
  color: var(--stout);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cal-date {
  font-size: 0.85rem;
  color: var(--foam);
  margin-bottom: 0.3rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-event {
  background: rgba(78, 168, 222, 0.25);
  border-left: 2px solid var(--ale);
  border-radius: 3px;
  padding: 0.2rem 0.35rem;
  font-size: 0.65rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s;
  line-height: 1.3;
}

.cal-event:hover {
  background: rgba(78, 168, 222, 0.4);
}

/* Event list below calendar */
.events-list {
  margin-top: 2.5rem;
}

.events-list h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--ale);
  margin-bottom: 1rem;
}

.event-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(232, 244, 253, 0.04);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.event-item:hover {
  border-color: rgba(78, 168, 222, 0.5);
  background: rgba(78, 168, 222, 0.06);
}

.event-date-badge {
  background: rgba(78, 168, 222, 0.15);
  border: 1px solid rgba(78, 168, 222, 0.35);
  border-radius: 0.5rem;
  text-align: center;
  padding: 0.4rem 0.7rem;
  min-width: 54px;
  flex-shrink: 0;
}

.event-date-badge .badge-day {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ale);
  line-height: 1;
}

.event-date-badge .badge-mon {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 244, 253, 0.6);
}

.event-info {
  flex: 1;
  min-width: 0;
  /* prevent flex overflow */
}

.event-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--foam);
  margin-bottom: 0.2rem;
}

.event-info p {
  font-size: 0.83rem;
  color: rgba(232, 244, 253, 0.6);
  line-height: 1.5;
}

.event-info .event-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--ale);
  flex-wrap: wrap;
}

/* Event detail modal */
.event-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 26, 0.85);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.event-modal-overlay.open {
  display: flex;
}

.event-modal {
  background: var(--slate);
  border: 1px solid rgba(78, 168, 222, 0.4);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  /* Prevent modal being taller than screen */
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}

.event-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--ale);
  margin-bottom: 0.75rem;
  padding-right: 2rem;
  /* space for close button */
}

.event-modal p {
  font-size: 0.9rem;
  color: rgba(232, 244, 253, 0.75);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--foam);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  /* Good touch target */
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  opacity: 1;
}

/* ── ABOUT ── */
.about-hero {
  background: linear-gradient(180deg, rgba(78, 168, 222, 0.12) 0%, transparent 60%);
  padding: 4rem 1.25rem 2.5rem;
  text-align: center;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  color: var(--foam);
}

.page-title em {
  font-style: italic;
  color: var(--ale);
}

.page-subtitle {
  max-width: 600px;
  margin: 1rem auto 0;
  color: rgba(232, 244, 253, 0.65);
  line-height: 1.7;
  font-size: 0.97rem;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--ale);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(232, 244, 253, 0.8);
  margin-bottom: 1.2rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 168, 222, 0.3), transparent);
  margin: 2rem auto;
  max-width: 900px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.team-card {
  text-align: center;
  background: rgba(232, 244, 253, 0.04);
  border: 1px solid rgba(78, 168, 222, 0.18);
  border-radius: 0.75rem;
  padding: 1.8rem 1rem;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ale-dark), var(--hops));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  border: 2px solid rgba(78, 168, 222, 0.3);
}

.team-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--foam);
  margin-bottom: 0.2rem;
}

.team-card p {
  font-size: 0.8rem;
  color: rgba(232, 244, 253, 0.5);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(78, 168, 222, 0.08);
  border-radius: 0.5rem;
  border: 1px solid rgba(78, 168, 222, 0.2);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--ale);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(232, 244, 253, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  display: block;
}

/* ── FAQ ── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.faq-item {
  border-bottom: 1px solid rgba(78, 168, 222, 0.2);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--foam);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
  line-height: 1.4;
  /* Good touch target */
  min-height: 48px;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s;
  color: var(--ale);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding-bottom: 1.4rem;
  color: rgba(232, 244, 253, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-a-inner a {
  color: var(--ale);
}

/* ── FOOTER ── */
footer {
  background: rgba(8, 14, 26, 0.8);
  border-top: 1px solid rgba(78, 168, 222, 0.2);
  padding: 2.5rem 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(232, 244, 253, 0.4);
}

footer strong {
  color: var(--ale);
}

/* ── DONATE BANNER ── */
.donate-banner {
  background: linear-gradient(90deg, var(--ale-dark), #1A6FA8, var(--ale-dark));
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.donate-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.donate-banner p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

/* Section heading */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--ale);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(78, 168, 222, 0.25);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  /* Good touch target */
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

/* ════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* On mobile, image in the about section shows above text */
  .about-image {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
  }

  /* Nav: show hamburger, hide links */
  .hamburger {
    display: flex;
  }

  nav {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 0.9rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 14, 26, 0.98);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(78, 168, 222, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(78, 168, 222, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    padding: 1rem 0;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    padding: 2rem 1rem 2.5rem;
    min-height: calc(100svh - var(--nav-h));
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
  }

  /* Feature cards: single column on narrow mobile */
  .features {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 3rem;
    gap: 1rem;
  }

  /* Calendar: compact cells */
  .cal-cell {
    min-height: 50px;
    padding: 0.3rem;
  }

  .cal-date {
    font-size: 0.78rem;
    width: 22px;
    height: 22px;
  }

  .cal-cell.today .cal-date {
    width: 22px;
    height: 22px;
  }

  /* Hide event text inside calendar cells; show dot indicator instead */
  .cal-event {
    display: none;
  }

  .cal-cell.has-event::after {
    content: '●';
    color: var(--ale);
    font-size: 0.45rem;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
  }

  .cal-month-label {
    min-width: 130px;
    font-size: 1.1rem;
  }

  /* Events list: stack info tighter */
  .event-item {
    padding: 0.85rem 0.9rem;
  }

  .event-info h4 {
    font-size: 0.95rem;
  }

  /* Stats: 2 cols on mobile */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team: 2 columns */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem 3rem;
  }

  /* About section */
  .about-hero {
    padding: 3rem 1rem 2rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  /* FAQ */
  .faq-list {
    padding: 1rem 1rem 3rem;
  }

  .faq-q {
    font-size: 0.95rem;
  }

  /* Buttons full-width on very small screens */
  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Social strip: wrap nicely */
  .social-strip {
    gap: 0.5rem;
    margin-top: 2rem;
  }
}

/* ── Very small phones ── */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .cal-btn {
    width: 38px;
    height: 38px;
  }
}

/* ── Large screens ── */
@media (min-width: 1024px) {
  nav {
    padding: 0 3rem;
  }

  .nav-logo {
    font-size: 1.3rem;
  }
}

/* ══════════════════════════════════
   NEWS PAGE
══════════════════════════════════ */

/* ── Tag pills ── */
.news-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(78, 168, 222, 0.18);
  border: 1px solid rgba(78, 168, 222, 0.45);
  color: var(--ale);
  white-space: nowrap;
}

.news-tag--event {
  background: rgba(168, 218, 100, 0.12);
  border-color: rgba(168, 218, 100, 0.4);
  color: #a8da64;
}

.news-tag--community {
  background: rgba(255, 184, 90, 0.12);
  border-color: rgba(255, 184, 90, 0.4);
  color: #ffb85a;
}

.news-tag--press {
  background: rgba(200, 130, 255, 0.12);
  border-color: rgba(200, 130, 255, 0.4);
  color: #c882ff;
}

/* ── Featured article ── */
.news-featured-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
}

.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: rgba(232, 244, 253, 0.04);
  border: 1px solid rgba(78, 168, 222, 0.25);
  border-radius: 1rem;
  overflow: hidden;
  padding: 2rem;
}

.news-featured-img {
  border-radius: 0.6rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ale-dark), var(--stout));
  border: 1px solid rgba(78, 168, 222, 0.2);
}

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

.news-featured-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-featured-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 900;
  color: var(--foam);
  line-height: 1.3;
}

/* ── Shared article text styles ── */
.news-excerpt {
  font-size: 0.93rem;
  color: rgba(232, 244, 253, 0.7);
  line-height: 1.75;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(232, 244, 253, 0.45);
}

.news-date {
  font-size: 0.75rem;
  color: rgba(232, 244, 253, 0.45);
}

.news-author {
  font-size: 0.75rem;
  color: rgba(232, 244, 253, 0.45);
}

/* ── Expandable full text ── */
.news-full-text {
  display: none;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(78, 168, 222, 0.15);
  padding-top: 1rem;
}

.news-full-text.open {
  display: block;
}

.news-full-text p {
  font-size: 0.93rem;
  color: rgba(232, 244, 253, 0.72);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.news-full-text p:last-child {
  margin-bottom: 0;
}

/* Featured "read more" button */
.news-read-more {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
}

/* ── News grid ── */
.news-grid-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
}

.news-card {
  background: rgba(232, 244, 253, 0.04);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.news-card:hover {
  border-color: rgba(78, 168, 222, 0.45);
  background: rgba(78, 168, 222, 0.05);
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.98rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: var(--foam);
  line-height: 1.35;
}

.news-expand-btn {
  background: none;
  border: none;
  color: var(--ale);
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  align-self: flex-start;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-expand-btn:hover {
  opacity: 0.75;
}

.news-expand-btn span {
  display: inline-block;
  transition: transform 0.25s;
}

.news-expand-btn.expanded span {
  transform: rotate(180deg);
}

/* ── Responsive news ── */
@media (max-width: 700px) {
  .news-featured {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .news-featured-img {
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .news-featured-wrap,
  .news-grid-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


/* ── CONSISTENT PAGE ANIMATIONS ── */
.page.active .about-hero,
.page.active .calendar-section,
.page.active .news-featured-wrap,
.page.active .news-grid-wrap,
.page.active .faq-list,
.page.active .section,
.page.active .donate-banner,
.page.active .features,
.page.active .divider {
  animation: fadeUp 0.8s ease both;
}

.page.active .page-title {
  animation: fadeUp 0.8s ease 0.1s both;
}

.page.active .page-subtitle {
  animation: fadeUp 0.8s ease 0.2s both;
}

.page.active .event-item,
.page.active .news-card,
.page.active .faq-item,
.page.active .feature-card,
.page.active .stat,
.page.active .image-box {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.page.active .event-item:nth-child(1),
.page.active .news-card:nth-child(1),
.page.active .faq-item:nth-child(1),
.page.active .feature-card:nth-child(1),
.page.active .stat:nth-child(1) {
  animation-delay: 0.1s;
}

.page.active .event-item:nth-child(2),
.page.active .news-card:nth-child(2),
.page.active .faq-item:nth-child(2),
.page.active .feature-card:nth-child(2),
.page.active .stat:nth-child(2) {
  animation-delay: 0.2s;
}

.page.active .event-item:nth-child(3),
.page.active .news-card:nth-child(3),
.page.active .faq-item:nth-child(3),
.page.active .feature-card:nth-child(3),
.page.active .stat:nth-child(3) {
  animation-delay: 0.3s;
}

.page.active .event-item:nth-child(4),
.page.active .news-card:nth-child(4),
.page.active .faq-item:nth-child(4),
.page.active .feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
