/* ---------------------------------------------
   Mystic Valley Morris — design tokens
--------------------------------------------- */
:root {
  --cream: #EAE1F5;
  --cream-tint: #DECBF0;
  --ink: #19131C;
  --green: #4B1F73;
  --green-dark: #150F1C;
  --gold: #C0392B;
  --ribbon: #7D2334;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max-w: 900px;
  --edge: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.1;
}

p { margin: 0 0 1em; }

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

/* ---------------------------------------------
   Header / nav
--------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(237, 230, 214, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(25, 19, 28, 0.12);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__links { display: flex; gap: 1.75rem; }

.nav__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.nav__links a:hover { color: var(--green); }

@media (max-width: 560px) {
  .nav__links { gap: 1rem; }
  .nav__links a { font-size: 0.8rem; }
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) var(--edge) clamp(2rem, 6vw, 3rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ribbon);
  margin: 0 0 1rem;
}

.eyebrow--light { color: var(--gold); }

.hero__title {
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--green);
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: 1.1rem;
  max-width: 32rem;
  color: rgba(25, 19, 28, 0.8);
}

.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn--light {
  background: var(--gold);
  color: var(--ink);
}

.btn--light:hover { background: #a5790a; }

.hero__bells {
  margin-top: 2.5rem;
  color: var(--gold);
  opacity: 0.6;
}

.bell-row { width: 100%; height: 40px; }
.bell-glyph { fill: currentColor; }

/* ---------------------------------------------
   Section dividers (ribbon-wave motif)
--------------------------------------------- */
.divider {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge);
  color: var(--ribbon);
  opacity: 0.5;
}

.divider svg { width: 100%; height: 16px; display: block; }

/* ---------------------------------------------
   Sections
--------------------------------------------- */
.section { padding: clamp(3rem, 8vw, 5rem) 0; }

.section--tint { background: var(--cream-tint); }

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 700px) {
  .section__inner--split { grid-template-columns: 1fr; }
}

.section__lede {
  max-width: 40rem;
  color: rgba(25, 19, 28, 0.75);
}

h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--green); }

/* Stat block (About) */
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--ribbon);
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(25, 19, 28, 0.65);
}

/* Kit grid (Team) */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.kit-card {
  background: var(--cream);
  border: 1px solid rgba(25, 19, 28, 0.12);
  border-radius: 4px;
  padding: 1.5rem;
}

.kit-card h3 {
  font-size: 1.1rem;
  color: var(--green);
}

.kit-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(25, 19, 28, 0.8);
}

.kit-note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(25, 19, 28, 0.55);
  font-style: italic;
}

/* Program / schedule (dance-card styling) */
.program {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px dashed rgba(25, 19, 28, 0.3);
}

.program__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(25, 19, 28, 0.3);
}

@media (max-width: 560px) {
  .program__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.program__date {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ribbon);
  font-size: 0.9rem;
}

.program__event { display: flex; flex-direction: column; }

.program__event strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.program__place {
  font-size: 0.85rem;
  color: rgba(25, 19, 28, 0.6);
}

.program__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  justify-self: start;
}

@media (max-width: 560px) {
  .program__tag { justify-self: start; margin-top: 0.25rem; }
}

/* Join section (dark) */
.section--dark {
  background: var(--green-dark);
  color: var(--cream);
}

.section__inner--center {
  text-align: center;
  max-width: 34rem;
}

.join__title { color: var(--cream); }

.join__sub { color: rgba(237, 230, 214, 0.75); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem var(--edge);
  font-size: 0.8rem;
  color: rgba(25, 19, 28, 0.55);
}

.site-footer a {
  text-decoration: none;
  color: var(--green);
}
