/* ── Self-hosted fonts — DM Sans variable font ── */
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-normal.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ═══════════════════════════════════════════════
   INDIAN QA CLUB — DESIGN SYSTEM
   Dark editorial. Amber accent. Syne + DM Sans.
═══════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --ink:        #0a0d14;
  --ink-2:      #0f1420;
  --ink-3:      #161c2d;
  --surface:    #1a2235;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.12);

  /* Text */
  --white:      #ffffff;
  --off-white:  #e8edf5;
  --muted:      #7e8ea8;
  --muted-2:    #556070;

  /* Accents */
  --amber:      #f5a623;
  --amber-glow: rgba(245,166,35,0.15);
  --amber-deep: rgba(245,166,35,0.08);
  --cyan:       #00c9d4;
  --cyan-glow:  rgba(0,201,212,0.12);
  --blue:       #3b82f6;

  /* Typography */
  --font-display: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max:       1140px;
  --section-pad: 64px 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Container ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section Base ── */
.section {
  padding: var(--section-pad);
}
.section-dark {
  background: var(--ink-2);
}

/* ── Section Typography ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-deep);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 680px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), #e8940a);
  color: #0a0d14;
  box-shadow: 0 0 0 0 rgba(245,166,35,0);
}
.btn-primary:hover {
  box-shadow: 0 4px 32px rgba(245,166,35,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0,201,212,0.35);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transform: translateY(-1px);
}

/* ── YouTube Section ── */
.youtube-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
}

.youtube-channel-link {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--off-white);
}
.youtube-channel-link:hover {
  border-color: #ff0000;
  box-shadow: 0 4px 32px rgba(255,0,0,0.12);
}

.youtube-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.youtube-icon-wrap svg { width: 24px; height: 24px; }

.youtube-channel-info {
  flex: 1;
}
.youtube-channel-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.youtube-channel-info span {
  font-size: 0.85rem;
  color: var(--muted);
}

.youtube-arrow {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}
.youtube-channel-link:hover .youtube-arrow {
  transform: translateX(4px);
  color: #ff0000;
}

.youtube-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.youtube-topics span {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
}

.btn-nav {
  background: linear-gradient(135deg, var(--amber), #e8940a);
  color: #0a0d14;
  font-size: 0.82rem;
  padding: 9px 20px;
}
.btn-nav:hover {
  box-shadow: 0 4px 24px rgba(245,166,35,0.3);
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-wrap.scrolled {
  background: rgba(10,13,20,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}

.nav-logo {
  height: 40px;
  width: auto;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 8px;
  object-fit: contain;
}

.nav-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Animate to ✕ when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Dot grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Animated blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.12), transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,201,212,0.1), transparent 70%);
  bottom: 0; left: -80px;
  animation-delay: -4s;
}
.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  top: 50%; left: 40%;
  animation-delay: -8s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,166,35,0.25);
  background: rgba(245,166,35,0.06);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,166,35,0.4);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(245,166,35,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 680px;
}

.hero-accent {
  color: var(--amber);
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Who tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.who-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all 0.4s ease;
  cursor: default;
}

.who-tag.active {
  color: var(--amber);
  border-color: rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.08);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  padding: 24px 32px;
  width: fit-content;
  max-width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-2);
  flex-shrink: 0;
}

/* Scroll line */
.scroll-line {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: scrollDraw 2s ease-in-out infinite;
}

