/* ==========================================================================
   Amplify @ Michigan State University
   Clean Editorial Design with Colorful Backgrounds & Subtle Dot Texture
   ========================================================================== */

:root {
  --sage: #4e7368;
  --sage-deep: #3b5a51;
  --sage-light: #dbe9e3;
  --sage-tint: #edf5f2;
  
  --plum: #422668;
  --plum-deep: #25143d;
  --lavender: #b0a4e3;
  --lavender-light: #e5def8;
  --lavender-soft: #f1edfb;
  
  --bg-main: #fcfbf9;
  --surface: #ffffff;
  --surface-alt: #f6f4f0;
  
  --ink: #1e1b24;
  --ink-soft: #5b5568;
  --border: rgba(66, 38, 104, 0.1);
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 12px rgba(40, 20, 70, 0.04);
  --shadow-md: 0 14px 34px rgba(40, 20, 70, 0.07);
  --shadow-lg: 0 20px 48px rgba(40, 20, 70, 0.1);
  
  --container: min(92vw, 1240px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: var(--ink);
  background: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  width: 100%;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  color: var(--plum);
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.15rem; }

p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.12rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  max-width: 58ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 28px;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--plum);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(66, 38, 104, 0.25);
}
.btn-primary:hover {
  background: var(--plum-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 38, 104, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(66, 38, 104, 0.25);
  color: var(--plum);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #ffffff;
  border-color: var(--plum);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--plum);
}

.brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
}

.nav-links a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--plum); }

.nav-cta { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--plum);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Page Section Shell ---------- */

.page-section {
  display: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.page-section.is-active {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(50px, 8vh, 90px) 0;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 6vh, 56px);
}
.section-head .lede { margin: 12px auto 0; }
.page-section .wrap { position: relative; z-index: 1; }

