:root {
  /* Purples from cyafieldhouse.org */
  --p950: #22103a;
  --p900: #2e1749;
  --p800: #3b1d5e;
  --p700: #4c2872;
  --p600: #592f85;
  --p500: #653598;
  --p400: #723cab;
  --p300: #a07ad1;
  --p200: #cdb8ea;
  --p100: #efe7fb;
  --gold: #ffd200;
  --white: #ffffff;

  --display: "Barlow Condensed", "Futura PT Condensed", "Arial Narrow", sans-serif;
  --body: "Jost", "Futura PT", Futura, "Century Gothic", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--p800);
  color: var(--p100);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; color: var(--white); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--light { background: var(--white); color: var(--p700); }
.btn--light:hover { background: var(--p100); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.finder .btn { height: 60px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(46, 23, 73, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--p200); transition: color .15s; }
.nav__links a:hover { color: var(--white); }
@media (max-width: 820px) { .nav__links { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--p900); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(46,23,73,.25) 0%, rgba(46,23,73,.35) 40%, rgba(59,29,94,.96) 100%),
    linear-gradient(90deg, rgba(76,40,114,.85) 0%, rgba(76,40,114,.35) 55%, rgba(76,40,114,0) 100%);
  mix-blend-mode: normal;
}
.hero__shade::after { /* purple wash so the whole page reads purple */
  content: ""; position: absolute; inset: 0; background: var(--p500); mix-blend-mode: color; opacity: .35;
}
.hero__content { position: relative; padding-top: 140px; padding-bottom: 72px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  font-size: 14px; font-weight: 500; color: var(--white);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,210,0,.25); }
.hero h1 { font-size: clamp(56px, 10vw, 128px); font-weight: 800; margin: 22px 0 18px; }
.hero h1 > span { display: block; }
@media (min-width: 768px) { .hero h1 > span { white-space: nowrap; } }
.hero h1 > span + span { color: var(--p200); }
.hero__sub { max-width: 560px; font-size: 19px; color: var(--p100); margin: 0 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; gap: 48px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); max-width: 560px; }
.stats div { margin: 0; }
.stats dt { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--white); }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--p200); }
@media (max-width: 600px) {
  .hero__content { padding-top: 110px; padding-bottom: 48px; }
  .hero__sub { font-size: 17px; }
  .stats { gap: 28px; }
  .stats dt { font-size: 38px; }
}

/* Marquee */
.marquee { background: var(--p500); overflow: hidden; border-block: 1px solid rgba(255,255,255,.12); }
.marquee__track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee span {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px;
  color: var(--white); padding: 16px 28px; white-space: nowrap; position: relative;
}
.marquee span::after { content: "✦"; position: absolute; right: -6px; color: var(--p200); font-size: 14px; top: 50%; transform: translateY(-50%); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Sections */
.section { padding: 112px 0; }
.section--deep { background: var(--p900); }
@media (max-width: 600px) { .section { padding: 72px 0; } }
.head { max-width: 640px; margin-bottom: 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--p300); margin: 0 0 14px; }
.head h2, .visit h2 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; }
.lede { margin: 18px 0 0; color: var(--p200); font-size: 18px; }

