/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --bg:          #0A0A0A;
  --bg-card:     #131313;
  --bg-section:  #111111;
  --text:        #F2F2F0;
  --text-muted:  #7A7A78;
  --border:      #2E2E2E;
  --border-mid:  #3A3A3A;
  --divider-w:   1.5px;

  --serif: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1160px;
  --pad-x: clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(5rem, 10vw, 9rem);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Typography ─────────────────────────────────────────────── */
.serif { font-family: var(--serif); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.text-muted { color: var(--text-muted); }

/* ── Hairline ───────────────────────────────────────────────── */
.hairline {
  border: none;
  border-top: var(--divider-w) solid var(--border);
  margin: 0;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-nav { border-bottom-width: var(--divider-w); }
.site-nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }


/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 0.25rem;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: var(--divider-w) solid var(--border);
  padding: 1.5rem var(--pad-x);
  gap: 1.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  padding: 0.875rem 2.25rem;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--text);
  color: var(--bg);
}
.btn-fill {
  background: var(--text);
  color: var(--bg);
}
.btn-fill:hover {
  background: transparent;
  color: var(--text);
}

/* ── Page header (inner pages) ──────────────────────────────── */
.page-header {
  padding-top: calc(4rem + clamp(4rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: var(--divider-w) solid var(--border);
}
.page-header h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-top: 1rem;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;   /* clears fixed nav */
  padding-bottom: 5rem;
  border-bottom: var(--divider-w) solid var(--border);
  position: relative;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.hero-rule {
  width: 2rem;
  height: var(--divider-w);
  background: var(--border-mid);
  margin-bottom: 1.25rem;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-wordmark {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.86;
  color: var(--text);
  margin-bottom: 2rem;
}
.hero-divider {
  width: 100%;
  height: var(--divider-w);
  background: var(--border);
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-size: clamp(0.875rem, 2vw, 1.0625rem);
  color: var(--text-muted);
  max-width: 42ch;
  font-weight: 400;
}
.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-scroll-pulse 2.8s ease-in-out infinite;
}
.hero-scroll svg { width: 1rem; height: 1rem; }
@keyframes hero-scroll-pulse {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  55%       { opacity: 0.75; transform: translateX(-50%) translateY(5px); }
}

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }
.section + .section { border-top: var(--divider-w) solid var(--border); }

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: var(--divider-w);
  background: var(--border);
}

/* ── What it is ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.about-heading {
  font-size: clamp(2rem, 4vw, 3rem);
}
.about-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-body p + p { margin-top: 1.25em; }



/* ── Apply CTA banner ───────────────────────────────────────── */
.apply-cta {
  background: var(--bg-section);
  border-top: var(--divider-w) solid var(--border);
  border-bottom: var(--divider-w) solid var(--border);
}
.apply-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.apply-cta-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: 0.75rem;
}

/* ── Application form ───────────────────────────────────────── */
.form-section { background: var(--bg-section); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.form-intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: 0.75rem;
}
.form-intro p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.65;
}

/* Form elements */
.form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }

label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
label .optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.625rem;
  color: var(--text-muted);
  opacity: 0.6;
}

input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--text-muted);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.4; }
textarea { resize: vertical; min-height: 6rem; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  rotate: 45deg;
  pointer-events: none;
}
select { padding-right: 2.5rem; cursor: pointer; }
select option { background: #1a1a1a; }

.form-submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Form states */
.form-success {
  display: none;
  border: 1px solid var(--border-mid);
  padding: 2.5rem;
  text-align: center;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.form-success p { color: var(--text-muted); font-size: 0.9375rem; }

.form-error-msg {
  display: none;
  font-size: 0.8125rem;
  color: #c0392b;
  margin-top: 0.25rem;
}
.form-error-msg.visible { display: block; }

/* ── Events page ────────────────────────────────────────────── */
.events-section { padding: var(--section-gap) 0; }

.event-card {
  border: 1px solid var(--border-mid);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.event-card-body { display: flex; flex-direction: column; gap: 1.25rem; }

.event-host {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}
.event-company { color: var(--text-muted); font-size: 1rem; margin-top: 0.25rem; }

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: var(--divider-w) solid var(--border);
}
.event-meta-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.event-meta-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 5rem;
}
.event-meta-value { font-size: 0.9375rem; color: var(--text); }

.event-notice {
  background: var(--bg-section);
  border: 1px solid var(--border);
  padding: 0.875rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.event-notice strong { color: var(--text); font-weight: 500; }

.event-price {
  text-align: right;
  flex-shrink: 0;
}
.event-price-amount {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
}
.event-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
}

.events-empty {
  padding: var(--section-gap) 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem clamp(3rem, 6vw, 6rem);
  align-items: start;
  padding: var(--section-gap) 0;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: 0.75rem;
}
.contact-info p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  line-height: 1.65;
}
.contact-email-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
}
.contact-email-link:hover { border-color: var(--text); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: var(--divider-w) solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-meta a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-meta a:hover { color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .event-card { grid-template-columns: 1fr; }
  .event-price { text-align: left; }

  .apply-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .reasons-grid { grid-template-columns: 1fr; }
}
