:root {
  --teal: #164e4a;
  --teal-hot: #1f6d67;
  --blue: #487b9a;
  --blue-hot: #6a9cb8;
  --sage: #7a9a74;
  --cream: #f4ecde;
  --cream-dim: #c9bdaa;
  --yellow: #ffe566;
  --ink: #080d0d;
  --raised: #101717;
  --card: #131c1b;
  --line: rgba(244, 236, 222, 0.12);
  --glow: rgba(22, 78, 74, 0.5);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --script: "Satisfy", "Segoe Script", "Bradley Hand", cursive;
  --pad: clamp(1rem, 3vw, 2rem);
  --max: 980px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(22, 78, 74, 0.42), transparent 55%),
    radial-gradient(circle at 100% 80%, rgba(72, 123, 154, 0.1), transparent 35%),
    var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--blue-hot);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

a,
p,
dd {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--blue-hot);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--cream);
  color: var(--ink);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(8, 13, 13, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.15rem;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  text-decoration: none;
}

.brand:hover {
  color: var(--cream);
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.nav-short {
  display: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cream);
  background: rgba(244, 236, 222, 0.06);
}

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3.5vw, 2.25rem) 0 1.6rem;
  text-align: center;
}

.hero-mark {
  width: min(20rem, 78vw);
  margin: 0 auto 1.1rem;
}

.hero-script {
  display: block;
  width: 136%;
  margin: 0 0 -1.6rem -18%;
  overflow: visible;
  filter: drop-shadow(0 2px 10px rgba(255, 229, 102, 0.28));
}

.hero-script text {
  fill: var(--yellow);
  font-family: var(--script);
  font-size: 44px;
}

.hero-logo {
  display: block;
  width: min(16.5rem, 72%);
  margin: 0 auto;
  filter: drop-shadow(0 12px 28px var(--glow));
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--sage);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 520;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-hero h1 {
  margin-left: 0;
  max-width: 14ch;
}

.lede {
  max-width: 38rem;
  margin: 0.7rem auto 0;
  color: var(--cream-dim);
  font-size: 0.98rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 530;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--teal-hot);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
}

.points {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 1.55rem;
  margin: 0;
  background: #12201f;
  border-block: 1px solid var(--line);
}

.pt {
  background: var(--teal);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.pt:nth-child(even) {
  background: #d9c7a8;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(1.6rem, 4vw, 2.75rem) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-head h2,
.block h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 520;
  letter-spacing: -0.02em;
}

.kicker {
  margin: 0 0 0.4rem;
  color: var(--blue-hot);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-card,
.panel,
.result-card {
  background: linear-gradient(180deg, rgba(244, 236, 222, 0.035), transparent 40%), var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.event-card {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  overflow: hidden;
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  background:
    linear-gradient(160deg, rgba(22, 78, 74, 0.62), rgba(8, 13, 13, 0.2)),
    var(--raised);
  border-right: 1px solid var(--line);
}

.event-date .when {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.event-date .weekday {
  margin-top: 0.4rem;
  color: var(--cream-dim);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.countdown div {
  padding: 0.4rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  text-align: center;
  background: rgba(8, 13, 13, 0.28);
}

.countdown strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1;
}

.countdown span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.event-body {
  padding: 1.15rem 1.3rem 1.25rem;
}

.event-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 560;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 0.95rem 0 1.1rem;
}

.meta-grid dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.meta-grid dd {
  margin: 0.15rem 0 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar {
  padding: 0.95rem 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--raised);
}

.pillar .num {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--teal-hot);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.pillar h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.pillar p {
  margin: 0;
  color: var(--cream-dim);
}

.page-hero {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3.5vw, 2.1rem) 0 0.25rem;
}

.page-hero p {
  max-width: 38rem;
  color: var(--cream-dim);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}

.block {
  padding: 1.1rem 1.2rem 1.2rem;
}

.block p:last-child,
.block ul:last-child {
  margin-bottom: 0;
}

.clock-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.clock-table th,
.clock-table td {
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.clock-table th {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 530;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--cream-dim);
}

.note-list li + li {
  margin-top: 0.45rem;
}

.side-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.map-card address {
  font-style: normal;
  margin: 0.35rem 0 1rem;
  color: var(--cream-dim);
}

.results-list {
  display: grid;
  gap: 1rem;
}

.result-card {
  padding: 1.05rem 1.15rem 1.15rem;
}

.result-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.8rem;
}

.result-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 520;
}

.empty {
  color: var(--cream-dim);
}

.empty strong {
  color: var(--cream);
}

.standings {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

.standings th,
.standings td {
  padding: 0.45rem 0.3rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.standings th {
  color: var(--sage);
  font-size: 0.65rem;
  font-weight: 530;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.standings td:first-child,
.standings th:first-child,
.standings td:last-child,
.standings th:last-child {
  width: 4.5rem;
}

.pdf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-row strong {
  color: var(--cream);
}

.footer-contact {
  margin: 0;
}

.footer-contact span {
  display: block;
  margin-bottom: 0.2rem;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  padding: 0.32rem 0.75rem 0.32rem 0.32rem;
  border: 1px solid rgba(24, 119, 242, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 119, 242, 0.18), rgba(22, 78, 74, 0.35));
  color: var(--cream);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 530;
  box-shadow: 0 0 0 1px rgba(24, 119, 242, 0.08), 0 8px 18px rgba(24, 119, 242, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-facebook:hover {
  color: var(--cream);
  border-color: rgba(24, 119, 242, 0.8);
  box-shadow: 0 0 0 1px rgba(24, 119, 242, 0.16), 0 10px 22px rgba(24, 119, 242, 0.22);
  transform: translateY(-1px);
}

.footer-facebook .fb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
}

.footer-facebook svg {
  width: 0.55rem;
  height: 0.82rem;
  fill: currentColor;
}


@media (max-width: 820px) {
  .event-card,
  .detail-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .event-date {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    flex-wrap: wrap;
    padding-bottom: 0.55rem;
  }

  .nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 0 0.15rem;
  }

  .nav-links a {
    padding: 0.35rem 0.45rem;
    font-size: 0.9rem;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
  }
}

@media (max-width: 560px) {
  .meta-grid,
  .countdown {
    grid-template-columns: 1fr 1fr;
  }

  .brand-kicker {
    display: none;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .btn {
    width: 100%;
  }

  .clock-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
