:root {
  --bg: #e6ddc8;
  --ink: #1e2d1a;
  --accent: #b84a12;
  --accent-soft: #c8921a;
  --card: #f0e6d0;
  --line: #bfb090;
  --forest: #2a4228;
  --stone: #7a7060;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(30, 45, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 8%, rgba(42, 66, 40, 0.18) 0%, transparent 35%),
    radial-gradient(ellipse at 88% 5%, rgba(184, 74, 18, 0.1) 0%, transparent 28%),
    radial-gradient(ellipse at 50% 90%, rgba(42, 66, 40, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, #e6ddc8 0%, #ede5d0 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 22% 38%, transparent 0, transparent 55px, rgba(30, 45, 26, 0.032) 55px, rgba(30, 45, 26, 0.032) 56px),
    repeating-radial-gradient(circle at 75% 62%, transparent 0, transparent 48px, rgba(30, 45, 26, 0.028) 48px, rgba(30, 45, 26, 0.028) 49px),
    repeating-radial-gradient(circle at 50% 15%, transparent 0, transparent 72px, rgba(30, 45, 26, 0.022) 72px, rgba(30, 45, 26, 0.022) 73px),
    repeating-radial-gradient(circle at 10% 80%, transparent 0, transparent 40px, rgba(30, 45, 26, 0.018) 40px, rgba(30, 45, 26, 0.018) 41px);
  pointer-events: none;
  z-index: -1;
}

/* ── WIP Banner ───────────────────────────── */
.wip-banner {
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem clamp(1rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  position: relative;
}

.wip-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  opacity: 0.6;
  padding: 0 0.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.wip-close:hover {
  opacity: 1;
}

/* ── Skip Navigation Link ─────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ── Screen-reader only ──────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Focus Visible ────────────────────────── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: #1e2d1a;
  border-bottom: 3px solid var(--accent);
  padding: 0.8rem clamp(1rem, 3vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  text-decoration: none;
  font-family: "Rye", serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: #e8dcc4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background-color: #1e2d1a;
}

.site-nav a {
  color: #d4c9a8;
  text-decoration: none;
  font-weight: 600;
}

.cta-link {
  color: var(--accent-soft) !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8dcc4;
  margin: 5px 0;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

section {
  margin: 5rem 0;
  scroll-margin-top: 7rem;
}

section > h2:first-child,
section > h2:first-of-type {
  margin-bottom: 1.4rem;
}

.hero {
  margin-top: 2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 1.5rem;
  padding-left: max(4vw, calc((100vw - 1120px) / 2));
  padding-right: max(4vw, calc((100vw - 1120px) / 2));
  position: relative;
  overflow: hidden;
}

.flyer-img {
  display: block;
  margin-top: 1.2rem;
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.flyer-img:hover {
  transform: scale(1.02);
}

.event-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: 99px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Rye", serif;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0.6rem 0;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  max-width: 17ch;
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero-sub {
  max-width: 62ch;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0;
  flex-wrap: wrap;
}

.button {
  border: 2px solid var(--ink);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(19, 37, 31, 0.2);
}

.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.primary:hover {
  background: #9e3b0a;
}

.ghost {
  background: transparent;
  border-color: var(--forest);
}

.mountain-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
}

.countdown {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 110px));
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.countdown div {
  background: var(--forest);
  border: 1px solid rgba(200, 180, 130, 0.25);
  border-radius: var(--radius);
  padding: 0.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.countdown strong {
  display: block;
  font-size: 1.7rem;
  color: var(--accent-soft);
}

.countdown span {
  font-size: 0.75rem;
  color: #c4b896;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.highlights li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stat {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--accent);
  display: block;
}

.schedule .tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tab-panel {
  display: none;
  margin-top: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.tab-panel.active {
  display: block;
  animation: fadeIn 320ms ease;
}

.tab-panel article {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: start;
  border-bottom: 1px dashed var(--line);
  padding: 0.7rem 0;
}

.tab-panel article time,
.tab-panel article p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.tab-panel article:last-child {
  border-bottom: 0;
}

/* ── Round Layout Table ───────────────────── */
.layout-table-wrap {
  margin-top: 2rem;
  border-top: 1px dashed var(--line);
  padding-top: 1.5rem;
}

.layout-table-heading {
  font-family: "Rye", serif;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.layout-placeholder-badge {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--ink);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.layout-table-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0 0 1rem;
}

.layout-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.layout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 620px;
}

.layout-table thead tr {
  background: var(--forest);
  color: #c4b896;
}

.layout-table th {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 0.9rem;
  text-align: left;
  white-space: nowrap;
}

.layout-table td {
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

.layout-table tbody tr:last-child td {
  border-bottom: 0;
}

.layout-table .pool-divider td {
  padding: 0.15rem 0;
  background: var(--line);
  border: 0;
}

.layout-table td:first-child {
  font-weight: 700;
}

.layout-table .pool-badge {
  text-align: center;
  font-weight: 700;
  color: var(--stone);
  font-size: 0.8rem;
}

/* Cell colour coding */
.layout-table .oc-long  { background: #fef08a; color: #5a4100; }
.layout-table .oc-short { background: #bfdbfe; color: #1e3a5f; }
.layout-table .sbm-long { background: #fde68a; color: #5a3000; }
.layout-table .sbm-short { background: #fbcfe8; color: #5a1a3a; }

/* ── Hometown Pride Strip ─────────────────── */
.hometown-strip {
  background: var(--forest);
  color: #e8dcc4;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0 0 5rem;
  position: relative;
  overflow: hidden;
}

.hometown-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(184, 74, 18, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(200, 146, 26, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hometown-label {
  font-family: "Rye", serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1.4rem;
  opacity: 0.9;
}

.hometown-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
}

.hometown-fact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 180, 130, 0.18);
  border-top: 2px solid var(--accent);
  border-radius: 14px;
  padding: 1.1rem 1rem;
}

.hometown-fact strong {
  display: block;
  font-family: "Rye", serif;
  font-size: 0.95rem;
  color: var(--accent-soft);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.hometown-fact p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.85;
}

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

/* ── Courses Gallery ──────────────────────── */
.course-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.course-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  transition: background 0.2s, color 0.2s;
}

.course-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.course-panel {
  display: none;
}

.course-panel.active {
  display: block;
  animation: fadeIn 320ms ease;
}

.course-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(19, 37, 31, 0.2);
}

.photo-credit {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 0.6rem;
}

/* ── Course Stats (UDisc) ────────────────── */
.course-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: flex-start;
}

.course-stat {
  display: flex;
  flex-direction: column;
  min-width: 110px;
}

.course-stat-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
}

.course-stat-label {
  font-size: 0.75rem;
  color: var(--stone);
  margin-top: 0.1rem;
}

.course-stat-note {
  width: 100%;
  margin: 0.4rem 0 0;
  font-size: 0.73rem;
  color: var(--stone);
  font-style: italic;
  opacity: 0.8;
}

/* ── Course Resources ────────────────────── */
.course-resources {
  margin-top: 1.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.course-resources-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.course-resources-header h3 {
  margin: 0;
  font-size: 1rem;
}

.caddy-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--forest);
  color: #e8dcc4;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.caddy-book-btn:hover {
  background: var(--ink);
}

.hole-links-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin: 0 0 0.6rem;
}

