/* ─── Fonts ─────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Boldstrom';
  src: url('/fonts/Boldstrom.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg:          #000000;
  --surface:     #0D0D0D;
  --card:        #111111;
  --gold:        #FDC214;
  --gold-dim:    rgba(253,194,20,0.15);
  --gold-border: rgba(253,194,20,0.3);
  --text:        #F5F5F0;
  --text-60:     rgba(245,245,240,0.6);
  --text-40:     rgba(245,245,240,0.4);
  --text-20:     rgba(245,245,240,0.2);
  --green:       #4CAF50;
  --ff-head:     'Boldstrom', Arial, sans-serif;
  --ff-body:     Arial, sans-serif;
  --ff-serif:    'Boldstrom', Arial, sans-serif;
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ─── Typography ────────────────────────────────────────────────── */
.display { font-family: var(--ff-head); letter-spacing: 2px; text-transform: uppercase; }
.serif   { font-family: var(--ff-serif); font-style: italic; }
.label   { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-40); font-weight: 500; }

/* 2px letter-spacing on all Boldstrom D elements */
.hero-headline, .hero-accent, .stat-number,
.section-title, .step-title, .story-title,
.download-headline, .download-watermark,
.footer-brand-logo, .modal-title,
.card-member-num, .discipline-name,
.nav-logo, .ticker-item, .profile-avatar {
  letter-spacing: 2px;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  outline: none;
}

.btn-gold {
  background: var(--gold);
  color: #0A0A0A;
}
.btn-gold:hover { background: #FFD043; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--text-20);
  color: var(--text-60);
}
.btn-ghost:hover { border-color: var(--text-40); color: var(--text); }

/* ─── Nav ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10,10,10,0);
  backdrop-filter: blur(0px);
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--text-20);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-head);
  font-size: 1.6rem;
  letter-spacing: 2px;
}

.nav-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(253,194,20,0.4); }
  50%       { opacity: 0.8; transform: scale(1.15); box-shadow: 0 0 0 6px rgba(253,194,20,0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4rem 0;
  grid-column: 1 / -1;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(253, 194, 20, 0.2);
  border-top-color: #FDC214;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.nav-logo-img { height: 52px; width: auto; display: block; }

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

.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FDC214;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { padding: 0.6rem 1.4rem; font-size: 0.72rem; }

#applyBtn {
  border-radius: 50px;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem 3rem 2rem;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(253,194,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253,194,20,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}

.hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-content { flex: 1 1 auto; min-width: 0; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: none;
  display: none;
  width: 32px; height: 1px;
  background: var(--text-40);
}

.hero-headline {
  font-family: var(--ff-head);
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: white;
}

.hero-accent {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-40);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  flex-shrink: 0;
  padding-bottom: 0.25rem;
}

#heroApplyBtn {
  background-color: #FDC214;
  border-radius: 50px;
}
#heroExploreBtn {
  border-radius: 50px;
  color: #FDC214;
  border: solid 1px #FDC214;
}

.stat-item { text-align: right; }
.stat-number {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  line-height: 1;
  color: #FDC214;
}
.stat-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-40); margin-top: 0.2rem; }

/* ─── Video Showcase ────────────────────────────────────────────── */
.video-showcase {
  padding: 0;
  margin: 0;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#hqSoundBtn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #FDC214;
  background: transparent;
  color: #FDC214;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

#hqSoundBtn:hover {
  background: transparent;
}

/* ─── Ticker ────────────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--gold);
  padding: 0.9rem 0;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2.5rem;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #0A0A0A;
  white-space: nowrap;
}

.ticker-item::after {
  content: '●';
  font-size: 0.9rem;
  color: #000;
  opacity: 1;
}

/* ─── Section shell ─────────────────────────────────────────────── */
.section { padding: 7rem 3rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header { margin-bottom: 4rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-40);
  margin-bottom: 1rem;
}
.section-tag::before { content: none; display: none; width: 20px; height: 1px; background: var(--text-40); }
.section-title { font-family: var(--ff-head); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; text-transform: uppercase; color: #FDC214; }

/* ─── Membership ────────────────────────────────────────────────── */
#about {
  position: relative;
  overflow: hidden;
}

/* Circle 1 — large, top left */
#about::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.08;
  pointer-events: none;
}

/* Circle 2 — small, right edge middle */
#about::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.06;
  pointer-events: none;
}

