
/* ══════════════════════════════════════════
   DESIGN APPROACH
   ─────────────────────────────────────────
   PROBLEM: Dark bg + gradient text on small
   labels = invisible on mobile.

   SOLUTION: Flip the label treatment.
   Instead of tiny gradient text on dark bg,
   use SOLID YELLOW PILL LABELS — same yellow
   (#FFE500) from the site, full opacity,
   dark text inside. Instantly readable.

   Body text stays lavender-white (#d4c5f9)
   on dark cards — proven readable from the
   existing site. Base font bumped to 16px
   minimum. All tap targets 48px+.
   Single-column layout by default (mobile),
   two-column only on wider screens.
══════════════════════════════════════════ */

:root {
  /* ── Exact site palette ── */
  --purple:         #9B51E0;
  --purple-mid:     #D946EF;
  --pink:           #FF6B9D;
  --coral:          #FF8C69;
  --orange-warm:    #FFB84D;
  --yellow:         #FFE500;

  --bg-darkest:     #0A0F1F;
  --bg-container:   #1a0a2e;
  --bg-card:        #2d1b4e;
  --bg-card-hover:  #3d2b5e;

  --text-primary:   #ffffff;
  --text-secondary: #d4c5f9;
  --text-muted:     #b8a3d1;

  --border:         rgba(155, 81, 224, 0.3);
  --border-bright:  rgba(155, 81, 224, 0.6);
  --glow:           0 8px 32px rgba(155, 81, 224, 0.3);

  /* ── Sunset gradient ── */
  --sunset: linear-gradient(90deg,
    #9B51E0 0%, #D946EF 20%, #FF6B9D 40%,
    #FF8C69 60%, #FFB84D 80%, #FFE500 100%);

  --radius:    18px;
  --radius-sm: 12px;

  /* ── Readable type scale (mobile-first) ── */
  --text-xs:   13px;
  --text-sm:   15px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   22px;
  --text-xl:   28px;
}

/* ── Reset & base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-darkest);
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* ══════════════════════════════════════
   SECTION LABEL — the key fix
   ──────────────────────────────────────
   Yellow pill with dark text.
   Full opacity. Readable at any size.
   Same #FFE500 as the site's CTAs.
══════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #0A0F1F;                  /* dark text on yellow = max contrast */
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* Section titles */
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Body copy */
.section-body {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Shared section padding */
.section-wrap {
  padding: 64px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Alternating section backgrounds */
.bg-dark    { background: var(--bg-darkest); }
.bg-deeper  { background: var(--bg-container); }

/* Sunset divider line */
hr.sunset-rule {
  border: none;
  height: 2px;
  background: var(--sunset);
  opacity: 0.4;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--bg-darkest);
  padding: 72px 20px 90px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 110%, rgba(155,81,224,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% -10%,  rgba(255,229,0,0.09) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(155,81,224,0.14);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-ring:nth-child(1) { width:150px; height:150px; top:-30px; left:5%;  animation-delay:0s; }
.hero-ring:nth-child(2) { width: 70px; height: 70px; top:40%;  right:5%; animation-delay:3s; }
.hero-ring:nth-child(3) { width:100px; height:100px; bottom:-15px; left:58%; animation-delay:5.5s; border-color: rgba(255,229,0,0.1); }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(7deg); }
}

/* Logo */
.hero-logo {
  width: min(340px, 80vw);
  height: auto;
  display: block;
  margin: 0 auto 28px;
  position: relative;
}

/* Eyebrow */
.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
}

/* Main headline */
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 8vw, 76px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  position: relative;
  margin-bottom: 24px;
}

/* ZERO · ZERO · TWO */
.tagline { display: block; margin-top: 20px; }

.tagline-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.t-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 7vw, 56px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  background: var(--sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-word {
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 2.5vw, 16px);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1;
  padding-right: 4px;
}

.t-divider {
  width: 1px;
  height: 30px;
  background: rgba(155,81,224,0.4);
  display: inline-block;
  margin: 0 2px;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: var(--text-md);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
  position: relative;
}

/* Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

.badge {
  background: rgba(155,81,224,0.12);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 18px;             /* bigger tap target */
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
}

