:root {
  --ink: #172033;
  --muted: #5f6b7a;
  --panel: #ffffff;
  --line: #d8e4f2;
  --blue: #16a6ff;
  --blue-dark: #0875cf;
  --yellow: #ffd84a;
  --red: #ff5b5b;
  --green: #22a85a;
  --purple: #8657ff;
  --bg: #f0f8ff;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 216, 74, 0.38), transparent 20rem),
    radial-gradient(circle at 90% 20%, rgba(22, 166, 255, 0.22), transparent 26rem),
    linear-gradient(180deg, #f8fdff 0%, var(--bg) 48%, #fff6dd 100%);
  color: var(--ink);
}

a {
  color: var(--blue);
}

.topbar {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: column;
  gap: 1.5rem;
  min-height: clamp(25rem, 58vw, 38rem);
  padding: clamp(1.25rem, 4vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  background: #1d6cbf;
  color: white;
  border-bottom: 8px solid var(--yellow);
}

.admin-topbar {
  min-height: 18rem;
  background: linear-gradient(135deg, #202a36, #1e64c8 70%, #d43f3a);
}

.contact-topbar {
  min-height: 24rem;
}

.event-topbar {
  min-height: 28rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 117, 207, 0.86)),
    url("/assets/crash-lilly-trainers.png") 74% center / cover no-repeat;
}

.simple-topbar {
  min-height: 22rem;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #142038;
  background: rgba(255, 216, 74, 0.96);
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.42);
  text-decoration: none;
  font-weight: 850;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("/assets/crash-lilly-trainers.png") center / cover no-repeat;
  transform: scale(1.01);
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 28, 51, 0.78) 0%, rgba(12, 28, 51, 0.5) 42%, rgba(12, 28, 51, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 28, 51, 0.44) 0%, transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: auto 0;
}

.topbar h1 {
  margin: 0.2rem 0;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.32);
}

.event-line {
  margin: 0.4rem 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  text-decoration: none;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #13213a;
  background: rgba(255, 216, 74, 0.95);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  font-weight: 950;
}

.admin-link {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
}

.layout,
.admin-layout,
.tool-layout,
.intro-band,
.content-band,
.contact-layout,
.event-page-layout,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto;
  position: relative;
  z-index: 2;
}

.layout,
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
  align-items: start;
}

.tool-layout {
  margin-top: -3rem;
}

.intro-band,
.content-band,
.site-footer {
  display: grid;
  gap: 1.5rem;
}

.intro-band {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  margin-top: 2.5rem;
}

.intro-copy h2,
.content-band h2,
.donation-band h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro-copy p,
.content-band p,
.donation-band p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.trainer-showcase {
  display: grid;
  gap: 1rem;
}

.trainer-photo-card {
  margin: 0;
  overflow: hidden;
  border: 4px solid white;
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 50px rgba(31, 56, 100, 0.18);
}

.trainer-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 68% center;
}

.trainer-photo-card figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
}

.trainer-photo-card strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
}

.trainer-photo-card span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.trainer-card {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  padding: 1rem;
  border-radius: 24px;
  border: 3px solid white;
  box-shadow: 0 18px 50px rgba(31, 56, 100, 0.16);
}

.trainer-card h3 {
  margin: 0.75rem 0 0.2rem;
  font-size: 1.65rem;
}

.trainer-card p {
  margin: 0;
  color: #314057;
  font-weight: 850;
}

.crash-card {
  background: linear-gradient(160deg, #e9f8ff, #a7dfff 48%, #fff3bf);
}

.lilly-card {
  background: linear-gradient(160deg, #fff7d1, #ffd84a 42%, #ffd3df);
}

.trainer-art {
  position: relative;
  height: 17rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.92), transparent 4rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1));
}

.trainer-art span {
  position: absolute;
  display: block;
}

.crash-art .face,
.lilly-art .face {
  left: 50%;
  top: 4.3rem;
  width: 5.7rem;
  height: 6rem;
  transform: translateX(-50%);
  border-radius: 48% 48% 44% 44%;
  background: #f0b38c;
  box-shadow: inset 0 -0.45rem rgba(173, 91, 58, 0.14);
}

.crash-art .cap {
  left: 50%;
  top: 2.4rem;
  z-index: 2;
  width: 7rem;
  height: 2.6rem;
  transform: translateX(-50%);
  border-radius: 48% 48% 18% 18%;
  background: #26364c;
}

.crash-art .glasses {
  left: calc(50% - 3.2rem);
  top: 2rem;
  z-index: 3;
  width: 6.4rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #11b5ff, #8657ff);
  border: 2px solid #e5fbff;
  transform: rotate(-5deg);
}

.crash-art .beard {
  left: 50%;
  top: 8rem;
  z-index: 3;
  width: 4.8rem;
  height: 4.5rem;
  transform: translateX(-50%);
  border-radius: 36% 36% 50% 50%;
  background: #8b4a25;
}

