/* ============================================
   CSS Custom Properties
   ============================================ */

:root {
  --lxa-purple: #52237F;
  --lxa-green: #006B3F;
  --lxa-gold: #DAA520;
  --depauw-black: #1a1a1a;
  --depauw-gold: #CFB53B;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --text-color: #2c2c2c;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);

  --font-base: 16px;
  --font-sm: 0.875rem;
  --font-md: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.375rem;
  --font-2xl: 1.75rem;
  --font-3xl: 2.5rem;
  --font-hero: 4rem;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --section-padding: 56px;
  --nav-height: 70px;
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 44px;
  }
}

@media (max-width: 768px) {
  :root {
    --font-base: 17px;
    --section-padding: 32px;
    --nav-height: 64px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-base: 17px;
    --section-padding: 24px;
  }
}

/* ============================================
   Global Styles & Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-base);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--white);
}

img {
  max-width: 100%;
}

section {
  padding: var(--section-padding) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--lxa-purple);
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--lxa-gold);
  margin: 15px auto 0;
}

section h2 + p,
.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1.1rem;
}

/* ============================================
   Navigation
   ============================================ */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--depauw-black);
  transition: background 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  color: var(--lxa-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 45px;
  width: auto;
}

.nav-logo span {
  font-size: 1.15rem;
  color: var(--white);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lxa-gold);
  transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--lxa-gold);
}

/* Hamburger Menu */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
  position: relative;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Nav Scrolled State */

.nav-scrolled {
  background: rgba(26, 26, 26, 0.95);
  box-shadow: var(--shadow);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 700px 550px at 50% 30%, var(--lxa-purple) 0%, rgba(82, 35, 127, 0) 70%),
    linear-gradient(135deg, var(--lxa-purple) 0%, #2D1247 50%, var(--depauw-black) 100%);
  color: white;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 40px 20px;
}

.hero-emblem img {
  width: 290px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 25px rgba(82, 35, 127, 0.55));
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h2 {
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--lxa-gold);
}

.hero h2::after {
  display: none;
}

.hero h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 30px;
  opacity: 1;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--lxa-gold);
  color: var(--depauw-black);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #c4951a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   About Section
   ============================================ */

.about {
  background: var(--light-gray);
}

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

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text h3 {
  color: var(--lxa-purple);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

.about-list li::before {
  content: '\2022';
  color: var(--lxa-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.depauw-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--depauw-gold);
}

.depauw-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.depauw-card-logo {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.depauw-card h3 {
  color: var(--depauw-black);
  margin: 0;
}

.depauw-card .info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--medium-gray);
}

.depauw-card .info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--dark-gray);
}

.info-value {
  color: #666;
}

.depauw-note {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--depauw-gold);
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
}

/* ============================================
   Timeline Section
   ============================================ */

.timeline-section {
  background: white;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--lxa-purple);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 60px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--lxa-gold);
  border: 3px solid var(--lxa-purple);
  border-radius: 50%;
  top: 30px;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-content {
  background: var(--light-gray);
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  color: var(--lxa-purple);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: #555;
  line-height: 1.6;
}

/* ============================================
   Leadership Section
   ============================================ */

.leadership {
  background: var(--light-gray);
}

.get-involved {
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}

.get-involved h3 {
  color: var(--lxa-purple);
  margin-bottom: 15px;
}