@keyframes scrollDraw {
  0% { transform: translateX(-50%) scaleY(0); transform-origin: top; }
  50% { transform: translateX(-50%) scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
/* JS adds .js-loaded to <body> before observer setup.
   Without JS, all content remains fully visible. */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-loaded .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════
   ABOUT — PRINCIPLES
════════════════════════════════════════ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.principle {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.principle:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.principle-icon {
  font-size: 1.2rem;
  color: var(--amber);
  margin-bottom: 16px;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.principle p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   FOCUS AREAS
════════════════════════════════════════ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.focus-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.focus-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.focus-card--featured {
  background: linear-gradient(135deg, rgba(245,166,35,0.06), rgba(245,166,35,0.02));
  border-color: rgba(245,166,35,0.2);
  grid-row: span 1;
}
.focus-card--featured:hover {
  border-color: rgba(245,166,35,0.4);
}

.focus-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.focus-icon svg {
  width: 22px; height: 22px;
  stroke: var(--amber);
}

.focus-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.focus-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.focus-tags span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,201,212,0.15);
  padding: 3px 10px;
  border-radius: 100px;
}

/* layout: 3 cols, last row needs 2 cards centered */
.focus-grid > .focus-card:nth-child(4) { grid-column: 1; }
.focus-grid > .focus-card:nth-child(5) { grid-column: 2; }

/* ════════════════════════════════════════
   IDENTITY
════════════════════════════════════════ */
.identity {
  background: var(--ink);
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.identity-col {
  padding: 48px 40px;
}

.identity-col h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.identity-col--no {
  background: var(--ink-2);
}
.identity-col--no h3 { color: var(--muted-2); }
.identity-col--no li {
  font-size: 1rem;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.identity-col--no li::before {
  content: '✕';
  font-size: 0.75rem;
  color: var(--muted-2);
  flex-shrink: 0;
}

.identity-col--yes {
  background: linear-gradient(135deg, rgba(245,166,35,0.04), transparent);
}
.identity-col--yes h3 { color: var(--amber); }
.identity-col--yes li {
  font-size: 1rem;
  color: var(--off-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.identity-col--yes li::before {
  content: '✓';
  font-size: 0.85rem;
  color: var(--amber);
  flex-shrink: 0;
}
.identity-col li:last-child { border-bottom: none; }

.identity-divider {
  width: 1px;
  background: var(--border);
}

/* ════════════════════════════════════════
   EVENTS
════════════════════════════════════════ */
.events-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.event-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.event-card:hover { border-color: var(--border-2); }

.event-card--featured {
  background: linear-gradient(135deg, rgba(245,166,35,0.06), var(--ink-3));
  border-color: rgba(245,166,35,0.2);
}
.event-card--featured:hover { border-color: rgba(245,166,35,0.4); }

.event-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0d14;
  background: var(--amber);
  padding: 4px 12px;
  border-radius: 100px;
}
.event-badge--recurring {
  background: var(--cyan);
  color: #0a0d14;
}

.event-type {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.event-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.event-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
}

.event-detail-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.event-detail span:last-child {
  color: var(--off-white);
  font-weight: 500;
}

.event-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.event-topics span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-deep);
  border: 1px solid rgba(245,166,35,0.15);
  padding: 4px 10px;
  border-radius: 100px;
}

.future-events {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.future-events h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
}

.future-events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.future-events-list span {
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ════════════════════════════════════════
   FOUNDER
════════════════════════════════════════ */
.founder-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.founder-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.founder-avatar {
  width: 100px; height: 100px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--amber), #e8940a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #0a0d14;
  border: 3px solid rgba(245,166,35,0.3);
  box-shadow: 0 0 40px rgba(245,166,35,0.15);
}

.founder-photo {
  width: 140px; height: 140px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(245,166,35,0.3);
  box-shadow: 0 0 40px rgba(245,166,35,0.15);
}

.founder-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.founder-role {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 20px;
}

.founder-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.f-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.f-stat strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--amber);
}
.f-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.founder-story {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder-story > p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}

.founder-quote {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
  font-size: 1.05rem;
  color: var(--off-white);
  line-height: 1.7;
  font-style: italic;
}

.founder-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
}

.founder-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.founder-expertise span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ════════════════════════════════════════
   JOIN
════════════════════════════════════════ */
.join-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: start;
}

