:root {
  --bg: #f3f3f2;
  --bg-soft: #ececea;
  --text: #0f1115;
  --muted: #4f5560;
  --line: rgba(15, 17, 21, 0.14);
  --gold: #be8f3e;
  --gold-deep: #8d692e;
  --white: #ffffff;
  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow: 0 22px 46px rgba(15, 17, 21, 0.08);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% 0, #ffffff 0%, var(--bg) 55%, var(--bg-soft) 100%);
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.14;
}

p {
  margin: 0;
}

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

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 243, 242, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5d798, var(--gold));
  box-shadow: 0 0 0 4px rgba(190, 143, 62, 0.2);
}

.brand strong {
  display: block;
  font-size: 0.95rem;
}

.brand small {
  font-size: 0.72rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.pill-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  color: var(--text) !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 6px auto;
}

.hero {
  padding-top: 3.8rem;
}

.hero-copy {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5.8vw, 5.3rem);
  letter-spacing: -0.02em;
}

.lead {
  margin: 1rem auto 0;
  max-width: 65ch;
  color: var(--muted);
}

.actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.06rem;
  min-height: 46px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-gold {
  color: #131313;
  background: linear-gradient(130deg, #f6d89a, var(--gold));
  box-shadow: 0 12px 24px rgba(190, 143, 62, 0.26);
}

.btn-light {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line);
}

.hero-art {
  margin: 2.7rem auto 0;
  max-width: min(980px, 100%);
  padding: clamp(6px, 0.9vw, 12px);
  border-radius: clamp(16px, 2.2vw, 28px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 17, 21, 0.07);
  background: #fff;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: clamp(10px, 1.4vw, 20px);
  display: block;
}

.hero-art picture {
  display: block;
}

.hero-footer {
  margin: 1.35rem auto 0;
  text-align: center;
  max-width: 760px;
}

.hero-footer p + p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.narrow {
  max-width: 820px;
}

.narrow h2 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
}

.narrow p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.challenge-hero {
  padding-top: 4.3rem;
}

.challenge-hero-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 247, 240, 0.9));
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.6vw, 2rem);
  text-align: center;
}

.challenge-hero-box h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.challenge-hook {
  margin-top: 0.7rem;
  font-size: clamp(1.05rem, 2.35vw, 1.5rem);
  color: var(--text);
  font-weight: 700;
}

.challenge-chip-row {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.challenge-chip {
  border: 1px solid rgba(190, 143, 62, 0.44);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold-deep);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.challenge-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.card span {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.card h3 {
  margin-top: 0.5rem;
  font-size: 1.35rem;
}

.card p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(236, 236, 234, 0.6));
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.split h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.95rem);
}

.split p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.list-cards {
  display: grid;
  gap: 0.8rem;
}

.list-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.list-cards h3 {
  font-size: 1.25rem;
}

.list-cards p {
  margin-top: 0.35rem;
}

.timeline {
  display: grid;
  gap: 0.95rem;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  padding: 1.1rem;
}

.phase {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.timeline h3 {
  margin-top: 0.45rem;
  font-size: 1.45rem;
}

.timeline p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.org-wrap {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.org-grid,
.org-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.org-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  height: 100%;
}

.org-level {
  display: inline-block;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  font-weight: 700;
}

.org-card h3 {
  margin-top: 0.42rem;
  font-size: 1.32rem;
}

.org-card .role {
  margin-top: 0.24rem;
  font-weight: 700;
  color: var(--text);
}

.org-card p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.role-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.role-list li {
  padding: 0.35rem 0.45rem;
  border: 1px dashed rgba(15, 17, 21, 0.14);
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
}

.role-list strong {
  color: var(--text);
}

.legal-note {
  margin-top: 1rem;
  border-color: rgba(190, 143, 62, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(252, 247, 239, 0.93));
}

.org-card .attribution {
  margin-top: 0.34rem;
  font-size: 0.78rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.org-card.founder {
  border-color: rgba(190, 143, 62, 0.44);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 248, 241, 0.9));
}

.person {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.person img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(190, 143, 62, 0.55);
}

.profile-link {
  display: inline-flex;
  margin-top: 0.46rem;
  font-size: 0.9rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.org-card.open {
  position: relative;
  overflow: hidden;
}

.org-card.open::after {
  content: "OPEN";
  position: absolute;
  top: 10px;
  right: -30px;
  background: rgba(190, 143, 62, 0.18);
  color: var(--gold-deep);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.2rem 2rem;
  transform: rotate(35deg);
}

.seat-avatar {
  margin-top: 0.55rem;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1.5px dashed rgba(190, 143, 62, 0.65);
  color: var(--gold-deep);
  font-size: 0.63rem;
  text-align: center;
  display: grid;
  place-items: center;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(255, 252, 246, 0.9);
}

.check-row {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
}

.facts-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.facts-list li {
  padding: 0.72rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
}

.facts-list strong {
  color: var(--text);
}

.facts-list a {
  color: var(--gold-deep);
}

.join-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.52rem;
  align-content: start;
}

.join-form label {
  font-size: 0.82rem;
  font-weight: 700;
}

.join-form input:not([type="checkbox"]),
.join-form select,
.join-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem;
  border: 1px solid rgba(15, 17, 21, 0.24);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
}

.join-form textarea {
  min-height: 120px;
}

.join-form input:not([type="checkbox"])::placeholder,
.join-form textarea::placeholder {
  color: #7a808c;
  opacity: 1;
  text-align: left;
}

.join-form select:invalid {
  color: #7a808c;
}

.join-form select option {
  color: var(--text);
}

.join-form input:not([type="checkbox"]):focus,
.join-form select:focus,
.join-form textarea:focus {
  outline: 2px solid rgba(190, 143, 62, 0.35);
  border-color: var(--gold);
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-message {
  min-height: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.1rem;
}

.footer-grid {
  display: grid;
  gap: 0.33rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid strong {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .org-grid,
  .org-subgrid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: min(840px, 100%);
    margin-top: 2.1rem;
  }
}

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

  .main-nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 66px;
    width: min(90vw, 320px);
    background: rgba(243, 243, 242, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

  .person {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-art {
    margin-top: 1.6rem;
    max-width: min(560px, 100%);
    padding: 5px;
    border-radius: 14px;
  }

  .hero-image {
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
