:root {
  --bg: #000000;
  --silver: #C8C8C2;
  --silver-bright: #E8E8E3;
  --silver-dim: #787872;
  --silver-muted: #484844;
  --accent-line: rgba(200, 200, 194, 0.1);
  --accent-line-strong: rgba(200, 200, 194, 0.22);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #000 !important; }

body {
  font-family: var(--sans);
  background: #000 !important;
  background-color: #000 !important;
  color: var(--silver);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
}

body > * { background-color: transparent !important; }

.page-shell {
  background: #000 !important;
  min-height: 100vh;
  position: relative;
}

main {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 5rem;
}

header {
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-muted);
  margin-bottom: 5rem;
}

.top-bar .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--silver);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.logo {
  display: block;
  width: clamp(180px, 55vw, 320px);
  height: auto;
  margin: 0 auto;
}

.tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: 2rem;
}

.tagline .sep { color: var(--silver-muted); margin: 0 0.15rem; }

.divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 4rem;
}

.divider .line { flex: 1; height: 1px; background: var(--accent-line-strong); }
.divider .mark { font-size: 0.5rem; color: var(--silver-dim); }

section { margin-bottom: 4.5rem; }

.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver-muted);
  margin-bottom: 1.5rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--silver-bright);
  margin-bottom: 1.5rem;
}

h2 em { font-style: italic; font-weight: 300; color: var(--silver-dim); }

p {
  color: var(--silver);
  font-size: 0.92rem;
  margin: 0 auto 0.85rem;
  max-width: 44ch;
}

p.lead {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--silver-bright);
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.principles { list-style: none; padding: 0; margin-top: 2rem; }

.principles li {
  padding: 1.2rem 0;
  border-top: 1px solid var(--accent-line);
  text-align: center;
}

.principles li:last-child { border-bottom: 1px solid var(--accent-line); }

.principles .num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--silver-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.principles .text {
  font-size: 0.92rem;
  color: var(--silver);
  display: block;
  max-width: 44ch;
  margin: 0 auto;
}

.principles .text strong {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--silver-bright);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.next-event {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  margin-bottom: 4.5rem;
}

.next-event .eyebrow {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-muted);
  margin-bottom: 1rem;
}

.next-event .date {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  font-weight: 300;
  color: var(--silver-bright);
}

.next-event .date em { font-style: italic; color: var(--silver-dim); }

.next-event .meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: 0.75rem;
}

.form-wrapper {
  margin-top: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--accent-line);
}

footer {
  text-align: center;
  padding-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver-muted);
}

footer .card-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--silver-dim);
  margin-bottom: 1.25rem;
  display: block;
}

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

.reveal { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.2s; }
.reveal-3 { animation-delay: 0.35s; }
.reveal-4 { animation-delay: 0.5s; }

.side-nav {
  position: fixed;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  pointer-events: none;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.95rem;
}

.side-nav li { pointer-events: auto; }

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver-dim);
  padding: 0.35rem 0;
}

.side-nav a::before {
  content: attr(data-label);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
  white-space: nowrap;
  color: var(--silver-dim);
}

.side-nav a:hover::before,
.side-nav a.active::before {
  opacity: 1;
  transform: translateX(0);
  color: var(--silver-bright);
}

.side-nav .tick {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--silver-muted);
  transition: background 0.35s ease, width 0.35s ease;
}

.side-nav a:hover .tick { background: var(--silver); width: 26px; }
.side-nav a.active .tick { background: var(--silver-bright); width: 32px; }

@media (max-width: 768px) {
  .side-nav { right: 0.85rem; }
  .side-nav ul { gap: 0.75rem; }
  .side-nav a { padding: 0.3rem 0; }
  .side-nav a::before { display: none; }
  .side-nav .tick { width: 14px; }
  .side-nav a:hover .tick { width: 20px; }
  .side-nav a.active .tick { width: 24px; }
}

@media (max-width: 480px) {
  main { padding: 2rem 1.25rem 4rem; }
  .top-bar { font-size: 0.6rem; margin-bottom: 3.5rem; }
  .side-nav { right: 0.6rem; }
  .side-nav ul { gap: 0.65rem; }
  .side-nav .tick { width: 12px; }
  .side-nav a:hover .tick { width: 18px; }
  .side-nav a.active .tick { width: 22px; }
}
