/* ============================================================
   Elites Run — marketing site
   Brand tokens pulled from brand/BRAND.md
   Self-contained: fonts loaded from ./assets/fonts
   ============================================================ */

@font-face {
  font-family: 'Troneck';
  src: url('../assets/fonts/troneck-regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Nashville';
  src: url('../assets/fonts/nhl-nashville-regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'AlfaSlab';
  src: url('../assets/fonts/alfaslabone-regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Marcellus';
  src: url('../assets/fonts/marcellus-sc-regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}

:root {
  /* core brand */
  --lime: #C3F56E;
  --cyan: #46D3EE;
  --bg: #EFF4FB;
  --ink: #1C2434;
  --graphite: #14121C;
  --muted: #8A99AF;
  --border: #E5E8EC;
  --lime-muted: #BDD692;
  --yellow: #FFDD32;
  --amber: #FFAD33;

  --grad-brand: linear-gradient(135deg, #C3F56E, #46D3EE);
  --grad-accent: linear-gradient(135deg, #FFDD32, #FFAD33);

  --r-card: 22px;
  --r-md: 16px;
  --pill: 100px;

  --shadow-soft: 0 18px 50px rgba(28, 36, 52, .10);
  --shadow-card: 0 30px 70px rgba(28, 36, 52, .16);
  --shadow-photo: 0 40px 90px rgba(20, 18, 28, .45);

  --sans: 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Troneck', var(--sans);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 90px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- shared type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .2px; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text-warm {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 14px;
  color: var(--cyan);
}
.eyebrow-dark { color: #2aa9c4; }
.eyebrow-warm { color: #d79a13; }

.section-tag {
  font-family: var(--display);
  letter-spacing: 4px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.tag-warm { color: #c89211; }

/* ---------- brand mark ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 18px rgba(70, 211, 238, .55);
}
.brand-name { font-family: var(--display); font-size: 21px; letter-spacing: .5px; color: var(--ink); }
.brand-logo { height: 50px; width: auto; display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); font-weight: 600; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.btn-grad {
  background: var(--grad-brand);
  color: var(--graphite);
  padding: 12px 26px;
  font-size: 15px;
  box-shadow: 0 10px 26px rgba(70, 211, 238, .35);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(70, 211, 238, .45); }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  border-radius: 14px; padding: 12px 20px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.store-btn svg { width: 26px; height: 26px; fill: #fff; flex: 0 0 26px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 11px; opacity: .8; font-weight: 400; }
.store-btn strong { font-size: 17px; font-weight: 600; letter-spacing: .2px; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(28,36,52,.28); }
.store-dark { background: #14121C; }
.store-dark:hover { background: #211d2e; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.scrolled {
  background: rgba(239, 244, 251, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(28,36,52,.06);
}
.nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: .82; transition: opacity .2s, color .2s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(60px, 9vh, 110px);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 80% 18%, rgba(70, 211, 238, .26), transparent 60%),
    radial-gradient(50% 50% at 92% 70%, rgba(195, 245, 110, .22), transparent 62%),
    radial-gradient(45% 40% at 6% 12%, rgba(195, 245, 110, .14), transparent 60%);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.06); }
}
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.hero-grid {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-title {
  font-size: clamp(48px, 7.4vw, 94px);
  margin: 22px 0 0;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: #51607a;
  margin-top: 26px; max-width: 520px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  display: flex; align-items: center; gap: 10px;
  margin-top: 26px; font-size: 14px; color: var(--muted); font-weight: 500;
}
.dot-mini { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 12px var(--cyan); flex: 0 0 9px; }

/* hero visual */
.hero-visual { perspective: 1200px; }
.hero-stage { position: relative; will-change: transform; }
.hero-photo {
  position: relative;
  border-radius: 28px; overflow: hidden;
  background: var(--graphite);
  box-shadow: var(--shadow-photo);
  border: 1px solid rgba(255,255,255,.08);
  aspect-ratio: 4 / 4.6;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,18,28,.5));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-card);
}
.float-card .fc-meta { display: flex; flex-direction: column; line-height: 1.25; }
.float-card .fc-meta strong { font-size: 14px; color: var(--ink); }
.float-card .fc-meta span { font-size: 12px; color: var(--muted); }
.float-share { left: -26px; top: 22%; animation: floaty 6s ease-in-out infinite; }
.float-streak { right: -22px; bottom: 16%; animation: floaty 7s ease-in-out infinite .6s; }
.fc-thumb { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-brand); flex: 0 0 38px; }
.streak-flame {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  background: var(--grad-accent); color: var(--graphite);
  display: grid; place-items: center; font-size: 16px; font-weight: 800;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* scroll cue */
.scroll-cue {
  position: relative; z-index: 2;
  display: block; width: 26px; height: 42px; margin: clamp(34px,5vh,56px) auto 0;
  border: 2px solid var(--muted); border-radius: var(--pill); opacity: .6;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--ink); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ============================================================
   AGGREGATION STRIP
   ============================================================ */
.aggregate {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px var(--gutter) 8px;
  text-align: center;
}
.aggregate-label { font-family: var(--display); letter-spacing: 1px; font-size: 16px; color: var(--muted); }
.source-row {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 18px;
}
.source-row li {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--pill);
  padding: 10px 20px; font-weight: 600; font-size: 14px; color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.src-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); }
.source-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillar {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px, 11vh, 130px) var(--gutter);
}
.ghost-num {
  position: absolute; top: -.18em; right: var(--gutter);
  font-family: 'AlfaSlab', var(--display);
  font-size: clamp(140px, 26vw, 360px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(70,211,238,.16);
  pointer-events: none; z-index: 0; user-select: none;
}
.ghost-warm { -webkit-text-stroke: 1.5px rgba(255,173,51,.18); right: auto; left: var(--gutter); }
.pillar-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 90px);
  align-items: center;
}
.pillar-copy h2 { font-size: clamp(34px, 4.4vw, 58px); margin: 14px 0 0; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #51607a; margin-top: 20px; max-width: 480px; }

/* ticks */
.ticks { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink); }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand);
  color: var(--graphite); font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* style strip (AI section) */
.style-strip { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; align-items: stretch; }
.style-card {
  position: relative; width: 96px; border-radius: 14px; overflow: hidden;
  background: var(--graphite); box-shadow: var(--shadow-soft);
  border: 1px solid var(--border); transition: transform .3s ease, box-shadow .3s ease;
}
.style-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.style-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 11px; font-weight: 700; color: #fff; text-align: center;
  padding: 14px 4px 6px; background: linear-gradient(0deg, rgba(20,18,28,.85), transparent);
}
.style-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.style-card.ph { display: grid; place-items: center; aspect-ratio: 4/5; }
.style-card.ph img { display: none; }
.style-card.ph::before { content: 'style'; color: var(--muted); font-size: 11px; }
.style-more {
  width: 96px; border-radius: 14px; display: grid; place-content: center; text-align: center;
  background: var(--grad-brand); color: var(--graphite); aspect-ratio: 4/5;
}
.style-more strong { font-family: 'AlfaSlab', var(--display); font-size: 26px; }
.style-more span { font-size: 12px; font-weight: 700; }

/* stat row (gamify) */
.stat-row { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'AlfaSlab', var(--display); font-size: clamp(34px, 4vw, 50px); line-height: 1; color: var(--ink); }
.stat-lbl { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 600; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge-chip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--pill);
  padding: 9px 16px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-soft);
}

