@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');
:root {
  --ink: #181c23;
  --navy: #111820;
  --titan-blue: #255da7;
  --titan-blue-dark: #194a82;
  --red: var(--titan-blue);
  --red-dark: var(--titan-blue-dark);
  --paper: #f5f6f8;
  --white: #fff;
  --muted: #657181;
  --line: #d9dde1;
  --display: 'Barlow Condensed',Impact,sans-serif;
  --body: 'Source Sans 3',sans-serif;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 135px;
  background: linear-gradient(to bottom, #fff 0 100vh, #090f18 100vh 100%);
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(to bottom, #fff 0 100vh, #090f18 100vh 100%);
  font: 16px/1.5 var(--body);
}

main {
  background: #fff;
}

@media (min-width: 801px) {
  main {
    display: flex;
    flex-direction: column;
  }

  main > *:not(.hero):not(.quick-strip) {
    order: 2;
  }

  .hero {
    order: 0;
  }

  .quick-strip {
    order: 1;
  }
}

a {
  color: inherit;
}

button,
  input,
  select,
  textarea {
  font: inherit;
}

.wrap {
  width: min(var(--wrap),calc(100% - 48px));
  margin-inline: auto;
}

.district-bar {
  background: #0a111b;
  color: #dfe5ec;
  font-size: 12px;
  letter-spacing: .09em;
}

.district-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.district-bar a {
  text-decoration: none;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg,rgba(9,15,25,.9) 0%,rgba(9,15,25,.55) 48%,rgba(9,15,25,.08) 100%),url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=2000&q=85') center 48%/cover,#26384c;
}

.hero-content {
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 11px;
  color: #ffc9a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero .eyebrow {
  color: #c4dbf7;
}

.dark-eyebrow {
  color: var(--red);
}

h1,
  h2,
  h3,
  p {
  margin-top: 0;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 15px;
  font: 800 clamp(54px,7vw,88px)/.88 var(--display);
  letter-spacing: .015em;
  text-transform: uppercase;
}

.hero h1 span {
  color: #c4dbf7;
}

.hero-copy {
  max-width: 510px;
  margin-bottom: 28px;
  color: #f1f3f6;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s,transform .18s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.hero-link {
  font-weight: 700;
  text-decoration: none;
}

.hero-link span,
.program-block a span {
  margin-left: 7px;
}

.hero-caption {
  position: absolute;
  right: max(24px,calc((100vw - var(--wrap))/2));
  bottom: 22px;
  display: flex;
  gap: 20px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.quick-strip {
  position: sticky;
  top: var(--header-h, 83px);
  z-index: 4;
  background: var(--navy);
  color: #fff;
}

.quick-links {
  display: flex;
}

.quick-links a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 15px;
  justify-content: center;
  min-width: 0;
  min-height: 72px;
  border-right: 1px solid #ffffff28;
  text-decoration: none;
  font-weight: 700;
}

.quick-links a:hover {
  background: #1e3046;
}

.quick-links span {
  color: #c4dbf7;
  font: 600 14px var(--display);
}

.page-menu-toggle {
  display: none;
}

.section {
  padding-block: 82px;
}

.announcement-section {
  background: var(--paper);
}

.announcement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.announcement-grid h2,
.section-heading h2,
.form-intro h2,
.community-band h2,
.admin-heading h2 {
  margin: 0;
  font: 700 48px/.98 var(--display);
  text-transform: uppercase;
}

.announcement-grid>p {
  max-width: 520px;
  margin: 8px 0;
  color: #515d69;
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 44px;
}

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
}

.view-toggle button {
  min-width: 85px;
  padding: 10px 15px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.view-toggle button.is-active {
  background: var(--navy);
  color: #fff;
}

.schedule-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 700;
}

.schedule-controls select,
.club-form input,
.club-form select,
.reservation-form input,
.reservation-form select,
.admin-form input,
.admin-form textarea {
  min-height: 42px;
  width: 100%;
  border: 1px solid #c8cdd2;
  background: #fff;
  padding: 8px 10px;
  color: var(--ink);
}

.schedule-controls select {
  width: auto;
  min-width: 180px;
}

.sample-label {
  margin-left: auto;
  color: #737d88;
  font-size: 12px;
  font-weight: 500;
}

.event-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 19px 12px;
  border-top: 1px solid var(--line);
}

.event-row:last-child {
  border-bottom: 1px solid var(--line);
}

.event-row[hidden] {
  display: none;
}

