/* ============================================================
   MARKET MAKERS – style.css
   ============================================================ */

/* === VARIABLES === */
:root {
  --bg:           #08080c;
  --surface:      #0f0f16;
  --card:         rgba(255, 255, 255, 0.03);
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --accent:       #ff7a2f;
  --accent-hot:   #e8443a;
  --gradient:     linear-gradient(135deg, #ff7a2f 0%, #e8443a 100%);
  --text:         #f0f0f5;
  --muted:        #5a5a72;
  --muted-mid:    #8888a0;
  --max-w:        1100px;
  --radius:       12px;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, .nav-logo, .stat-num, .profile-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LAYOUT HELPERS === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.015) 50%, transparent 100%);
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 3rem;
  color: var(--text);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-right {
  transform: translateX(24px);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* === NAV === */
#nav {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
}

#nav.scrolled {
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* === SPONSOR BANNER === */
#sponsor-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.sponsor-banner-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-mid);
}

#sponsor-banner img {
  height: 26px;
  width: auto;
}

/* === HERO === */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 9rem 2rem 4rem;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at 60% 30%, rgba(232, 68, 58, 0.12) 0%, rgba(255, 122, 47, 0.08) 40%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.overline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-mid);
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted-mid);
  max-width: 38ch;
  line-height: 1.7;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.art-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(255, 122, 47, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* === STATS === */
#stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.01);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}

.stat-num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-mid);
  font-weight: 400;
}

.stat-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* === OM === */
.om-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.om-layout h2 {
  margin-bottom: 0;
}

.om-body p {
  color: var(--muted-mid);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.om-body p:last-of-type { margin-bottom: 1.5rem; }

.text-link {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.7; }

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
  border-radius: 50%;
  margin: 1.5rem auto 0;
  width: 75%;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }

.team-info {
  padding: 1.25rem 1.5rem;
}

.team-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.x-handle {
  font-size: 0.8rem;
  color: var(--muted-mid);
  font-weight: 400;
  transition: color 0.2s;
}
.x-handle:hover { color: var(--accent); }

.team-footnote {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

/* === LISTENER ICONS === */
.listener-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.listener-icons img {
  width: 220px;
  height: auto;
}

@media (max-width: 600px) {
  .listener-icons {
    gap: 1rem;
  }
  .listener-icons img {
    width: 80px;
  }
}

/* === LISTENER PROFILE === */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.3s;
}
.profile-card:hover { border-color: var(--border-hover); }

.profile-num {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.profile-desc {
  font-size: 0.8rem;
  color: var(--muted-mid);
  font-weight: 400;
}

/* === SPONSOR === */
.sponsor-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sponsor-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
  position: relative;
}
.sponsor-card:hover { border-color: var(--border-hover); }

.sponsor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.sponsor-card p {
  font-size: 0.9rem;
  color: var(--muted-mid);
  line-height: 1.7;
}

.sponsor-featured {
  border-color: rgba(255, 122, 47, 0.3);
  background: rgba(255, 122, 47, 0.04);
  padding-top: 2.75rem;
}
.sponsor-featured:hover { border-color: rgba(255, 122, 47, 0.5); }

.sponsor-badge {
  position: absolute;
  top: -1px;
  left: 2rem;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 6px 6px;
}

/* === SPONSOR LOGOS === */
.sponsor-logos {
  display: flex;
  justify-content: center;
}
.sponsor-logos img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  opacity: 0.85;
  filter: brightness(1.1);
}

/* === CONTACT === */
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-box .section-label {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.contact-box h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.contact-box p {
  color: var(--muted-mid);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}
.cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* === FOOTER === */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  border-radius: 4px;
  opacity: 0.8;
}

footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .reveal.reveal-right { transform: translateY(24px); }
  .hero-sub { margin: 0 auto; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 260px; }

  .om-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .sponsor-grid {
    grid-template-columns: 1fr;
  }
  .sponsor-featured { padding-top: 2.75rem; }
}

@media (max-width: 600px) {
  #hero { padding: 8rem 1.25rem 5rem; }
  .hero-text h1 { font-size: 2.8rem; }

  .stats-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .stat-sep { width: 60px; height: 1px; }

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

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

  .nav-links { display: none; }

  footer .container { flex-direction: column; gap: 0.5rem; text-align: center; }
}