/* progress chart card */
.chart-card {
  margin-top: 30px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow-soft); max-width: 420px;
}
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; }
.chart-eyebrow { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }
.chart-value { display: block; font-family: 'AlfaSlab', var(--display); font-size: 34px; color: var(--ink); margin-top: 4px; }
.chart-trend { font-size: 12px; font-weight: 700; color: #2aa56b; background: rgba(70,211,160,.12); padding: 6px 10px; border-radius: var(--pill); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; margin-top: 18px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: var(--grad-brand); opacity: .35; transform-origin: bottom; transform: scaleY(.05);
}
.bars.in span { animation: barGrow .8s cubic-bezier(.2,.8,.2,1) forwards; }
.bars.in span:nth-child(1){animation-delay:.05s} .bars.in span:nth-child(2){animation-delay:.12s}
.bars.in span:nth-child(3){animation-delay:.19s} .bars.in span:nth-child(4){animation-delay:.26s}
.bars.in span:nth-child(5){animation-delay:.33s} .bars.in span:nth-child(6){animation-delay:.40s}
.bars.in span:nth-child(7){animation-delay:.47s; opacity: 1;}
@keyframes barGrow { to { transform: scaleY(1); } }

/* alt section background */
.pillar-alt { background: linear-gradient(180deg, transparent, rgba(255,221,50,.05), transparent); max-width: 100%; }
.pillar-alt .pillar-grid { max-width: var(--maxw); margin: 0 auto; }

