:root {
  --navy: #0b1f3a;
  --sky: #dae7ff;
  --gold: #caa24d;
  --cream: #f6f1e7;
  --crimson: #8a1f2d;
  --ink: #1a1a1a;
  --shadow: rgba(8, 16, 32, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff, #f2f4f8 45%, #e5ecf9 100%);
  line-height: 1.6;
}

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

.hero {
  min-height: 92vh;
  color: var(--cream);
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.95), rgba(138, 31, 45, 0.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M0 30h240'/%3E%3Cpath d='M0 90h240'/%3E%3Cpath d='M0 150h240'/%3E%3Cpath d='M0 210h240'/%3E%3Cpath d='M30 0v240'/%3E%3Cpath d='M90 0v240'/%3E%3Cpath d='M150 0v240'/%3E%3Cpath d='M210 0v240'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw;
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  padding: 8vh 8vw 12vh;
  max-width: 720px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}

.eyebrow {
  font-family: "Cinzel", serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.subhead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--gold);
  color: #20140b;
  box-shadow: 0 12px 24px rgba(203, 162, 77, 0.25);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--cream);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.25);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section {
  padding: 80px 8vw;
}

.section-header {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-header p {
  margin-top: 12px;
  color: #2f3b50;
}

.values {
  background: linear-gradient(180deg, #ffffff 0%, #f9f6ef 100%);
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #ffffff;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(9, 20, 40, 0.08);
  border: 1px solid rgba(202, 162, 77, 0.25);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--crimson);
}

.how {
  background: var(--sky);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  border-left: 4px solid var(--navy);
  box-shadow: 0 16px 36px rgba(7, 22, 44, 0.12);
}

.step-number {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.events {
  background: linear-gradient(120deg, #ffffff, #f2f7ff 60%, #ffffff 100%);
}

.event-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.event {
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: 0 14px 30px rgba(12, 21, 38, 0.08);
}

.event span {
  display: inline-block;
  margin-top: 12px;
  color: var(--crimson);
  font-weight: 600;
}

.join {
  background: linear-gradient(130deg, rgba(11, 31, 58, 0.95), rgba(10, 37, 68, 0.9));
  color: var(--cream);
}

.join-card {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-card h2 {
  margin-bottom: 16px;
}

.join-form {
  display: grid;
  gap: 16px;
}

.join-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.join-form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
}

.fine-print {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  background: #0a1526;
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 8vw;
  display: grid;
  gap: 20px;
}

.footer h3 {
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 0.85rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding-top: 6vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-card {
    padding: 28px;
  }
}
