/* Vandal site design. Shared navigation, form, and footer styles live in styles.css. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
}

:root {
  --v-header-height: 76px;
  scroll-padding-block-start: calc(var(--v-header-height) + 12px);
}
.v-home, .v-rosters, .v-legal {
  --v-black: #09080c;
  --v-panel: #15111c;
  --v-lilac: #d2bbfa;
  --v-green: #9bff45;
  --v-pink: #ffb5d8;
  --v-muted: #bcb5c8;
  --v-line: #3c3247;
  --v-display: "Bricolage Grotesque", var(--font-body);
  --v-wordmark: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-serif: var(--font-body);
}
.v-home { background: var(--v-black); }
.v-home .page, .v-home .page-inner { background: var(--v-black); scroll-snap-type: none; }
:is(.v-home, .v-rosters, .v-legal) :focus-visible { outline: 2px solid var(--v-lilac); outline-offset: 4px; }
.site-header .btn-cream, .v-home .btn-cream, .v-home .cta-form-submit { color: var(--v-black); background: var(--v-green); border-color: var(--v-green); }
.site-header .btn-cream:hover, .v-home .btn-cream:hover, .v-home .cta-form-submit:hover { background: #c5ff94; border-color: #c5ff94; }
.v-home .btn-cream .arrow { color: inherit; }
.v-wrap { width: min(100% - 2 * clamp(22px, 5vw, 90px), 1380px); margin-inline: auto; }
.v-section { padding-block: clamp(58px, 7vw, 112px); }
.v-title {
  font: 550 clamp(39px, 4.8vw, 76px)/1 var(--v-display);
  letter-spacing: -.045em;
  color: var(--v-lilac);
  margin: 0;
  text-wrap: balance;
}
.v-intro { color: var(--v-muted); margin: 18px 0 0; max-width: 43ch; font-size: clamp(15px, 1.3vw, 18px); }
.v-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.v-text-link {
  display: inline-block;
  width: fit-content;
  color: var(--v-green);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .26em;
}
.v-text-link:hover { text-decoration-thickness: 2px; }
.v-section-head { margin-bottom: clamp(23px, 4vw, 45px); }
.v-section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.v-split { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(30px, 7vw, 104px); }
.v-split > div > .v-text-link { margin-top: 22px; }

.v-hero { background: #050505; }
.hero-nav.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  min-height: var(--v-header-height);
  padding: 14px clamp(22px, 4vw, 72px);
  background: #050505;
  border-bottom: 1px solid #242128;
}
.site-header .hero-nav-links a:hover { color: var(--v-lilac); opacity: 1; }
.site-header .hero-menu { border: 1px solid #403747; }
.nav-overlay, .nav-overlay.is-open {
  clip-path: none;
  transition: opacity .15s ease;
  overscroll-behavior: contain;
}
.nav-overlay.is-open .nav-overlay-col a {
  transform: none;
  transition: color .15s ease;
}
.v-hero-stage {
  --hero-split: 49%;
  --hero-title-size: clamp(115px, min(25vw, 48svh), 500px);
  --hero-title-top: 20%;
  --hero-letter-gap: clamp(3px, .35vw, 7px);
  /* Advance of “AL” at the wordmark's Barlow Condensed size and tracking. */
  --hero-title-tail: calc(var(--hero-title-size) * .865 + var(--hero-letter-gap));
  --hero-ink-on-lilac: #271637;
  --hero-copy-left: max(clamp(22px, 4vw, 72px), calc(var(--hero-split) - var(--hero-title-size) * 1.79 - var(--hero-letter-gap)));
  position: relative;
  isolation: isolate;
  height: clamp(555px, calc(100svh - var(--v-header-height)), 890px);
  overflow: hidden;
  background: #050505;
}
.v-hero-court {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 var(--hero-split);
  overflow: hidden;
  background: radial-gradient(ellipse at 46% 30%, #f2e0ff, transparent 67%), linear-gradient(145deg, #cfb5f4, #9c7cd0);
}
.v-hero-court::before {
  content: "";
  position: absolute;
  inset: 7% 7% 8%;
  border: 1px solid #32164c45;
  background: linear-gradient(90deg, transparent calc(50% - .5px), #32164c45 calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
}
.v-hero-court::after {
  content: "";
  position: absolute;
  width: 37%;
  aspect-ratio: 1;
  border: 1px solid #32164c45;
  border-radius: 50%;
  left: 50%;
  top: 41%;
  transform: translate(-50%, -50%);
}
.v-hero-title {
  position: absolute;
  z-index: 1;
  top: var(--hero-title-top);
  inset-inline: 0;
  display: grid;
  grid-template-columns: var(--hero-split) minmax(0, 1fr);
  margin: 0;
  font: 800 var(--hero-title-size)/.76 var(--v-wordmark);
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--v-lilac);
}
.v-hero-title span:first-child { justify-self: end; margin-inline-end: var(--hero-letter-gap); }
.v-hero-title span:last-child { color: var(--hero-ink-on-lilac); margin-inline-start: var(--hero-letter-gap); }
.v-hitter {
  position: absolute;
  z-index: 2;
  bottom: -20%;
  right: 20%;
  width: auto;
  height: 114%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.v-hero-copy {
  position: absolute;
  z-index: 1;
  top: calc(var(--hero-title-top) + var(--hero-title-size) * .82 + clamp(10px, 1.15vw, 20px));
  left: var(--hero-copy-left);
  width: calc(var(--hero-split) - var(--hero-copy-left) + var(--hero-title-tail));
  container-type: inline-size;
}
.v-hero-info {
  width: calc(100% - var(--hero-title-tail) - 16px);
  container-type: inline-size;
}
.v-hero-meta {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5cqw, 18px);
  margin: 10px 0 0;
  color: var(--v-green);
  font-size: clamp(.7rem, 3cqw, .9rem);
  letter-spacing: .16em;
  white-space: nowrap;
}
.v-hero-meta-rule { flex: 1; height: 1px; background: currentColor; opacity: .4; }
.v-hero-copy h2 {
  --hero-text-split: calc(100% - var(--hero-title-tail));
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, var(--v-lilac) var(--hero-text-split), var(--hero-ink-on-lilac) var(--hero-text-split));
  background-clip: text;
  font: 550 clamp(22px, 8.42cqw, 145px)/1 var(--v-display);
  /* Use a fixed optical size so the line keeps its proportions across widths. */
  font-variation-settings: "opsz" 55;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.v-hero-info p:not(.v-eyebrow) { color: var(--v-muted); margin: 12px 0 20px; max-width: 36ch; font-size: clamp(14px, 1.24vw, 17px); }
.v-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }

.v-about { background: #100d15; }
.v-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 100px); }
.v-about-photo { margin: 0; background: var(--v-panel); overflow: hidden; }
.v-about-photo img { width: 100%; height: clamp(290px, 36vw, 510px); object-fit: cover; object-position: center 33%; }
.v-about .v-disclosures { margin-block: 22px; }
.v-disclosures { border-top: 1px solid var(--v-line); }
.v-disclosure { border-bottom: 1px solid var(--v-line); }
.v-disclosure > summary, .v-more > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}
:is(.v-disclosure, .v-more) > summary::-webkit-details-marker { display: none; }
.v-disclosure > summary { padding: 15px 0; font-weight: 650; font-size: clamp(15px, 1.4vw, 19px); }
.v-disclosure > summary::after, .v-more > summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin: -4px 4px 0 auto;
  border: solid var(--v-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
:is(.v-disclosure, .v-more)[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.v-disclosure > summary:hover, .v-disclosure[open] > summary { color: var(--v-lilac); }
.v-disclosure > p { margin: 0; padding: 0 26px 16px 0; color: var(--v-muted); font-size: .94rem; max-width: 64ch; }
.v-disclosure p a { color: var(--v-green); text-decoration: underline; text-underline-offset: 3px; }
.v-updates {
  --v-line: #513244;
  background-color: #050505;
  background-image:
    linear-gradient(115deg, #050505c9, transparent 53%, #0505055e),
    radial-gradient(circle, #ffffff26 .5px, transparent 1px),
    linear-gradient(125deg, #050505 20%, #151515 64%, #090909 84%);
  background-size: auto, 5px 5px, auto;
}
.v-updates .v-title { color: var(--v-pink); }
.v-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: start; }
.v-event { border: 1px solid var(--v-line); border-top: 2px solid var(--v-pink); background: #121012; padding: clamp(18px, 2.6vw, 34px); }
.v-event-feature { height: 100%; }
.v-event h3 { margin: 0; color: #fff1f8; font: 550 clamp(24px, 2.6vw, 39px)/1.08 var(--v-display); }
.v-event .v-eyebrow { margin: 0 0 10px; color: var(--v-pink); }
.v-event > p:not(.v-eyebrow) { color: #e3c9d9; margin: 10px 0 15px; }
.v-event .v-text-link, .v-event .v-disclosure a { color: var(--v-pink); }
.v-event-archive { margin-top: 22px; border-top: 1px solid var(--v-line); }
.v-event-archive > summary { color: var(--v-pink); }
.v-updates summary::after { border-color: var(--v-pink); }
.v-event-archive > .v-event-grid { padding-bottom: 20px; }
.v-event-times { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 13px 0 8px; }
.v-calendar { display: inline-flex; gap: 5px; align-items: baseline; font-size: .95rem; font-weight: 700; color: var(--v-pink); }
.v-calendar:hover, .v-event-map:hover { text-decoration: underline; text-underline-offset: 3px; }
.v-calendar.is-past { color: #b8a9b4; }
.v-event-status { color: #ead5e2; border: 1px solid #806776; padding: 2px 8px; border-radius: 4px; font-size: .72rem; }
.v-event-status:empty { display: none; }
.v-event-map { display: inline-block; color: var(--v-pink); font-size: .91rem; margin-bottom: 11px; }
.v-event .v-disclosure { border-block: 1px solid var(--v-line); }
.v-event .v-disclosure > summary { font-size: .9rem; padding-block: 12px; }

.v-showcase { display: grid; grid-template-columns: 43% 57%; background: var(--v-green); color: #15220b; }
.v-showcase-copy { padding: clamp(40px, 6vw, 96px) clamp(23px, 5vw, 90px); align-self: center; }
.v-showcase .v-title, .v-showcase .v-text-link { color: #14210c; }
.v-showcase-copy p { max-width: 34ch; margin: 15px 0 18px; }
.v-showcase-copy .v-showcase-facts { max-width: none; font-size: .85rem; font-weight: 700; }
.v-showcase-facts a { text-decoration: underline; text-underline-offset: .2em; }
.v-showcase img { width: 100%; height: 100%; min-height: 310px; max-height: 490px; object-fit: cover; object-position: center 47%; }

.v-programs { background: #110d18; }
.v-programs .accordion-gallery { height: clamp(315px, 32vw, 420px); margin-top: 0; }
.v-programs .ag-graphic__num {
  font-family: var(--v-display);
  font-weight: 600;
  font-size: clamp(78px, 10vw, 150px);
  letter-spacing: -.035em;
}
.v-programs .ag-graphic__desc { font-size: clamp(13px, 1.3vw, 15px); }
.v-home .v-showcase :focus-visible, .v-home .v-contact-inner :focus-visible { outline-color: #4a2670; }

.v-teams { background: #0b0a0f; }
.v-team-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.v-team-gallery .gallery-tile {
  position: relative;
  display: block;
  min-height: 0;
  height: clamp(185px, 20vw, 300px);
  grid-column: auto;
  grid-row: auto;
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
}
.v-team-gallery .gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.v-team-gallery .gallery-tile-caption { inset: auto 0 0; padding: 16px; background: linear-gradient(0deg, #09080cee, #09080c00); }
.v-team-gallery .tile-cat { color: var(--v-lilac); }
.v-team-gallery .tile-name { font: 600 clamp(13px, 1vw, 16px)/1.3 var(--font-body); }
.v-faq { background: #100d15; }
.v-more > summary { color: var(--v-green); width: fit-content; padding: 15px 0; font-weight: 700; }
.v-more > summary::after { margin-left: 8px; }
.v-more:not([open]) .v-more-close, .v-more[open] .v-more-open { display: none; }
.v-mission { background: #0a090e; }
.v-mission .v-split { align-items: center; }
.v-mission img { width: 100%; height: clamp(200px, 25vw, 340px); object-fit: cover; }
.v-contact { background: var(--v-lilac); }
.v-contact-inner { padding-block: clamp(58px, 7vw, 108px); }
.v-contact .v-title, .v-contact .v-intro, .v-contact .cta-consent, .v-contact .cta-form-status { color: #26183a; }
.v-contact .cta-form { max-width: none; }
.v-contact .cta-form-fields :is(input, textarea, select) {
  color: #26183a;
  background-color: #ede1ff;
  border-color: #9475b5;
  min-width: 0;
}
.v-contact .cta-form-fields :is(input, textarea)::placeholder { color: #5a436d; }
.v-contact .cta-form-fields select {
  appearance: auto;
  background-image: none;
  padding-right: 10px;
}
.v-contact .cta-consent a, .v-contact .cta-form-status a { color: #37205a; }
.v-contact .cta-form-status.is-error { color: #8e124c; }
.v-contact .cta-form-submit { width: fit-content; padding-inline: 20px; }
.v-contact .footer-band { background: #0a080e; }
:is(.v-rosters, .v-legal) :is(h1, h2, h3) {
  font-family: var(--v-display);
  font-weight: 550;
}
.v-rosters :is(h1, h2, h3) em {
  font: inherit;
  color: var(--v-lilac);
}
.v-home .mobile-contact-bar a { background: var(--v-lilac); color: var(--v-black); }
.v-home .mobile-contact-bar a + a { background: var(--v-green); }

@media (min-width: 761px) and (max-height: 800px) {
  .v-hero-stage { --hero-title-top: 16%; --hero-title-size: clamp(115px, min(25vw, 43svh), 440px); }
}
@media (min-width: 1350px) and (max-height: 740px) {
  .v-hero-stage { --hero-title-top: 13%; }
}
@media (max-width: 1000px) {
  .site-header .hero-nav-links { display: none; }
  .site-header { justify-content: space-between; }
  .v-hitter { right: 12%; }
}
@media (max-width: 760px) {
  .v-hero-stage {
    --hero-title-top: clamp(53px, 16vw, 120px);
    --hero-title-size: clamp(68px, 24vw, 170px);
    height: auto;
    min-height: 0;
    padding-top: clamp(285px, 80vw, 420px);
  }
  .v-hero-court { inset-block-end: auto; height: clamp(285px, 80vw, 420px); }
  .v-hitter { top: 5px; right: 7%; bottom: auto; height: clamp(320px, 90vw, 470px); }
  .v-hero-copy { position: relative; z-index: 3; inset: auto; width: auto; padding: 24px 22px 33px; background: #050505; }
  .v-hero-info { width: 100%; }
  .v-hero-copy h2 { color: var(--v-lilac); background: none; font-size: clamp(22px, 7.7cqw, 65px); font-variation-settings: normal; letter-spacing: .02em; white-space: normal; }
  .v-about-grid, .v-split, .v-showcase { grid-template-columns: minmax(0, 1fr); }
  .v-about-photo { grid-row: 2; }
  .v-about-photo img { height: 270px; }
  .v-showcase img { min-height: 0; max-height: 300px; aspect-ratio: 16 / 10; }
  .v-team-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-team-gallery .gallery-tile { height: clamp(160px, 40vw, 250px); }
  .v-contact .footer-band { padding-bottom: 95px; }
}
@media (max-width: 720px) {
  .v-programs .accordion-gallery { height: auto; }
  .v-programs .ag-panel { height: 68px; }
  .v-programs .ag-panel.is-active { height: 230px; }
  .v-programs .ag-graphic__num { font-size: 48px; }
  .v-programs .ag-panel.is-active .ag-graphic__num { font-size: 100px; }
}
@media (max-width: 490px) {
  .v-event-grid { grid-template-columns: minmax(0, 1fr); }
  .v-team-gallery .gallery-tile-caption { padding: 10px; }
  .v-team-gallery .tile-cat { font-size: 10px; }
}

/* Season schedule (js/club-live.js) and owner-posted news (Edit site), in the refresh's colours */
.v-schedule { background: #0b0a0f; }
.v-schedule .club-schedule { margin-top: 0; max-width: 980px; }
.v-schedule .club-filter { border-bottom-color: var(--v-line); }
.v-schedule .club-filter button { color: var(--v-muted); }
.v-schedule .club-filter button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--v-green); }
.v-schedule .club-ev { border-top-color: var(--v-line); }
.v-schedule .club-ev-d b { color: var(--v-lilac); }
.v-schedule .club-empty, .v-schedule .club-ev-m p { color: var(--v-muted); }
.v-updates { --loomi-accent: var(--v-pink); }
.v-event[data-loomi-post] .v-event-where { margin: 8px 0 0; color: #fff1f8; font-size: .91rem; font-weight: 600; }
.v-event[data-loomi-post] p:not(.v-eyebrow) { color: var(--v-muted); }
.v-event-grid .loomi-posts-empty { grid-column: 1 / -1; color: var(--v-muted); border-color: var(--v-line); }