/* phone mock */
.pillar-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: clamp(240px, 30vw, 310px); aspect-ratio: 9 / 19;
  background: #14121C; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-card), inset 0 0 0 2px rgba(255,255,255,.06);
  border: 1px solid rgba(20,18,28,.2);
}
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #14121C; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(70,211,238,.18), transparent 55%),
    linear-gradient(180deg, #1b2231, #14121C);
}
.phone-screen .shot { width: 100%; height: 100%; object-fit: cover; }
.shot-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 24px; color: #fff;
}
.shot-ph-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(70,211,238,.4); border-radius: var(--pill); padding: 5px 12px;
}
.shot-ph strong { font-family: var(--display); font-size: 20px; }
.shot-ph em { font-style: normal; font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,7vh,90px) var(--gutter) clamp(60px,10vh,120px); text-align: center; }
.how-head h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 12px; }
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 54px; text-align: left;
}
.step {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 34px 28px; box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.step::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--grad-brand); transition: width .4s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step:hover::before { width: 100%; }
.step-num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad-brand); color: var(--graphite);
  font-family: 'AlfaSlab', var(--display); font-size: 24px;
}
.step h3 { font-size: 26px; margin: 22px 0 10px; }
.step p { color: #51607a; font-size: 15px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { padding: clamp(20px,4vh,40px) var(--gutter) clamp(60px,10vh,120px); }
.cta-card {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  border-radius: 34px; background: linear-gradient(to bottom, #05080D, #05080D);
  padding: clamp(44px, 7vw, 92px);
  box-shadow: var(--shadow-card);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: #05080D;
}
.cta-photo { position: absolute; right: -2%; top: 0; bottom: 0; width: 48%; z-index: 0; opacity: .9; }
.cta-photo img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.cta-inner { position: relative; z-index: 2; max-width: 560px; color: #fff; }
.cta-eyebrow { color: var(--lime); }
.cta-inner h2 { font-size: clamp(34px, 5vw, 64px); margin: 16px 0 0; color: #fff; }
.cta-sub { color: rgba(255,255,255,.78); font-size: 17px; margin-top: 20px; }
.cta-buttons { margin-top: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #fff; border-top: 1px solid var(--border); padding-bottom: 16px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gutter) 12px;
  display: flex; justify-content: center;
}
.footer-cols { display: flex; justify-content: center; gap: 60px; text-align: center; }
.footer-cols > div { display: flex; flex-direction: column; align-items: center; }
.footer-cols h4 { font-family: var(--display); font-size: 15px; letter-spacing: 1px; margin-bottom: 16px; color: var(--ink); }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-product-cols { display: flex; gap: 40px; justify-content: center; }
.footer-product-cols > div { display: flex; flex-direction: column; align-items: center; }
.footer-base {
  max-width: var(--maxw); margin: 0 auto; padding: 12px var(--gutter) 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  font-size: 12px; color: var(--muted);
}
.footer-base-row { display: flex; align-items: center; justify-content: center; gap: 18px; }
.footer-base-row span { color: var(--muted); font-size: 12px; font-weight: 400; }
.footer-base a:hover { color: var(--cyan); }
.footer-base .footer-tagline { margin: 4px 0 0; font-size: 14px; }
.footer-base .footer-contact { margin: 0; font-size: 13px; line-height: 1.5; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-glow, .float-card, .scroll-cue span, .bars.in span,
  .route-trace, .medal, .pin-active circle:first-child { animation: none !important; }
  .bars span { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   EXPLORE / LANDMARKS  (dark cinematic band)
   ============================================================ */
.explore { padding: clamp(20px,4vh,48px) var(--gutter); }
.explore-card {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  border-radius: 34px; background: var(--graphite);
  padding: clamp(40px, 6vw, 84px);
  box-shadow: var(--shadow-card);
}
.explore-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 88% 18%, rgba(70,211,238,.22), transparent 60%),
    radial-gradient(46% 56% at 70% 96%, rgba(195,245,110,.18), transparent 62%);
}
.explore-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,70px);
  align-items: center;
}
.explore-copy h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 14px 0 0; color: #fff; }
.explore-sub { color: rgba(255,255,255,.78); font-size: 17px; margin-top: 20px; max-width: 440px; }

.landmark-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lm-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #fff; border-radius: var(--pill); padding: 9px 16px; font-size: 14px; font-weight: 600;
}
.lm-pin { width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(45deg); background: var(--grad-brand); box-shadow: 0 0 10px var(--cyan); }
.lm-more { background: var(--grad-brand); color: var(--graphite); border-color: transparent; }
.explore-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }

