/*


 */

:root {
  --midnight-black: #0B0B0D;
  --casino-red: #B3131B;
  --velvet-crimson: #8F1016;
  --ivory-white: #F7F3EE;
  --charcoal-slate: #23252B;
  --smoke-gray: #6B7078;
  --antique-gold: #C6A15B;
  --graphite-line: #2F3138;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal-slate);
  background: var(--ivory-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

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

.text-gold {
  color: var(--antique-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-sm.btn-primary {
  padding-right: 44px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--casino-red);
  color: var(--ivory-white);
  border-color: var(--casino-red);
  padding-right: 56px;
}

.btn-primary .btn-label {
  transition: opacity 0.5s ease;
}

.btn-primary .btn-chevron {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 25%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: width 0.5s ease;
  z-index: 1;
}

.btn-primary .btn-chevron svg {
  width: 16px;
  height: 16px;
  stroke: var(--ivory-white);
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-label {
  opacity: 0;
}

.btn-primary:hover .btn-chevron {
  width: calc(100% - 8px);
}

.btn-primary:active .btn-chevron {
  transform: scale(0.95);
}

.btn-primary:hover {
  background: var(--velvet-crimson);
  border-color: var(--velvet-crimson);
}

.btn-outline {
  background: transparent;
  color: var(--ivory-white);
  border-color: var(--ivory-white);
}

.btn-outline:hover {
  background: var(--ivory-white);
  color: var(--midnight-black);
}

.btn-outline-light {
  background: transparent;
  color: var(--ivory-white);
  border-color: rgba(247, 243, 238, 0.4);
}

.btn-outline-light:hover {
  background: var(--ivory-white);
  color: var(--midnight-black);
  border-color: var(--ivory-white);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--graphite-line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.brand-casino {
  color: var(--casino-red);
}

.brand-party {
  color: var(--ivory-white);
}

.brand-dealers {
  color: var(--antique-gold);
}

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

.nav-link {
  color: rgba(247, 243, 238, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--ivory-white);
}

.nav-phone {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory-white);
  transition: all 0.3s;
}

@keyframes aurora {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight-black);
  overflow: hidden;
}

.aurora-bg {
  position: absolute;
  inset: -10px;
  overflow: hidden;
  pointer-events: none;
}

.aurora-layer {
  position: absolute;
  inset: -10px;
  opacity: 0.5;
  will-change: transform;
  filter: blur(10px);
  background-image:
    repeating-linear-gradient(
      100deg,
      #0B0B0D 0%, #0B0B0D 7%, transparent 10%, transparent 12%, #0B0B0D 16%
    ),
    repeating-linear-gradient(
      100deg,
      #B3131B 10%, #C6A15B 15%, #8F1016 20%, #D4A85C 25%, #B3131B 30%
    );
  background-size: 300% 200%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora 60s linear infinite;
}

.aurora-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      100deg,
      #0B0B0D 0%, #0B0B0D 7%, transparent 10%, transparent 12%, #0B0B0D 16%
    ),
    repeating-linear-gradient(
      100deg,
      #B3131B 10%, #C6A15B 15%, #8F1016 20%, #D4A85C 25%, #B3131B 30%
    );
  background-size: 200% 100%;
  animation: aurora 60s linear infinite;
  background-attachment: fixed;
  mix-blend-mode: difference;
}

.hero-radial-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(198, 161, 91, 0.15);
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 100px;
  color: var(--antique-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--ivory-white);
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(247, 243, 238, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── Logo Scroll ── */
.logo-scroll-section {
  background: var(--midnight-black);
  border-top: 1px solid var(--graphite-line);
  border-bottom: 1px solid var(--graphite-line);
  padding: 32px 0;
  overflow: hidden;
}

.logo-scroll-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.35);
  margin-bottom: 24px;
}

.logo-scroll-track-wrapper {
  position: relative;
  overflow: hidden;
}

.logo-scroll-track-wrapper::before,
.logo-scroll-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-scroll-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--midnight-black), transparent);
}

.logo-scroll-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--midnight-black), transparent);
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-scroll-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.logo-scroll-item {
  padding: 0 48px;
  border-right: 1px solid var(--graphite-line);
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(247, 243, 238, 0.4);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.logo-scroll-item:hover .logo-text {
  color: var(--antique-gold);
}

/* ── Pathways ── */
.pathways {
  padding: 100px 0;
  background: var(--ivory-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--charcoal-slate);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--smoke-gray);
  max-width: 560px;
  margin: 0 auto;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pathway-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pathway-card-featured {
  border-color: var(--casino-red);
  box-shadow: 0 4px 20px rgba(179, 19, 27, 0.1);
}

.pathway-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--casino-red);
  color: var(--ivory-white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pathway-icon {
  margin-bottom: 20px;
}

.pathway-card h3 {
  font-size: 1.35rem;
  color: var(--charcoal-slate);
  margin-bottom: 12px;
}

.pathway-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.65;
}

