:root {
  --paper: #f4f6f1;
  --paper-deep: #e9eee6;
  --ink: #152130;
  --muted: #657082;
  --line: rgba(28, 49, 65, 0.13);
  --blue: #146fe2;
  --blue-deep: #0d4fb6;
  --green: #139c78;
  --green-deep: #087258;
  --gold: #e69a28;
  --gold-deep: #99540b;
  --coral: #ee6d52;
  --white: rgba(255, 255, 255, 0.93);
  --shadow: 0 28px 70px rgba(34, 53, 59, 0.14);
  --shadow-hover: 0 36px 90px rgba(25, 49, 61, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 6%, rgba(76, 178, 154, 0.14), transparent 30rem),
    radial-gradient(circle at 8% 34%, rgba(20, 111, 226, 0.12), transparent 32rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.map-wash {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.82;
  background-image:
    linear-gradient(28deg, transparent 0 48.8%, rgba(113, 136, 119, 0.09) 49% 49.3%, transparent 49.5%),
    linear-gradient(117deg, transparent 0 53%, rgba(113, 136, 119, 0.08) 53.2% 53.5%, transparent 53.7%),
    repeating-radial-gradient(ellipse at 46% 44%, transparent 0 80px, rgba(79, 111, 95, 0.05) 82px 83px, transparent 85px 124px);
}

.route {
  position: absolute;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(47, 92, 88, 0.05);
}

.route::after {
  position: absolute;
  inset: 1px 0;
  content: "";
  border-radius: inherit;
  background: rgba(243, 195, 67, 0.32);
}

.route-one {
  top: 24%;
  left: -8%;
  width: 62%;
  transform: rotate(-13deg);
}

.route-two {
  top: 64%;
  right: -12%;
  width: 74%;
  transform: rotate(9deg);
}

.route-three {
  top: 46%;
  left: 34%;
  width: 56%;
  transform: rotate(72deg);
}

.map-label {
  position: absolute;
  color: rgba(62, 82, 73, 0.11);
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.label-north {
  top: 12%;
  right: -6%;
  transform: rotate(-5deg);
}

.label-south {
  bottom: 8%;
  left: -4%;
  transform: rotate(4deg);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue), #2c88f5);
  box-shadow: 0 9px 24px rgba(20, 111, 226, 0.25);
}

.brand-mark::before,
.brand-mark span {
  position: absolute;
  content: "";
  border: 2px solid white;
}

.brand-mark::before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.brand-mark span {
  width: 6px;
  height: 6px;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.015em;
}

.brand-copy small,
.game-count {
  color: var(--muted);
  font-size: 12px;
}

.game-count {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.hero {
  display: grid;
  min-height: 470px;
  align-content: center;
  justify-items: center;
  padding: 72px 20px 66px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 950px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8.4vw, 106px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(105deg, var(--blue) 8%, #207ad9 46%, var(--green) 88%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-stats span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  margin-right: 3px;
  color: var(--ink);
}

.activity-section {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.activity-heading {
  margin-bottom: 24px;
}

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

.activity-window {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(37, 62, 70, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(34, 53, 59, 0.09);
  backdrop-filter: blur(12px);
}

.activity-window::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
}

.activity-period {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.activity-period small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-window dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

.activity-window dl > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.activity-window dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

.activity-window dd {
  min-width: 2ch;
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: right;
}

[data-site-stats][data-state="loading"] .activity-window dd {
  color: transparent;
}

[data-site-stats][data-state="loading"] .activity-window dd::after {
  display: block;
  width: 30px;
  height: 15px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(100deg, rgba(101, 112, 130, 0.1), rgba(101, 112, 130, 0.23), rgba(101, 112, 130, 0.1));
  background-size: 200% 100%;
  animation: stats-pulse 1.25s ease-in-out infinite;
}

[data-site-stats][data-state="error"] .activity-window {
  opacity: 0.72;
}

.activity-status {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@keyframes stats-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.games-section {
  padding: 56px 0 88px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 340px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(37, 62, 70, 0.13);
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.game-card:hover {
  border-color: rgba(20, 111, 226, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.game-card:focus-visible,
.brand:focus-visible {
  outline: 4px solid rgba(20, 111, 226, 0.3);
  outline-offset: 4px;
}

.card-map {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border-bottom: 1px solid rgba(34, 60, 67, 0.1);
}

.charlotte-card .card-map {
  background:
    radial-gradient(circle at 72% 30%, rgba(62, 176, 211, 0.38), transparent 18%),
    linear-gradient(130deg, #e5f4ef, #dce8f8 58%, #d3e0f0);
}

.camden-card .card-map {
  background:
    radial-gradient(circle at 20% 78%, rgba(33, 136, 108, 0.34), transparent 22%),
    linear-gradient(130deg, #e8f2e6, #e5ecdc 52%, #dbe9f1);
}

.visitor-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.35fr);
}

.visitor-card:hover {
  border-color: rgba(230, 154, 40, 0.42);
}

.visitor-card .card-map {
  min-height: 320px;
  border-right: 1px solid rgba(91, 64, 29, 0.11);
  border-bottom: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 216, 117, 0.78), transparent 20%),
    radial-gradient(circle at 18% 78%, rgba(60, 166, 116, 0.34), transparent 27%),
    linear-gradient(135deg, #fff1c9, #f7e9c9 48%, #dcebd7);
}

.visitor-card .card-map::before {
  border-color: rgba(191, 120, 37, 0.38);
}

.visitor-card .card-map::after {
  border-color: rgba(46, 133, 92, 0.38);
}

.visitor-card .map-road {
  background: rgba(230, 154, 40, 0.74);
}

.visitor-card .road-c {
  background: rgba(255, 255, 255, 0.84);
}

.tour-path {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 15%;
  width: 70%;
  height: 56px;
  border-top: 4px dashed rgba(153, 84, 11, 0.62);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.tour-stop {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 50% 50% 50% 10px;
  color: white;
  box-shadow: 0 12px 24px rgba(81, 58, 31, 0.22);
  font-size: 14px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.tour-stop::before {
  position: absolute;
  inset: -8px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.22;
}

.tour-stop::after {
  position: absolute;
  content: var(--stop-letter);
  transform: rotate(45deg);
}

.stop-history {
  --stop-letter: "H";
  top: 29%;
  left: 23%;
  background: var(--coral);
}

.stop-park {
  --stop-letter: "P";
  top: 57%;
  left: 51%;
  background: var(--green);
}

.stop-recreation {
  --stop-letter: "R";
  top: 25%;
  left: 72%;
  background: var(--blue);
}

.stop-history,
.stop-park,
.stop-recreation {
  color: white;
}

.visitor-badge {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(153, 84, 11, 0.2);
  border-radius: 999px;
  color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(91, 64, 29, 0.09);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-map::before,
.card-map::after {
  position: absolute;
  content: "";
  opacity: 0.32;
  border: 1px solid rgba(51, 98, 92, 0.45);
  border-radius: 48% 52% 55% 45%;
}

.card-map::before {
  top: -55%;
  left: -18%;
  width: 82%;
  height: 135%;
  transform: rotate(18deg);
}

.card-map::after {
  right: -22%;
  bottom: -60%;
  width: 88%;
  height: 140%;
  transform: rotate(-13deg);
}

.map-road {
  position: absolute;
  z-index: 1;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: rgba(236, 183, 69, 0.7);
  box-shadow: 0 1px 2px rgba(43, 67, 69, 0.1);
}

.road-a {
  top: 43%;
  left: -8%;
  width: 86%;
  transform: rotate(-12deg);
}

.road-b {
  top: 48%;
  left: 34%;
  width: 73%;
  transform: rotate(57deg);
}

.road-c {
  top: 68%;
  left: 14%;
  width: 66%;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  transform: rotate(14deg);
}

.pin {
  position: absolute;
  z-index: 3;
  top: 42%;
  left: 55%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 50% 8px;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(21, 61, 89, 0.24);
  transform: rotate(-45deg);
}

.camden-card .pin {
  background: var(--green);
}

.pin i {
  display: block;
  width: 13px;
  height: 13px;
  border: 3px solid white;
  border-radius: 50%;
}

.city-code {
  position: absolute;
  right: 22px;
  bottom: 15px;
  color: rgba(21, 33, 48, 0.18);
  font-size: clamp(54px, 9vw, 86px);
  font-weight: 900;
  letter-spacing: -0.07em;
}

.card-content {
  padding: 28px 30px 30px;
}

.card-meta,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-meta span:last-child {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(20, 111, 226, 0.08);
}

.camden-card .card-meta span:last-child {
  background: rgba(19, 156, 120, 0.1);
}

.visitor-card .card-meta span:last-child {
  color: var(--gold-deep);
  background: rgba(230, 154, 40, 0.14);
}

.visitor-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 42px 40px;
}

.visitor-card .card-content > p {
  max-width: 650px;
  min-height: 0;
}

.visitor-card .city-code {
  color: rgba(119, 73, 20, 0.15);
  font-size: clamp(50px, 8vw, 82px);
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.055em;
}

.card-content > p {
  min-height: 54px;
  margin-bottom: 26px;
  color: var(--muted);
  line-height: 1.55;
}

.card-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.game-name {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 850;
}

.camden-card .play-button {
  color: var(--green-deep);
}

.visitor-card .play-button {
  color: var(--gold-deep);
}

.play-button b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  transition: transform 180ms ease;
}

.camden-card .play-button b {
  background: var(--green);
}

.visitor-card .play-button b {
  background: var(--gold);
}

.game-card:hover .play-button b {
  transform: translateX(3px);
}

footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

footer p {
  margin-bottom: 0;
}

.footer-note {
  max-width: 420px;
  text-align: right;
}

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

  .activity-window dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .activity-window dl > div {
    display: block;
  }

  .activity-window dd {
    margin-top: 5px;
    text-align: left;
  }

  .visitor-card {
    grid-template-columns: 1fr;
  }

  .visitor-card .card-map {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid rgba(91, 64, 29, 0.11);
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 24px, 620px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand-copy small,
  .game-count {
    display: none;
  }

  .hero {
    min-height: 430px;
    padding: 64px 4px 56px;
  }

  h1 {
    font-size: clamp(49px, 15vw, 76px);
  }

  .games-section {
    padding-top: 44px;
  }

  .activity-section {
    padding: 44px 0 52px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .card-map {
    min-height: 210px;
  }

  footer {
    display: block;
  }

  .footer-note {
    margin-top: 9px;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero {
    min-height: 390px;
  }

  .hero-stats span {
    padding: 8px 10px;
    font-size: 11px;
  }

  .activity-window {
    padding: 20px;
  }

  .activity-window dl {
    grid-template-columns: 1fr;
  }

  .activity-window dl > div {
    display: flex;
  }

  .activity-window dd {
    margin-top: 0;
    text-align: right;
  }

  .card-content {
    padding: 24px 22px 25px;
  }

  .visitor-card .card-content {
    padding: 26px 22px 28px;
  }

  .card-content > p {
    min-height: 0;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .game-card,
  .play-button b,
  [data-site-stats][data-state="loading"] .activity-window dd::after {
    transition: none;
    animation: none;
  }
}