/* route map visual */
.explore-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.route-map { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.route-trace {
  stroke-dasharray: 6 10; opacity: .95;
  filter: drop-shadow(0 0 8px rgba(70,211,238,.5));
  animation: dashFlow 9s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -160; } }
.pin circle:first-child { fill: rgba(70,211,238,.18); stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.pin-core { fill: #fff; }
.pin-active circle:first-child { fill: rgba(195,245,110,.25); stroke: #C3F56E; stroke-width: 2; animation: pinPulse 2.2s ease-in-out infinite; }
.pin-active .pin-core { fill: #C3F56E; }
@keyframes pinPulse { 0%,100% { opacity: .55; r: 11px; } 50% { opacity: 1; r: 14px; } }

.medal {
  position: absolute; display: grid; place-items: center;
  width: 90px; height: 90px; border-radius: 12px;
  background: var(--grad-brand); color: var(--graphite);
  box-shadow: 0 18px 40px rgba(70,211,238,.35), inset 0 0 0 4px rgba(255,255,255,.35);
  font-size: 28px; animation: floaty 6s ease-in-out infinite;
  overflow: hidden;
}
.medal img { width: 100%; height: 100%; object-fit: cover; }
.medal i { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--graphite); color: #C3F56E; font-size: 14px; font-style: normal; display: grid; place-items: center; border: 2px solid var(--graphite); }
.medal-1 { top: 25%; right: 8%; }
.medal-2 { bottom: 12%; right: 24%; animation-delay: .8s; }
.medal-3 { top: 16%; left: 25%; animation-delay: .4s; }
.medal-4 { bottom: 20%; left: 5%; animation-delay: 1.2s; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,10vh,120px) var(--gutter) clamp(40px,6vh,72px); text-align: center; }
.community-head h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 12px; }
.community-sub { color: #51607a; font-size: 17px; margin-top: 18px; }
.heart { color: #ff5a7a; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; text-align: left; }
.comm-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 34px 28px; box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.comm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.comm-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-brand); font-size: 26px; margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(70,211,238,.25);
}
.comm-card h3 { font-size: 25px; margin-bottom: 10px; }
.comm-card p { color: #51607a; font-size: 15px; }

/* ============================================================
   FOOTER — contact additions
   ============================================================ */
.footer-tagline { color: var(--muted); font-weight: 600; margin-top: 16px; font-size: 12px; text-align: center; }
.footer-contact { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 14px; }
.footer-contact a { color: var(--cyan); font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.btn-outline {
  display: inline-flex; align-items: center; margin-top: 18px;
  border: 1px solid var(--border); border-radius: var(--pill);
  padding: 10px 22px; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.btn-outline:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 8px auto 0; order: 2; }
  .hero-copy { order: 1; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid.reversed .pillar-visual { order: 2; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-visual { min-height: 260px; }
  .community-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .float-share { left: -10px; }
  .float-streak { right: -8px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .store-btn { flex: 1; }
  .hero-cta { width: 100%; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-base { flex-direction: column; gap: 8px; }
  .float-card { transform: scale(.9); }
}
