@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --royal: #3656a5;
  --ice-blue: #26abe0;
  --navy: #172f60;
  --ink: #192b49;
  --muted: #4d617a;
  --ice: #edf7fc;
  --line: #c8d7e5;
  --danger: #a52e39;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --canvas: 1040px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  border-top: 5px solid var(--royal);
  background: #f6f9fc;
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, sans-serif;
}
a { color: var(--royal); text-underline-offset: .18em; }
.masthead, main, footer {
  width: min(calc(100% - 64px), var(--canvas));
  margin-inline: auto;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 0 16px;
  border-bottom: 1px solid var(--line);
}
.masthead img { display: block; width: 128px; height: auto; }
.event-date { display: grid; justify-items: end; color: var(--muted); font-size: .85rem; }
.event-date strong { color: var(--navy); font-weight: 700; }
.test-banner {
  text-align: center;
  background: #fff1c6;
  color: #664600;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 700;
}
main { min-height: 62vh; padding: 36px 0 56px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
}
h1 { margin: 7px 0 12px; font-size: clamp(2.35rem, 5vw, 3.65rem); }
h2 { margin: 0 0 14px; font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 16px; }
.lede { color: var(--muted); max-width: 680px; font-size: 1.08rem; }
.eyebrow, .event-kicker, .choice-meta {
  color: var(--royal);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 8px; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  background: var(--royal);
  color: white;
  font: inherit;
  font-weight: 700;
  line-height: 1.32;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: var(--navy); }
.secondary, button.secondary { background: white; border-color: var(--royal); color: var(--royal); }
.secondary:hover { background: var(--ice); }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }
form button { margin-top: 16px; }