/* Circle 3 — medium, bottom centre */
.membership-grid::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.05;
  pointer-events: none;
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.membership-perks { list-style: none; margin: 2rem 0 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.membership-perks li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-40);
  line-height: 1.5;
}
.membership-perks li::before {
  content: '—';
  color: var(--text-40);
  flex-shrink: 0;
  font-weight: 700;
}

.profile-card-static {
  background: transparent;
  border: #FDC214 2px solid;
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.profile-card-static::after {
  content: 'MEMBER';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-20);
}

.profile-avatar {
  width: 56px; height: 56px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--gold);
}

.profile-avatar-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-name { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 600; color: var(--gold); letter-spacing: 2px; }
.profile-discipline {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.profile-bio { font-size: 0.88rem; color: var(--text); line-height: 1.65; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.tag-pill {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid #FDC214;
  background-color: #FDC214;
  color: black;
  border-radius: 50px;
}
.profile-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-40);
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}
#perksApplyBtn {
  border-radius: 50px;
}

/* ─── Disciplines ───────────────────────────────────────────────── */
.disciplines-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: transparent;
}

.discipline-tile {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  font-family: var(--ff-head);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.discipline-tile:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.2),
    inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.discipline-tile.active {
  border-color: #FDC214;
  color: #FDC214;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 194, 20, 0.3),
    inset 0 -1px 0 rgba(255, 194, 20, 0.1),
    inset 1px 0 0 rgba(255, 194, 20, 0.15),
    inset -1px 0 0 rgba(255, 194, 20, 0.05);
}

/* ─── Discover section circle ───────────────────────────────────── */
#discover {
  position: relative;
  overflow: hidden;
}

#discover::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.06;
  pointer-events: none;
}

/* ─── Members grid / cards ──────────────────────────────────────── */
.members-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-input {
  width: 100%;
  background: black;
  border: 2px solid #FDC214;
  padding: 0.75rem 1rem 0.75rem 1rem;
  font-size: 0.85rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 50px;
}
.search-input::placeholder { color: white;}
.search-input:focus { border-color: var(--gold-border); color: #FDC214;}

.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid #FDC214;
  border-radius: 50px;
  color: #FDC214;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--ff-head);
}
.filter-pill.active,
.filter-pill:hover { border-color: var(--gold); color: black; background-color: #FDC214;}

.discipline-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-bottom 0.35s ease;
}
.discipline-filters.open {
  max-height: 300px;
  opacity: 1;
  margin-bottom: 2rem;
}

.discipline-filter-item {
  padding: 0.45rem 1rem;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FDC214;
  background: transparent;
  border: 1px solid #FDC214;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s;
}
.discipline-filter-item:hover,
.discipline-filter-item.selected {
  border-color: var(--gold);
  color: black;
  background: #FDC214;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  min-height: 200px;
}

/* 3D Flip Card */
.card-wrap {
  perspective: 1000px;
  position: relative;
  height: 200px;
}

.creator-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  border-radius: 15px;
}

.card-wrap:hover .creator-card { transform: rotateY(180deg); }

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 15px;
  background: transparent;
  border: 2px solid var(--gold);
}

.card-back {
  transform: rotateY(180deg);
  background: transparent;
}