.pathway-benefits {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pathway-benefits li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--charcoal-slate);
  position: relative;
  padding-left: 20px;
}

.pathway-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--antique-gold);
  border-radius: 50%;
}

.pathway-card .btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.stats-bar {
  background: var(--midnight-black);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--antique-gold);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--midnight-black);
  color: var(--antique-gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  color: var(--charcoal-slate);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Testimonials Scrolling Columns ── */
.testimonials-scroll-section {
  padding: 100px 0 0;
  background: var(--ivory-white);
  overflow: hidden;
}

.testimonials-scroll-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-scroll-badge {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid rgba(35, 37, 43, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--smoke-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.testimonials-scroll-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--charcoal-slate);
  margin-bottom: 14px;
}

.testimonials-scroll-sub {
  font-size: 1rem;
  color: var(--smoke-gray);
  max-width: 520px;
  margin: 0 auto;
}

.testimonials-columns-wrapper {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-height: 720px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  padding: 0 24px;
}

@keyframes scrollUp1 {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes scrollUp2 {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes scrollUp3 {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.testimonials-col-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  max-width: 340px;
}

.testimonials-col-1 { animation: scrollUp1 20s linear infinite; }
.testimonials-col-2 { animation: scrollUp2 26s linear infinite; }
.testimonials-col-3 { animation: scrollUp3 22s linear infinite; }

.tcard {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.tcard-stars {
  color: var(--antique-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tcard p {
  font-size: 0.9rem;
  color: var(--charcoal-slate);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tcard-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-slate);
  font-style: normal;
}

.tcard-author span {
  display: block;
  font-size: 0.775rem;
  color: var(--smoke-gray);
}

.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(35, 37, 43, 0.1);
}

.faq-item summary {
  padding: 22px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal-slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--casino-red);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--smoke-gray);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.7;
}

.cta-section {
  padding: 100px 0;
  background: var(--midnight-black);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.65);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: var(--charcoal-slate);
  padding: 64px 0 0;
}

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

.footer-tagline {
  color: rgba(247, 243, 238, 0.5);
  font-size: 0.9rem;
  margin-top: 12px;
  font-style: italic;
}

.footer-phone {
  margin-top: 16px;
}

.footer-phone a {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ivory-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(247, 243, 238, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ivory-white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(247, 243, 238, 0.35);
  font-size: 0.8rem;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--antique-gold);
  outline-offset: 2px;
}

@media (max-width: 968px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 11, 13, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--graphite-line);
  }

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

  .pathways-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-col-2,
  .testimonials-col-3 {
    display: none;
  }

  .testimonials-columns-wrapper {
    max-height: 500px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }
}

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

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

/* ─────────────────────────────────────────
   SHARED PAGE ELEMENTS
───────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--casino-red);
  margin-bottom: 12px;
}

.page-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero--dark {
  background: var(--midnight-black);
}

.page-hero--light {
  background: var(--ivory-white);
  border-bottom: 1px solid rgba(35, 37, 43, 0.08);
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ivory-white);
  margin: 16px 0 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero-title--dark {
  color: var(--charcoal-slate);
}

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.7);
  max-width: 580px;
  line-height: 1.7;
}

.page-hero-sub--dark {
  color: var(--smoke-gray);
}

.hero-badge--dark {
  background: rgba(35, 37, 43, 0.07);
  border-color: rgba(35, 37, 43, 0.15);
  color: var(--charcoal-slate);
}

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */
.about-mission {
  padding: 100px 0;
  background: var(--white);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-mission-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal-slate);
  margin: 12px 0 20px;
}

.about-mission-text p {
  color: var(--smoke-gray);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-stat {
  background: var(--ivory-white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(35, 37, 43, 0.06);
}

.about-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--casino-red);
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--smoke-gray);
  font-weight: 500;
  line-height: 1.4;
}

.about-story {
  padding: 100px 0;
  background: var(--midnight-black);
}

.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-story .section-eyebrow {
  color: var(--antique-gold);
}

.about-story h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ivory-white);
  margin: 12px 0 28px;
}

.about-story-body p {
  color: rgba(247, 243, 238, 0.7);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 18px;
}

