/* ── TOKENS — deep burgundy-black ───────────────────────────────────────── */
:root {
  --void:     #160A0A;
  --surface:  #1C0F0F;
  --edge:     #2E1818;
  --text:     #EAD8D8;
  --body:     #9A7878;
  --muted:    #5A3838;
  --signal:   #C49A3C;
  --sig-deep: #1A1208;
  --sig-mid:  #58400E;
  --sig-light:#2A1E08;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--void); color: var(--text); min-height: 100vh; font-family: 'IBM Plex Sans', sans-serif; }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--edge); border-radius: 2px; }
::selection { background: var(--sig-light); color: var(--signal); }

/* ── UTILITY ─────────────────────────────────────────────────────────────── */
.text-signal { color: var(--signal); }
.text-muted  { color: var(--body); font-weight: 300; }
em           { font-style: italic; }

/* ── FADE ────────────────────────────────────────────────────────────────── */
.fade,
.programme        { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s ease; }
.fade.visible,
.programme.visible{ opacity: 1; transform: none; }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes appear  { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }

.l0 { animation: appear  1.6s ease 0.4s both; }
.l1 { animation: slideUp 1.1s ease 0.6s both; }
.l2 { animation: appear  1.4s ease 1.1s both; }
.arr{ animation: appear  1.6s ease 2.0s both; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px; padding: 0 clamp(24px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-wordmark, .nav-link {
  background: none; border: none; cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.22em; color: var(--muted);
  transition: color 0.25s;
}
.nav-wordmark { font-size: 11px; }
.nav-link     { font-size: 9px; }
.nav-wordmark:hover, .nav-link:hover { color: var(--text); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 52px clamp(24px, 6vw, 72px) 60px;
  position: relative;
  max-width: 960px; margin: 0 auto;
}
.hero-content { max-width: 720px; }

.eyebrow {
  display: block; font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 40px;
}

h1 {
  font-family: 'Spectral', serif;
  font-weight: 200; line-height: 1.08;
  letter-spacing: -0.025em; margin-bottom: 36px;
}
.l1 {
  display: block;
  font-size: clamp(42px, 7vw, 88px);
  color: var(--text);
}

.hero-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85; color: var(--body);
  max-width: 580px;
}

.hero-arrow {
  position: absolute; bottom: 36px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em;
  color: var(--muted); opacity: 0.4;
}

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */
.section         { padding: clamp(72px, 10vw, 120px) clamp(24px, 6vw, 72px); }
.section-inner   { padding-top: 0; }
.section-contact { padding-bottom: clamp(80px, 12vw, 160px); }
.wrap            { max-width: 760px; margin: 0 auto; }
.wrap-wide       { max-width: 960px; margin: 0 auto; }

/* ── SECTION RULE ────────────────────────────────────────────────────────── */
.section-rule {
  width: 32px; height: 1px;
  background: var(--signal); opacity: 0.4;
  margin: 0 auto clamp(64px, 9vw, 120px);
}

/* ── MARKER ──────────────────────────────────────────────────────────────── */
.marker {
  display: block; font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}

/* ── HEADINGS ────────────────────────────────────────────────────────────── */
h2 {
  font-family: 'Spectral', serif;
  font-size: clamp(24px, 3vw, 38px); font-weight: 300;
  line-height: 1.2; letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 36px;
}
h2 em { font-style: italic; }

/* ── PARAGRAPHS ──────────────────────────────────────────────────────────── */
p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9; color: var(--body); margin-bottom: 22px;
}
p:last-child { margin-bottom: 0; }

/* ── PROGRAMMES ──────────────────────────────────────────────────────────── */
.programme {
  display: grid;
  grid-template-columns: clamp(160px, 22%, 220px) 1px 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--edge);
  align-items: start;
}
.prog-left    { padding-top: 2px; }
.prog-divider { width: 1px; background: var(--edge); align-self: stretch; }
.prog-num   {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--signal); margin-bottom: 10px;
}
.prog-label {
  font-family: 'Spectral', serif; font-style: italic;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--body); line-height: 1.4;
}
.prog-right h3 {
  font-family: 'Spectral', serif;
  font-size: clamp(17px, 1.8vw, 21px); font-weight: 400;
  color: var(--text); line-height: 1.3; margin-bottom: 14px;
}
.prog-right p { font-size: 14px; margin-bottom: 0; }

@media (max-width: 620px) {
  .programme { grid-template-columns: 1fr; }
  .prog-divider { display: none; }
}

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.email-cta {
  font-family: 'Spectral', serif;
  font-size: clamp(20px, 3vw, 32px); font-weight: 300;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 5px; display: inline-block;
  transition: color 0.3s, border-color 0.3s;
}
.email-cta:hover { color: var(--signal); border-color: var(--signal); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--edge); }
.footer-inner {
  max-width: 960px; margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 6vw, 72px);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end; gap: 24px;
}
.footer-wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--text); margin-bottom: 4px;
}
.footer-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.footer-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px; color: var(--muted); line-height: 1.7;
}
.footer-link {
  color: var(--signal); text-decoration: none;
  border-bottom: 1px solid var(--sig-light);
  transition: border-color 0.2s; padding-bottom: 1px;
}
.footer-link:hover { border-color: var(--signal); }
.footer-tagline {
  font-family: 'Spectral', serif; font-size: 13px;
  font-style: italic; color: var(--muted);
  text-align: right; line-height: 1.9;
}