/* Subtle, upscale dot matrix texture shared across themed sections */
.page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(66, 38, 104, 0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow highlights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ==========================================================================
   COLORFUL THEMED BACKGROUNDS (NO STRIPES OR WIREFRAMES)
   ========================================================================== */

/* 1. Hero: Soft Dual Lavender & Sage Aurora */
.hero {
  background: radial-gradient(circle at 15% 25%, #ded8f6 0%, transparent 50%),
              radial-gradient(circle at 85% 75%, #d5e7df 0%, transparent 50%),
              #fbf9f6;
}
.glow-hero-1 { width: 550px; height: 550px; background: #c2b6f4; top: -140px; right: -80px; }
.glow-hero-2 { width: 500px; height: 500px; background: #b8ded0; bottom: -140px; left: -80px; }

/* 2. About: Pastel Sage / Matcha Wash */
.section-about {
  background: linear-gradient(135deg, #e3ede7 0%, #f2f7f4 50%, #e8f0ec 100%);
}
.glow-about { width: 450px; height: 450px; background: rgba(176, 164, 227, 0.35); top: -100px; left: -80px; }

/* 3. What We Do: Warm Lilac & Lavender Tint */
.section-whatwedo {
  background: linear-gradient(135deg, #ece6f8 0%, #f7f3fd 50%, #efe9f8 100%);
  border-top: 1px solid rgba(66, 38, 104, 0.06);
  border-bottom: 1px solid rgba(66, 38, 104, 0.06);
}
.glow-whatwedo { width: 450px; height: 450px; background: #dcd0f7; bottom: -100px; right: -80px; }

/* 4. Schedule: Lavender to Sage Transitional Wash */
.section-calendar {
  background: radial-gradient(circle at 85% 20%, #d8eae2 0%, transparent 50%),
              radial-gradient(circle at 15% 80%, #e6def8 0%, transparent 50%),
              #f5f2fa;
}
.glow-calendar { width: 500px; height: 500px; background: #cce4db; bottom: -120px; right: -80px; }

/* 5. Board: Studio Matcha & Dot Matrix */
.section-board {
  background: linear-gradient(135deg, #eaf2ee 0%, #f7fbf9 50%, #eef0fa 100%);
}
.glow-board { width: 450px; height: 450px; background: rgba(176, 164, 227, 0.3); top: -80px; right: -80px; }

/* 6. Podcast: Radiant Lilac Aura */
.section-podcast {
  background: radial-gradient(circle at 50% 50%, #e9e1fa 0%, #f6f2fc 50%, #edf6f2 100%);
}
.glow-podcast { width: 550px; height: 550px; background: #ded2f8; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* 7. Eligibility: Sage & Lilac Blend */
.section-faq {
  background: linear-gradient(135deg, #e4ece8 0%, #f4f6f4 50%, #ebe5f6 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.glow-faq { width: 520px; height: 520px; background: rgba(176, 164, 227, 0.3); top: 15%; right: -100px; }

/* 8. Join / Contact: Warm Lavender-Cream Base */
.section-join {
  background: linear-gradient(135deg, #f2ecf8 0%, #fbf9fd 50%, #ebf4f0 100%);
}
.glow-join { width: 480px; height: 480px; background: #cce4db; bottom: -100px; left: -80px; }

/* ---------- Hero Visual (Pure White Logo Frame) ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 32px 0 44px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(66, 38, 104, 0.12);
  padding-top: 24px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--plum);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero-logo-wrapper {
  background: #ffffff;
  border: 1px solid rgba(66, 38, 104, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 18px 44px -10px rgba(66, 38, 104, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.hero-logo-large {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  background-color: transparent;
}

/* ---------- Why Cards (About) ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.why-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(78, 115, 104, 0.15);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--lavender-light);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

/* ---------- Offer Rows (What We Do) ---------- */

.offer-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(66, 38, 104, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.2s var(--ease);
}

.offer-row:hover { transform: translateX(6px); background: #ffffff; }

.offer-index {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  padding-top: 4px;
}

.offer-body h3 { font-size: 1.25rem; }
.offer-body p { margin-bottom: 0; font-size: 0.98rem; }

/* ---------- Schedule Section ---------- */

.schedule-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(66, 38, 104, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: var(--lavender-soft);
  border-bottom: 1px solid rgba(66, 38, 104, 0.08);
  font-size: 0.95rem;
  flex-wrap: wrap;
  gap: 12px;
}

.schedule-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--plum);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(78, 115, 104, 0.2);
}

.cal-sync-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage-deep);
  font-weight: 700;
  font-size: 0.9rem;
}
.cal-sync-link:hover { text-decoration: underline; }

.schedule-list { display: flex; flex-direction: column; }

.event-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.2s ease;
}

.event-card:last-child { border-bottom: none; }
.event-card:hover { background: rgba(66, 38, 104, 0.02); }

.event-date {
  text-align: center;
  background: var(--sage-tint);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  border: 1px solid rgba(78, 115, 104, 0.15);
}

.date-month {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage-deep);
  letter-spacing: 0.05em;
}

.date-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.1;
}

.event-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(66, 38, 104, 0.08);
  color: var(--plum);
  margin-bottom: 6px;
}

.event-tag.workshop { background: var(--sage-light); color: var(--sage-deep); }
.event-tag.speaker { background: #feebe8; color: #a8483b; }

.event-details h4 { font-size: 1.15rem; margin-bottom: 4px; }
.event-details p { font-size: 0.92rem; margin: 0; }

.event-meta {
  text-align: right;
  font-size: 0.88rem;
}

.meta-time { display: block; font-weight: 600; color: var(--ink); }
.meta-loc { display: block; color: var(--ink-soft); margin-top: 2px; }

.no-events {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- E-Board ---------- */

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

.board-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(66, 38, 104, 0.1);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease);
}

.board-card:hover { transform: translateY(-4px); background: #ffffff; }

.board-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--lavender-light);
  margin-bottom: 14px;
}

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

.board-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.board-role { font-size: 0.88rem; font-weight: 600; color: var(--sage-deep); }

/* ---------- Centered Podcast Section ---------- */

.podcast-badge-center {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(66, 38, 104, 0.12);
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.audio-wave {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.audio-wave span {
  width: 3px;
  height: 10px;
  background: var(--plum);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.audio-wave span:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.audio-wave span:nth-child(3) { height: 7px; animation-delay: 0.4s; }

@keyframes wave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.podcast-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.podcast-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(66, 38, 104, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.podcast-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.podcast-embed iframe { display: block; width: 100%; }

.stream-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.stream-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(66, 38, 104, 0.14);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
}

.stream-pill:hover {
  border-color: var(--plum);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ---------- Eligibility (Open Flow, Clean List) ---------- */

.eligibility-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.eligibility-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(66, 38, 104, 0.12);
  transition: transform 0.2s ease;
}

.eligibility-item:first-child { padding-top: 8px; }
.eligibility-item:last-child { border-bottom: none; }
.eligibility-item:hover { transform: translateX(6px); }

.eligibility-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sage-deep);
  line-height: 1;
  padding-top: 2px;
}

.eligibility-content h3 {
  font-size: 1.3rem;
  color: var(--plum);
  margin-bottom: 6px;
}

.eligibility-content p {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Join / Contact ---------- */

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(66, 38, 104, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 24px;
  backdrop-filter: blur(8px);
}

.info-list { list-style: none; }
.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(66, 38, 104, 0.08);
  font-size: 0.98rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list b { color: var(--plum); font-weight: 600; }

.join-form {
  background: #ffffff;
  border: 1px solid rgba(66, 38, 104, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.join-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 16px 0 6px;
}

.join-form label:first-of-type { margin-top: 0; }

.join-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(66, 38, 104, 0.14);
  background: var(--lavender-soft);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.join-form input:focus {
  outline: none;
  border-color: var(--plum);
  background: #ffffff;
}

.join-form .btn { width: 100%; }

/* ---------- Footer ---------- */

footer {
  background: var(--plum-deep);
  color: #ffffff;
  padding: 60px 0 28px;
  margin-top: auto;
}

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

footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Scroll Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .join-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-logo-wrapper { order: -1; max-width: 280px; margin: 0 auto 20px; }
  .event-card { grid-template-columns: 1fr; gap: 12px; }
  .event-meta { text-align: left; }
  .eligibility-item { grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; }
  
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fbf9f6;
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .site-nav.nav-open .nav-links { display: flex; }
  .page-section.is-active { min-height: auto; padding: 48px 0; }
}
/* Responsive Google Calendar Embed */
.calendar-embed-responsive {
  position: relative;
  width: 100%;
  height: 650px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-top: 16px;
}

.calendar-embed-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .calendar-embed-responsive {
    height: 500px;
  }
}