.about-values {
  padding: 110px 0;
  background: var(--ivory-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.07);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.value-icon {
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal-slate);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--smoke-gray);
  line-height: 1.65;
}

.about-cta {
  padding: 100px 0;
  background: var(--midnight-black);
  text-align: center;
}

.about-cta .cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory-white);
  margin-bottom: 16px;
}

.about-cta .cta-content p {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.65);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ─────────────────────────────────────────
   JOIN / SQUEEZE PAGE
───────────────────────────────────────── */
.join-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--midnight-black);
  overflow: hidden;
  text-align: center;
}

.join-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(179,19,27,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(198,161,91,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.join-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--ivory-white);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  line-height: 1.1;
}

.join-hero-sub {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.72);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.join-trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.join-trust-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--antique-gold);
  letter-spacing: 0.01em;
}

.join-main {
  padding: 80px 0 100px;
  background: var(--ivory-white);
}

.join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.join-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid rgba(35, 37, 43, 0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.join-form-card h2 {
  font-size: 1.8rem;
  color: var(--charcoal-slate);
  margin-bottom: 8px;
}

.join-form-sub {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  margin-bottom: 28px;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-slate);
}

.form-input {
  padding: 12px 16px;
  border: 1.5px solid rgba(35, 37, 43, 0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal-slate);
  background: var(--ivory-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--casino-red);
  box-shadow: 0 0 0 3px rgba(179, 19, 27, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7078' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.join-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.join-form-disclaimer {
  font-size: 0.78rem;
  color: var(--smoke-gray);
  text-align: center;
  line-height: 1.5;
  margin-top: 16px;
}

.join-form-embed {
  width: 100%;
  margin-top: 8px;
}

.join-form-embed iframe {
  width: 100%;
  min-height: 1020px;
  border: none;
  border-radius: 12px;
  display: block;
  background: transparent;
}

@media (max-width: 600px) {
  .join-form-embed iframe {
    min-height: 1180px;
  }
}

.join-form-disclaimer a {
  color: var(--casino-red);
  text-decoration: none;
}

.join-benefits-col h3 {
  font-size: 1.5rem;
  color: var(--charcoal-slate);
  margin-bottom: 28px;
}

.join-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.join-benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.jb-icon {
  font-size: 1rem;
  color: var(--antique-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.join-benefits-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal-slate);
  margin-bottom: 4px;
}

.join-benefits-list p {
  font-size: 0.875rem;
  color: var(--smoke-gray);
  line-height: 1.6;
  margin: 0;
}

.join-testimonial {
  background: var(--midnight-black);
  border-radius: 12px;
  padding: 28px;
}

.join-test-stars {
  color: var(--antique-gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.join-testimonial blockquote {
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.82);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.join-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.join-test-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.join-test-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ivory-white);
}

.join-test-author span {
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.5);
}

/* ─────────────────────────────────────────
   HOW IT WORKS PAGE
───────────────────────────────────────── */
.hiw-section {
  padding: 100px 0;
  background: var(--white);
}

.hiw-section--alt {
  background: var(--ivory-white);
}

.hiw-path-header {
  margin-bottom: 60px;
}

.hiw-path-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal-slate);
  margin: 10px 0 12px;
}

.hiw-path-header p {
  font-size: 1rem;
  color: var(--smoke-gray);
  max-width: 520px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 2px;
  background: linear-gradient(to bottom, var(--casino-red), var(--antique-gold));
  opacity: 0.25;
}

.hiw-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(35, 37, 43, 0.06);
  align-items: start;
}

.hiw-step:last-child {
  border-bottom: none;
}

.hiw-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--casino-red);
  line-height: 1;
  padding-top: 4px;
  text-align: center;
}

.hiw-step-content h3 {
  font-size: 1.2rem;
  color: var(--charcoal-slate);
  margin-bottom: 10px;
}

.hiw-step-content p {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.hiw-step-content a {
  color: var(--casino-red);
  text-decoration: none;
}

.hiw-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hiw-detail-list li {
  font-size: 0.875rem;
  color: var(--charcoal-slate);
  padding-left: 18px;
  position: relative;
}

.hiw-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--antique-gold);
  border-radius: 50%;
}

/* ─────────────────────────────────────────
   RESOURCES PAGE
───────────────────────────────────────── */
.resources-section {
  padding: 80px 0 100px;
  background: var(--ivory-white);
}

.resources-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.resources-filter {
  padding: 8px 18px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid rgba(35, 37, 43, 0.12);
  color: var(--smoke-gray);
  transition: all 0.2s;
  background: var(--white);
}