.card-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-avatar-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.card-avatar {
  width: 48px; height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.card-name { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 0.2rem; color: #FDC214; }
.card-discipline { display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; background: #FDC214; color: black; border: 1px solid #FDC214; border-radius: 999px; padding: 3px 10px; line-height: 1; margin-bottom: 0.5rem; }
.card-front-bio { font-size: 0.72rem; color: white; line-height: 1.5; margin-top: 0.25rem; }
.card-location { font-size: 0.75rem; color: var(--text-40); margin-top: 1rem; text-align: center; }
.card-status { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.72rem; color: var(--text-40); margin-top: 0.35rem; }

.card-back-bio { font-size: 0.74rem; color: var(--text); line-height: 1.5; margin-bottom: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-back-label { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.card-back-value { font-size: 0.74rem; color: var(--text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-back-socials { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.social-badge {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--gold-border);
  color: var(--text-60);
}
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.card-member-num { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; font-family: var(--ff-head); }
.card-year { font-size: 0.7rem; color: var(--text-40); }

/* Locked card */
.card-locked {
  background: transparent;
  border: 2px solid var(--text-20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  height: 200px;
  cursor: pointer;
  transition: border-color 0.2s;
  border-radius: 15px;
}
.card-locked:hover { border-color: var(--gold-border); }
.lock-icon { font-size: 2rem; margin-bottom: 1rem; opacity: 0.4; }
.lock-text { font-size: 0.85rem; color: var(--text-40); line-height: 1.6; }
.lock-cta { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }

/* ─── How it works ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.step-num {
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--ff-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--text-20);
  user-select: none;
}

.step-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  background-color: #FDC214;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.step-title { font-family: var(--ff-head); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 0.75rem; color: #FDC214; }
.step-desc { font-size: 0.88rem; color: white; line-height: 1.7; }

/* ─── Stories ───────────────────────────────────────────────────── */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.story-collab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.collab-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  border-radius: 50px;
}
.collab-sep { color: var(--text-20); font-size: 1.2rem; }

.story-title { font-family: var(--ff-head); font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 0.75rem; }
.story-excerpt { font-size: 0.85rem; color: var(--text-60); line-height: 1.7; margin-bottom: 2rem; }

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--text-20);
  padding-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-40);
  letter-spacing: 0.08em;
}

/* ─── About ─────────────────────────────────────────────────────── */
.about-wrap {
  max-width: 680px;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-60);
}

.about-lead {
  font-size: 1.2rem !important;
  color: var(--text) !important;
  line-height: 1.7 !important;
}

.about-statement {
  font-family: var(--ff-head);
  font-size: 1.5rem !important;
  color: #FDC214 !important;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
}

.about-list {
  color: var(--text) !important;
  font-style: italic;
}

.about-sign {
  color: var(--text-40) !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.05em;
}

/* ─── Download CTA ──────────────────────────────────────────────── */
.download-section {
  background: var(--gold);
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.download-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: clamp(8rem, 18vw, 18rem);
  color: rgba(0,0,0,0.07);
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
}

.download-content { position: relative; z-index: 1; }

.download-headline {
  font-family: var(--ff-head);
  font-size: clamp(2.5rem, 6vw, 6rem);
  text-transform: uppercase;
  color: #0A0A0A;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.download-sub { font-size: 1rem; color: rgba(10,10,10,0.6); margin-bottom: 3rem; }

.store-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  background: #0A0A0A;
  color: #F5F5F0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}
.store-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.store-btn-icon { font-size: 1.4rem; }
.store-btn-text { text-align: left; }
.store-btn-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; display: block; }

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid var(--text-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto 4rem;
}

.footer-brand-logo {
  font-family: var(--ff-head);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-brand-desc { font-size: 0.85rem; color: var(--text-40); line-height: 1.7; max-width: 280px; }

.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid #FDC214;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #FDC214;
  transition: all 0.2s;
  border-radius: 50%;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

.footer-col-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FDC214;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-40); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-link-plain { font-size: 0.85rem; color: var(--text-40); }

.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #FDC214;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-40);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Modal ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  position: relative;
  overflow: clip;
  border-radius: 15px;
  width: 100%;
  max-width: 540px;
  background: #080808;
  transform: translateY(20px);
  transition: transform 0.25s;
  border: 2px solid #FDC214;
  box-shadow:
    inset 0 1.5px 0   rgba(255,255,255,.10),
    inset 0 -1px  0   rgba(255,255,255,.015),
    inset 1.5px 0 0   rgba(255,255,255,.04),
    inset -1px  0 0   rgba(255,255,255,.009),
    inset 0 18px 50px rgba(0,0,0,.18),
    inset 0 -8px 20px rgba(0,0,0,.12),
    0 22px 60px rgba(0,0,0,.65),
    0  6px 18px rgba(0,0,0,.45);
}

/* Caustic streak */
.modal::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    116deg,
    transparent            28%,
    rgba(255,255,255,.04)  37%,
    rgba(255,255,255,.009) 44%,
    rgba(255,255,255,.022) 49%,
    rgba(255,255,255,.005) 56%,
    transparent            65%
  );
  transform: translateX(-18%) rotate(7deg);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

/* Top rim + bottom bounce */
.modal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(255,255,255,.029) 0%,
    rgba(255,255,255,.007) 12%,
    transparent            30%,
    transparent            80%,
    rgba(255,255,255,.007) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.modal > * { position: relative; z-index: 1; }
.modal-overlay.open .modal { transform: translateY(0); }

.modal-body {
  padding: 3rem;
  overflow-y: auto;
  max-height: calc(90svh - 4rem);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(253,194,20,0.3) transparent;
}
.modal-body::-webkit-scrollbar { display: none; }
.modal-body { -ms-overflow-style: none; scrollbar-width: none; }

.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 10;
}
.modal-close img { width: 24px; height: 24px; display: block; }
.modal-close:hover { opacity: 1; }

