:root {
  --black: #080706;
  --charcoal: #14110f;
  --ink: #f6efe5;
  --muted: #b7a99b;
  --gold: #c99655;
  --gold-soft: #e5c38c;
  --wine: #741f28;
  --smoke: rgba(255, 255, 255, 0.1);
  --panel: rgba(20, 17, 15, 0.82);
  --line: rgba(246, 239, 229, 0.16);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::selection {
  color: var(--black);
  background: var(--gold-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--ink);
  background: rgba(8, 7, 6, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--black);
  background: var(--gold-soft);
  border-radius: 6px;
  font-size: 0.82rem;
}

.main-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 72px) 54px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/community-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0.62) 48%, rgba(8, 7, 6, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.18) 38%, rgba(8, 7, 6, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 13vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5.4vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 690px;
  color: rgba(246, 239, 229, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--gold-soft);
}

.button.primary:hover {
  background: #f0d39c;
}

.button.ghost {
  color: var(--ink);
  border-color: rgba(246, 239, 229, 0.45);
}

.button.ghost:hover {
  border-color: var(--gold-soft);
}

.event-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 54px;
  z-index: 1;
  width: min(340px, calc(100% - 36px));
  padding: 22px;
  background: rgba(8, 7, 6, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.event-card span {
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 2rem;
  line-height: 1;
}

.event-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.intro-section,
.section,
.split-section,
.waitlist-section,
.manifesto {
  padding: clamp(68px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.intro-grid p,
.split-copy p,
.waitlist-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.image-band {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.image-band img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 7, 6, 0.94), rgba(8, 7, 6, 0.16) 55%, rgba(8, 7, 6, 0.46));
}

.band-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 clamp(18px, 5vw, 72px) 70px;
}

.band-copy p {
  color: rgba(246, 239, 229, 0.82);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 310px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card span {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--gold-soft);
  font-weight: 900;
}

.card p,
.check-list {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  background: var(--charcoal);
}

.split-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media img {
  aspect-ratio: 3 / 4;
  height: 100%;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.manifesto {
  background: var(--wine);
}

.manifesto p {
  max-width: 1150px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 900;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.stats strong {
  display: block;
  color: var(--gold-soft);
  font-size: 1.7rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

select {
  color: var(--ink);
}

option {
  color: var(--black);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold-soft);
  font-weight: 900;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(8, 7, 6, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 860px;
  }

  .event-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 36px;
  }

  .intro-grid,
  .cards,
  .split-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .image-band {
    min-height: 640px;
  }

  .split-media img {
    max-height: 760px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 150px;
  }

  .hero,
  .intro-section,
  .section,
  .split-section,
  .waitlist-section,
  .manifesto {
    padding-inline: 16px;
  }

  .hero-actions .button,
  .waitlist-form .button {
    width: 100%;
  }

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

  .card,
  .waitlist-form {
    padding: 22px;
  }

  .card span {
    margin-bottom: 42px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