.who-grid {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.who-grid h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.who-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.who-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--off-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.who-item:last-child { border-bottom: none; }

.who-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.benefits-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.benefits-card h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.1rem;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.join-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Sponsors page ── */
.sponsors-hero,
.events-page-hero {
  padding: 100px 0 48px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
}

.luma-section {
  padding: 0;
  background: var(--ink-2);
}

.luma-full-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.luma-full-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: block;
  background: #fff;
}

@media (max-width: 600px) {
  .luma-full-wrap iframe { min-height: 600px; }
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.sponsor-logo-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  margin-bottom: 24px;
}

.sponsor-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.sponsor-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.sponsor-tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 14px;
}

.sponsor-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.become-sponsor {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.become-sponsor-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .sponsors-grid { grid-template-columns: 1fr; }
  .become-sponsor { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Discussions ── */
.disc-hero {
  padding: 140px 0 80px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
}
.disc-hero .btn {
  margin-top: 28px;
}

.disc-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.disc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.disc-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 32px rgba(245,166,35,0.1);
  transform: translateY(-2px);
}

.disc-card-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disc-card-body { flex: 1; }
.disc-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}
.disc-card-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.disc-card-arrow {
  font-size: 1rem;
  color: var(--muted);
  flex-shrink: 0;
  align-self: center;
  transition: transform 0.2s, color 0.2s;
}
.disc-card:hover .disc-card-arrow {
  transform: translateX(4px);
  color: var(--amber);
}

.discussions-embed {
  margin-top: 40px;
}
.discussions-embed .giscus {
  max-width: 860px;
}

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(0,201,212,0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 1rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px 64px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
}

.footer-logo {
  height: auto;
  width: 220px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 12px;
  object-fit: contain;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: 2;
  grid-row: 1 / 3;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }

.footer-social {
  display: flex;
  gap: 12px;
  grid-column: 3;
  grid-row: 1;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--ink-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
}
.footer-social a:hover {
  color: var(--amber);
  border-color: rgba(245,166,35,0.3);
}
.footer-social svg {
  width: 16px; height: 16px;
}

.footer-copy {
  grid-column: 1;
  grid-row: 2;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted-2);
  line-height: 1.7;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid > .focus-card:nth-child(4) { grid-column: auto; }
  .focus-grid > .focus-card:nth-child(5) { grid-column: auto; }
  .founder-layout { grid-template-columns: 1fr; }
  .founder-card { position: static; flex-direction: row; text-align: left; max-width: 100%; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-links { grid-column: 2; grid-row: 1; flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
  .footer-social { grid-column: 2; grid-row: 2; }
  .footer-copy { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
  :root { --section-pad: 48px 0; }

  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ink);
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 100;
    padding-bottom: 40px;
  }
  .nav-links.open a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--off-white);
    transition: color 0.2s;
  }
  .nav-links.open a:hover,
  .nav-links.open a.active {
    color: var(--amber);
  }
  /* Clear backdrop-filter when menu is open — otherwise it becomes the
     containing block for position:fixed children, confining the overlay
     to the nav bar height instead of the full viewport */
  .nav-wrap.menu-open {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  /* Ensure toggle button sits above the overlay */
  .nav-wrap.menu-open .nav-toggle {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 101;
  }

  .principles-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-divider { width: 100%; height: 1px; }
  .join-layout { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }

  .hero-stats {
    flex-direction: column;
    width: 100%;
  }
  .stat { padding: 12px 0; }
  .stat-divider { width: 100%; height: 1px; }

  .founder-card { flex-direction: column; text-align: center; align-items: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; }
  .footer-social { grid-column: 1; grid-row: auto; }
  .footer-copy { grid-column: 1; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .event-card { padding: 24px; }
  .benefits-card, .who-grid { padding: 24px; }
  .identity-col { padding: 28px 24px; }
}

/* ════════════════════════════════════════
   FOCUS FIX — keyboard / focus visible
════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 4px;
}