.crash-art .vest {
  left: 50%;
  top: 11rem;
  width: 8.8rem;
  height: 5.4rem;
  transform: translateX(-50%);
  border-radius: 26% 26% 18% 18%;
  background: linear-gradient(135deg, #1b2b42, #0f1724);
}

.lilly-art .hair {
  left: 50%;
  top: 2.6rem;
  z-index: 1;
  width: 7.2rem;
  height: 8.5rem;
  transform: translateX(-50%);
  border-radius: 48% 48% 36% 36%;
  background: #d9a856;
}

.lilly-art .hoodie {
  left: 50%;
  top: 10.4rem;
  width: 8.6rem;
  height: 5.9rem;
  transform: translateX(-50%);
  border-radius: 26% 26% 18% 18%;
  background:
    radial-gradient(circle at 24% 34%, #ff5b7a 0 0.45rem, transparent 0.48rem),
    radial-gradient(circle at 58% 28%, #ff5b7a 0 0.45rem, transparent 0.48rem),
    radial-gradient(circle at 75% 55%, #ff5b7a 0 0.45rem, transparent 0.48rem),
    #fff4fa;
}

.partner {
  right: 1.3rem;
  bottom: 1.1rem;
  width: 5rem;
  height: 4.2rem;
  border-radius: 50% 50% 42% 42%;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.08);
}

.blue-partner {
  background: #59c5ff;
}

.blue-partner::before,
.yellow-partner::before,
.yellow-partner::after {
  position: absolute;
  content: "";
  display: block;
}

.blue-partner::before {
  left: 1.1rem;
  top: 0.8rem;
  width: 2.7rem;
  height: 2.3rem;
  border-radius: 50%;
  background: #fff4d0;
}

.yellow-partner {
  background: #ffd84a;
}

.yellow-partner::before,
.yellow-partner::after {
  top: -1.6rem;
  width: 1rem;
  height: 2.4rem;
  border-radius: 999px 999px 30% 30%;
  background: linear-gradient(#232323 0 38%, #ffd84a 39%);
}

.yellow-partner::before {
  left: 1rem;
  transform: rotate(-16deg);
}

.yellow-partner::after {
  right: 1rem;
  transform: rotate(16deg);
}

.panel {
  background: var(--panel);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 20px 65px rgba(31, 56, 100, 0.18);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.section-heading p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.registration-panel {
  border-top: 8px solid var(--yellow);
}

.lookup-panel {
  border-top: 8px solid var(--blue);
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading .eyebrow {
  color: var(--purple);
}

.section-heading h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

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

.compact-form {
  grid-template-columns: minmax(0, 1fr);
  max-width: 420px;
}

label,
fieldset {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  color: #334050;
  font-size: 0.92rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 2.8rem;
  border: 2px solid #cbd6e2;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  background: #fbfdff;
}

select,
textarea {
  width: 100%;
  min-height: 2.8rem;
  border: 2px solid #cbd6e2;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  background: #fbfdff;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(30, 100, 200, 0.18);
  border-color: var(--blue);
}

.gender-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  padding: 0;
}

.gender-field legend {
  grid-column: 1 / -1;
  padding: 0;
  color: #334050;
  font-weight: 800;
}

.radio-card {
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid #cbd6e2;
  border-radius: 14px;
  background: #f8fbff;
}

.radio-card input {
  width: auto;
  min-height: auto;
  margin: 0 0.5rem 0 0;
}

.primary-action,
.secondary-action {
  min-height: 2.9rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1rem;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  color: #11203a;
  background: linear-gradient(135deg, var(--yellow), #ff9f2f);
  box-shadow: 0 9px 0 #d77c18, 0 16px 28px rgba(215, 124, 24, 0.2);
}

.primary-action:hover {
  transform: translateY(1px);
  box-shadow: 0 7px 0 #d77c18, 0 12px 24px rgba(215, 124, 24, 0.2);
}

.secondary-action {
  color: var(--ink);
  background: #e8f5ff;
  border: 2px solid #a7dfff;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  grid-column: 1 / -1;
}

.button-row button,
.registration-panel .primary-action {
  min-width: 9rem;
}

.status {
  grid-column: 1 / -1;
  min-height: 1.3rem;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.status.success {
  color: var(--green);
}

.status.error {
  color: var(--red);
}

.muted {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.lookup-result {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.lookup-summary {
  display: grid;
  grid-template-columns: minmax(8rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.card-image-frame {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 0.75rem;
  border: 2px solid #bde8ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #e6f7ff);
}

.card-image-frame img {
  max-width: 100%;
  max-height: 18rem;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(31, 56, 100, 0.18);
}

.value-callout {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #e6f7ff);
  border: 2px solid #bde8ff;
}

.value-callout span,
.value-callout small {
  color: var(--muted);
  font-weight: 800;
}

.value-callout strong {
  color: var(--blue-dark);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.source-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  color: #334050;
  list-style: none;
}

.source-list em {
  color: var(--green);
  font-style: normal;
  font-weight: 850;
}

.source-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.source-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.source-card strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.source-card span,
.source-card small {
  color: var(--muted);
  font-weight: 800;
}

.source-card b {
  color: var(--blue-dark);
  font-size: 1.45rem;
}

.source-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.content-band {
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 50px rgba(31, 56, 100, 0.11);
}

.yellow-band {
  background: linear-gradient(135deg, #fff9dc, #ffffff);
  border: 3px solid #ffe987;
}

.blue-band {
  background: linear-gradient(135deg, #e8f8ff, #ffffff);
  border: 3px solid #b9eaff;
}

.steps-grid,
.resource-grid,
.rules-list,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.resource-grid,
.rules-list,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid article,
.resource-card,
.rules-list article,
.faq-grid article {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--line);
}

.steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: #142038;
  background: var(--yellow);
  font-weight: 950;
}

.steps-grid h3,
.rules-list h3,
.faq-grid h3 {
  margin: 0.7rem 0 0.25rem;
  font-size: 1.2rem;
}

.resource-card {
  display: grid;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.resource-card strong {
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.resource-card span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.donation-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: linear-gradient(135deg, #ffe25a, #ffb84a 50%, #ffffff);
  border: 3px solid white;
}

.donate-button {
  min-width: 12rem;
}

.support-payment {
  justify-self: end;
  min-width: min(100%, 18rem);
  padding: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 35px rgba(31, 56, 100, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-weight: 750;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.contact-layout {
  margin-top: -3rem;
}

.contact-panel {
  max-width: 760px;
}

.event-page-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: -3rem;
}

.event-info-band {
  border: 3px solid #bde8ff;
  background: linear-gradient(135deg, #e8f8ff, #ffffff);
}

.clean-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.contact-card {
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 3px solid white;
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 50px rgba(31, 56, 100, 0.14);
}

.contact-card h2 {
  margin: 0.2rem 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.contact-card .contact-email {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.contact-card p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.contact-mini-grid {
  display: grid;
  gap: 0.8rem;
}

.contact-mini-grid article {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.contact-mini-grid strong {
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.contact-mini-grid span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.featured-band {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 100, 200, 0.94)),
    radial-gradient(circle at 90% 20%, rgba(255, 216, 74, 0.35), transparent 18rem);
  box-shadow: 0 22px 70px rgba(31, 56, 100, 0.24);
}

.featured-band h2 {
  margin: 0.2rem 0 1.2rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
}

.press-grid,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.press-grid a {
  display: grid;
  gap: 0.45rem;
  min-height: 9rem;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.11);
}

.press-grid strong {
  font-size: 1.1rem;
}

.press-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  line-height: 1.35;
}

.calendar-band {
  background: linear-gradient(135deg, #eef9ff, #ffffff);
  border: 3px solid #bde8ff;
}

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

.calendar-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
  border-radius: 22px;
  border: 2px solid var(--line);
  background: white;
  box-shadow: 0 12px 32px rgba(31, 56, 100, 0.08);
}

.calendar-card.featured-date {
  border-color: #ffd84a;
  background: linear-gradient(135deg, #fff8d4, #ffffff);
}

.calendar-month {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 2.2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  color: #142038;
  background: var(--yellow);
  font-weight: 950;
}

.calendar-card strong {
  font-size: 1.35rem;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.booking-band {
  background: linear-gradient(135deg, #fff7d1, #ffffff);
  border: 3px solid #ffe987;
}

.wide-field {
  grid-column: 1 / -1;
}

.booking-form .primary-action {
  width: max-content;
  min-width: 12rem;
}

.admin-layout {
  display: block;
  margin-top: 2rem;
}

.admin-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-panel + .admin-panel {
  margin-top: 1.25rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #334050;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f8fbff;
}

td {
  font-weight: 650;
}

.empty-row {
  color: var(--muted);
  text-align: center;
}

.hidden {
  display: none;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 34rem;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .home-hero::before {
    background-position: 36% center;
  }

  .layout,
  .tool-layout,
  .intro-band,
  .donation-band,
  .clean-contact-layout {
    grid-template-columns: 1fr;
  }

  .tool-layout {
    margin-top: -2rem;
  }

  .trainer-showcase,
  .steps-grid,
  .resource-grid,
  .rules-list,
  .faq-grid,
  .press-grid,
  .calendar-grid,
  .lookup-summary {
    grid-template-columns: 1fr;
  }

  .support-payment {
    justify-self: stretch;
  }

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

  .gender-field {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .gender-field,
  .button-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button-row button {
    width: 100%;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .topbar h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .trainer-showcase {
    gap: 0.8rem;
  }
}