.resources-filter:hover,
.resources-filter.active {
  background: var(--midnight-black);
  color: var(--ivory-white);
  border-color: var(--midnight-black);
}

.resources-filter-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(35, 37, 43, 0.08);
  color: var(--smoke-gray);
  transition: all 0.2s;
}

.resources-filter:hover .resources-filter-count,
.resources-filter.active .resources-filter-count {
  background: rgba(247, 243, 238, 0.18);
  color: var(--ivory-white);
}

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

.resources-empty {
  margin-top: 32px;
  padding: 32px 24px;
  text-align: center;
  color: var(--smoke-gray);
  font-size: 1rem;
  background: var(--white);
  border: 1px dashed rgba(35, 37, 43, 0.15);
  border-radius: 12px;
}

.resources-empty[hidden] {
  display: none;
}

.resource-card {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.07);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.resource-card--featured {
  grid-column: span 2;
  background: var(--midnight-black);
  border-color: transparent;
}

.resource-card--featured .resource-card-tag {
  background: rgba(198, 161, 91, 0.2);
  color: var(--antique-gold);
  border-color: rgba(198, 161, 91, 0.3);
}

.resource-card.resource-card--featured h3 {
  color: var(--ivory-white);
}

.resource-card.resource-card--featured p {
  color: rgba(247, 243, 238, 0.7);
}

.resource-card--featured .resource-read-time {
  color: rgba(247, 243, 238, 0.45);
}

.resource-card--featured .resource-card-topics span {
  background: rgba(247, 243, 238, 0.08);
  color: rgba(247, 243, 238, 0.6);
}

.resource-card--featured .resource-level--beginner {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
}

.resource-card--featured .resource-level--intermediate {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.resource-card--featured .resource-level--advanced {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.resource-card-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(179, 19, 27, 0.08);
  color: var(--casino-red);
  border: 1px solid rgba(179, 19, 27, 0.15);
  margin-bottom: 14px;
}

.resource-card h3 {
  font-size: 1.05rem;
  color: var(--charcoal-slate);
  margin-bottom: 10px;
  line-height: 1.4;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--smoke-gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.resource-read-time {
  font-size: 0.78rem;
  color: var(--smoke-gray);
}

.resource-level {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-level--beginner { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.resource-level--intermediate { background: rgba(234, 179, 8, 0.1); color: #b45309; }
.resource-level--advanced { background: rgba(179, 19, 27, 0.1); color: var(--casino-red); }

.resource-card-topics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.resource-card-topics span {
  padding: 3px 10px;
  background: var(--ivory-white);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--smoke-gray);
  font-weight: 500;
}

.resource-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.resource-card-link--featured {
  grid-column: span 2;
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card-read-more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--casino-red);
  letter-spacing: 0.02em;
}

.resource-card--featured .resource-card-read-more {
  color: var(--antique-gold);
}

.resource-card-link:hover .resource-card-read-more {
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   ARTICLE PAGE (individual resource)
───────────────────────────────────────── */
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(11, 11, 13, 0.06);
  z-index: 100;
}

.article-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--casino-red);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.05s linear;
}

.article-hero {
  background: var(--ivory-white);
  padding: 120px 0 40px;
}

.article-back {
  margin-bottom: 28px;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--smoke-gray);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.article-back-link:hover {
  color: var(--casino-red);
}

.article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.article-meta-top .resource-card-tag {
  margin-bottom: 0;
}

.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal-slate);
  margin-bottom: 18px;
  max-width: 820px;
  line-height: 1.15;
}

.article-excerpt {
  font-size: 1.15rem;
  color: var(--smoke-gray);
  line-height: 1.6;
  max-width: 720px;
}

.article-body {
  background: var(--white);
  padding: 60px 0 80px;
}

.article-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-slate);
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 44px 0 16px;
  color: var(--midnight-black);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--midnight-black);
  font-weight: 700;
}

.related-articles {
  background: var(--ivory-white);
  padding: 70px 0;
  border-top: 1px solid rgba(35, 37, 43, 0.07);
}

.related-articles-heading {
  font-size: 1.6rem;
  color: var(--midnight-black);
  margin-bottom: 28px;
  text-align: center;
}

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

