/* ============================================================
   MAGICHELP23 — Design System
   Light, energetic network aesthetic. Gold-to-orange brand ramp
   pulled straight from the logo, soft elevation, orbiting signature motif.
   ============================================================ */

:root {
  /* Palette */
  --bg: #fffaf3;
  --bg-alt: #fff4e6;
  --surface: #ffffff;
  --border: #f0e4d3;
  --border-soft: #f6ece0;

  --gold: #feba19;
  --orange: #f2760a;
  --orange-deep: #c93c00;
  --ramp: linear-gradient(135deg, var(--gold), var(--orange) 55%, var(--orange-deep));

  --ink: #201a12;
  --ink-dim: #4a4238;
  --muted: #8a7f70;
  --muted-soft: #b3a999;

  /* Type */
  --display: "Open Sans", sans-serif;
  --body: "Open Sans", sans-serif;
  
  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink-dim);
  overflow-x: hidden;
  position: relative;
}
html,
body {
    overflow-x: hidden;
}
/* soft ambient warmth, fixed */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 480px at 8% -8%, rgba(254, 186, 25, 0.20), transparent 60%),
    radial-gradient(640px 460px at 106% 10%, rgba(242, 118, 10, 0.14), transparent 60%),
    radial-gradient(820px 620px at 50% 118%, rgba(242, 118, 10, 0.08), transparent 60%),
    var(--bg);
}

::selection {
  background: var(--orange);
  color: #fff;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--ramp);
  border-radius: 2px;
}

.grad-text {
  background: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(90, 60, 20, 0.03), 0 18px 40px -22px rgba(90, 60, 20, 0.16);
}

section {
  padding: 80px 24px;
  position: relative;
}
.wrap {
  max-width: 1380px;;
  margin: 0 auto;
}

.section-head {
  max-width: 620px;
  margin-bottom: 64px;
}
.section-head.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ramp);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(242, 118, 10, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(242, 118, 10, 0.65);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}
.btn-sm {
  padding: 11px 20px;
  font-size: 13px;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1380px, calc(100% - 32px));
  z-index: 1000;
  border-radius: 18px;
  background: #201a12;
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px -14px rgba(90, 60, 20, 0.18);
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: #201a12;
  box-shadow: 0 10px 30px -14px rgba(90, 60, 20, 0.24);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  width: 62px;
  flex-shrink: 0;
}
.logo-img { width: 100%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links > li > a {
  font-size: 13.5px;
  font-weight: 600;
  color: #f8e3c8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.25s;
}
.nav-links > li > a:hover {
  color: var(--orange-deep);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}
.btn-login {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s;
}
.btn-login:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn-register {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ramp);
  border-radius: 999px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
}

/* ===== HERO ===== */
#hero {
  padding: 168px 24px 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
}
.hero-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-dim);
  margin-bottom: 26px;
  box-shadow: 0 2px 10px -6px rgba(90, 60, 20, 0.2);
}
.hero-sub .dot-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ramp);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
}
.hero-title {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 34px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-proof .p-item {
  display: flex;
  flex-direction: column;
}
.hero-proof .p-num {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}
.hero-proof .p-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-proof .p-div {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* --- Signature orbit visual --- */
.orbit-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  border: 1.5px dashed var(--border);
  border-radius: 50%;
}
.orbit-ring.r1 { width: 100%; height: 100%; animation: spin 46s linear infinite; }
.orbit-ring.r2 { width: 74%; height: 74%; border-style: solid; border-color: var(--border-soft); animation: spin-rev 34s linear infinite; }
.orbit-ring.r3 { width: 48%; height: 48%; animation: spin 26s linear infinite; }

.orbit-core {
  position: relative;
  width: 42%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-dim) 55%, var(--muted));
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px -18px rgba(242, 118, 10, 0.55);
  z-index: 3;
}
.orbit-core img {
  width: 58%;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.orbit-node {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--orange-deep);
  font-size: 17px;
  box-shadow: 0 10px 24px -10px rgba(90, 60, 20, 0.35);
  animation: float 5s ease-in-out infinite;
}
.orbit-node.n1 { top: 2%; left: 50%; transform: translate(-50%, 0); }
.orbit-node.n2 { top: 50%; right: -2%; transform: translate(0, -50%); animation-delay: 0.6s; }
.orbit-node.n3 { bottom: 6%; left: 12%; animation-delay: 1.2s; }
.orbit-node.n4 { top: 20%; left: -4%; animation-delay: 1.8s; }