/* The club artwork sits on a regulation-style rink diagram. */
.landing { padding-block: clamp(24px, 4vw, 48px) 36px; min-height: auto; }
.event-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.hero-copy { align-self: center; padding: clamp(24px, 4vw, 48px); }
.event-kicker { display: flex; align-items: center; gap: 10px; margin: 0; }
.event-kicker::before { content: ""; width: 24px; height: 3px; background: var(--ice-blue); }
.hero-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(3.2rem, 6.4vw, 5.45rem);
  line-height: .94;
  letter-spacing: -.02em;
}
.hero-copy h1 span { color: var(--royal); }
.hero-copy > p:last-child { margin: 0; max-width: 36ch; color: var(--muted); }
.ice-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(125deg, #f3fbff, #d6edfa);
}
.ice-art img { width: 62%; max-width: 330px; height: auto; transform: rotate(-6deg); }
.rink {
  position: absolute;
  z-index: -1;
  width: 116%;
  aspect-ratio: 2.35;
  transform: rotate(-6deg);
  border: 2px solid #b9d8e9;
  border-radius: 16% / 39%;
  background: linear-gradient(90deg, transparent 49.8%, #bfdaea 49.8% 50.2%, transparent 50.2%);
}
.rink::before, .rink::after {
  position: absolute;
  content: "";
  inset-block: 0;
  width: 3px;
  background: #bad9ed;
}
.rink::before { left: 30%; }
.rink::after { right: 30%; }
.center-ice, .zone::before, .zone::after {
  position: absolute;
  border: 2px solid #c3dfed;
  border-radius: 50%;
  aspect-ratio: 1;
}
.center-ice { left: 50%; top: 50%; width: 23%; transform: translate(-50%, -50%); }
.zone { position: absolute; inset-block: 0; width: 15%; }
.zone-left { left: 11%; }
.zone-right { right: 11%; }
.zone::before, .zone::after {
  content: "";
  left: 0;
  width: 100%;
  background: radial-gradient(circle at center, #bddbea 0 2px, transparent 3px);
}
.zone::before { top: 7%; }
.zone::after { bottom: 7%; }

.start-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.order-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(23px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.order-choice h2 { margin: 9px 0; font-size: clamp(1.8rem, 3vw, 2.35rem); }
.order-choice p { color: var(--muted); margin: 0 0 22px; max-width: 45ch; }
.order-choice button { margin-top: auto; width: 100%; }
.order-choice button span { font-size: 1.25rem; line-height: 1; }
.prepay-choice { background: var(--royal); border-color: var(--royal); color: white; }
.prepay-choice h2 { color: white; }
.prepay-choice .choice-meta { color: #b9efff; }
.prepay-choice p { color: #f1f5ff; }
.prepay-choice button { background: white; color: var(--navy); }
.prepay-choice button:hover { background: #d9f3ff; }
.prepay-choice button:focus-visible { outline-color: white; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  font-size: .85rem;
}
footer img { width: 92px; height: auto; }
footer a { padding: 10px 0; }

.panel, .metric {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: clamp(20px, 3vw, 30px);
}
.panel { margin: 20px 0; }
.panel h2 { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.field { min-width: 0; }
label { display: block; margin-bottom: 7px; font-weight: 650; font-size: .94rem; }
input:not([type=radio]):not([type=checkbox]), select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #8399b3;
  border-radius: 5px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}
input[type=checkbox], input[type=radio] {
  width: 21px; height: 21px;
  margin: 0 .5rem 0 0;
  vertical-align: middle;
  accent-color: var(--royal);
  flex-shrink: 0;
}
input[type=number] { max-width: 130px; }
.packages label, #delivery-panel label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 14px;
  margin: 8px 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.packages label:has(:checked), #delivery-panel label:has(:checked) {
  background: var(--ice); border-color: var(--royal); box-shadow: inset 3px 0 var(--royal);
}
.error, .errorlist { color: var(--danger); }
.errorlist { padding-left: 20px; font-size: .9rem; }
.consent label { font-weight: 400; }
.consent p, .panel p:last-child, .notice p:last-child { margin-bottom: 0; }
.total-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 24px; background: var(--navy); color: white; border-radius: 8px;
}
.total-bar strong { font-size: 1.4rem; }
.summary { margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; }
.summary dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary .grand-total { margin-top: 12px; border-top: 1px solid var(--line); font-size: 1.35rem; font-weight: 700; }
.credit-note, .notice { padding: 16px; border-left: 4px solid var(--ice-blue); background: var(--ice); }
.notice { margin: 20px 0; }
.confirmation { max-width: 720px; margin: 40px auto; text-align: center; }
.confirmation .lede { margin: 16px auto; }
.confirmation .muted { margin-top: 12px; }
.muted, small { color: var(--muted); }
.narrow { max-width: 520px; margin: auto; }
.center { text-align: center; }
.idle-notice:not([hidden]) {
  position: fixed; z-index: 20; inset: auto 16px 16px;
  max-width: 600px; margin: auto; padding: 18px;
  background: white; border: 2px solid var(--royal); border-radius: 8px; box-shadow: 0 6px 26px #172f602b;
}
.idle-notice p { margin: 0 0 10px; }
.idle-notice button { margin: 0; }
.staff-nav, .actions, .search { display: flex; gap: 12px; }
.staff-nav, .actions { flex-wrap: wrap; align-items: center; }
.staff-nav { margin-bottom: 26px; font-size: .9rem; }
.staff-nav form { margin-left: auto; }
.staff-nav button { margin: 0; min-height: 40px; background: transparent; color: var(--royal); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { padding: 16px; }
.metric strong { display: block; color: var(--royal); font-size: 1.85rem; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .85rem; }
th, td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
th { font-size: .73rem; text-transform: uppercase; letter-spacing: .04em; }
code { font-size: .95rem; }
details { margin: 18px 0; }
summary { cursor: pointer; font-weight: 650; }
.danger { background: var(--danger); }
.badge { padding: 4px 7px; border-radius: 4px; background: var(--ice); font-size: .8rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.search input { flex: 1; min-width: 0; }
.search button { margin: 0; }
@media (max-width: 680px) {
  .masthead, main, footer { width: calc(100% - 32px); }
  .masthead { padding: 12px 0; }
  .masthead img { width: 104px; }
  main { padding-block: 24px 40px; }
  .landing { padding-block: 16px 24px; }
  .event-hero { grid-template-columns: 1fr; border-radius: 10px; }
  .ice-art { grid-row: 1; height: clamp(92px, 25vw, 138px); }
  .ice-art img { width: clamp(150px, 43vw, 236px); height: auto; transform: rotate(-4deg); }
  .rink { width: 85%; max-width: 365px; transform: rotate(-4deg); }
  .hero-copy { padding: 18px 22px 20px; }
  .hero-copy h1 { font-size: clamp(2.4rem, 8.6vw, 3.8rem); line-height: 1; margin: 8px 0; }
  .hero-copy > p:last-child { max-width: 42ch; }
  .start-options, .form-grid { grid-template-columns: 1fr; }
  .start-options { gap: 12px; margin-top: 12px; }
  .order-choice { padding: 19px 22px; }
  .order-choice p { margin-bottom: 14px; }
  .order-choice h2 { margin: 5px 0; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .confirmation { margin: 20px auto; }
}
@media print {
  .masthead, footer, .staff-nav, button, .test-banner { display: none; }
  body { border: 0; background: white; }
  main { width: 100%; padding: 0; }
  .panel { break-inside: avoid; }
}
.review-email { overflow-wrap: anywhere; }
