:root {
  color-scheme: light;
  --bg: #fbf5ef;
  --bg-accent: #f2e7d9;
  --ink: #1a1b18;
  --muted: #5a524d;
  --brand: #0f5132;
  --brand-dark: #0b3d26;
  --accent: #b3132b;
  --accent-soft: #efc9c3;
  --gold: #c8a24a;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Heebo", "Rubik", sans-serif;
  color: var(--ink);
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(200, 162, 74, 0.14), transparent 35%),
    radial-gradient(circle at 80% 18%, rgba(179, 19, 43, 0.12), transparent 40%),
    radial-gradient(circle at 25% 80%, rgba(15, 81, 50, 0.12), transparent 38%),
    linear-gradient(120deg, rgba(15, 81, 50, 0.06), rgba(179, 19, 43, 0.04)),
    var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='260' viewBox='0 0 320 260'%3E%3Crect width='320' height='260' fill='none'/%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='0.7'%3E%3Cpath d='M40 40h24M52 28v24M34 34l12 12M34 46l12-12M60 34l-12 12M60 46l-12-12'/%3E%3Cpath d='M180 60h22M191 49v22M173 54l11 11M173 66l11-11M202 54l-11 11M202 66l-11-11'/%3E%3Cpath d='M260 120h20M270 110v20M252 112l10 10M252 128l10-10M288 112l-10 10M288 128l-10-10'/%3E%3Cpath d='M120 160h20M130 150v20M112 152l10 10M112 168l10-10M148 152l-10 10M148 168l-10-10'/%3E%3Cpath d='M220 200h22M231 189v22M213 194l11 11M213 206l11-11M242 194l-11 11M242 206l-11-11'/%3E%3C/g%3E%3Cg opacity='0.5'%3E%3Ccircle cx='90' cy='90' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='200' cy='150' r='1.2' fill='%23ffffff'/%3E%3Ccircle cx='280' cy='40' r='1.3' fill='%23ffffff'/%3E%3Ccircle cx='40' cy='200' r='1.2' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 320px 260px;
  opacity: 0.5;
  z-index: 0;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
  flex-wrap: wrap;
}

.site-title {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.site-title::after {
  content: " ✶";
  color: var(--gold);
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.site-nav a:hover {
  background: rgba(15, 81, 50, 0.12);
}

.site-main {
  padding-bottom: 80px;
}

.hero {
  padding: 80px 0 40px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 260px;
  left: 6%;
  top: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='260' viewBox='0 0 180 260'%3E%3Crect width='180' height='260' fill='none'/%3E%3Cpath d='M90 10l40 60H110l30 50H118l28 48H34l28-48H40l30-50H50z' fill='%230f5132'/%3E%3Crect x='78' y='178' width='24' height='36' rx='4' fill='%238c5a3c'/%3E%3Ccircle cx='60' cy='78' r='5' fill='%23b3132b'/%3E%3Ccircle cx='120' cy='98' r='5' fill='%23c8a24a'/%3E%3Ccircle cx='74' cy='122' r='5' fill='%23b3132b'/%3E%3Ccircle cx='110' cy='140' r='5' fill='%23c8a24a'/%3E%3Ccircle cx='92' cy='58' r='5' fill='%23c8a24a'/%3E%3Cpolygon points='90,0 94,10 106,10 96,16 100,28 90,20 80,28 84,16 74,10 86,10' fill='%23c8a24a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin: 12px 0 12px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 28ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(200, 162, 74, 0.3);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 201, 195, 0.2));
  animation: fade-up 0.6s ease both;
}

.section {
  padding: 40px 0;
}

.page-hero {
  padding: 60px 0 30px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.page-content {
  padding: 20px 0 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 12px;
  min-height: 190px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 600;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(11, 61, 38, 0.25);
}

.button.ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(15, 81, 50, 0.4);
  box-shadow: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(200, 162, 74, 0.18);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(179, 19, 43, 0.18);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.score-table th,
.score-table td {
  text-align: right;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  margin: 6px 0 16px;
}

.prose {
  line-height: 1.8;
  font-size: 1.05rem;
}

.site-footer {
  padding: 24px 0 50px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero::after {
  content: "";
  display: block;
  height: 6px;
  margin-top: 24px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent) 0 30px,
      var(--gold) 30px 60px,
      var(--brand) 60px 90px
    );
  opacity: 0.8;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .site-header .container {
    justify-content: center;
  }
  .hero {
    padding-top: 50px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero::after {
    display: none;
  }
}