.orbit-card {
  position: absolute;
  bottom: -6%;
  right: -8%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 44px -18px rgba(90, 60, 20, 0.3);
  z-index: 4;
  animation: float 6s ease-in-out infinite;
  animation-delay: 0.3s;
}
.orbit-card i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.orbit-card strong { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); }
.orbit-card span { font-size: 11.5px; color: var(--muted); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-node, .orbit-card { animation: none !important; }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  max-width: 1380px;
  margin: 0 auto 0;
  padding: 0 24px;
}
.stats-inner {
  background: var(--ink);
  border-radius: 24px;
  padding: 44px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stats-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 220px at 90% 0%, rgba(254, 186, 25, 0.22), transparent 70%);
}
.stat-item {
  position: relative;
  text-align: left;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  padding-left: 20px;
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-item i {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}
.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== ABOUT ===== */
#about .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-badge .ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ramp);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.about-badge strong { display: block; font-size: 13.5px; color: var(--ink); }
.about-badge span { font-size: 11.5px; color: var(--muted); }

.about-copy h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 20px; }
.about-copy p { font-size: 15.5px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}
.about-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
}
.about-list i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ===== STEPS (real onboarding sequence — numbering earns its place) ===== */
#steps { background: var(--bg-alt); }
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.steps-row::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 2px 4px rgba(90, 60, 20, 0.03), 0 18px 40px -22px rgba(90, 60, 20, 0.14);
}
.step-num {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--ramp);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 12px 26px -12px rgba(242, 118, 10, 0.5);
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-deep);
}

/* ===== BENTO — INITIATIVES ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 2px 4px rgba(90, 60, 20, 0.03), 0 18px 40px -22px rgba(90, 60, 20, 0.14);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(90, 60, 20, 0.22); }
.bento-card.big { grid-column: span 3; grid-row: span 2; justify-content: flex-start; }
.bento-card.med { grid-column: span 3; grid-row: span 1; }
.bento-card.wide { grid-column: span 4; grid-row: span 2; }
.bento-card.tall { grid-column: span 2; grid-row: span 2; justify-content: flex-start; }

.bento-card.dark {
  background: var(--ink);
  border-color: var(--ink);
}
.bento-card.dark h3, .bento-card.dark .bento-meta strong { color: #fff; }
.bento-card.dark p { color: rgba(255,255,255,0.6); }

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--bg-alt);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: auto;
}
.bento-card.dark .bento-icon { background: rgba(255,255,255,0.08); color: var(--gold); }
.bento-card.big .bento-icon { margin-bottom: 20px; }

.bento-card h3 { font-size: 19px; margin-bottom: 8px; }
.bento-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.bento-card.big p { max-width: 80%; margin-bottom: 20px; }

.bento-img {
  position: absolute;
  inset: 0;
}
.bento-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,12,4,0.82) 10%, rgba(20,12,4,0.15) 60%, transparent 100%);
}
.bento-card.wide .bento-img::after,
.bento-card.tall .bento-img::after {
  background: linear-gradient(0deg, rgba(20,12,4,0.85) 20%, rgba(20,12,4,0.2) 65%, transparent 100%);
}
.bento-card.wide h3, .bento-card.wide p,
.bento-card.tall h3, .bento-card.tall p { position: relative; z-index: 1; color: #fff; }
.bento-card.wide p, .bento-card.tall p { color: rgb(192 153 98); }

.bento-meta {
  display: flex;
  gap: 22px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.bento-meta strong { display: block; font-family: var(--display); font-size: 17px; }
.bento-meta span { font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ===== MISSION TABS ===== */
#mission { background: var(--bg-alt); }
.mission-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
}
.tab-btn.active {
  background: var(--ramp);
  color: #fff;
}
.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mission-text h3 { font-size: 26px; margin-bottom: 16px; }
.mission-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

.chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px 16px;
  box-shadow: 0 2px 4px rgba(90, 60, 20, 0.03), 0 18px 40px -22px rgba(90, 60, 20, 0.14);
}
.chart-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 20px; }
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 180px;
  position: relative;
}
.bar-chart::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: repeating-linear-gradient(to top, var(--border-soft) 0px, var(--border-soft) 1px, transparent 1px, transparent 25%);
}
.bar {
  flex: 1;
  background: var(--ramp);
  border-radius: 8px 8px 2px 2px;
  min-height: 4px;
  transition: height 1.1s var(--ease);
  position: relative;
  z-index: 1;
}
.bar-labels { display: flex; gap: 16px; margin-top: 12px; }
.bar-label { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }

/* ===== WHY CHOOSE ===== */
#why {
  background: var(--ink);
  border-radius: 32px;
  max-width: 1380px;;
  margin: 0 auto;
  padding: 100px 40px;
}
#why .section-head h2, #why .section-head h2 span { color: #fff; }
#why .section-head p { color: rgba(255,255,255,0.55); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  overflow: hidden;
}
.why-item {
  background: #14100a;
  padding: 32px 28px;
  display: flex;
  gap: 16px;
}
.why-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(254, 186, 25, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.why-item h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.5); font-size: 13.5px; line-height: 1.65; }