/* ══════════════════════════════════════
   SECTION NAV
══════════════════════════════════════ */
.section-nav {
  background: var(--bg-container);
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-nav > p {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.nav-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-pill {
  padding: 11px 20px;             /* min 44px height on mobile */
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-pill:hover, .nav-pill:active {
  background: rgba(155,81,224,0.2);
  border-color: var(--purple);
  color: white;
}

/* ══════════════════════════════════════
   ORIGIN STORY
══════════════════════════════════════ */
.origin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 8px;
}

.origin-text blockquote {
  font-family: 'Fraunces', serif;
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  color: var(--yellow);
  border-left: 3px solid var(--purple);
  padding-left: 20px;
  margin: 24px 0;
  line-height: 1.6;
}

.origin-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: var(--glow);
}

.stat-pair { display: flex; gap: 16px; width: 100%; justify-content: center; }

.stat-card {
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  flex: 1;
  max-width: 140px;
  transition: transform 0.25s ease;
}
.stat-card:hover { transform: translateY(-3px); }

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  background: var(--sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.age-pill {
  background: rgba(255,229,0,0.1);
  border: 1px solid rgba(255,229,0,0.35);
  color: var(--yellow);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
}

/* ══════════════════════════════════════
   MISSION & VISION
══════════════════════════════════════ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.mv-card:hover { box-shadow: var(--glow); }

/* Sunset top bar */
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sunset);
}

.mv-card-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.mv-card p {
  font-family: 'Fraunces', serif;
  font-size: var(--text-md);
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   CORE VALUES
══════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
  border-color: var(--border-bright);
}

.value-emoji { font-size: 28px; margin-bottom: 14px; }

.value-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 10px;
}

.value-desc {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   BANNER DEEP-DIVES
══════════════════════════════════════ */
.banner-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.banner-card {
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.25s ease;
}
.banner-card:hover { transform: scale(1.01); }

.banner-card::after {
  content: '';
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  bottom: -30px; right: -30px;
}

/* Card color variants */
.bc-purple { background: linear-gradient(140deg, #1a0a35, #2d1060); border-color: rgba(155,81,224,0.4); }
.bc-yellow { background: linear-gradient(140deg, #1a1500, #2e2600); border-color: rgba(255,229,0,0.35); }
.bc-coral  { background: linear-gradient(140deg, #1f0a10, #3a1020); border-color: rgba(255,107,157,0.35); }
.bc-orange { background: linear-gradient(140deg, #1f1000, #361c00); border-color: rgba(255,165,0,0.35); }

.banner-topic {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.banner-title {
  font-family: 'Fraunces', serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.banner-preview {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.dive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease;
  min-height: 44px;
  width: fit-content;
}
.dive-btn:hover { background: rgba(255,255,255,0.15); }
.dive-btn svg { width: 13px; height: 13px; }

/* ══════════════════════════════════════
   COMMUNITY GUIDELINES
══════════════════════════════════════ */
.guideline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.guideline-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
}

.guideline-num {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 900;
  background: var(--sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
  min-width: 32px;
  line-height: 1.2;
}

.guideline-content h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.guideline-content p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   POLICIES
══════════════════════════════════════ */
.policy-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.tab-btn.active, .tab-btn:hover {
  background: rgba(155,81,224,0.2);
  border-color: var(--purple);
  color: white;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.policy-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  transition: border-color 0.2s ease;
}
.policy-item:hover { border-left-color: var(--yellow); }

.policy-item h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.policy-item p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}

.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.why-feature:hover {
  background: var(--bg-card);
  border-color: var(--border);
}

.why-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(155,81,224,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.why-feature h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.why-feature p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   INVITATION
══════════════════════════════════════ */
.invite-section {
  background: var(--bg-container);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.invite-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(155,81,224,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.invite-inner { position: relative; max-width: 640px; margin: 0 auto; }

.invite-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 6vw, 50px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.invite-section h2 em {
  font-style: italic;
  background: var(--sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.invite-section > .invite-inner > p {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

/* Sunset CTA — exact site button style */
.invite-cta {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 100px;
  background: var(--sunset);
  color: #0A0F1F;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-height: 52px;
  line-height: 1.4;
}
.invite-cta:hover { opacity: 0.88; transform: scale(1.02); }

/* Brand name emphasis in body copy */
.section-body em, .guideline-content p em,
.policy-item p em, .why-feature p em,
.mv-card p em, .invite-inner p em {
  font-style: normal;
  font-weight: 700;
  color: var(--yellow);
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE — tablet & desktop
══════════════════════════════════════ */
@media (min-width: 640px) {
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .banner-row     { grid-template-columns: 1fr 1fr; }
  .policy-grid    { grid-template-columns: 1fr 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .section-wrap   { padding: 80px 40px; }
  .origin-grid    { grid-template-columns: 1fr 1fr; }
  .mv-grid        { grid-template-columns: 1fr 1fr; }
  .values-grid    { grid-template-columns: repeat(3, 1fr); }
  .banner-row     { grid-template-columns: repeat(4, 1fr); }
  .policy-grid    { grid-template-columns: repeat(3, 1fr); }
}