.hole-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hole-link {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hole-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── Lightbox ─────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Divisions ────────────────────────────── */
.divisions .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

.entry {
  font-weight: 700;
  color: var(--accent);
}

.prize-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-soft);
  background: var(--ink);
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  margin-top: 0.3rem;
}

/* ── Local Guide ─────────────────────────── */
.localguide-sub {
  max-width: 65ch;
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0 0 2.5rem;
}

.localguide-region {
  margin-bottom: 3rem;
}

.localguide-region-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.localguide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.localguide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.localguide-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.localguide-card h4 {
  margin: 0;
  font-family: "Rye", serif;
  font-size: 0.9rem;
  line-height: 1.2;
}

.localguide-card p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--ink);
}

.localguide-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.localguide-tag.food {
  background: #e8c87a33;
  color: #5e4200;
}

.localguide-tag.brewery {
  background: #b84a1222;
  color: #8a2800;
}

.localguide-tag.outdoor {
  background: #2a422822;
  color: #2a4228;
}

.localguide-tag.history {
  background: #7a706022;
  color: #5a5048;
}

.localguide-tag.emergency {
  background: #b8001222;
  color: #900010;
}

.localguide-emergency .localguide-region-name {
  color: #900010;
  border-color: #b8001233;
}

.localguide-card a {
  color: #9b3800;
  text-decoration: underline;
}