/* ===== VALUES ===== */
.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin: 0 auto 18px;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ===== COMMUNITY ===== */
#community .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px;
  box-shadow: 0 2px 4px rgba(90, 60, 20, 0.03), 0 24px 50px -26px rgba(90, 60, 20, 0.18);
}
.community-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.community-image img { width: 100%; height: 100%; object-fit: cover; }
.community-content h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 18px; }
.community-content p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.community-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}
.community-features div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.community-features i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--bg-alt);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  font-size: 10px;
}

/* ===== FAQ ===== */
.faq-container { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  border-left: 3px solid var(--border);
  transition: border-color 0.3s;
}
.faq-item.active { border-left-color: var(--orange); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  background: none;
  border: none;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question i { color: var(--orange-deep); transition: transform 0.3s; font-size: 13px; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item.active .faq-answer { max-height: 220px; }
.faq-answer p { padding: 0 26px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  padding: 80px 24px 0;
  margin-top: 60px;
}
.footer-top {
  max-width: 1380px;;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-brand .logo-img { width: 56px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin-bottom: 22px; max-width: 320px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: background 0.3s, color 0.3s;
}
.social-btn:hover { background: var(--ramp); }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-col i { color: var(--gold); font-size: 12px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1380px;;
  margin: 0 auto;
  padding: 26px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 6, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface);
  border-radius: 24px;
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 30px 70px -20px rgba(20,14,6,0.4);
  transform: translateY(16px);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.modal-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.form-group label i { color: var(--orange-deep); font-size: 11px; }
.form-group input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
}
.form-group input:focus { border-color: var(--orange); }
.modal-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: var(--ramp);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.modal-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.modal-switch a { color: var(--orange-deep); font-weight: 700; cursor: pointer; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--ink);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.4);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  z-index: 3000;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--gold); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Prevent animation from creating horizontal scroll */


/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  #hero { grid-template-columns: 1fr; padding-top: 150px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns, .hero-proof { justify-content: center; }
  .orbit-stage { margin-top: 20px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat-item:nth-child(3) { border-left: none; padding-left: 0; }
  #about .wrap { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .bento-card.big, .bento-card.wide, .bento-card.tall, .bento-card.med { grid-column: span 2; }
  .bento-card.big, .bento-card.tall { grid-row: span 2; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .values-row { grid-template-columns: 1fr 1fr; }
  #community .wrap { grid-template-columns: 1fr; padding: 36px; }
  .footer-top { grid-template-columns: 1fr; }
  .mission-tabs{
    justify-content: center;
  }
}

@media (max-width: 720px) {
  section { padding: 84px 18px; }
  .nav-links { position: fixed; top: 94px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; background: var(--ink); border: 1px solid var(--border); border-radius: 18px; padding: 20px; gap: 4px; box-shadow: 0 20px 50px -20px rgba(90,60,20,0.3); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: all 0.3s; }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; padding: 12px 6px; }
  .nav-actions { flex-direction: column; margin: 10px 0 0; width: 100%; }
  .nav-actions a { width: 100%; justify-content: center; text-align: center; }
  .hamburger { display: block; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-left: none !important; padding-left: 0 !important; text-align: center; }
  .about-list { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card.big, .bento-card.wide, .bento-card.tall, .bento-card.med { grid-column: span 1; grid-row: span 1; min-height: 220px; }
  .why-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr 1fr; }
  .community-features { grid-template-columns: 1fr; }
  #why { padding: 60px 22px; border-radius: 22px; }
}
/* ============================================================
   GALLERY — auto-scrolling community moments
   Append to web-assets/css/style.css (uses existing tokens: --ramp,
   --surface, --border, --muted, --display, --body, .reveal, .eyebrow etc.)
   ============================================================ */

#gallery {
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}
#gallery .section-head {
  padding: 0 24px;
}

.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.marquee-row {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* two full copies of the track are injected by JS so the loop is seamless;
   the animation just slides exactly one copy's width (-50%) */
.marquee-row[data-dir="left"] .marquee-track {
  animation: marquee-left 38s linear infinite;
}
.marquee-row[data-dir="right"] .marquee-track {
  animation: marquee-right 42s linear infinite;
}

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

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

.m-card {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  height: 170px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(90, 60, 20, 0.03), 0 14px 30px -18px rgba(90, 60, 20, 0.18);
  transition: transform 0.35s ease;
}
.m-card:hover {
  transform: translateY(-4px);
}
.m-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 12, 4, 0.75) 0%, transparent 55%);
}
.m-card span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

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

@media (max-width: 720px) {
  .m-card { width: 200px; height: 140px; }
  .marquee-row[data-dir="left"] .marquee-track { animation-duration: 26s; }
  .marquee-row[data-dir="right"] .marquee-track { animation-duration: 30s; }
}