/* Finder */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.finder__field {
  display: flex; align-items: center; gap: 10px;
  background: var(--p700); border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: 6px 6px 6px 20px; height: 60px;
}
.finder__field:focus-within { border-color: rgba(255,255,255,.55); }
.finder__field label { font-weight: 600; font-size: 14px; color: var(--p200); white-space: nowrap; }
.finder__field input {
  width: 92px; background: transparent; border: 0; outline: none;
  color: var(--white); font-family: var(--display); font-size: 28px; font-weight: 700; padding: 4px 0;
  -moz-appearance: textfield; appearance: textfield;
}
.finder__field input::-webkit-inner-spin-button,
.finder__field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.finder__field input::placeholder { color: var(--p300); font-weight: 600; font-size: 20px; }
.stepper { display: flex; flex-direction: column; gap: 2px; height: 46px; }
.stepper button {
  flex: 1; width: 36px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: var(--p500); border: 0; color: var(--white);
  transition: background .15s;
}
.stepper button:first-child { border-radius: 16px 16px 4px 4px; }
.stepper button:last-child { border-radius: 4px 4px 16px 16px; }
.stepper button:hover { background: var(--p400); }
.stepper button:active { background: var(--p300); }
.stepper svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.finder__clear {
  width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--p100);
  margin-left: -8px;
}
.finder__clear:hover { background: rgba(255,255,255,.22); color: var(--white); }
.finder__clear svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.myteam {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center;
  background: linear-gradient(135deg, var(--p500), var(--p400));
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.myteam__badge { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--white); font-size: 40px; line-height: 1; }
.myteam__badge small { display: block; font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--p100); margin-top: 6px; text-transform: none; }
.myteam__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.myteam__time { background: rgba(34,16,58,.35); border-radius: var(--radius-sm); padding: 12px 12px 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.myteam__time:has(.cal[open]) { position: relative; z-index: 21; }
.myteam__date { display: block; font-size: 13px; color: var(--p100); }
.myteam__time strong { font-family: var(--display); font-size: 30px; color: var(--white); font-weight: 700; }
.myteam__none { grid-column: 1 / -1; color: var(--white); margin: 0; }
@media (max-width: 720px) {
  .myteam { grid-template-columns: 1fr; padding: 20px; }
  .myteam__times { grid-template-columns: 1fr; }
}

/* Tabs + board */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: var(--p100); white-space: nowrap;
}
.tab[aria-selected="true"] { background: var(--white); color: var(--p700); border-color: var(--white); }
.toolbar .tabs { margin-bottom: 0; }
#dayTabs .tab {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: 24px; line-height: 1; height: 60px; padding: 0 20px;
}
@media (max-width: 600px) {
  #dayTabs { width: 100%; flex-wrap: nowrap; }
  #dayTabs .tab { flex: 1; font-size: 21px; padding: 0 10px; height: 54px; }
}
@media (max-width: 380px) {
  #dayTabs { gap: 6px; }
  #dayTabs .tab { min-width: 0; font-size: 17px; padding: 0 6px; height: 48px; }
}
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.slot {
  display: flex; align-items: center; gap: 16px;
  background: var(--p700); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: 14px 16px;
  transition: background .2s, border-color .2s, opacity .2s;
}
.slot__time { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--white); min-width: 86px; }
.slot__teams { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--p600); color: var(--p100); border: 1px solid transparent;
}
.chip--league { background: var(--p500); color: var(--white); }
.chip em { font-style: normal; font-weight: 500; opacity: .7; font-size: 11px; }
.chip--hit { background: var(--white); color: var(--p700); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.board.is-filtered .slot { opacity: .35; }
.board.is-filtered .slot.is-hit { opacity: 1; background: var(--p500); border-color: rgba(255,255,255,.5); }
.slot { position: relative; }
.slot__teams { flex: 1; min-width: 0; }
.chip { white-space: nowrap; }

/* Add to calendar */
.cal { position: relative; flex-shrink: 0; align-self: center; }
.cal summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--p100); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06);
  transition: background .15s, border-color .15s, color .15s;
}
.cal summary::-webkit-details-marker { display: none; }
.cal summary:hover, .cal[open] summary { background: var(--white); color: var(--p700); border-color: var(--white); }
.cal svg, .myteam__cal svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cal__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 210px;
  background: var(--white); border-radius: 12px; padding: 6px;
  box-shadow: 0 18px 40px -12px rgba(20, 8, 36, .6);
}
.cal__menu a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--p700);
}
.cal__menu a:hover { background: var(--p100); }
.slot:has(.cal[open]) { z-index: 21; }
.cal__more { display: none; }
@media (max-width: 600px) {
  .slot { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .slot__time { font-size: 26px; min-width: 0; }
  .slot__teams { gap: 8px; }
  .slot .cal { align-self: stretch; border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px; }
  .slot .cal summary { justify-content: center; padding: 10px 14px; font-size: 14px; }
  .slot .cal__more { display: inline; }
  .slot .cal__menu { left: 0; right: 0; min-width: 0; }
}
.myteam__cal {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--p700);
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.myteam__cal:hover { background: var(--p100); }
.note { margin: 24px 0 0; font-size: 14px; color: var(--p300); }

/* Teams */
.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.team {
  background: var(--p800); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 22px 22px 18px; display: flex; flex-direction: column; text-align: left;
  font: inherit; color: inherit; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.team:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.3); background: var(--p700); }
.team__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.team__name { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; color: var(--white); line-height: 1; }
.team__count { font-size: 13px; color: var(--p300); }
.team__coach { font-size: 14px; color: var(--p200); margin: 4px 0 14px; }
.team__coach b { color: var(--white); font-weight: 600; }
.team__players { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.1); columns: 2; column-gap: 14px; font-size: 15px; color: var(--p100); }
.team__players li { break-inside: avoid; padding: 2px 0; }
.team__cta { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--p200); }
.team:hover .team__cta { color: var(--white); }

/* Game day cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--p700); border-radius: var(--radius); padding: 32px 28px; border: 1px solid rgba(255,255,255,.08); }
.card--feature { background: linear-gradient(160deg, var(--p400), var(--p500)); }
.card__num { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--p300); margin-bottom: 40px; }
.card--feature .card__num { color: var(--p100); }
.card h3 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.card p { margin: 0; color: var(--p100); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card__num { margin-bottom: 18px; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.visit__photo { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 10; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__photo::after { content: ""; position: absolute; inset: 0; background: var(--p500); mix-blend-mode: color; opacity: .3; }
address { font-style: normal; font-size: 20px; line-height: 1.5; color: var(--white); margin: 22px 0 28px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; gap: 32px; } }

/* Questions CTA */
.ask {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--p500) 0%, var(--p400) 100%);
  border-radius: 28px; padding: 56px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.ask .eyebrow { color: var(--p100); }
.ask h2 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; }
.ask .lede { color: var(--p100); max-width: 480px; }
.ask__actions { display: grid; gap: 12px; }
.ask__link {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--white); color: var(--p700); border-radius: 18px; padding: 18px 22px;
  transition: transform .15s ease, background .15s ease;
}
.ask__link:hover { background: var(--p100); transform: translateY(-2px); }
.ask__link svg { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ask__link span { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; overflow-wrap: anywhere; }
.ask__link small { display: block; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--p500); margin-bottom: 2px; }
@media (max-width: 860px) {
  .ask { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; border-radius: 22px; }
  .ask__link span { font-size: 24px; }
}

/* Footer */
.footer { background: var(--p950); padding: 64px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__logo { height: 84px; width: auto; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer h4 { font-size: 18px; margin-bottom: 12px; }
.footer a, .footer p { display: block; font-size: 15px; color: var(--p200); text-decoration: none; margin: 0 0 6px; }
.footer a:hover { color: var(--white); }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--p300);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer .credit { margin: 0; font-size: 13px; color: var(--p300); }
.footer .credit a { display: inline; margin: 0 1px 0 3px; opacity: .9; transition: opacity .15s; }
.footer .credit a:hover { opacity: 1; }
.footer .credit img { display: inline-block; height: 15px; width: auto; vertical-align: -3px; }