.localguide-disclaimer {
  font-size: 0.82rem;
  color: var(--stone);
  font-style: italic;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.localguide-moredg-intro {
  font-size: 0.92rem;
  opacity: 0.85;
  margin: -0.5rem 0 1rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  margin: 0.75rem 0;
  padding: 0.8rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.register {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1rem, 2vw, 2rem);
}

.register h2 {
  color: var(--accent-soft);
}

.register p {
  max-width: 60ch;
}

.register-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.register .ghost {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.9rem;
}

.signup-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.signup-form input,
.signup-form select {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
}

.signup-form button,
.form-message {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  color: var(--accent-soft);
}

.divisions-note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.staff-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.staff-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.staff-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.hotel-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hotel-list li {
  font-size: 0.9rem;
  line-height: 1.5;
}

.hotel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.hotel-logo {
  width: 80px;
  height: auto;
  flex-shrink: 0;
  margin-top: 0.15rem;
  object-fit: contain;
}

.hotel-note {
  font-size: 0.88rem;
  margin: 0 0 0.6rem;
}

.hotel-expired-notice {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(184, 74, 18, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.rate-badge {
  display: inline-block;
  background: var(--forest);
  color: #f5d97a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  vertical-align: middle;
}

.hotel-card {
  border-top-color: var(--accent-soft) !important;
}

.camping-card {
  border-top-color: var(--forest) !important;
  background: linear-gradient(135deg, var(--card) 0%, #dde8d0 100%);
}

.camping-highlight {
  font-size: 0.92rem;
  margin: 0 0 0.6rem;
}

.camping-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.camping-list li {
  color: var(--forest);
}

.airport-card {
  border-top-color: var(--stone) !important;
}

.airport-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.airport-list li {
  font-size: 0.88rem;
  line-height: 1.5;
  padding-left: 0.8rem;
  border-left: 2px solid var(--line);
}

/* ── Venue ───────────────────────────────── */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: start;
}

.venue-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.venue-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.venue-card p,
.venue-card address {
  font-size: 0.9rem;
  font-style: normal;
  margin: 0.2rem 0 0;
  color: var(--ink);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  height: 420px;
  position: sticky;
  top: 5.5rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 800px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .map-embed {
    position: static;
    height: 300px;
  }
  .map-embed iframe {
    min-height: 300px;
  }
}

/* ── Past Champions / History ─────────────── */
.history-sub {
  max-width: 65ch;
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0 0 2rem;
}

.history-legacy {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.legacy-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.legacy-block h3 {
  font-family: 'Rye', serif;
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.legacy-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.6rem;
  opacity: 0.9;
}

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

.legacy-block.legacy-quote {
  background: var(--forest);
  color: #c4b896;
  border-color: transparent;
}

.legacy-block.legacy-quote h3 {
  color: var(--accent-soft);
}

.legacy-block.legacy-quote blockquote {
  margin: 0;
  padding: 0;
}

.legacy-block.legacy-quote blockquote p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  opacity: 1;
  color: #ddd3b8;
  margin-bottom: 0.75rem;
}

.legacy-block.legacy-quote blockquote footer {
  font-size: 0.85rem;
  color: #c4b896;
  font-style: normal;
}

.history-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.history-table thead tr {
  background: var(--forest);
  color: #c4b896;
}

.history-table th {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  text-align: left;
}

.history-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px dashed var(--line);
  vertical-align: middle;
}

.history-table tbody tr:last-child td {
  border-bottom: 0;
}

.history-table tbody tr:nth-child(odd) {
  background: rgba(42, 66, 40, 0.04);
}

.history-table td:first-child {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.history-table td:nth-child(2) {
  color: var(--ink);
  font-size: 0.85rem;
}

/* ── Sponsors ─────────────────────────────── */
.sponsors-sub {
  max-width: 65ch;
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0 0 2rem;
}

.sponsor-tier {
  margin-bottom: 2rem;
}

.sponsor-tier h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.sponsor-logo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 160px;
  text-align: center;
  box-shadow: var(--shadow);
}

.sponsor-logo.large {
  font-size: 1.1rem;
  padding: 1.4rem 2.5rem;
  min-width: 240px;
}

.sponsor-logo.small {
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
  min-width: 110px;
}

.sponsor-logo.available {
  background: transparent;
  border: 2px dashed var(--line);
  color: var(--stone);
  font-weight: 400;
  font-style: italic;
  box-shadow: none;
  opacity: 0.7;
}

.sponsor-logo img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.sponsor-logo.large img {
  max-height: 100px;
}

.sponsor-logo.small img {
  max-height: 56px;
}

.become-sponsor {
  margin-top: 2rem;
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.become-sponsor p {
  margin: 0;
  max-width: 56ch;
  font-size: 0.92rem;
}

.site-footer {
  text-align: center;
  padding: 2.5rem 1rem 3.5rem;
  background: var(--forest);
  color: #c4b896;
  border-top: 4px solid var(--accent);
  margin-top: 4rem;
}

/* ── Sub-page hero ───────────────────────── */
.hero-page {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  min-height: unset;
}

.hero-page + section {
  margin-top: 1.5rem;
}

.hero-page h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

/* ── Page bridge cards ───────────────────── */
.page-bridges {
  margin: 3rem 0;
}

.page-bridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.page-bridge-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.page-bridge-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.page-bridge-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.page-bridge-card h3 {
  font-family: "Rye", serif;
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  color: var(--accent);
}

.page-bridge-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}

.page-bridge-arrow {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.site-footer a {
  color: #e8c87a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  opacity: 0.8;
}

/* ── Volunteer CTA ───────────────────────── */
.volunteer-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.volunteer-cta h3 {
  font-family: 'Rye', serif;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.volunteer-cta p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Collapsible local guide regions ─────── */
.localguide-collapsible > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.localguide-collapsible > summary::-webkit-details-marker { display: none; }

.localguide-collapsible > summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--stone);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.localguide-collapsible[open] > summary::after {
  content: '\2212';
}

.localguide-collapsible > .localguide-grid {
  margin-top: 1rem;
}

/* ── Hometown strip — more facts toggle ──── */
.hometown-more {
  grid-column: 1 / -1;
}

.hometown-more > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 0.5rem 0;
  user-select: none;
}

.hometown-more > summary::-webkit-details-marker { display: none; }

.hometown-more[open] > summary {
  margin-bottom: 0.75rem;
}

.hometown-more > .hometown-fact + .hometown-fact {
  margin-top: 0.75rem;
}

/* ── Course resources — pending state ────── */
.resources-pending {
  position: relative;
  opacity: 0.55;
  pointer-events: none;
}

.resources-pending::before {
  content: 'Links coming soon';
  position: absolute;
  top: 0.4rem;
  right: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--ink);
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
}

/* ── Coverage / Ace Run Pro ───────────────── */
.coverage {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.coverage-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.coverage h2 {
  color: var(--accent-soft);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.6rem;
}

.coverage p {
  opacity: 0.9;
  max-width: 60ch;
}

.coverage .event-pill {
  background: var(--accent);
  margin-bottom: 0.6rem;
}

.coverage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.coverage-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  margin-top: 0.5rem;
}

.coverage-cta h3 {
  color: var(--accent-soft);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.coverage-logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.coverage-logo-box {
  background: var(--ink);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 180px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coverage-logo-link:hover .coverage-logo-box {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.coverage-logo-img {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}

.coverage-logo-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.3rem;
}

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

  .coverage-logo-box {
    min-width: unset;
    width: 100%;
  }
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .divisions .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1280px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    background: rgba(30, 45, 26, 0.98);
    border: 1px solid var(--accent);
    border-right: 0;
    padding: 1rem;
    border-radius: 0 0 0 16px;
    display: none;
    width: min(280px, 80vw);
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }
}

@media (max-width: 700px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(80px, 1fr));
    max-width: 320px;
  }

  .tab-panel article {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .divisions .cards,
  .signup-form {
    grid-template-columns: 1fr;
  }
}

