/* ============================================
   SFF 33 ALPHA — Presentation Styles
   ============================================ */

:root {
  --bg-primary: #0a1a0e;
  --bg-dark: #060f08;
  --gold: #c9a227;
  --gold-light: #d4a843;
  --white: #ffffff;
  --white-muted: rgba(255,255,255,0.7);
  --white-dim: rgba(255,255,255,0.4);
  --border-gold: rgba(201,162,39,0.4);
  --card-bg: rgba(10,26,14,0.85);
  --card-border: rgba(201,162,39,0.25);
  --nav-bg: rgba(0,0,0,0.92);
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ---- Slide System ---- */
.slide {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-bg-dark {
  background: var(--bg-primary);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 14, 0.65);
}

.slide-overlay-darker {
  background: rgba(6, 15, 8, 0.78);
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(100% - 48px);
  padding: 48px 64px;
  display: flex;
}

/* ---- Animation ---- */
.slide.active .slide-content > * {
  animation: fadeInUp 0.6s ease-out both;
}

.slide.active .slide-content > *:nth-child(1) { animation-delay: 0.1s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.2s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.3s; }

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

/* ---- Typography ---- */
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }

.slide-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.slide-heading-multi {
  line-height: 1.15;
}

.body-text {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.65;
  color: var(--white);
  max-width: 640px;
}

.body-muted {
  color: var(--white-muted);
  margin-top: 16px;
}

/* ============================================
   SLIDE 1 — HERO
   ============================================ */
.slide-1-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sff-logo {
  width: clamp(100px, 14vw, 180px);
  height: auto;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.sff-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  letter-spacing: 0.35em;
  color: var(--white-muted);
  margin-bottom: 40px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  color: var(--white-muted);
  letter-spacing: 0.03em;
}

/* ============================================
   SLIDE 2 — OUR MISSION
   ============================================ */
.slide-2-content {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}

.mission-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.mission-right {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.guidestar-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.guidestar-seal {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.guidestar-text p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--white-muted);
}

.guidestar-text strong {
  color: var(--white);
}

/* Org Card */
.org-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

.org-card-header {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 20px 24px 16px;
  border-bottom: 2px solid var(--gold);
  color: var(--white);
}

.org-card-rows {
  padding: 8px 0;
}

.org-row {
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.org-row:last-child {
  border-bottom: none;
}

.org-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  font-weight: 500;
}

.org-value {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* ============================================
   SLIDE 3 — PROGRAM PILLARS
   ============================================ */
.slide-3-content {
  flex-direction: column;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  flex: 1;
  margin-top: 8px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pillar-img {
  width: 100%;
  height: 0;
  padding-bottom: 65%;
  background-size: cover;
  background-position: center;
  border-radius: 6px 6px 0 0;
}

.pillar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 8px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.pillar-body {
  font-size: clamp(0.65rem, 0.8vw, 0.78rem);
  line-height: 1.55;
  color: var(--white-muted);
}

/* ============================================
   SLIDE 4 — MINDBLOOM PARTNERSHIP
   ============================================ */
.slide-4-content {
  flex-direction: column;
  align-items: center;
}

.video-wrapper {
  flex: 1;
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper video {
  width: 100%;
  max-height: calc(100vh - 200px);
  border: 3px solid var(--gold);
  border-radius: 4px;
  background: #000;
}

/* Video controls accent */
video::-webkit-media-controls-timeline {
  accent-color: var(--gold);
}

/* ============================================
   SLIDE 5 — INTRODUCING 33A
   ============================================ */
.slide-5-content {
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.intro-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.intro-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  height: 100%;
}

.role-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  padding: 20px 24px;
}

.role-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.role-list {
  list-style: none;
  padding: 0;
}

.role-list li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  line-height: 1.55;
  color: var(--white-muted);
  margin-bottom: 8px;
}

.role-list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.role-list li:last-child {
  margin-bottom: 0;
}

/* ============================================
   SLIDE 6 — MEMBER EXPECTATIONS
   ============================================ */
.slide-6-content {
  flex-direction: column;
}

.slide-6-intro {
  margin-bottom: 24px;
  max-width: none;
}

.expectations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  flex: 1;
}

.expect-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 28px 24px;
}

.expect-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.expect-list {
  list-style: none;
  padding: 0;
}

.expect-list li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  line-height: 1.55;
  color: var(--white-muted);
  margin-bottom: 10px;
}

.expect-list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.expect-list li:last-child {
  margin-bottom: 0;
}

/* ============================================
   SLIDE 7 — REMEMBERING OUR BROTHERS
   ============================================ */
.slide-7-content {
  flex-direction: row;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 12px;
}

.memorial-left {
  flex: 0.42;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.sf-badge {
  width: clamp(100px, 12vw, 160px);
  height: auto;
  margin: 16px 0;
  opacity: 0.9;
}

.memorial-quote {
  font-style: italic;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.memorial-caption {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  line-height: 1.55;
  color: var(--white-muted);
}

.memorial-right {
  flex: 0.58;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.memorial-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  width: 100%;
  align-content: center;
}

.memorial-card {
  text-align: center;
}

.memorial-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
  filter: grayscale(100%);
}

.memorial-name {
  font-size: clamp(0.5rem, 0.6vw, 0.62rem);
  font-weight: 600;
  color: var(--white);
  margin-top: 4px;
  line-height: 1.2;
}

.memorial-date {
  font-size: clamp(0.42rem, 0.52vw, 0.52rem);
  color: var(--white-dim);
  margin-top: 1px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-left {
  flex: 1;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--white-muted);
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-arrow {
  background: none;
  border: none;
  color: var(--white-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  line-height: 1;
}

.nav-arrow:hover:not(:disabled) {
  color: var(--white);
}

.nav-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.nav-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-dim);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
}

.nav-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

.nav-dot:hover:not(.active) {
  background: var(--white-muted);
}

.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--white-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-icon-btn:hover {
  color: var(--white);
}

.nav-counter {
  font-size: 0.75rem;
  color: var(--white-dim);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: right;
}

/* ---- Footer (hidden behind nav bar) ---- */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 2px;
  z-index: 0;
  font-size: 0.6rem;
}

.site-footer a {
  color: var(--white-dim);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white-muted);
}