.event-row time {
  text-align: center;
  color: var(--red);
  font: 700 32px/.9 var(--display);
}

.event-row time span {
  display: block;
  margin-bottom: 5px;
  font: 700 11px var(--body);
  letter-spacing: .12em;
}

.event-type {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.event-row h3 {
  margin: 3px 0 1px;
  font: 600 25px/1.05 var(--display);
  text-transform: uppercase;
}

.event-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.event-time {
  font-weight: 700;
}

.calendar-view {
  overflow-x: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(110px,1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.calendar-cell {
  min-height: 115px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.calendar-cell strong {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
}

.calendar-cell span {
  display: block;
  margin: 4px 0;
  padding: 4px;
  background: #edf0f3;
}

.calendar-head {
  min-height: auto;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.programs-section {
  background: #fafafa;
}

.section-intro {
  max-width: 330px;
  margin: 0 0 4px;
  color: var(--muted);
}

.program-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.program-block {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: 38px;
  color: #fff;
  background: #1a2635;
}

.high-school-block {
  background: linear-gradient(120deg,rgba(13,23,36,.96),rgba(13,23,36,.66)),url('https://images.unsplash.com/photo-1566577739112-5180d4bf9390?auto=format&fit=crop&w=1100&q=80') center/cover,#1a2635;
}

.grid-block {
  background: #255da7;
}

.program-kicker {
  color: #c4dbf7;
}

.program-block h3 {
  margin: 10px 0 7px;
  font: 700 39px/.93 var(--display);
  text-transform: uppercase;
}

.program-block>p {
  margin-bottom: 22px;
  color: #e4e7eb;
}

.grade-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  max-width: 440px;
  margin-bottom: 22px;
}

.grade-list span {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid #ffffff46;
  font-size: 13px;
}

.grade-list b {
  font-weight: 600;
}

.program-block>a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.registration-section {
  background: var(--red);
  color: #fff;
}

.form-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

#box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

#temp_button {
  margin-top: 0;
}

.form-intro h2 {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: 54px;
}

.form-intro>p:not(.eyebrow) {
  max-width: 440px;
  color: #ffff;
}

.form-note {
  margin-top: 25px;
  padding: 12px 14px;
  border-left: 3px solid #ffc7a9;
  background: #183d6b;
  font-size: 13px;
}

.club-form,
.reservation-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.club-form label,
.reservation-form label,
.admin-form label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}

.club-form .button {
  justify-self: start;
}

.button-red {
  background: #fff;
  color: var(--red-dark);
}

.form-feedback {
  min-height: 1.5em;
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.spirit-section {
  background: var(--paper);
}

.merch-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: start;
}

.merch-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 21px 0;
  border-top: 1px solid #cfd3d5;
}

.merch-item:last-child {
  border-bottom: 1px solid #cfd3d5;
}

.merch-number {
  color: var(--red);
  font: 600 23px var(--display);
}

.merch-item h3 {
  margin: 0;
  font: 600 25px var(--display);
  text-transform: uppercase;
}

.merch-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.merch-price {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.reservation-form {
  padding: 26px;
  background: #fff;
  border-top: 4px solid var(--red);
}

.reservation-form .eyebrow {
  margin: 0;
}

.button-dark {
  background: var(--navy);
  color: #fff;
}

.reservation-form .form-note {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.reservation-form .form-feedback {
  color: var(--red-dark);
}

.community-band {
  padding-block: 66px;
  background: #111b2a;
  color: #fff;
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.community-band h2 {
  font-size: 52px;
}

.community-inner>div:last-child {
  max-width: 460px;
}

.community-inner>div:last-child p {
  color: #cbd2da;
}

.community-inner>div:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  color: #c4dbf7;
}

.community-inner>div:last-child a svg {
  display: block;
  width: 24px;
  height: 24px;
}

.admin-section {
  padding-block: 60px;
  background: #f4f4f2;
}

.admin-wrap {
  max-width: 850px;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.admin-heading h2 {
  font-size: 40px;
}

.demo-tag {
  padding: 6px 9px;
  background: #e4e8eb;
  color: #495767;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.admin-wrap>p {
  max-width: 700px;
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 13px;
  max-width: 720px;
}

.admin-form .button {
  justify-self: start;
}

.admin-form .form-feedback {
  color: var(--red-dark);
}

@media (max-width: 800px) {
  .quick-strip {
    top: var(--header-h, 72px);
    min-height: var(--page-menu-collapsed-h, 52px);
  }

  .wrap {
    width: min(var(--wrap),calc(100% - 36px));
  }

  .hero {
    /* The measured header height includes the sponsor carousel when visible. */
    min-height: calc(100vh - var(--header-h, 72px));
    min-height: calc(100svh - var(--header-h, 72px));
    min-height: calc(100dvh - var(--header-h, 72px));
    background-position: 58% center;
  }

  .hero-content {
    padding-block: 28px;
  }

  .hero h1 {
    font-size: clamp(58px, 8.5vw, 72px);
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 19px;
    line-height: 1.35;
  }

  .hero .eyebrow {
    font-size: 14px;
  }

  .hero-caption {
    left: 15px;
    right: 15px;
    top: 14px;
    bottom: auto;
    flex-direction: column;
    gap: 3px;
  }

  .page-menu-toggle {
    display: block;
    width: 100%;
    min-height: var(--page-menu-collapsed-h, 52px);
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid #ffffff28;
    background: var(--navy);
    color: #fff;
    text-align: center;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .quick-strip {
    display: block;
  }

  .quick-links {
    display: none;
    grid-template-columns: 1fr 1fr;
    padding-block: 0;
  }

  .quick-strip.is-open .quick-links {
    display: grid;
  }

  .quick-links a {
    justify-content: flex-start;
    padding-left: 22px;
    min-height: 60px;
    border-right: 0;
  }

  .announcement-grid,
    .community-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding-block: 63px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .section-intro {
    max-width: 500px;
  }

  .form-layout,
    .merch-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .program-columns {
    gap: 12px;
  }

  .program-block {
    padding: 28px 22px;
  }

  .form-intro h2 {
    font-size: 48px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 30px);
  }

  .district-inner {
    font-size: 9px;
  }

  .district-inner a {
    font-size: 10px;
  }

  .hero {
    background-position: 62% center;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding-block: 52px 24px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(60px, 17vw, 70px);
  }

  .hero-copy {
    max-width: 34ch;
    margin-bottom: 18px;
    font-size: 19px;
    line-height: 1.35;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hero-caption {
    font-size: 9px;
  }

  .quick-links a {
    gap: 9px;
    padding-left: 12px;
    font-size: 13px;
  }

  .section-heading h2,
    .announcement-grid h2 {
    font-size: 39px;
  }

  .schedule-controls {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .schedule-controls select {
    min-width: 145px;
  }

  .sample-label {
    width: 100%;
    margin-left: 0;
  }

  .event-row {
    grid-template-columns: 52px 1fr;
    gap: 13px;
    padding: 15px 0;
  }

  .event-row time {
    font-size: 28px;
  }

  .event-time {
    grid-column: 2;
    margin-top: -9px;
    font-size: 12px;
  }

  .program-columns {
    grid-template-columns: 1fr;
  }

  .program-block {
    min-height: 0;
  }

  .grade-list {
    max-width: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-intro h2 {
    font-size: 46px;
  }

  .merch-item {
    grid-template-columns: 30px 1fr auto;
    gap: 10px;
  }

  .merch-item h3 {
    font-size: 22px;
  }

  .merch-item p {
    font-size: 12px;
  }

  .merch-price {
    font-size: 11px;
  }

  .community-band h2 {
    font-size: 45px;
  }

  .admin-heading {
    align-items: start;
    flex-direction: column;
  }

  .calendar-grid {
    grid-template-columns: repeat(7,minmax(88px,1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none!important;
  }
}

.calendar-embed {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
}

@media (max-width: 700px) {
  .calendar-embed iframe {
    height: 520px;
  }
}


/* ===== Multi-item reservation ===== */

.reserve-dialog.wide {
  width: min(540px, calc(100% - 30px));
}

/* Bar at the bottom of the screen */
.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(18px, calc((100vw - var(--wrap)) / 2));
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 -4px 18px rgba(9, 15, 25, .25);
}

.cart-bar[hidden] {
  display: none;
}

body.has-cart main {
  padding-bottom: 72px;
}

/* List inside the review dialog */
.cart-list {
  display: grid;
}

.cart-empty {
  margin: 0;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 1px solid var(--line);
}

.cart-line-name strong {
  display: block;
  font: 600 20px/1.05 var(--display);
  text-transform: uppercase;
}

.cart-line-name small {
  color: var(--muted);
  font-size: 13px;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #c8cdd2;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--paper);
}

.qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.cart-remove {
  margin-left: 6px;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