.get-involved .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--lxa-gold);
  color: var(--depauw-black);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.get-involved .cta-button:hover {
  background: #c4951a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Mission Section
   ============================================ */

.mission {
  background: white;
  padding-bottom: calc(var(--section-padding) / 2);
}

.mission .section-subtitle {
  margin-bottom: 0;
}

.mission-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.mission-cta p {
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   Strategic Pillars Section
   ============================================ */

.strategic-pillars {
  background: var(--light-gray);
  padding-top: calc(var(--section-padding) / 2);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar-card {
  background: white;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  border-top: 4px solid var(--lxa-purple);
  transition: transform 0.3s;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pillar-card h3 {
  color: var(--lxa-purple);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.pillar-card p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

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

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ============================================
   Leadership Section — Officers & Members Grid
   ============================================ */

.roster-heading {
  text-align: center;
  color: var(--lxa-purple);
  font-size: 1.5rem;
  margin: 40px 0 20px;
  position: relative;
}

.roster-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--lxa-gold);
  margin: 10px auto 0;
}

/* Leadership mailto link wrappers */

.officer-card-link,
.member-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 0 0 200px;
  max-width: 200px;
}

.email-instruction {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Officer Cards (larger, with role) */

.officers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 700px;
  margin: 0 auto 20px;
}

.members-grid.members-grid--narrow {
  max-width: 700px;
}

.officer-card {
  background: white;
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  height: 100%;
}

.officer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.officer-card--president {
  box-shadow: inset 0 4px 0 0 var(--lxa-gold), var(--shadow);
}

.officer-card--president:hover {
  box-shadow: inset 0 4px 0 0 var(--lxa-gold), var(--shadow-lg);
}

.officer-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lxa-purple), #2D1247);
  position: relative;
}

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

.officer-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
}

.officer-info h4 {
  color: var(--lxa-purple);
  font-size: 1rem;
  margin-bottom: 4px;
}

.officer-role {
  color: var(--lxa-gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2px;
  min-height: 2.5em;
  line-height: 1.25;
}

.officer-class {
  color: #888;
  font-size: 0.9rem;
}

/* Member Cards (compact) */

.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.member-card {
  background: white;
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  height: 100%;
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.member-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lxa-purple), #2D1247);
  position: relative;
}

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

.member-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
}

.member-card h4 {
  color: var(--dark-gray);
  font-size: 1rem;
  margin-bottom: 3px;
}

.member-class {
  color: #888;
  font-size: 0.9rem;
}

/* ============================================
   Timeline — Future Entry
   ============================================ */