/* ── Floating Register CTA ───────────────── */
.reg-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 890;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(184, 74, 18, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.reg-fab.visible {
  opacity: 1;
  pointer-events: auto;
}

.reg-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(184, 74, 18, 0.6);
}

@media (max-width: 700px) {
  .reg-fab {
    font-size: 0.78rem;
    padding: 0.6rem 1.1rem;
    bottom: 1rem;
    right: auto;
    left: 1rem;
  }
}
/* ── Content Enhancements (Testimonial, CTA, Urgency) ─ */
.testimonial {
  padding: 3.5rem 1.5rem;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
}
.testimonial blockquote {
  max-width: 840px;
  margin: 0 auto;
  font-family: 'Rye', serif;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.35;
}
.testimonial blockquote p {
  color: #fff;
  margin-bottom: 1.25rem;
}
.testimonial blockquote footer {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  color: #c4b896;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.testimonial .badge {
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bottom-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.bottom-cta h2 {
  font-family: 'Rye', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.bottom-cta p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.cta-pulse {
  animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(184, 74, 18, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(184, 74, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 74, 18, 0); }
}

.urgency {
  color: #a44210;
  font-weight: 700;
}

.caddy-book-btn.pending {
  background: var(--line);
  color: var(--ink);
  pointer-events: none;
  cursor: default;
  opacity: 0.8;
}
