/* ————————————————————————————————————————
   KETODINNER.PARTY — candlelit plum & gold
   ———————————————————————————————————————— */

:root {
  --bg: #1D1220;
  --surface: #271A2C;
  --line: #3E2B44;
  --text: #F6EFE9;
  --muted: #B4A4B4;
  --gold: #E0B15E;
  --rose: #E27D8E;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(90% 60% at 50% -10%, #2A1B30, transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }

a { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}

.wordmark span { color: var(--gold); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 13.5px;
  font-weight: 600;
}

.site-header nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-header nav a:hover { color: var(--text); }

/* hero */

.hero {
  position: relative;
  padding: clamp(80px, 13vh, 150px) var(--gutter) clamp(76px, 12vh, 130px);
  overflow: hidden;
}

.candle-glow {
  position: absolute;
  inset: auto 0 -35%;
  height: 85%;
  pointer-events: none;
  background:
    radial-gradient(50% 45% at 30% 100%, rgba(224, 177, 94, 0.20), transparent 65%),
    radial-gradient(45% 40% at 72% 105%, rgba(226, 125, 142, 0.13), transparent 68%);
}

.kicker {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 8.6vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero h1 em { font-style: normal; color: var(--gold); }

.lede {
  position: relative;
  max-width: 58ch;
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15.5px;
  color: #221302;
  background: var(--gold);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  box-shadow: 0 12px 32px rgba(224, 177, 94, 0.26);
  transition: transform 0.15s, filter 0.2s;
}

.hero-cta:hover { filter: brightness(1.07); transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(62px, 9vh, 112px) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head { max-width: 800px; margin-bottom: clamp(28px, 4vh, 44px); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 54px);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-head p { color: var(--muted); max-width: 58ch; }

/* courses */

.courses { display: grid; gap: 16px; max-width: 860px; }

.course {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  padding: 26px 26px 24px;
  transition: transform 0.25s;
}

.course:hover { transform: translateX(4px); }

.course-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.course h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.course p { color: var(--muted); font-size: 15px; }

/* timeline */

.timeline { list-style: none; max-width: 800px; }

.timeline li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: baseline;
  padding: 17px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 15.5px;
}

.timeline li:first-child { border-top: 1px dashed var(--line); }

.timeline span {
  flex: 0 0 110px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* rules */

.rules { list-style: none; max-width: 760px; }

.rules li {
  padding: 16px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.rules li:first-child { border-top: 1px dashed var(--line); }

.rules strong { color: var(--text); font-family: var(--display); font-weight: 800; }

/* footer */

.site-footer {
  padding: 38px var(--gutter) 52px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links span { color: var(--muted); }
.footer-links a { text-decoration: none; color: var(--gold); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.site-footer > p { color: var(--muted); font-size: 13px; }

/* reveal */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .course:hover, .hero-cta:hover { transform: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
  .timeline span { flex-basis: 100%; }
}