@media (max-width: 900px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-cta {
  background: var(--midnight-black);
  padding: 70px 0;
}

.article-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.article-cta-inner h2 {
  font-size: 1.85rem;
  color: var(--ivory-white);
  margin-bottom: 12px;
}

.article-cta-inner p {
  color: rgba(247, 243, 238, 0.65);
  margin-bottom: 28px;
  line-height: 1.7;
}

.resources-cta {
  background: var(--midnight-black);
  padding: 80px 0;
}

.resources-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.resources-cta-inner h2 {
  font-size: 2rem;
  color: var(--ivory-white);
  margin-bottom: 12px;
}

.resources-cta-inner p {
  color: rgba(247, 243, 238, 0.65);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   LEGAL PAGES (Privacy & Terms)
───────────────────────────────────────── */
.legal-hero {
  background: var(--charcoal-slate);
  padding: 120px 0 60px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ivory-white);
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 0.875rem;
  color: rgba(247, 243, 238, 0.45);
}

.legal-body {
  padding: 80px 0 100px;
  background: var(--white);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-intro {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(35, 37, 43, 0.08);
}

.legal-intro p {
  font-size: 1rem;
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(35, 37, 43, 0.06);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.3rem;
  color: var(--charcoal-slate);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 1rem;
  color: var(--charcoal-slate);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-section ul li {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-contact {
  background: var(--ivory-white);
  border-radius: 10px;
  padding: 24px;
  margin-top: 16px;
}

.legal-contact p {
  margin-bottom: 6px !important;
}

.legal-contact a {
  color: var(--casino-red);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   PATHWAYS — TWO COLUMN VARIANT
───────────────────────────────────────── */
.pathways-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
  gap: 32px;
}

@media (max-width: 768px) {
  .pathways-grid--two {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────
   JOIN CONFIRMATION PAGE
───────────────────────────────────────── */
.confirmation-section {
  position: relative;
  padding: 120px 0 100px;
  background: var(--midnight-black);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.confirmation-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(198, 161, 91, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(179, 19, 27, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.confirmation-section .container {
  position: relative;
  z-index: 1;
}

.confirmation-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  margin-bottom: 28px;
  display: inline-flex;
  padding: 10px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.08);
  border: 1px solid rgba(198, 161, 91, 0.25);
}

.confirmation-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ivory-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.sparkles-text {
  position: relative;
  display: inline-block;
}

.sparkles-text strong {
  font-weight: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f0e6d4 60%, #C6A15B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23C6A15B'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  animation: sparkle-twinkle 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(198, 161, 91, 0.6));
}

.sparkle--1  { top: -10%;  left:  -2%; width: 12px; animation-delay: 0s;    }
.sparkle--2  { top:  20%;  left: -6%;  width: 10px; animation-delay: 0.3s;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23F7F3EE'/></svg>"); }
.sparkle--3  { top: -18%; left:  22%; width: 16px; animation-delay: 0.7s;  }
.sparkle--4  { top:  60%;  left: -4%;  width: 11px; animation-delay: 1.1s;  }
.sparkle--5  { top: -14%; left:  48%; width: 13px; animation-delay: 0.5s;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23F7F3EE'/></svg>"); }
.sparkle--6  { top:  90%;  left:  18%; width: 12px; animation-delay: 0.9s;  }
.sparkle--7  { top: -8%;  left:  72%; width: 10px; animation-delay: 0.2s;  }
.sparkle--8  { top:  35%;  left: 100%; width: 14px; animation-delay: 0.6s;  }
.sparkle--9  { top:  80%;  left:  88%; width: 11px; animation-delay: 1.3s;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23F7F3EE'/></svg>"); }
.sparkle--10 { top: -12%; left: 105%; width: 13px; animation-delay: 1.0s;  }

@keyframes sparkle-twinkle {
  0%   { opacity: 0; transform: scale(0) rotate(75deg); }
  40%  { opacity: 1; transform: scale(1) rotate(120deg); }
  100% { opacity: 0; transform: scale(0) rotate(150deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle { animation: none; opacity: 0.6; transform: scale(1); }
}

.confirmation-sub {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.75);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.confirmation-sub strong {
  color: var(--antique-gold);
  font-weight: 700;
}

.confirmation-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
  margin-bottom: 48px;
  background: rgba(247, 243, 238, 0.04);
  border-radius: 18px;
  padding: 36px;
  border: 1px solid rgba(198, 161, 91, 0.18);
  backdrop-filter: blur(8px);
}

.confirmation-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cdi-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.25), rgba(198, 161, 91, 0.08));
  border: 1px solid rgba(198, 161, 91, 0.4);
  color: var(--antique-gold);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.confirmation-detail-item strong {
  display: block;
  font-size: 1rem;
  color: var(--ivory-white);
  margin-bottom: 6px;
  font-weight: 600;
}

.confirmation-detail-item p {
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.65);
  line-height: 1.6;
  margin: 0;
}

.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirmation-actions .btn-outline {
  color: var(--ivory-white);
  border-color: rgba(247, 243, 238, 0.3);
  background: transparent;
}

.confirmation-actions .btn-outline:hover {
  background: rgba(247, 243, 238, 0.08);
  color: var(--ivory-white);
  border-color: rgba(198, 161, 91, 0.5);
}

@media (max-width: 640px) {
  .confirmation-section { padding: 90px 0 70px; }
  .confirmation-details { padding: 24px; }
  .confirmation-actions .btn { width: 100%; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — NEW PAGES
───────────────────────────────────────── */
@media (max-width: 968px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .join-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .resource-card--featured {
    grid-column: span 2;
  }

  .hiw-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 120px 0 60px;
  }

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

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

  .join-form-card {
    padding: 32px 24px;
  }

  .join-trust-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

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

  .resource-card--featured {
    grid-column: span 1;
  }

  .resources-filter-bar {
    gap: 8px;
  }

  .hiw-step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Imagery Styles
   ========================================================================== */

/* Pathway cards with images */
.pathway-card--with-image {
  padding-top: 0;
  overflow: hidden;
}

.pathway-card--with-image .pathway-badge {
  z-index: 2;
}

.pathway-image {
  margin: 0 -32px 28px;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid var(--antique-gold);
  background: var(--midnight-black);
}

.pathway-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pathway-card--with-image:hover .pathway-image img {
  transform: scale(1.04);
}

/* About story image */
.about-story-image {
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 91, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  max-width: 760px;
}

.about-story-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero with background image */
.page-hero--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Join hero with image */
.join-hero--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.join-hero--imaged .join-hero-bg {
  opacity: 0.35;
}

/* CTA section with image backdrop */
.cta-section--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (min-width: 1024px) {
  .cta-section--imaged {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  .pathway-image {
    height: 180px;
  }

  .about-story-image {
    margin-bottom: 28px;
  }
}

/* ==========================================================================
   CTA — Singular Focus Variant
   ========================================================================== */
.cta-buttons--single {
  display: flex;
  justify-content: center;
}

.cta-subline {
  margin-top: 18px;
  color: rgba(247, 243, 238, 0.62);
  font-size: 0.95rem;
}

.cta-subline a {
  color: var(--antique-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(198, 161, 91, 0.5);
}

.cta-subline a:hover {
  border-bottom-color: var(--antique-gold);
}

/* On about page (light bg) the subline color shifts via inheritance, but force good contrast */
.about-cta .cta-subline {
  color: rgba(247, 243, 238, 0.62);
}

/* ==========================================================================
   Article Hero — Imaged
   ========================================================================== */
.article-hero--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-hero--imaged .article-title {
  color: var(--ivory-white);
}

.article-hero--imaged .article-excerpt {
  color: rgba(247, 243, 238, 0.82);
}

.article-hero--imaged .article-back-link {
  color: rgba(247, 243, 238, 0.7);
}

.article-hero--imaged .article-back-link:hover {
  color: var(--antique-gold);
}

.article-hero--imaged .resource-read-time {
  color: rgba(247, 243, 238, 0.75);
}

.article-hero--imaged .resource-level--beginner {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
}

.article-hero--imaged .resource-level--intermediate {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.article-hero--imaged .resource-level--advanced {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.article-hero--imaged .resource-card-tag {
  background: rgba(179, 19, 27, 0.2);
  color: #fca5a5;
  border-color: rgba(179, 19, 27, 0.4);
}

/* ==========================================================================
   FAQ Page (scoped to .faq-page to avoid clashing with home mini-FAQ rules)
   ========================================================================== */
.faq-page .faq-item summary::after {
  content: none;
}

.faq-page .faq-item[open] summary::after {
  transform: none;
}

.faq-page .faq-item p {
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.faq-page .faq-section {
  padding: 80px 0 60px;
  background: var(--ivory-white);
}

.faq-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
}

.faq-search {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  border: 2px solid rgba(35, 37, 43, 0.12);
  border-radius: 10px;
  color: var(--charcoal-slate);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search:focus {
  outline: none;
  border-color: var(--casino-red);
  box-shadow: 0 0 0 3px rgba(179, 19, 27, 0.1);
}

.faq-search-meta {
  font-size: 0.9rem;
  color: rgba(35, 37, 43, 0.6);
  font-weight: 500;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 56px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.faq-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-slate);
  background: var(--ivory-white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-toc-link:hover {
  background: var(--casino-red);
  color: var(--ivory-white);
  border-color: var(--casino-red);
}

.faq-toc-count {
  color: rgba(35, 37, 43, 0.5);
  font-weight: 500;
  font-size: 0.85rem;
}

.faq-toc-link:hover .faq-toc-count {
  color: rgba(247, 243, 238, 0.75);
}

.faq-categories {
  max-width: 860px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 64px;
  scroll-margin-top: 80px;
}

.faq-category-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--antique-gold);
}

.faq-category-header h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--charcoal-slate);
  margin-bottom: 8px;
}

.faq-category-intro {
  color: rgba(35, 37, 43, 0.7);
  font-size: 1rem;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(198, 161, 91, 0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal-slate);
  line-height: 1.45;
  transition: background-color 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background-color: rgba(247, 243, 238, 0.7);
}

.faq-q-text {
  flex: 1;
}

.faq-q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--casino-red);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 4px 22px 22px;
  color: rgba(35, 37, 43, 0.85);
  line-height: 1.7;
  font-size: 0.98rem;
}

.faq-answer p {
  margin: 0;
}

.faq-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(35, 37, 43, 0.6);
  font-style: italic;
}

@media (max-width: 768px) {
  .faq-toc {
    padding: 16px;
  }

  .faq-toc-link {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 4px 18px 18px;
  }

  .faq-category {
    margin-bottom: 48px;
  }
}

/* Hero single-CTA meta line */
.hero-ctas--single {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-cta-meta {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(247, 243, 238, 0.62);
  letter-spacing: 0.01em;
}

/* Why-deal feature grid */
.why-deal {
  padding: 96px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.why-card {
  background: var(--ivory-white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: rgba(198, 161, 91, 0.4);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(198, 161, 91, 0.12);
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--charcoal-slate);
}

.why-card p {
  color: rgba(35, 37, 43, 0.72);
  line-height: 1.6;
  font-size: 0.96rem;
  margin: 0;
}

/* Inline text-link helper for "See all 219 answers" */
.text-link {
  color: var(--casino-red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(179, 19, 27, 0.4);
}

.text-link:hover {
  border-bottom-color: var(--casino-red);
}

/* ─────────────────────────────────────────
   MOBILE OVERFLOW HARDENING (Resources + global)
───────────────────────────────────────── */
html, body {
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

.page-hero-title,
.article-title,
.article-excerpt,
.page-hero-sub,
.resource-card h3,
.resource-card p,
.article-content,
.article-content p,
.article-content li,
.article-content h2,
.article-content h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-content {
  max-width: 100%;
}

@media (max-width: 740px) {
  .article-content {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.75;
  }
  .article-content h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
  }
  .article-hero {
    padding: 100px 0 28px;
  }
  .article-body {
    padding: 36px 0 56px;
  }
  .article-meta-top {
    gap: 8px;
  }
  .article-cta {
    padding: 50px 0;
  }
  .article-cta-inner h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  .page-hero {
    padding: 110px 0 50px;
  }
  .page-hero-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    line-height: 1.15;
  }
  .page-hero-sub {
    font-size: 0.98rem;
  }
  .resources-section {
    padding: 48px 0 64px;
  }
  .resources-filter-bar {
    margin: 0 -18px 28px;
    padding: 0 18px 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .resources-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .resources-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .resource-card {
    padding: 22px;
  }
  .resource-card h3 {
    font-size: 1rem;
  }
  .resources-cta-inner h2,
  .article-cta-inner h2 {
    font-size: 1.4rem;
  }
  .article-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .article-excerpt {
    font-size: 1rem;
  }
}

/* ─────────────────────────────────────────
   MARQUEE HERO — Reusable dark animated hero
   Used on /resources, /about, /how-it-works.
   Opt in with class="marquee-hero" on a <section>.
───────────────────────────────────────── */
.marquee-hero {
  position: relative;
  background: var(--midnight-black);
  color: var(--ivory-white);
  overflow: hidden;
  min-height: 92vh;
  padding: 140px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 60px;
}

.marquee-hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(
    ellipse at center,
    rgba(198, 161, 91, 0.18) 0%,
    rgba(179, 19, 27, 0.08) 35%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.marquee-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marquee-hero-badge {
  margin-bottom: 22px;
}

.marquee-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--ivory-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 22px;
}

.marquee-hero-sub {
  font-size: 1.15rem;
  color: rgba(247, 243, 238, 0.72);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 36px;
}

.marquee-hero-cta {
  margin-bottom: 16px;
}

.marquee-hero-marquee {
  position: relative;
  width: 100%;
  height: 320px;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.marquee-hero-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 13, 0.55) 0%,
    rgba(11, 11, 13, 0) 30%,
    rgba(11, 11, 13, 0) 70%,
    rgba(11, 11, 13, 0.65) 100%
  );
}

.marquee-hero-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  height: 100%;
  align-items: center;
  padding: 0 22px;
  animation: marquee-hero-scroll 55s linear infinite;
}

.marquee-hero-marquee:hover .marquee-hero-marquee-track {
  animation-play-state: paused;
}

.marquee-hero-card {
  flex-shrink: 0;
  width: 220px;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(198, 161, 91, 0.18);
  transform: rotate(var(--rot, 0deg));
  background: rgba(247, 243, 238, 0.04);
}

.marquee-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes marquee-hero-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-hero-marquee-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .marquee-hero {
    min-height: auto;
    padding: 120px 20px 0;
    gap: 40px;
  }
  .marquee-hero-marquee {
    height: 240px;
  }
  .marquee-hero-card {
    width: 160px;
    height: 210px;
    border-radius: 16px;
  }
  .marquee-hero-marquee-track {
    gap: 14px;
    animation-duration: 40s;
  }
}

@media (max-width: 480px) {
  .marquee-hero {
    padding: 100px 18px 0;
    gap: 32px;
  }
  .marquee-hero-sub {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .marquee-hero-marquee {
    height: 200px;
  }
  .marquee-hero-card {
    width: 140px;
    height: 184px;
  }
}

/* ─────────────────────────────────────────
   FUN AT WORK — Sticky-scroll Photo Gallery
───────────────────────────────────────── */
.fun-gallery {
  background: var(--midnight-black);
  padding: 100px 0 0;
  color: var(--ivory-white);
  position: relative;
  overflow: hidden;
}

.fun-gallery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.fun-gallery-header .hero-badge {
  margin-bottom: 18px;
}

.fun-gallery-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory-white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.fun-gallery-header p {
  color: rgba(247, 243, 238, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.fun-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 0 14px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}

.fun-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fun-col:nth-child(2) {
  margin-top: 36px;
}

.fun-figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(247, 243, 238, 0.04);
  position: relative;
}

.fun-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.fun-figure:hover img {
  transform: scale(1.03);
}

.fun-gallery-cta {
  text-align: center;
  padding: 70px 0 100px;
}

@media (max-width: 900px) {
  .fun-gallery {
    padding: 70px 0 0;
  }
  .fun-gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
    gap: 12px;
  }
  .fun-col {
    gap: 12px;
  }
  .fun-col:nth-child(2) {
    margin-top: 0;
  }
  .fun-figure {
    aspect-ratio: 4 / 3;
  }
  .fun-gallery-cta {
    padding: 48px 0 70px;
  }
}

/* ─────────────────────────────────────────
   RESOURCE PAGES — Extra-small mobile polish
───────────────────────────────────────── */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .page-hero {
    padding: 96px 0 44px;
  }
  .page-hero-title {
    font-size: clamp(1.55rem, 8.5vw, 2.1rem);
  }
  .page-hero-sub {
    font-size: 0.92rem;
  }
  .resources-section {
    padding: 36px 0 56px;
  }
  .resources-grid {
    gap: 14px;
  }
  .resource-card {
    padding: 18px;
    border-radius: 12px;
  }
  .resource-card h3 {
    font-size: 0.98rem;
  }
  .resource-card p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  .resource-card-meta {
    gap: 8px;
    margin-bottom: 10px;
  }
  .resource-card--featured {
    padding: 22px;
  }
  .resources-filter-bar {
    margin: 0 -16px 22px;
    padding: 0 16px 4px;
  }
  .resources-filter {
    padding: 7px 14px;
    font-size: 0.78rem;
  }
  .article-hero {
    padding: 90px 0 22px;
  }
  .article-title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }
  .article-excerpt {
    font-size: 0.95rem;
  }
  .article-body {
    padding: 28px 0 44px;
  }
  .article-content {
    font-size: 0.97rem;
    line-height: 1.7;
  }
  .article-content h2 {
    font-size: 1.2rem;
    margin: 26px 0 10px;
  }
  .article-content ul,
  .article-content ol {
    margin-left: 20px;
  }
  .article-cta,
  .resources-cta {
    padding: 44px 0;
  }
  .article-cta-inner h2,
  .resources-cta-inner h2 {
    font-size: 1.25rem;
  }
  .article-cta-inner p,
  .resources-cta-inner p {
    font-size: 0.9rem;
  }
  .related-articles-grid {
    gap: 14px !important;
  }
}

/* Ensure related articles section (added by another task) stacks on mobile */
@media (max-width: 740px) {
  .related-articles-grid {
    grid-template-columns: 1fr !important;
  }
}