.timeline-content--future {
  background: linear-gradient(135deg, var(--lxa-purple), #2D1247);
  color: white;
}

.timeline-content--future h3 {
  color: var(--lxa-gold);
}

.timeline-content--future p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Events Section
   ============================================ */

.events {
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.event-card--featured {
  border-left: 4px solid var(--lxa-gold);
}

.event-date-badge {
  background: var(--lxa-purple);
  color: white;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  min-width: 70px;
  flex-shrink: 0;
}

.event-month {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.event-day {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.event-details h3 {
  color: var(--lxa-purple);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.event-location {
  color: var(--lxa-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.event-details p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.event-rsvp {
  display: inline-block;
  color: var(--lxa-purple);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.event-rsvp:hover {
  color: var(--lxa-green);
}

/* ============================================
   Chapter Memories (Photo Gallery)
   ============================================ */

.gallery-section {
  background: var(--light-gray);
}

.gallery-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  outline: none;
}

.gallery-carousel:focus-visible {
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.5);
  border-radius: 8px;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 480px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  color: #fff;
  text-align: center;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.4;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(82, 35, 127, 0.85);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  font-family: Georgia, serif;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: var(--lxa-purple);
  transform: translateY(-50%) scale(1.08);
  outline: none;
}

.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.gallery-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--medium-gray);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gallery-dot:hover,
.gallery-dot:focus-visible {
  background: var(--lxa-purple);
  outline: none;
}

.gallery-dot.is-active {
  background: var(--lxa-gold);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .gallery-track { height: 360px; }
  .gallery-arrow { width: 38px; height: 38px; font-size: 1.5rem; }
  .gallery-arrow--prev { left: 8px; }
  .gallery-arrow--next { right: 8px; }
  .gallery-caption { padding: 10px 48px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .gallery-track { height: 260px; }
  .gallery-arrow { width: 34px; height: 34px; font-size: 1.3rem; }
  .gallery-caption { padding: 8px 40px; font-size: 0.85rem; }
}

/* ============================================
   Standalone Story Page
   ============================================ */

.story-page {
  padding: 100px 0 60px;
  background: white;
}

.story-backlink {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--lxa-purple);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.story-backlink:hover,
.story-backlink:focus-visible {
  color: var(--lxa-gold);
  outline: none;
}

.story-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.story-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--lxa-purple);
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.story-author {
  color: #666;
  font-size: 1.05rem;
  font-style: italic;
  margin: 0;
}

.story-quote {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 30px 35px;
  background: var(--light-gray);
  border-left: 4px solid var(--lxa-purple);
  border-radius: 8px;
  font-style: italic;
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
}

.story-quote p {
  margin: 0;
}

.story-quote p + p {
  margin-top: 1em;
}

.story-caption {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #444;
  line-height: 1.7;
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .story-page { padding: 80px 0 40px; }
  .story-header h1 { font-size: 1.8rem; }
  .story-quote { padding: 22px 20px; font-size: 1rem; }
}

/* ============================================
   Scholarship Section
   ============================================ */

.scholarship {
  background: linear-gradient(135deg, #FFFAF0 0%, #FFF8E7 100%);
  border-top: 4px solid var(--lxa-gold);
  border-bottom: 4px solid var(--lxa-gold);
  text-align: center;
}

.scholarship h2 {
  color: var(--lxa-purple);
}

.scholarship .section-subtitle {
  max-width: 750px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  color: #333;
}

.scholarship-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.scholarship-link {
  color: var(--lxa-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.scholarship-link:hover {
  color: var(--lxa-gold);
}

/* ============================================
   Donate Section
   ============================================ */

.donate {
  background: var(--light-gray);
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.donate-card {
  background: white;
  border-radius: 8px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.donate-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.donate-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.donate-card h3 {
  color: var(--lxa-purple);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.donate-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.donate-note {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}

.donate-card .cta-button {
  margin-top: 10px;
}

/* Giving Tiers */

.giving-tiers {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.giving-tier {
  padding: 12px 0;
  border-bottom: 1px solid var(--medium-gray);
}

.giving-tier:last-child {
  border-bottom: none;
}

.giving-tier--selectable {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 6px;
  background: white;
  border: 2px solid var(--medium-gray);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
  outline: none;
}

.giving-tier--selectable:last-child {
  margin-bottom: 0;
  border-bottom: 2px solid var(--medium-gray);
}

.giving-tier--selectable:hover {
  background-color: rgba(82, 35, 127, 0.06);
  border-color: var(--lxa-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.giving-tier--selectable:focus-visible {
  border-color: var(--lxa-purple);
  box-shadow: 0 0 0 3px rgba(82, 35, 127, 0.25);
}

.giving-tier--selected {
  background-color: rgba(218, 165, 32, 0.14);
  border-color: var(--lxa-gold);
  box-shadow: 0 2px 6px rgba(218, 165, 32, 0.25);
}

.giving-tier--selected::after {
  content: "\2713";
  color: var(--lxa-gold);
  font-weight: 700;
  margin-left: auto;
  float: none;
}

.tier-select-hint {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin: 0 0 12px;
  text-align: left;
}

.tier-amount {
  font-weight: 700;
  color: var(--lxa-gold);
  display: inline-block;
  min-width: 56px;
}

.tier-desc {
  font-size: 0.9rem;
  color: #666;
  display: inline;
}

.giving-details {
  text-align: left;
  padding-left: 1.2em;
  margin: 10px 0 20px;
}

.giving-details li {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ============================================
   Values Section
   ============================================ */

.values {
  background: linear-gradient(135deg, var(--lxa-purple) 0%, #2D1247 100%);
  color: white;
}

.values h2 {
  color: white;
}

.values h2::after {
  background: var(--lxa-gold);
}

.creed-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto 40px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.creed-card h3 {
  color: var(--lxa-gold);
  margin-bottom: 20px;
  text-align: center;
}

.creed-card blockquote {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  border-left: 3px solid var(--lxa-gold);
  padding-left: 20px;
}

.motto {
  text-align: center;
  margin-bottom: 40px;
}

.motto h3 {
  font-size: 2.5rem;
  color: var(--lxa-gold);
  margin-bottom: 5px;
  letter-spacing: 3px;
}

.motto-translation {
  font-size: 1.3rem;
  opacity: 0.85;
  font-style: italic;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--lxa-gold);
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: white;
}

.value-card p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.55;
}

/* ============================================
   Stories Teaser Section
   ============================================ */

.stories-teaser {
  background: white;
}

.stories-teaser-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.stories-teaser-content > p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.testimonial-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 30px 25px;
  border-left: 4px solid var(--lxa-purple);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--lxa-purple);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: #444;
  line-height: 1.8;
  margin: 0 0 12px;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-author {
  color: var(--lxa-purple);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
}

.testimonial-readmore {
  display: inline-block;
  margin-top: 10px;
  color: var(--lxa-purple);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.testimonial-readmore:hover,
.testimonial-readmore:focus-visible {
  color: var(--lxa-gold);
  transform: translateX(2px);
  outline: none;
}

.stories-teaser-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button--outline {
  background: transparent;
  color: var(--lxa-purple);
  border: 2px solid var(--lxa-purple);
}

.cta-button--outline:hover {
  background: var(--lxa-purple);
  color: white;
}

/* ============================================
   Connect Section
   ============================================ */

.connect {
  background: var(--light-gray);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.alumni-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.alumni-form h3 {
  color: var(--lxa-purple);
  margin-bottom: 10px;
}

.alumni-form > p {
  color: #666;
  margin-bottom: 25px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--lxa-purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--lxa-purple);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #3a0066;
  transform: translateY(-1px);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Connect Sidebar */

.connect-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  color: var(--lxa-purple);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.sidebar-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
}

.newsletter-form button {
  padding: 10px 20px;
  background: var(--lxa-green);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #005a35;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card ul li {
  margin-bottom: 10px;
}

.sidebar-card ul li a {
  color: var(--lxa-purple);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card ul li a::before {
  content: '\2192';
}

.sidebar-card ul li a:hover {
  color: var(--lxa-green);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--lxa-purple);
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--lxa-purple);
  margin-bottom: 15px;
}

.contact-card p {
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-card a {
  color: var(--lxa-purple);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--lxa-green);
}

/* ============================================
   Footer
   ============================================ */

footer {
  background: var(--depauw-black);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-emblem img {
  width: 60px;
  height: auto;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-motto {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--lxa-gold);
  margin-bottom: 10px;
}

.footer-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  margin-top: 15px;
  font-style: italic;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive: Large Desktop (min-width: 1400px)
   ============================================ */

@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }

  .hero-emblem img {
    width: 340px;
    height: auto;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .nav-container {
    padding: 18px 40px;
  }

  .nav-links {
    gap: 35px;
  }

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

  .timeline {
    max-width: 1000px;
  }

  .contact-grid {
    max-width: 1100px;
  }
}

/* ============================================
   Responsive: Tablet Landscape / Small Laptop
   (769px – 1024px)
   ============================================ */

@media (max-width: 1024px) and (min-width: 769px) {
  .container {
    max-width: 92%;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.7rem;
  }
}

/* ============================================
   Responsive: Tablet (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #111111;
    flex-direction: column;
    padding: calc(var(--nav-height) + 16px) 24px 30px;
    gap: 12px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  /* Overlay behind mobile nav */
  .nav-links.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .nav-links li a {
    font-size: 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  section h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--nav-height) + 24px) 16px 48px;
  }

  .hero-content {
    padding: 20px 15px;
  }

  .hero-emblem img {
    width: 240px;
    height: auto;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .hero h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .hero h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-text p {
    font-size: 1rem;
  }

  .depauw-card {
    padding: 25px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    text-align: left !important;
    padding-left: 50px !important;
    padding-right: 15px !important;
  }

  .timeline-item::before {
    left: 12px !important;
    right: auto !important;
  }

  .timeline-content {
    padding: 18px 20px;
  }

  .timeline-content h3 {
    font-size: 1.3rem;
  }

  .officers-grid,
  .members-grid {
    gap: 15px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .donate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .testimonial-card {
    padding: var(--space-md) var(--space-sm);
  }

  .get-involved {
    padding: 30px 20px;
  }

  .creed-card {
    padding: 25px 20px;
  }

  .creed-card blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .alumni-form {
    padding: 25px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 25px 20px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .value-card {
    padding: 20px 15px;
  }

  footer {
    padding: 30px 0;
  }
}

/* ============================================
   Responsive: Mobile (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .hero h3 {
    font-size: 1.3rem;
  }

  .hero-emblem img {
    width: 200px;
    height: auto;
    margin-bottom: 18px;
  }

  .cta-button {
    padding: 14px 25px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    min-height: 48px;
  }

  .about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .about-text h3 {
    font-size: 1.1rem;
  }

  .about-list li {
    font-size: 0.95rem;
  }

  .giving-tiers {
    margin: 15px 0;
  }

  .giving-tier {
    padding: 10px 0;
  }

  .giving-tier--selectable {
    padding: 12px 16px;
    margin-bottom: 6px;
    min-height: 48px;
  }

  .tier-amount {
    min-width: 48px;
    font-size: 0.9rem;
  }

  .tier-desc {
    font-size: 0.85rem;
  }

  .depauw-card .info-item {
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }

  .motto h3 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .motto-translation {
    font-size: 1.1rem;
  }

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

  .value-card h4 {
    font-size: 1rem;
  }

  .value-card p {
    font-size: 1rem;
  }

  .officers-grid,
  .members-grid {
    gap: 10px;
  }

  .officer-card-link,
  .member-card-link {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .officer-card,
  .member-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-align: left;
    min-height: auto;
  }

  .member-card {
    grid-template-areas:
      "photo name"
      "photo class";
  }

  .member-card .member-photo { grid-area: photo; }
  .member-card h4 { grid-area: name; align-self: end; }
  .member-card .member-class { grid-area: class; align-self: start; }

  .officer-photo,
  .member-photo {
    width: 56px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
  }

  .officer-photo-placeholder,
  .member-photo-placeholder {
    font-size: 0.85rem;
  }

  .officer-info,
  .officer-info h4,
  .member-card h4,
  .member-class,
  .officer-class,
  .officer-role {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .officer-info h4,
  .member-card h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .officer-role {
    font-size: 0.8rem;
    min-height: 0;
    margin-bottom: 1px;
    line-height: 1.2;
  }

  .officer-class,
  .member-class {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .officer-card--president {
    box-shadow: inset 4px 0 0 0 var(--lxa-gold), var(--shadow);
  }

  .event-card {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .event-date-badge {
    align-self: flex-start;
  }

  .donate-card {
    padding: 25px 20px;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .submit-btn {
    padding: 14px;
    font-size: 1rem;
    min-height: 48px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    padding: 10px 12px;
    font-size: 16px;
  }

  .newsletter-form button {
    padding: 12px 20px;
  }

  .sidebar-card {
    padding: 20px 15px;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-card p {
    font-size: 1rem;
  }

  .footer-motto {
    font-size: 1rem;
  }

  .footer-info {
    font-size: 0.95rem;
  }

  .footer-tagline {
    font-size: 0.95rem;
  }

  .event-month {
    font-size: 0.95rem;
  }

  .testimonial-card blockquote {
    font-size: 1.05rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .get-involved .cta-button {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   Touch device & accessibility improvements
   ============================================ */

@media (hover: none) {
  .timeline-content:hover,
  .contact-card:hover,
  .value-card:hover,
  .pillar-card:hover,
  .officer-card:hover,
  .member-card:hover,
  .event-card:hover,
  .donate-card:hover,
  .testimonial-card:hover {
    transform: none;
  }
}

/* Ensure tap targets are large enough on touch */
@media (max-width: 768px) {
  .nav-links li a {
    padding: 8px 0;
    min-height: 44px;
  }

  .sidebar-card ul li {
    margin-bottom: 14px;
  }

  .sidebar-card ul li a {
    padding: 4px 0;
    font-size: 1rem;
  }
}