.modal-title { font-family: var(--ff-head); font-size: 2.2rem; text-transform: uppercase; margin-bottom: 0.4rem; color: #FDC214; text-align: center; }
.modal-sub { font-size: 0.85rem; color: white; margin-bottom: 2rem; text-align: center; }

.form-group { margin-bottom: 1.25rem; }
.form-label { font-family: var(--ff-head); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #FDC214; display: block; margin-bottom: 0.5rem; text-align: center; }
label[for="fieldBio"] { text-align: left; }

.form-input, .form-select {
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  /* Belt-and-suspenders for embedded WebViews (Instagram/Facebook in-app
     browsers etc.) that ignore background-color overrides on native form
     chrome: an inset box-shadow paints on top of that native layer even
     when background-color doesn't win. */
  box-shadow: 0 0 0 1000px #080808 inset !important;
  border: 1px solid #FDC214;
  color: #F5F5F0 !important;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color 0.2s, background-color 86400s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 50px;
  -webkit-text-fill-color: #F5F5F0;
  text-align: center;
  color-scheme: dark;
}
.form-input:focus, .form-select:focus { border-color: var(--gold-border); color: #F5F5F0 !important; -webkit-text-fill-color: #F5F5F0; background: transparent !important; background-color: transparent !important; }
.field-wrap { display: flex; align-items: center; gap: 8px; }
.field-wrap .form-input { flex: 1; }
.field-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.field-icon.icon-ok    { display: flex; border: 1.5px solid #00cc66; }
.field-icon.icon-error { display: flex; border: 1.5px solid #FF0000; }
.form-input::placeholder { color: white; text-align: center; }
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:autofill {
  -webkit-box-shadow: 0 0 0 1000px #080808 inset !important;
  box-shadow: 0 0 0 1000px #080808 inset !important;
  -webkit-text-fill-color: #F5F5F0 !important;
  border-color: #FDC214 !important;
  caret-color: #F5F5F0;
  transition: border-color 0s;
}
#fieldBio { border-radius: 10px; height: 6rem; padding-top: 2rem; }

.form-select option { background: var(--card); }

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem;
  background: #000;
  border: 1px solid #FDC214;
  border-radius: 10px;
}

.tag-option {
  padding: 0.3rem 0.85rem;
  font-family: var(--ff-head);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #FDC214;
  border-radius: 50px;
  color: #FDC214;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.tag-option:hover:not(.tag-option-disabled) { border-color: #FDC214; color: black; background-color: #FDC214; }
.tag-option.tag-option-selected { background: var(--gold); border-color: var(--gold); color: #000; }
.tag-option.tag-option-disabled { opacity: 0.25; cursor: not-allowed; pointer-events: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Toast ─────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--text-20);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  min-width: 280px;
  font-size: 0.85rem;
  color: var(--text-60);
  animation: toast-in 0.3s ease forwards;
  pointer-events: auto;
}

.toast.removing { animation: toast-out 0.3s ease forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}

.toast-title { font-weight: 600; color: var(--text); margin-bottom: 0.2rem; font-size: 0.88rem; }

/* ─── Fade-up animation ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Utility ───────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--text-20); }
.gold { color: var(--gold); }
.text-dim { color: var(--text-60); }
.mt-1 { margin-top: 1rem; }
.members-empty {
  grid-column: 1/-1;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FDC214;
  font-size: 0.9rem;
  background: transparent;
  border: 1.5px solid #FDC214;
  border-radius: 15px;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .membership-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .section { padding: 5rem 1.5rem; }
  .hero { padding: 0 1.5rem 3rem; }
  .hero-bottom { flex-direction: column; gap: 2.5rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .stat-item { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .members-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card-wrap { height: 200px; }
  .card-face { padding: 1.25rem; }
  .card-avatar-row { margin-bottom: 0.5rem; }
  .card-avatar-img { width: 36px; height: 36px; }
  .card-avatar-init { width: 36px; height: 36px; font-size: 0.9rem; }

  .modal-overlay { padding: 1rem; }
  .modal-body { padding: 2rem 1.75rem; max-height: calc(92svh - 2rem); }
  .modal-title { font-size: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .modal-overlay { padding: 0.5rem; }
  .modal-body { padding: 1.5rem 1.25rem; max-height: calc(94svh - 1rem); }
  .modal-title { font-size: 1.4rem; }
  .modal-sub { font-size: 0.8rem; margin-bottom: 1.25rem; }
  .form-input, .form-select { font-size: 0.85rem; padding: 0.65rem 0.875rem; }
}