/* Base styles */

:root {
  --bg-deep: #161c2c;
  --bg-soft: #1e2742;
  --accent-gold: #d9a441;
  --accent-soft-rose: #e8c7c7;
  --accent-rose-deep: #c88f90;
  --text-main: #f9f9fb;
  --text-muted: #c8cbe0;
  --card-bg: #222a3e;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #28345a 0, #111522 55%, #05060b 100%);
  color: var(--text-main);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(11, 13, 24, 0.95), rgba(11, 13, 24, 0.8));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 0, #ffe7b3, #d9a441 50%, #4b3b13 100%);
  box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.35), 0 10px 25px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.brand-gate {
  width: 12px;
  height: 22px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(to bottom, #fff7e2, #f6d68c, #b88228);
  box-shadow: 0 0 10px rgba(255, 248, 224, 0.75);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Nav links */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(13, 16, 30, 0.9);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle .line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease, translate 0.2s ease;
}

.nav-toggle .line + .line {
  margin-top: 4px;
}

.nav-toggle.nav-open .line:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.nav-toggle.nav-open .line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open .line:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at top right, #374570 0, #111522 48%, #05060b 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 3.25rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-soft-rose);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-gold);
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero h1 span {
  display: inline-block;
  color: var(--accent-soft-rose);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 26rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-med), transform var(--transition-fast), box-shadow var(--transition-med), color var(--transition-med), border-color var(--transition-med);
}

.btn-primary {
  background: linear-gradient(to right, #f4d696, #d9a441);
  color: #1a1408;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn.full-width {
  width: 100%;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hero-footnote .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff7df, #f0c970);
  box-shadow: 0 0 12px rgba(255, 239, 201, 0.85);
}

/* Hero visual "gate" */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate-wrapper {
  width: 220px;
  height: 280px;
  border-radius: 32px;
  background: radial-gradient(circle at 10% 0, #2d3558, #0b0e1a 55%, #05060b 100%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gate-door {
  width: 90px;
  height: 190px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: radial-gradient(circle at top, #fff9e9, #f6d996 55%, #b87424 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 242, 210, 0.85);
}

.gate-light {
  position: absolute;
  inset: 40% -60px -80px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 65%);
  opacity: 0.9;
  animation: pulseLight 3.8s ease-in-out infinite;
}

.gate-shadow {
  position: absolute;
  width: 260px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.85), transparent 70%);
  bottom: -40px;
  filter: blur(8px);
}

.hero-visual-caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 260px;
}

/* Pillars */

.pillars {
  background: radial-gradient(circle at top, #202744 0, #101323 55%, #05060b 100%);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.pill-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft-rose);
}

.pillar-card h3 {
  margin: 0.5rem 0 0.6rem;
  font-size: 1.15rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pillar-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
}

.pillar-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-gold);
}

/* About */

.about {
  background: radial-gradient(circle at top, #262f4e 0, #111522 55%, #05060b 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 0.8rem;
}

.about-highlight {
  display: grid;
  gap: 1.1rem;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 1.3rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-soft);
}

.stat-number {
  display: inline-block;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.stat-desc {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Programs */

.programs {
  background: radial-gradient(circle at top, #202744 0, #101323 55%, #05060b 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.program-card {
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--border-soft);
  background: rgba(8, 10, 21, 0.85);
}

.program-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.program-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0.8rem;
}

.program-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.program-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.25rem;
}

.program-card li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  top: -0.05rem;
}

/* Get help */

.get-help {
  background: radial-gradient(circle at top, #262f4e 0, #111522 55%, #05060b 100%);
}

.get-help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: start;
}

.get-help-text h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.get-help-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.get-help-text ul {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.get-help-box {
  border-radius: var(--radius-lg);
  background: rgba(5, 7, 14, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.6rem;
}

.get-help-box h3 {
  margin: 0 0 0.4rem;
}

.get-help-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Forms */

.help-form,
.contact-form {
  display: grid;
  gap: 0.6rem;
}

.help-form label,
.contact-form label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.help-form textarea,
.help-form input,
.help-form select,
.contact-form textarea,
.contact-form input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 7, 14, 0.95);
  color: var(--text-main);
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
}

.help-form textarea:focus,
.help-form input:focus,
.help-form select:focus,
.contact-form textarea:focus,
.contact-form input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px rgba(217, 164, 65, 0.4);
}

.form-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Resources */

.resources {
  background: radial-gradient(circle at top, #202744 0, #101323 55%, #05060b 100%);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.resource-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-soft);
  background: rgba(8, 10, 21, 0.9);
  position: relative;
}

.resource-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.resource-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 1.4rem;
}

.resource-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft-rose);
}

/* Stories */

.stories {
  background: radial-gradient(circle at top, #262f4e 0, #111522 55%, #05060b 100%);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.story-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-soft);
  background: rgba(8, 10, 21, 0.9);
}

.story-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.story-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 0.9rem;
}

.story-link {
  font-size: 0.86rem;
  color: var(--accent-soft-rose);
  text-decoration: underline;
}

/* Founder */

.founder {
  background: radial-gradient(circle at top, #202744 0, #101323 55%, #05060b 100%);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 2.3rem;
  align-items: center;
}

.founder-photo-placeholder {
  display: flex;
  justify-content: center;
}

.photo-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 0, #ffe7bf, #f0c27b, #b36b12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.photo-circle::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.initials {
  font-size: 2.4rem;
  font-weight: 600;
  color: #1d1406;
}

.founder-text h2 {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

.founder-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.founder-signoff {
  margin-top: 1rem;
  font-size: 0.93rem;
}

.founder-signoff .name {
  font-weight: 600;
}

.founder-signoff .role {
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Get involved */

.get-involved {
  background: radial-gradient(circle at top, #262f4e 0, #111522 55%, #05060b 100%);
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.involved-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-soft);
  background: rgba(8, 10, 21, 0.9);
}

.involved-card h3 {
  margin: 0 0 0.5rem;
}

.involved-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0.8rem;
}

.link-arrow {
  font-size: 0.86rem;
  color: var(--accent-soft-rose);
  text-decoration: underline;
}

/* Contact */

.contact {
  background: radial-gradient(circle at top, #202744 0, #101323 55%, #05060b 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: start;
}

.contact-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.contact-email {
  margin-top: 1rem;
  font-size: 0.94rem;
}

.contact-email a {
  color: var(--accent-soft-rose);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #05060b;
  padding: 1.6rem 0 1.9rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.footer-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */

@keyframes pulseLight {
  0% {
    opacity: 0.7;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1.6rem;
  }

  .pillars-grid,
  .programs-grid,
  .resources-grid,
  .stories-grid,
  .involved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .get-help-grid,
  .contact-grid,
  .founder-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-photo-placeholder {
    justify-content: flex-start;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(5, 6, 12, 0.97);
    backdrop-filter: blur(22px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .nav-cta {
    align-self: flex-start;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .pillars-grid,
  .programs-grid,
  .resources-grid,
  .stories-grid,
  .involved-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gate-wrapper {
    width: 190px;
    height: 240px;
  }
}