:root {
  --bg: #f7f3f2;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #f8ecec;
  --text: #1f1b1c;
  --muted: #595152;
  --line: rgba(96, 0, 0, 0.12);
  --brand: #600000;
  --brand-deep: #4a0000;
  --accent: #231f20;
  --accent-deep: #111111;
  --shadow: 0 16px 40px rgba(24, 0, 0, 0.08);
  --radius: 28px;
  --radius-sm: 20px;
  --container: min(1180px, calc(100vw - 2rem));
  --transition: 220ms ease;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.8rem;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(180deg, #fbf8f7 0%, var(--bg) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a.button {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.header-contact {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding-top: 0.4rem;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #555;
}

.header-contact__group {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.header-contact__link {
  color: inherit;
  text-decoration: none;
}

.header-contact__link:hover {
  color: var(--brand);
}

.header-contact__phone {
  font-weight: 600;
  color: var(--brand-deep);
}

.header-contact__phone:hover {
  color: var(--brand);
}

.header-contact__sep {
  opacity: 0.3;
  flex-shrink: 0;
}

.header-contact__socials {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-contact__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand);
  transition: opacity 0.15s;
}

.header-contact__socials a:hover {
  opacity: 0.8;
}

.header-contact__socials svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.header-contact__socials a[data-icon="youtube"] svg {
  width: 16px;
  height: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1500;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(96, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
}

.admin-banner {
  position: relative;
  z-index: 1400;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(113, 86, 0, 0.18);
  background: #ffd84d;
  color: #2b2200;
  box-shadow: 0 8px 18px rgba(99, 72, 0, 0.07);
}

body.is-admin-authenticated .admin-banner {
  position: sticky;
  top: 0;
  z-index: 1600;
}

body.is-admin-authenticated .site-header {
  position: relative;
  top: auto;
}

body.is-admin-authenticated .admin-banner .container {
  width: 100%;
  margin: 0;
  padding-inline: clamp(0.9rem, 2vw, 1.35rem);
}

.admin-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.9rem;
}

.admin-banner__copy {
  display: grid;
  gap: 0.08rem;
  flex: 1 1 20rem;
  min-width: 0;
}

.admin-banner__copy strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.admin-banner__copy span {
  font-size: 0.88rem;
  line-height: 1.35;
}

.admin-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.admin-banner .button--ghost {
  color: #2b2200;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(113, 86, 0, 0.22);
  min-height: 44px;
  padding: 0.72rem 1.1rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(96, 0, 0, 0.1);
  background: linear-gradient(180deg, #fff 0%, #f8f3f2 100%);
}

.admin-sidebar__inner {
  display: grid;
  gap: 1.4rem;
}

.admin-sidebar__brand {
  display: grid;
  gap: 0.45rem;
}

.admin-sidebar__brand h2 {
  margin: 0;
  font-size: 1.35rem;
}

.admin-sidebar__brand p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.admin-sidebar__summary,
.admin-dashboard-grid {
  display: grid;
  gap: 0.55rem;
}

.admin-dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.admin-sidebar__summary-card,
.admin-dashboard-card {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(96, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-sidebar__summary-card strong,
.admin-dashboard-card strong {
  color: var(--brand-deep);
  font-size: 0.98rem;
  line-height: 1.2;
}

.admin-sidebar__summary-card span,
.admin-dashboard-card span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.admin-sidebar__summary-card em,
.admin-dashboard-card em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.4;
}

.admin-dashboard-section {
  display: grid;
  gap: 0.8rem;
}

.admin-dashboard-card {
  min-height: 112px;
  align-content: start;
}

.admin-sidebar__nav {
  display: grid;
  gap: 0.5rem;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(96, 0, 0, 0.08);
  border-radius: 16px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.76);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.admin-sidebar__link:hover,
.admin-sidebar__link:focus-visible,
.admin-sidebar__link.is-active {
  transform: translateY(-1px);
  border-color: rgba(96, 0, 0, 0.2);
  box-shadow: 0 14px 26px rgba(17, 12, 12, 0.06);
}

.admin-sidebar__link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #560000 0%, #600000 100%);
}

.admin-main {
  min-width: 0;
  background: linear-gradient(180deg, #fbf8f7 0%, #f6f0ef 100%);
}

.admin-only-main {
  min-height: calc(100vh - 4rem);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
}

.admin-tooltip-host {
  position: relative;
  display: inline-flex;
}

.admin-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
}

.admin-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a1a;
}

.admin-tooltip-host:hover .admin-tooltip,
.admin-tooltip-host:focus-within .admin-tooltip {
  opacity: 1;
}

.admin-panel {
  width: min(100%, 1120px);
  margin: 0 auto 1.4rem;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(96, 0, 0, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 242, 0.96));
  box-shadow: 0 18px 34px rgba(17, 12, 12, 0.05);
}

.admin-panel__intro {
  display: grid;
  gap: 0.45rem;
}

.admin-panel__intro h2 {
  margin: 0;
  max-width: none;
}

.admin-panel__intro p:not(.eyebrow) {
  margin: 0;
  max-width: 72ch;
}

.admin-tool-form {
  display: grid;
  gap: 0.9rem;
}

.admin-tool-form__grid {
  display: grid;
  gap: 0.9rem;
}

.admin-tool-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-media-filters {
  display: grid;
  gap: 0.9rem;
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.admin-toggle input {
  inline-size: 1.1rem;
  block-size: 1.1rem;
}

.admin-metrics {
  display: grid;
  gap: 0.9rem;
}

.admin-metric-card,
.admin-submission-card {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.admin-metric-card__value {
  color: var(--brand);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.admin-metric-card h3,
.admin-submission-card h3 {
  margin: 0;
  line-height: 1.1;
}

.admin-metric-card p,
.admin-submission-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-submission-list {
  display: grid;
  gap: 0.9rem;
}

.admin-preview-card,
.admin-empty-state {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border: 1px dashed rgba(96, 0, 0, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-inline-list {
  display: grid;
  gap: 0.6rem;
}

.admin-inline-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 12px;
}

.admin-inline-card__copy {
  flex: 1;
  min-width: 0;
}

.admin-inline-card__copy h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-inline-card__copy p {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-inline-card__icons {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.admin-inline-card__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(96, 0, 0, 0.18);
  border-radius: 8px;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.admin-inline-card__icon-btn:hover {
  background: rgba(96, 0, 0, 0.07);
  border-color: var(--brand);
}

.admin-inline-card__icon-btn--danger {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.2);
}

.admin-inline-card__icon-btn--danger:hover {
  background: rgba(185, 28, 28, 0.07);
  border-color: #b91c1c;
}

[data-copy-to-picker] {
  display: grid;
  gap: 0.3rem;
  min-width: 190px;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.6rem 0.7rem;
  background: #fff;
  border: 1px solid rgba(96, 0, 0, 0.18);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.copy-to-picker__divider {
  border: none;
  border-top: 1px solid rgba(96, 0, 0, 0.12);
  margin: 0.2rem 0;
}

.copy-to-picker__label {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.copy-to-picker__option {
  all: unset;
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s;
}

.copy-to-picker__option:hover {
  background: rgba(96, 0, 0, 0.07);
  color: var(--brand);
}

.admin-inline-card__drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #aaa;
  cursor: grab;
  transition: color 0.15s, background 0.15s;
}

.admin-inline-card__drag-handle:hover {
  color: var(--brand);
  background: rgba(96, 0, 0, 0.06);
}

.admin-inline-card__drag-handle:active {
  cursor: grabbing;
}

.admin-inline-card.is-dragging {
  opacity: 0.4;
  border-style: dashed;
}

.admin-inline-card.is-drag-over {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(96, 0, 0, 0.18);
  background: rgba(96, 0, 0, 0.03);
}

.admin-youth-category-group { display: flex; flex-direction: column; }
.admin-inline-card--category { background: #fafafa; border-color: #ccc; }
.admin-inline-card--category h3 { font-size: 0.95rem; }
.admin-youth-programs-sublist { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.35rem 0 0.5rem 2rem; border-left: 2px solid #e5e5e5; margin-left: 1.2rem; }
.admin-inline-card--program { padding: 0.45rem 0.7rem; }
.admin-inline-card--program h4 { font-size: 0.88rem; font-weight: 600; margin: 0 0 0.1rem; }
.admin-inline-card--program p { font-size: 0.8rem; }
.admin-youth-programs-add-btn { font-size: 0.82rem; padding: 0.3rem 0.75rem; min-height: 32px; align-self: flex-start; margin-top: 0.2rem; }

.admin-preview-split {
  display: grid;
  gap: 0.9rem;
}

.admin-preview-summary {
  display: grid;
  gap: 0.55rem;
}

.admin-preview-summary strong {
  color: var(--brand-deep);
  font-size: 1rem;
}

.admin-preview-summary__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.admin-preview-card__empty,
.admin-empty-state p {
  margin: 0;
  color: var(--muted);
}

.admin-preview-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-submission-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-submission-card__meta {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.admin-submission-card__meta div {
  display: grid;
  gap: 0.12rem;
}

.admin-submission-card__meta dt {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-submission-card__meta dd {
  margin: 0;
  color: var(--text);
}

.admin-submission-card__message {
  display: grid;
  gap: 0.35rem;
}

.admin-media-list,
.admin-audit-list {
  display: grid;
  gap: 0.9rem;
}

.admin-media-card,
.admin-audit-entry {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.admin-media-card__meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(86, 0, 0, 0.08);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-chip--folder {
  background: rgba(43, 34, 0, 0.08);
}

.admin-dropzone {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border: 1.5px dashed rgba(86, 0, 0, 0.26);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.admin-dropzone:hover,
.admin-dropzone.is-dragover {
  border-color: rgba(96, 0, 0, 0.4);
  box-shadow: 0 14px 28px rgba(24, 0, 0, 0.08);
  background: rgba(255, 250, 247, 0.96);
}

.admin-dropzone input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-dropzone__title {
  color: var(--brand-deep);
  font-weight: 800;
}

.admin-dropzone__copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-media-card__copy,
.admin-audit-entry__head {
  display: grid;
  gap: 0.35rem;
}

.admin-media-card__copy h3,
.admin-audit-entry__head strong {
  margin: 0;
}

.admin-media-card__copy p,
.admin-audit-entry p {
  margin: 0;
  color: var(--muted);
}

.admin-audit-entry__user {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-deep);
  opacity: 0.7;
}

.admin-media-card__copy code {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border-radius: 12px;
  background: #f7f1f0;
  color: #5e3030;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.admin-media-card__usage {
  display: grid;
  gap: 0.4rem;
}

.admin-media-card__usage strong {
  font-size: 0.92rem;
}

.admin-media-card__usage ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.admin-media-card__usage li {
  display: grid;
  gap: 0.08rem;
}

.admin-media-card__usage em,
.admin-media-card__usage-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-media-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-audit-entry__head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.admin-audit-entry__head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-version-list {
  display: grid;
  gap: 0.9rem;
}

.admin-version-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.admin-version-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.admin-version-card__head > div {
  display: grid;
  gap: 0.2rem;
}

.admin-version-card__head strong {
  margin: 0;
}

.admin-version-card__head span,
.admin-version-card p {
  color: var(--muted);
}

.site-alert {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(96, 0, 0, 0.08);
  background: linear-gradient(90deg, #560000 0%, #6b0000 100%);
  color: #fff;
}

.site-alert__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
}

.site-alert__copy {
  display: grid;
  gap: 0.12rem;
}

.site-alert__copy strong,
.site-alert__copy span {
  margin: 0;
}

.site-alert__copy span {
  line-height: 1.5;
}

.site-alert .button--ghost,
.site-alert__button {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-alert--preview {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(96, 0, 0, 0.08);
}

.site-alert--preview-only {
  outline: 2px dashed rgba(186, 140, 0, 0.45);
  outline-offset: 0.2rem;
}

.site-alert--gold {
  background: linear-gradient(90deg, #c9900a 0%, #e6a80e 100%);
  border-bottom-color: rgba(113, 72, 0, 0.12);
  color: #2b1a00;
}

.site-alert--gold .button--ghost,
.site-alert--gold .site-alert__button {
  border-color: rgba(43, 26, 0, 0.35);
  color: #2b1a00;
  background: rgba(255, 255, 255, 0.28);
}

.admin-submission-card__message strong {
  font-size: 0.92rem;
}

.admin-empty-state {
  padding: 1rem 1.05rem;
  border: 1px dashed rgba(96, 0, 0, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-empty-state p {
  margin: 0;
  color: var(--muted);
}

/* ─── Analytics Panel ──────────────────────────────────────────────────────── */

.analytics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.analytics-toolbar__end {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.analytics-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  white-space: nowrap;
}

.analytics-date-tabs {
  display: flex;
  gap: 0.3rem;
  background: rgba(96, 0, 0, 0.06);
  padding: 0.25rem;
  border-radius: 12px;
}

.analytics-date-tab {
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.analytics-date-tab:hover {
  color: var(--brand);
}

.analytics-date-tab.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(86, 0, 0, 0.25);
}

.analytics-realtime {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.analytics-realtime strong {
  color: var(--text);
}

.analytics-realtime__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: analytics-pulse 2s ease-in-out infinite;
}

@keyframes analytics-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

/* KPI cards */

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.analytics-kpi-card {
  padding: 1rem 1.1rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(96, 0, 0, 0.09);
  border-radius: 16px;
  display: grid;
  gap: 0.2rem;
  align-content: start;
  cursor: default;
  position: relative;
}
.analytics-kpi-card:hover {
  border-color: rgba(96, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(96, 0, 0, 0.07);
}

.analytics-kpi-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-deep);
  font-family: var(--heading-font);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.analytics-kpi-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.analytics-kpi-card__info {
  font-size: 0.78rem;
  opacity: 0.45;
  cursor: help;
  flex-shrink: 0;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}
.analytics-kpi-card:hover .analytics-kpi-card__info {
  opacity: 0.75;
}

/* 2-col content grid */

.analytics-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Generic card */

.analytics-card {
  background: #fff;
  border: 1px solid rgba(96, 0, 0, 0.09);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.analytics-card__title {
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
}

/* Bar track + fill */

.analytics-bar-track {
  height: 5px;
  background: rgba(96, 0, 0, 0.07);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
}

.analytics-bar-track--audience {
  height: 11px;
}

.analytics-bar-fill {
  height: 100%;
  transition: width 0.45s ease;
  min-width: 2px;
}

/* Top pages */

.analytics-pages-list {
  display: grid;
  gap: 0.65rem;
}

.analytics-page-row {
  display: grid;
  gap: 0.28rem;
}

.analytics-page-row__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.analytics-page-row__path {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: capitalize;
}

.analytics-page-row__views {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
}

/* Traffic channels */

.analytics-channels-list {
  display: grid;
  gap: 0.7rem;
}

.analytics-channel-row {
  display: grid;
  gap: 0.28rem;
}

.analytics-channel-row__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.analytics-channel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.analytics-channel-row__name {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-channel-row__pct {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--brand);
}

.analytics-channel-row__num {
  font-size: 0.78rem;
  color: var(--muted);
  min-width: 2.5rem;
  text-align: right;
}

/* Devices */

.analytics-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.analytics-device-item {
  text-align: center;
  padding: 0.9rem 0.5rem 0.75rem;
  background: rgba(96, 0, 0, 0.04);
  border-radius: 14px;
  display: grid;
  gap: 0.18rem;
}

.analytics-device-item__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.analytics-device-item__pct {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-deep);
  font-family: var(--heading-font);
  line-height: 1.1;
}

.analytics-device-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.analytics-device-item__count {
  font-size: 0.72rem;
  color: var(--muted);
}

/* New vs returning */

.analytics-audience-split {
  display: flex;
  align-items: stretch;
}

.analytics-audience-item {
  flex: 1;
  text-align: center;
  display: grid;
  gap: 0.18rem;
  align-content: center;
  padding: 0.5rem 0;
}

.analytics-audience-item__pct {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--heading-font);
  line-height: 1;
  letter-spacing: -0.02em;
}

.analytics-audience-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.analytics-audience-item__count {
  font-size: 0.84rem;
  color: var(--muted);
}

.analytics-audience-divider {
  width: 1px;
  background: rgba(96, 0, 0, 0.1);
  margin: 0 0.75rem;
  align-self: stretch;
}

/* Loading */

.analytics-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 3.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.analytics-loading p {
  margin: 0;
}

.analytics-loading__spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(96, 0, 0, 0.14);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: analytics-spin 0.75s linear infinite;
}

@keyframes analytics-spin {
  to { transform: rotate(360deg); }
}

/* Unconfigured / error state */

.analytics-unconfigured {
  background: rgba(96, 0, 0, 0.04);
  border: 1px solid rgba(96, 0, 0, 0.14);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.analytics-unconfigured h3 {
  margin: 0;
  color: var(--brand-deep);
}

.analytics-unconfigured p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.analytics-error-detail {
  color: #b91c1c;
  font-size: 0.88rem !important;
  background: rgba(185, 28, 28, 0.06);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.analytics-setup-steps {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.3rem;
  margin: 0;
}

.analytics-setup-steps li {
  font-size: 0.88rem;
  line-height: 1.55;
}

.analytics-setup-note {
  color: var(--muted) !important;
  font-size: 0.85rem !important;
}

.analytics-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.analytics-site-activity {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(96, 0, 0, 0.08);
}

/* Responsive */

@media (max-width: 900px) {
  .analytics-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .analytics-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytics-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── End Analytics Panel ──────────────────────────────────────────────────── */

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  flex: 1 1 auto;
}

.header-actions {
  display: none;
  align-items: center;
}

.header-end {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 0 1 auto;
}

.brand__logo {
  width: clamp(164px, 19vw, 210px);
  height: auto;
  max-height: 80px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand__copy {
  display: none;
}

.brand--footer {
  margin-bottom: 0;
}

.menu-toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(24, 0, 0, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--brand-deep);
  transition:
    transform var(--transition),
    opacity var(--transition),
    background var(--transition);
}

.menu-toggle[aria-expanded="true"] {
  background: var(--brand-deep);
}

.menu-toggle[aria-expanded="true"] span {
  background: #fff;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.site-nav--desktop {
  display: none;
}

.site-nav--mobile {
  position: relative;
  z-index: 1400;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(96, 0, 0, 0.08);
  border-top: 1px solid rgba(96, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 18px 32px rgba(24, 0, 0, 0.08);
}

.site-nav--mobile.is-open {
  display: block;
}

.site-nav--mobile[hidden] {
  display: none;
}

.site-nav__mobile-inner {
  padding-top: 0.9rem;
  padding-bottom: 1.1rem;
}

.site-nav__panel-head {
  display: none;
}

.site-nav__eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav__title {
  margin: 0;
  color: var(--brand-deep);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: block;
  min-height: 58px;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(96, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
  color: var(--brand-deep);
  font-size: 1.06rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.site-nav__list > li:last-child > a {
  border-bottom: 1px solid rgba(96, 0, 0, 0.08);
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
  background: transparent;
}

.site-nav__list a.is-active {
  color: var(--brand-deep);
}

.site-nav__secondary {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0 0;
  border-top: 1px solid rgba(96, 0, 0, 0.08);
}

.site-nav__secondary-label {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav__secondary-links {
  display: grid;
  gap: 0.45rem;
}

.site-nav__secondary-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.8rem 0;
  border-radius: 0;
  color: var(--brand-deep);
  font-weight: 700;
  transition: background var(--transition);
}

.site-nav__secondary-links a:hover {
  background: transparent;
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.mobile-has-sub {
  border-top: 1px solid rgba(96, 0, 0, 0.08);
}

.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font-size: 1.06rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.mobile-sub-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.mobile-sub-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid rgba(96, 0, 0, 0.18);
}

.mobile-sub-list li a {
  display: block;
  min-height: 0;
  padding: 0.46rem 0;
  border: 0;
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 130ms ease;
}

.mobile-sub-list li:first-child a {
  color: var(--brand);
  font-weight: 700;
}

.mobile-sub-list li a:hover,
.mobile-sub-list li a.is-active {
  color: var(--brand);
}

.button-row,
.button,
.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.88rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary,
.button--nav {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 24px rgba(101, 16, 21, 0.2);
}

.button--accent {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 24px rgba(35, 31, 32, 0.18);
}

.button--ghost {
  color: var(--brand-deep);
  background: #fff;
  border-color: rgba(96, 0, 0, 0.16);
}

.button--light {
  color: var(--brand);
  background: #fff;
}

.button--outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.button--facebook {
  color: #fff;
  background: #1877F2;
  box-shadow: 0 14px 24px rgba(24, 119, 242, 0.22);
}

.button--facebook:hover {
  background: #1565d8;
}

.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.button:focus-visible,
.card a:focus-visible,
.visual-card a:focus-visible,
.footer-nav a:focus-visible,
.socials a:focus-visible,
.footer-main a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(96, 0, 0, 0.22);
  outline-offset: 3px;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(2.2rem, 6vw, 5rem) 0 1.8rem;
}

main > .hero:first-child,
main > .section:first-child {
  padding-top: clamp(1.25rem, 3.8vw, 2.35rem);
}

.hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease;
}

.hero__slide,
.hero__background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide {
  z-index: 0;
  opacity: 0;
  object-position: center 30%;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__background-video {
  z-index: 1;
  opacity: 0;
  object-position: center 30%;
  transition: opacity 0.25s ease;
}

@media (min-width: 768px) {
  .hero__background.is-video-ready .hero__background-video {
    opacity: 1;
  }

  .hero__background.is-video-ready .hero__slideshow {
    opacity: 0;
  }
}

.hero__background.is-video-fallback .hero__background-video {
  opacity: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(96, 0, 0, 0.06), transparent 42%),
    radial-gradient(circle at 14% 18%, rgba(96, 0, 0, 0.08), transparent 24%);
}

.hero--video::before {
  background: none;
}

.hero__grid {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 1.2rem;
}

.hero__content,
.hero__media,
.card,
.visual-card,
.feature-copy,
.feature-media,
.final-cta {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-radius: 34px;
  border-top: 4px solid var(--brand);
}

.hero--video .hero__content {
  max-width: 36rem;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(17, 12, 12, 0.24);
  box-shadow: 0 20px 44px rgba(17, 12, 12, 0.12);
  backdrop-filter: blur(8px);
}

.hero--video .eyebrow,
.hero--video h1,
.hero--video p {
  color: #fff;
}

.hero--video .button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero--video .button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero--video.hero--home {
  padding: clamp(2.1rem, 5vw, 3.8rem) 0 1.6rem;
}

.hero--video.hero--home .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(24.5rem, 54vw, 35rem);
  padding: clamp(1.3rem, 3vw, 2.2rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero--video.hero--home .hero__content {
  align-self: center;
  justify-self: start;
  width: max-content;
  max-width: min(64rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 3vw, 2rem);
  border-top: 0;
  border-radius: 30px;
}

.hero--video.hero--home .hero__lede {
  max-width: none;
  white-space: nowrap;
}

.hero--video.hero--home .hero__actions {
  margin-top: 0.95rem;
}

.hero__media {
  overflow: hidden;
  padding: 0.75rem;
  border-radius: 30px;
}

.hero__image-frame {
  overflow: hidden;
  border-radius: 24px;
}

.hero__image-frame img {
  width: 100%;
  aspect-ratio: 16 / 13;
  object-fit: cover;
}

.hero__lede {
  max-width: 42ch;
  margin-top: 0.8rem;
  font-size: 1.08rem;
}

.hero__actions {
  margin-top: 1.1rem;
  gap: 0.7rem;
}

.hero--home h1 {
  max-width: 10ch;
}

.section {
  padding: clamp(var(--space-5), 5vw, var(--space-7)) 0;
}

.section--tight {
  padding-top: clamp(1.55rem, 4vw, 2.5rem);
  padding-bottom: clamp(0.95rem, 2vw, 1.4rem);
}

body[data-page="home"] .section {
  padding-bottom: clamp(0.6rem, 1.4vw, 1rem);
}

body[data-page="home"] .hero + .section,
body[data-page="home"] .section + .section {
  padding-top: clamp(0.85rem, 2vw, 1.4rem);
}

body:is([data-page="programs"], [data-page="schedules"], [data-page="events"]) .section {
  padding-bottom: clamp(0.95rem, 2vw, 1.4rem);
}

body:is([data-page="programs"], [data-page="schedules"], [data-page="events"]) .hero + .section,
body:is([data-page="programs"], [data-page="schedules"], [data-page="events"]) .section + .section {
  padding-top: clamp(1.35rem, 3vw, 2rem);
}

body[data-page="events"] .hero + .section {
  padding-top: clamp(0.85rem, 1.9vw, 1.2rem);
}

.section--soft {
  background: linear-gradient(180deg, rgba(248, 236, 236, 0.26), rgba(255, 255, 255, 0));
}

.section--accent {
  color: #fff;
}

.section--accent .container {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(135deg, #420000 0%, #560000 55%, #600000 100%);
  box-shadow: 0 22px 42px rgba(60, 0, 0, 0.22);
}

.section--accent h2,
.section--accent p {
  color: #fff;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.section-heading p {
  max-width: 54ch;
}

.section--visual-cards .section-heading {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 1.4rem;
}

body[data-page="homeDraft"] .section > .container {
  width: min(1240px, calc(100vw - 2rem));
}

body[data-page="homeDraft"] .section {
  padding-bottom: clamp(0.95rem, 1.8vw, 1.35rem);
}

body[data-page="homeDraft"] .hero + .section,
body[data-page="homeDraft"] .section + .section {
  padding-top: clamp(0.95rem, 1.8vw, 1.45rem);
}

body[data-page="homeDraft"] .section-heading {
  max-width: none;
  margin: 0 0 1.15rem;
  gap: 0.45rem;
}

body[data-page="homeDraft"] .section-heading h2 {
  max-width: 16ch;
  text-wrap: balance;
}

body[data-page="homeDraft"] .section-heading p {
  max-width: 58ch;
}

body[data-page="homeDraft"] .section--visual-cards .section-heading {
  max-width: none;
  margin: 0 0 1.15rem;
}

body[data-page="homeDraft"] .hero--video.hero--home {
  padding: clamp(1.3rem, 3.2vw, 2.15rem) 0 0.8rem;
}

body[data-page="homeDraft"] .hero--video.hero--home .hero__grid {
  min-height: clamp(22rem, 48vw, 30rem);
  padding: clamp(0.8rem, 2.2vw, 1.35rem) 0;
  align-items: center;
}

body[data-page="homeDraft"] .hero--video.hero--home .hero__content {
  max-width: min(100%, 32rem);
  padding: clamp(1.2rem, 2.3vw, 1.55rem);
  background: rgba(17, 12, 12, 0.22);
  box-shadow: 0 22px 44px rgba(17, 12, 12, 0.12);
  backdrop-filter: blur(9px);
}

body[data-page="homeDraft"] .hero--home h1 {
  max-width: 9.5ch;
  font-size: clamp(2.65rem, 4.4vw, 3.8rem);
  text-wrap: balance;
}

body[data-page="homeDraft"] .hero--home .hero__lede {
  max-width: 38ch;
  margin-top: 0.35rem;
  font-size: 0.98rem;
}

body[data-page="homeDraft"] .hero--home .hero__actions {
  margin-top: 0.75rem;
  gap: 0.55rem;
}

.home-draft-grid {
  gap: 1rem;
}

body[data-page="homeDraft"] .home-draft-grid--benefits {
  grid-template-columns: 1fr;
}

body[data-page="homeDraft"] .home-draft-grid--audiences,
body[data-page="homeDraft"] .home-draft-grid--faq {
  grid-template-columns: 1fr;
}

body[data-page="homeDraft"] .home-draft-card,
body[data-page="homeDraft"] .visual-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body[data-page="homeDraft"] .home-draft-card {
  padding: clamp(1.15rem, 2.2vw, 1.45rem);
}

body[data-page="homeDraft"] .home-draft-card h3 {
  font-size: clamp(1.28rem, 2.1vw, 1.55rem);
  line-height: 1.12;
}

body[data-page="homeDraft"] .home-draft-card p {
  max-width: 40ch;
  margin-bottom: 0;
}

body[data-page="homeDraft"] .home-draft-grid--audiences .home-draft-card p {
  max-width: none;
}

body[data-page="homeDraft"] .home-draft-card--plain p {
  max-width: none;
  margin-bottom: 0;
}

body[data-page="homeDraft"] .home-draft-card--faq h3 {
  max-width: 18ch;
}

body[data-page="homeDraft"] .home-draft-grid--faq .home-draft-card h3,
body[data-page="homeDraft"] .home-draft-grid--faq .home-draft-card p {
  max-width: none;
}

body[data-page="homeDraft"] .home-draft-card .card__link,
body[data-page="homeDraft"] .visual-card__link {
  margin-top: auto;
  padding-top: 0.7rem;
}

body[data-page="homeDraft"] .home-draft-grid--audiences .home-draft-card .card__link {
  padding-top: 0.55rem;
}

body[data-page="homeDraft"] .home-draft-grid--faq .home-draft-card .card__link {
  padding-top: 0.55rem;
}

body[data-page="homeDraft"] .visual-grid {
  grid-template-columns: 1fr;
}

body[data-page="homeDraft"] .visual-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

body[data-page="homeDraft"] .visual-card__content h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.58rem);
}

body[data-page="homeDraft"] .visual-card__content p {
  max-width: 38ch;
  margin-bottom: 0;
}

body[data-page="homeDraft"] .final-cta__copy p {
  max-width: 38ch;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2 {
  margin: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
}

h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
}

.card-grid,
.visual-grid,
.event-grid,
.footer-layout {
  display: grid;
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.28rem;
  border-radius: 24px;
  border-top: 4px solid var(--brand);
}

.card p,
.visual-card p {
  margin-bottom: 1rem;
}

.card a,
.visual-card a,
.footer-nav a {
  color: var(--brand);
  font-weight: 800;
}

.card a::after,
.visual-card a::after,
.footer-nav a::after {
  content: " →";
}

.card--interactive,
.visual-card--interactive {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card--interactive:hover,
.visual-card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card--interactive:focus-visible,
.visual-card--interactive:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.card__link,
.visual-card__link {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.card__link::after,
.visual-card__link::after {
  content: " →";
}

.card--interactive:hover .card__link,
.visual-card--interactive:hover .visual-card__link {
  transform: translateX(4px);
}

.visual-card {
  overflow: hidden;
  border-radius: 28px;
}

.visual-card__media {
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.visual-grid .visual-card:nth-child(1) img {
  object-position: 75% 35%;
}

.visual-grid .visual-card:nth-child(2) img {
  transform: scale(1.18);
}

.visual-grid .visual-card:nth-child(4) img {
  object-position: 65% 25%;
}

.visual-grid .visual-card:nth-child(5) img {
  object-position: 35% center;
}

.visual-card__content {
  padding: 1.15rem 1.2rem 1.35rem;
  border-top: 4px solid var(--brand);
}

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

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.event-card__media {
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-card__content {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1rem 1.1rem;
  border-top: 4px solid var(--brand);
}

.event-card__content h3 {
  margin: 0;
}

.event-card__date {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-card__link {
  color: var(--brand);
  font-weight: 700;
}

.event-card__link::after {
  content: " →";
}

.feature-layout,
.support-strip,
.final-cta {
  display: grid;
  gap: 1rem;
}

.feature-layout {
  align-items: center;
}

.feature-copy,
.feature-media {
  overflow: hidden;
  border-radius: 30px;
}

.feature-copy {
  padding: 1.5rem;
  border-left: 4px solid var(--brand);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.feature-points {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--brand-deep);
  font-weight: 600;
}

.feature-points li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand);
}

.section--mission-prompt {
  padding: 1.5rem 0 1.3rem;
}

.section--newsletter-signup {
  padding-top: clamp(1.25rem, 2.4vw, 1.8rem);
  padding-bottom: clamp(1.3rem, 2.5vw, 1.9rem);
}

.mission-prompt {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  text-align: center;
}

.mission-prompt .button {
  min-height: 52px;
  padding: 0.88rem 1.32rem;
  font-size: 0.98rem;
}

.mission-prompt .button--primary:hover {
  background: var(--brand-deep);
}

.newsletter-signup {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 30px;
  background: #f8f6f5;
  display: grid;
  gap: 1rem;
  text-align: center;
}

.newsletter-signup-embed {
  overflow-x: clip;
}

.ctct-form-header {
  max-width: 100% !important;
  width: auto !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

.newsletter-signup__intro {
  display: grid;
  gap: 0.45rem;
}

.newsletter-signup__intro h2 {
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.newsletter-signup__intro p {
  max-width: 56ch;
  margin: 0 auto;
}

.newsletter-signup-form {
  display: grid;
  gap: 0.9rem;
}

.newsletter-signup-form__grid {
  display: grid;
  gap: 0.75rem;
}

.newsletter-signup-form .form-field {
  gap: 0;
}

.newsletter-signup-form input,
.footer-newsletter-form input {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  padding: 0.92rem 1.15rem;
}

.footer-newsletter-form input {
  border: 1px solid rgba(96, 0, 0, 0.18);
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.footer-newsletter-form input::placeholder {
  color: #8a8082;
}

.footer-newsletter-form input:focus-visible {
  outline: 3px solid rgba(96, 0, 0, 0.18);
  outline-offset: 2px;
  border-color: rgba(96, 0, 0, 0.32);
}

.newsletter-signup-form__actions,
.footer-newsletter-form__row {
  display: grid;
  gap: 0.75rem;
}

.newsletter-signup-form__actions .button,
.footer-newsletter-form .button {
  min-height: 54px;
  padding: 0.92rem 1.5rem;
}

.newsletter-signup-form__success,
.footer-newsletter-form__success {
  color: var(--brand);
  font-weight: 700;
}

.ctct-form-header {
  white-space: nowrap;
}

.ctct-form-text {
  display: none !important;
}

.section--mission-page .container {
  width: min(960px, calc(100vw - 2rem));
}

.mission-page {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  align-items: start;
  gap: 1rem;
}

.mission-page > * {
  width: 100%;
}

.mission-page h1 {
  max-width: none;
}

.mission-page h2 {
  max-width: none;
  margin-top: 0.25rem;
  font-size: clamp(1.28rem, 2.4vw, 1.7rem);
  line-height: 1.12;
}

.mission-page p {
  max-width: none;
}

.privacy-policy-page__updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

.mission-page ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding-left: 1.15rem;
  list-style-position: outside;
}

.mission-page li {
  padding-left: 0.2rem;
  color: var(--text);
  line-height: 1.65;
}

.section--about-page .container {
  width: min(1140px, calc(100vw - 2rem));
}

.section--website-sponsors-page .container {
  width: min(1140px, calc(100vw - 2rem));
}

.about-page {
  display: grid;
  gap: clamp(1.7rem, 3vw, 2.5rem);
}

.website-sponsors-page {
  display: grid;
  gap: clamp(1.45rem, 2.8vw, 2.2rem);
}

.about-page__intro,
.about-page__mission,
.about-page__cta,
.about-page__section {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.website-sponsors-page__intro {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.website-sponsors-page__section {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 2.8vw, 2rem);
}

.about-page__featured-sponsors {
  display: flex;
  justify-content: center;
}

.about-featured-sponsor {
  max-width: 380px;
  width: 100%;
}

.about-featured-sponsor img {
  width: 100%;
  height: auto;
  display: block;
}

.about-page__intro h1 {
  max-width: none;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 0.96;
  text-wrap: balance;
}

.about-page__intro p,
.about-page__mission p,
.about-page__cta p {
  max-width: 78ch;
  text-wrap: pretty;
}

.about-page__intro p {
  max-width: 84ch;
  text-align: left;
  line-height: 1.6;
}

.about-page__mission ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.1rem;
}

.about-page__mission li {
  color: var(--text);
  line-height: 1.65;
}

.about-page__section {
  gap: 1.1rem;
}

.about-page__section-head {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.about-page__section-head h2 {
  max-width: none;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.06;
  text-wrap: balance;
}

.about-page__section-head p {
  max-width: 76ch;
  text-wrap: pretty;
}

.about-page__highlights,
.about-page__shortcuts,
.about-page__sponsors {
  display: grid;
  gap: 1.1rem;
}

.about-highlight,
.about-shortcut {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: clamp(1.25rem, 2.3vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-highlight h3,
.about-shortcut h3 {
  margin: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.about-highlight ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
}

.about-highlight li {
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.about-shortcut p {
  margin: 0;
  max-width: none;
  line-height: 1.6;
  text-wrap: pretty;
}

.about-shortcut__link {
  display: inline-block;
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.about-shortcut__link::after {
  content: " →";
}

.about-shortcut--interactive {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.about-shortcut--interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.about-shortcut--interactive:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.about-shortcut--interactive:hover .about-shortcut__link {
  transform: translateX(4px);
}

.about-sponsor {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.15rem, 2.2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-sponsor__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 140px;
  padding: 0.75rem;
  border: 1px solid rgba(96, 0, 0, 0.08);
  border-radius: 20px;
  background: #fff;
}

.about-sponsor__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-sponsor__media--sheet {
  padding: 0;
  justify-content: flex-start;
}

.about-sponsor__media--sheet img {
  width: 300%;
  max-width: none;
  height: 100%;
  object-fit: fill;
  display: block;
  flex: 0 0 auto;
  transform-origin: left center;
}

.about-sponsor__media--left img {
  transform: translateX(0);
}

.about-sponsor__media--center img {
  transform: translateX(-33.3333%);
}

.about-sponsor__media--right img {
  transform: translateX(-66.6667%);
}

.about-sponsor__body {
  display: grid;
  gap: 0.2rem;
}

.about-sponsor__body h3 {
  margin: 0;
  line-height: 1.15;
}

.about-page__actions {
  display: inline-flex;
  justify-content: flex-start;
}

.section--staff-page .container,
.section--employment-page .container,
.section--volunteer-page .container,
.section--newsletters-page .container {
  width: min(960px, calc(100vw - 2rem));
}

.staff-page,
.employment-page,
.volunteer-page,
.newsletters-page {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.staff-page__intro,
.employment-page__intro,
.employment-page__helper,
.volunteer-page__intro,
.volunteer-page__copy,
.newsletters-page__intro,
.newsletters-page__section-head {
  display: grid;
  gap: 0.5rem;
}

.staff-page__intro h1,
.employment-page__intro h1,
.volunteer-page__intro h1,
.newsletters-page__intro h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
}

.staff-page__actions {
  display: flex;
  justify-content: flex-start;
}

.employment-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
}

.employment-page__actions .button {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
}

.employment-page__helper {
  width: min(100%, 680px);
}

.volunteer-page__content {
  display: grid;
  gap: 1rem;
}

.volunteer-page__copy p {
  width: min(100%, 64ch);
}

.newsletters-page__section {
  display: grid;
  gap: 1rem;
}

.newsletters-page__section-head p {
  width: min(100%, 700px);
}

.newsletter-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .newsletter-archive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .newsletter-archive {
    grid-template-columns: 1fr;
  }
}

.newsletter-card,
.newsletter-empty-state {
  border: 1px solid rgba(122, 36, 36, 0.14);
  border-radius: 24px;
  background: #fff;
  padding: 1.4rem 1.4rem 1.45rem;
  box-shadow: 0 18px 36px rgba(17, 12, 12, 0.06);
}

.newsletter-card {
  display: grid;
  gap: 1rem;
  grid-template-rows: 1fr auto;
}

.newsletter-card__body {
  display: grid;
  gap: 0.45rem;
}

.newsletter-card__meta {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.newsletter-card__body h3 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
}

.newsletter-card__body p,
.newsletter-empty-state p {
  width: 100%;
}

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

.newsletter-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.newsletters-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.7rem;
}

.newsletter-admin-toolbar {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  border: 2px dashed rgba(186, 140, 0, 0.55);
  border-radius: 24px;
  background: rgba(255, 248, 214, 0.72);
  box-shadow: none;
}

.newsletter-admin-toolbar__copy {
  display: grid;
  gap: 0.35rem;
}

.newsletter-admin-toolbar__copy h2 {
  margin: 0;
  max-width: none;
}

.newsletter-admin-toolbar__copy > p:not(.eyebrow) {
  width: min(100%, 64ch);
}

.newsletter-admin-toolbar__note {
  color: rgba(43, 34, 0, 0.8);
  font-size: 0.92rem;
}

.newsletter-admin-toolbar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(186, 140, 0, 0.45);
  color: rgba(43, 34, 0, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.newsletter-admin-toolbar__status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #d18d00;
  box-shadow: 0 0 0 3px rgba(209, 141, 0, 0.12);
}

.newsletter-admin-toolbar__status.is-connected::before {
  background: #0f8d3b;
  box-shadow: 0 0 0 3px rgba(15, 141, 59, 0.12);
}

.newsletter-admin-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.page-editor-toolbar__status {
  margin: 0;
  color: var(--brand-deep);
  font-weight: 700;
}

.page-editor-toolbar__status.is-preview {
  color: #7c5600;
}

.editor-save-state {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.editor-save-state.is-dirty {
  color: #600000;
}

.editor-save-state.is-saved {
  color: #0f8d3b;
}

.editor-save-state.is-preview {
  color: #7c5600;
}

.page-editor-toolbar__actions {
  align-items: flex-start;
}

.admin-preview-card__meta--preview {
  color: #7c5600;
  font-style: italic;
}

.newsletter-admin-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.newsletter-admin-icon,
.newsletter-admin-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(96, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.admin-session-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  max-width: min(32rem, calc(100vw - 2rem));
  padding: 0.95rem 1rem;
  border: 1px solid rgba(186, 140, 0, 0.28);
  border-radius: 20px;
  background: rgba(43, 34, 0, 0.94);
  color: #fff8df;
  box-shadow: 0 18px 34px rgba(17, 12, 12, 0.22);
}

.admin-session-toast[hidden] {
  display: none;
}

.admin-session-toast__copy {
  display: grid;
  gap: 0.2rem;
  flex: 1 1 16rem;
}

.admin-session-toast__copy strong,
.admin-session-toast__copy span {
  margin: 0;
}

.admin-session-toast__actions {
  flex: 0 0 auto;
}

.admin-session-toast .button--ghost {
  border-color: rgba(255, 248, 223, 0.35);
  color: #fff8df;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-admin-icon:hover,
.newsletter-admin-icon:focus-visible,
.newsletter-admin-modal__close:hover,
.newsletter-admin-modal__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 12px 24px rgba(24, 0, 0, 0.08);
}

.newsletter-admin-icon--danger {
  color: #600000;
}

.newsletter-issue {
  display: grid;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid rgba(122, 36, 36, 0.14);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 12, 12, 0.06);
}

.newsletter-issue__content {
  display: grid;
  gap: 1rem;
}

.newsletter-issue__content p {
  width: min(100%, 68ch);
  margin: 0;
}

.newsletter-admin-modal {
  width: min(100%, 880px);
  padding: 0;
  border: 0;
  background: transparent;
}

.newsletter-admin-modal--page-editor {
  width: min(100%, 1120px);
}

.newsletter-admin-modal::backdrop {
  background: rgba(17, 12, 12, 0.5);
  backdrop-filter: blur(4px);
}

.newsletter-admin-modal__surface {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 44px rgba(17, 12, 12, 0.16);
  max-height: min(92vh, 1100px);
  overflow: auto;
}

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

.newsletter-admin-modal__header h2 {
  margin: 0;
  max-width: none;
}

.newsletter-editor-form {
  display: grid;
  gap: 1rem;
}

.newsletter-editor-form__grid {
  display: grid;
  gap: 1rem;
}

.newsletter-editor-form textarea {
  min-height: 140px;
  resize: vertical;
}

.editor-richtext__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
  padding: 0.5rem 0.6rem;
  background: #f9f5f5;
  border: 1px solid rgba(96, 0, 0, 0.1);
  border-radius: 10px;
}

.editor-richtext__toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 30px;
  padding: 0 0.55rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #3a1a1c;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, border-color 0.12s;
}

.editor-richtext__toolbar button:hover,
.editor-richtext__toolbar button:focus-visible {
  background: #fff;
  border-color: rgba(96, 0, 0, 0.18);
  box-shadow: 0 1px 4px rgba(24, 0, 0, 0.1);
}

.editor-richtext__toolbar__sep {
  width: 1px;
  height: 18px;
  background: rgba(96, 0, 0, 0.12);
  margin: 0 0.1rem;
}

/* Highlight button gets a yellow background to signal its purpose */
.editor-richtext__toolbar button[data-richtext-action="brand-color"] {
  color: #600000;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #600000;
  text-underline-offset: 2px;
}

.editor-richtext__toolbar button[data-richtext-action="brand-color"]:hover,
.editor-richtext__toolbar button[data-richtext-action="brand-color"]:focus-visible {
  background: rgba(96, 0, 0, 0.08);
  border-color: rgba(96, 0, 0, 0.3);
}

.editor-richtext__toolbar button[data-richtext-action="highlight"] {
  background: #ffff00;
  color: #3a1a1c;
}

.editor-richtext__toolbar button[data-richtext-action="highlight"]:hover,
.editor-richtext__toolbar button[data-richtext-action="highlight"]:focus-visible {
  background: #ffe500;
  border-color: rgba(96, 0, 0, 0.18);
}

.editor-richtext__editor {
  width: 100%;
  min-height: 200px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(96, 0, 0, 0.18);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  word-break: break-word;
  outline: none;
  cursor: text;
}

.editor-richtext__editor:focus {
  outline: 3px solid rgba(96, 0, 0, 0.18);
  outline-offset: 2px;
  border-color: rgba(96, 0, 0, 0.32);
}

.editor-richtext__editor:empty::before {
  content: attr(data-placeholder);
  color: #8a8082;
  pointer-events: none;
}

.editor-richtext__editor ul,
.editor-richtext__editor ol {
  padding-left: 1.5rem;
  margin: 0.4rem 0;
}

.editor-richtext__editor li {
  margin-bottom: 0.2rem;
}

.section-content-card__body {
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.section-content-card__body ul,
.section-content-card__body ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.section-content-card__body li {
  margin-bottom: 0.25rem;
}

.newsletter-editor-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

/* Compact buttons inside all admin surfaces */
.newsletter-admin-modal .button,
.admin-panel .button,
.admin-tool-form .button {
  min-height: 36px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
}

.page-editor-form__sections {
  display: grid;
  gap: 1rem;
}

.page-editor-card {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.page-editor-card__intro {
  display: grid;
  gap: 0.35rem;
}

.page-editor-card__intro h3 {
  margin: 0;
}

.page-editor-card__intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.page-editor-inline-grid {
  display: grid;
  gap: 0.9rem;
}

.page-editor-repeatable {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem;
  border: 1px dashed rgba(96, 0, 0, 0.16);
  border-radius: 20px;
  background: rgba(248, 243, 242, 0.52);
}

.page-editor-repeatable__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.page-editor-repeatable__header h4 {
  margin: 0;
}

.page-editor-repeatable__header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}

.page-editor-repeatable__list {
  display: grid;
  gap: 0.8rem;
}

.page-editor-item {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
}

.page-editor-item__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-editor-item__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.page-editor-item__remove {
  min-height: 38px;
  padding-inline: 0.9rem;
}

.page-editor-item--compact {
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
}

.page-editor-item--compact .page-editor-item__header {
  gap: 0.4rem;
}

.page-editor-item--compact .page-editor-item__title {
  font-size: 0.85rem;
}

.page-editor-item--compact .page-editor-item__remove {
  min-height: 30px;
  padding-inline: 0.7rem;
  font-size: 0.85rem;
}

.page-editor-item--compact .page-editor-inline-grid {
  gap: 0.4rem;
}

.page-editor-item--compact .form-field {
  gap: 0.2rem;
}

.page-editor-item--compact .form-field label {
  font-size: 0.82rem;
}

.page-editor-item--compact .form-field input {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.page-section-nav {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.page-section-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-section-nav__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(96, 0, 0, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  box-shadow: 0 10px 24px rgba(24, 0, 0, 0.06);
}

.page-section-nav__link:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.24);
  box-shadow: 0 14px 28px rgba(24, 0, 0, 0.08);
}

.page-section-nav__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.page-anchor-target {
  scroll-margin-top: 7rem;
}

.sport-detail-page .page-section-nav,
.aquatics-detail-page .page-section-nav,
.events-promotions-page .page-section-nav {
  margin-inline: 0;
}

@media (max-width: 760px) {
  .page-section-nav {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .page-section-nav__list {
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 0.2rem;
  }
}

@media (min-width: 700px) {
  .newsletter-editor-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-editor-inline-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section--adult-wellness-page .container {
  width: min(1180px, calc(100vw - 2rem));
}

.adult-wellness-page {
  display: grid;
  gap: clamp(1.35rem, 2.7vw, 2.2rem);
}

.adult-wellness-page__intro {
  margin-inline: auto;
}

.adult-wellness-page__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.adult-wellness-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.adult-wellness-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.adult-wellness-card__header,
.adult-wellness-card__section {
  display: grid;
  gap: 0.55rem;
}

.adult-wellness-card__header h2,
.adult-wellness-card__section h3,
.adult-wellness-card__price-group h3 {
  margin: 0;
  max-width: none;
}

.adult-wellness-card__meta {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.adult-wellness-card__meta-row {
  display: grid;
  gap: 0.2rem;
}

.adult-wellness-card__meta dt {
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adult-wellness-card__meta dd {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.adult-wellness-card__pricing {
  display: grid;
  gap: 0.85rem;
}

.adult-wellness-card__price-group {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 22px;
  background: #fff;
}

.adult-wellness-card__list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
}

.adult-wellness-card__list li {
  color: var(--text);
  line-height: 1.6;
}

.adult-wellness-card__note {
  margin: 0;
  color: var(--muted);
}

.adult-wellness-card__quote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid rgba(96, 0, 0, 0.22);
  border-radius: 18px;
  background: rgba(96, 0, 0, 0.05);
}

.adult-wellness-card__quote p {
  margin: 0;
  color: var(--brand-deep);
  font-style: italic;
}

.adult-wellness-card__resources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.adult-wellness-card__resources a {
  color: var(--brand);
  font-weight: 700;
}

.adult-wellness-card__resources a::after {
  content: " →";
}

.adult-wellness-card__assets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.adult-wellness-asset {
  width: min(100%, 170px);
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 18px rgba(24, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.adult-wellness-asset:hover,
.adult-wellness-asset:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 12px 22px rgba(60, 0, 0, 0.08);
}

.adult-wellness-asset:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.adult-wellness-asset img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #f7f3f2;
}

.adult-wellness-asset span {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.3;
  font-size: 0.92rem;
}

.adult-wellness-card__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.adult-wellness-card__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 860px) {
  .adult-wellness-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .adult-wellness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adult-wellness-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .adult-wellness-card__pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.adult-wellness-card--wide .adult-wellness-card__pricing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.section--youth-programs-page .container {
  width: min(1180px, calc(100vw - 2rem));
}

.youth-programs-page {
  display: grid;
  gap: clamp(1.4rem, 2.8vw, 2.3rem);
}

.youth-programs-page__intro {
  margin-inline: auto;
}

.youth-programs-page__subtext {
  color: var(--muted);
}

.youth-programs-page__actions {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
}

.youth-programs-page__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.youth-programs-page__sections {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.3rem);
}

.youth-program-category {
  display: grid;
  gap: 1rem;
}

.youth-program-category__head {
  width: 100%;
  display: grid;
  gap: 0.4rem;
}

.youth-program-category__head h2 {
  max-width: none;
}

.youth-program-grid {
  display: grid;
  gap: 1rem;
}

.youth-program-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.youth-program-card__header,
.youth-program-card__session,
.youth-program-card__notes {
  display: grid;
  gap: 0.55rem;
}

.youth-program-card__header h3,
.youth-program-card__session h4,
.youth-program-card__notes h4 {
  margin: 0;
  max-width: none;
}

.youth-program-card__details {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.youth-program-card__detail-row {
  display: grid;
  gap: 0.2rem;
}

.youth-program-card__detail-row dt {
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.youth-program-card__detail-row dd {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.youth-program-card__session {
  padding: 1rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 22px;
  background: #fff;
}

.youth-program-card__notes ul,
.youth-programs-page__notes ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
}

.youth-program-card__notes li,
.youth-programs-page__notes li {
  color: var(--text);
  line-height: 1.6;
}

.youth-program-card__assets {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.8rem;
}

.youth-program-asset {
  display: grid;
  gap: 0.6rem;
  width: min(100%, 150px);
  padding: 0.75rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 20px;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 24px rgba(24, 0, 0, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.youth-program-asset:hover,
.youth-program-asset:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 16px 28px rgba(60, 0, 0, 0.08);
}

.youth-program-asset:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.youth-program-asset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  background: #f7f3f2;
}

.youth-program-asset span {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.3;
}

.youth-program-card__actions {
  display: flex;
  justify-content: flex-start;
}

.youth-programs-page__notes,
.youth-programs-page__guidance {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  gap: 0.65rem;
}

.youth-programs-page__notes h2,
.youth-programs-page__guidance h2 {
  max-width: none;
}

@media (min-width: 860px) {
  .youth-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .youth-program-card--featured {
    grid-column: 1 / -1;
  }

  .youth-program-card__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}

.section--cfc-page .container {
  width: min(1100px, calc(100vw - 2rem));
}

.cfc-page {
  display: grid;
  gap: clamp(1.45rem, 2.8vw, 2.35rem);
}

.cfc-page__intro,
.cfc-page__section {
  width: min(100%, 860px);
  display: grid;
  gap: 0.65rem;
}

.cfc-page__intro h1,
.cfc-page__section-head h2 {
  max-width: none;
}

.cfc-page__section-head h2 {
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
}

.cfc-page__family-time .cfc-page__section-head h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.cfc-page__family-time .cfc-page__section-head p {
  max-width: none;
}

.cfc-page__intro p,
.cfc-page__section-head p {
  max-width: 72ch;
}

.cfc-page__subtext,
.cfc-page__note {
  color: var(--muted);
}

.cfc-page__list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.1rem;
}

.cfc-page__list li {
  color: var(--text);
  line-height: 1.6;
}

.cfc-feature-grid {
  display: grid;
  gap: 1rem;
}

.cfc-feature-card,
.cfc-page__panel {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cfc-feature-card p {
  margin: 0;
}

.cfc-page__columns {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.cfc-page__col {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.2rem;
}


.cfc-page__col .cfc-page__family-time {
  width: 100%;
}

.cfc-page__family-time {
  width: min(100%, 960px);
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 28px;
  background: rgba(96, 0, 0, 0.05);
}

.cfc-page__section-head {
  display: grid;
  gap: 0.4rem;
}

.cfc-page__details {
  display: grid;
  gap: 1rem;
}

.cfc-page__actions {
  display: flex;
  justify-content: flex-start;
}

.cfc-page__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 760px) {
  .cfc-page__columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .cfc-feature-grid,
  .cfc-page__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section--aerobic-schedule-page .container {
  width: min(1260px, calc(100vw - 2rem));
}

.aerobic-schedule-page {
  display: grid;
  gap: clamp(1.4rem, 2.8vw, 2.3rem);
}

.aerobic-schedule-page__intro {
  width: min(100%, 900px);
  display: grid;
  gap: 0.55rem;
}

.aerobic-schedule-page__intro h1,
.aerobic-schedule-page__section-head h2 {
  max-width: none;
  margin: 0;
}

.aerobic-schedule-page__intro p {
  max-width: 74ch;
}

.aerobic-schedule-page__subtext {
  color: var(--muted);
}

.aerobic-schedule-page__schedules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.aerobic-schedule-page__document {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
}

.aerobic-schedule-page__section-head {
  display: grid;
  gap: 0.45rem;
}

.aerobic-schedule-page__actions {
  display: flex;
  justify-content: flex-start;
}

.aerobic-schedule-page__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aerobic-schedule-preview {
  display: grid;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border-radius: 28px;
  min-width: 0;
}

.aerobic-schedule-preview img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aerobic-schedule-preview:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.aerobic-schedule-preview:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.aerobic-schedule-page__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section--aquatics-page .container,
.section--adult-aquatics-page .container,
.section--youth-aquatics-page .container {
  width: min(1180px, calc(100vw - 2rem));
}

.section--pool-schedule-page .container {
  width: min(1260px, calc(100vw - 2rem));
}

.aquatics-page,
.aquatics-detail-page,
.pool-schedule-page {
  display: grid;
  gap: clamp(1.4rem, 2.8vw, 2.3rem);
}

.aquatics-page__intro,
.aquatics-detail-page__intro,
.pool-schedule-page__intro {
  width: min(100%, 900px);
  display: grid;
  gap: 0.55rem;
}

.aquatics-page__intro h1,
.aquatics-detail-page__intro h1,
.pool-schedule-page__intro h1,
.aquatics-page__section-head h2,
.aquatics-detail-card__header h2,
.pool-schedule-page__section-head h2 {
  max-width: none;
  margin: 0;
}

.aquatics-page__intro p,
.aquatics-detail-page__intro p,
.pool-schedule-page__intro p,
.aquatics-page__section-head p,
.aquatics-detail-card__header p {
  max-width: 74ch;
}

/* Shared format for all department subpage intros — matches hub page header style */
.sport-detail-page__intro,
.aquatics-detail-page__intro,
.pool-schedule-page__intro,
.aerobic-schedule-page__intro,
.youth-programs-page__intro,
.adult-wellness-page__intro,
.cfc-page__intro,
.website-sponsors-page__intro {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 1040px);
}

.sport-detail-page__intro h1,
.aquatics-detail-page__intro h1,
.pool-schedule-page__intro h1,
.aerobic-schedule-page__intro h1,
.youth-programs-page__intro h1,
.adult-wellness-page__intro h1,
.cfc-page__intro h1,
.website-sponsors-page__intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: none;
  margin: 0;
}

.sport-detail-page__intro p,
.aquatics-detail-page__intro p,
.pool-schedule-page__intro p,
.aerobic-schedule-page__intro p,
.youth-programs-page__intro p,
.adult-wellness-page__intro p,
.cfc-page__intro p,
.website-sponsors-page__intro p {
  max-width: none;
}

.aquatics-page__subtext,
.aquatics-detail-page__subtext,
.pool-schedule-page__subtext,
.aerobic-schedule-card__note,
.aquatics-detail-card__note,
.aquatics-price-card__note,
.pool-schedule-page__month-label {
  color: var(--muted);
}

.aquatics-page__intro {
  width: min(100%, 1040px);
}

.aquatics-page__intro p {
  max-width: min(100%, 92ch);
}

.aquatics-page__section-head,
.aquatics-detail-card__header,
.pool-schedule-page__section-head {
  display: grid;
  gap: 0.45rem;
}

.aquatics-page__highlights {
  display: grid;
  gap: 1rem;
}

.section--dept-contact {
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem);
}

body:is([data-page="wellness"], [data-page="aquatics"], [data-page="sports"], [data-page="sportRentals"]) .section:not(.section--dept-contact) {
  padding-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.dept-contact {
  display: grid;
  gap: 1.25rem;
}

.dept-contact__head {
  display: grid;
  gap: 0.45rem;
}

.dept-contact__head h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.dept-contact__head p {
  max-width: none;
}

.dept-contact__actions {
  display: flex;
  justify-content: flex-start;
}

.dept-contact__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aquatics-page__actions,
.aquatics-detail-page__actions,
.aquatics-detail-card__actions,
.pool-schedule-page__actions {
  display: flex;
  justify-content: flex-start;
}

.aquatics-detail-card__actions { margin-top: auto; }

.aquatics-page__button-row,
.aquatics-detail-page__button-row,
.aquatics-detail-card__button-row,
.pool-schedule-page__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pool-schedule-page__schedules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.pool-schedule-page__document {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
}

.pool-schedule-preview {
  display: grid;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-width: 0;
}

.pool-schedule-preview__placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 1.5rem;
  border: 1px dashed rgba(96, 0, 0, 0.2);
  border-radius: 28px;
  background: #f7f3f2;
  box-shadow: var(--shadow);
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pool-schedule-preview img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pool-schedule-preview:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.pool-schedule-preview:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.pool-schedule-preview__open-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(96, 0, 0, 0.82) 0%, transparent 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  pointer-events: none;
}

.pool-schedule-page__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section--holiday-hours-page .container {
  width: min(980px, calc(100vw - 2rem));
}

.holiday-hours-page {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.holiday-hours-page__intro {
  width: min(100%, 760px);
  display: grid;
  gap: 0.55rem;
}

.holiday-hours-page__intro h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
}

.holiday-hours-page__section-head h2 {
  margin: 0;
  max-width: none;
}

.holiday-hours-page__intro p {
  max-width: 70ch;
}

.holiday-hours-page__table {
  display: grid;
  gap: 0.9rem;
}

.holiday-hours-page__section-head {
  display: grid;
  gap: 0.35rem;
}

.holiday-hours-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.holiday-hours-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1rem;
  padding: 1rem 1.2rem;
  align-items: center;
}

.holiday-hours-table__row + .holiday-hours-table__row {
  border-top: 1px solid var(--line);
}

.holiday-hours-table__row--head {
  background: rgba(96, 0, 0, 0.06);
}

.holiday-hours-table__row--head span {
  color: var(--brand-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.holiday-hours-table__cell {
  line-height: 1.55;
}

.holiday-hours-table__hours {
  font-weight: 700;
  color: var(--brand-deep);
}

.holiday-hours-page__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section--events-promotions-page .container {
  width: min(1020px, calc(100vw - 2rem));
}

.events-promotions-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.3rem, 2.6vw, 2rem);
}

.events-promotions-page__intro {
  width: min(100%, 1040px);
  display: grid;
  gap: 0.55rem;
}

.events-promotions-page__intro h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.5rem, 4vw, 3rem);
}

.events-promo-card__header h2 {
  margin: 0;
  max-width: none;
}

.events-promotions-page__intro p {
  max-width: none;
}

.events-promotions-page__cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .events-promotions-page__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-promo-card--wide {
    grid-column: 1 / -1;
  }
}

.events-promo-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.events-promo-card__header {
  display: grid;
  gap: 0.45rem;
}

.events-promo-card__header p,
.events-promo-card__note {
  max-width: 74ch;
}

.events-promo-card__actions { margin-top: auto; }

.events-promo-card__asset {
  width: 140px;
  display: grid;
  gap: 0.5rem;
}

.events-promo-card__thumbnail {
  display: block;
  padding: 0.5rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.events-promo-card__thumbnail:hover,
.events-promo-card__thumbnail:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 12px 22px rgba(60, 0, 0, 0.08);
}

.events-promo-card__thumbnail:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.events-promo-card__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #f7f3f2;
}

.events-promo-card__flyer-link {
  display: block;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.events-promo-card__rows .price-list {
  width: min(100%, 560px);
}

.events-promo-card__list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
}

.events-promo-card__list li {
  line-height: 1.6;
  color: var(--text);
}

.events-promo-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section--facility-page .container {
  width: min(1080px, calc(100vw - 2rem));
}

.facility-page {
  display: grid;
  gap: clamp(1.3rem, 2.6vw, 2rem);
}

.facility-page__intro {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  gap: 0.55rem;
}

.facility-page__intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: none;
  margin: 0;
}

.facility-page__section-head h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
}

.facility-resource-card__header h3,
.facility-area-card h3 {
  margin: 0;
  max-width: none;
}

.facility-page__intro p {
  max-width: 92ch;
}

.facility-page__section,
.facility-page__note {
  display: grid;
  gap: 1rem;
}

.facility-page__section-head {
  display: grid;
  gap: 0.4rem;
}

.facility-resource-card,
.facility-area-card {
  padding: clamp(1.15rem, 2.5vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.facility-resource-card {
  display: grid;
  gap: 1rem;
}

.facility-resource-card__header {
  display: grid;
  gap: 0.45rem;
}

.facility-resource-card__header p,
.facility-area-card p,
.facility-page__note p {
  max-width: 74ch;
}

.facility-resource-card__button-row,
.facility-page__button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.75rem;
}

.facility-resource-card__button-row .button,
.facility-page__button-row .button {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: flex-start;
  width: auto;
  max-width: none;
  min-height: 52px;
  padding: 0.88rem 1.22rem;
  line-height: 1;
  white-space: nowrap;
}

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

.facility-resource-asset {
  display: grid;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 18px rgba(24, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.facility-resource-asset:hover,
.facility-resource-asset:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 12px 22px rgba(60, 0, 0, 0.08);
}

.facility-resource-asset:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.facility-resource-asset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #f7f3f2;
}

.facility-resource-asset span {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.facility-page__note {
  gap: 0.75rem;
}

.facility-page__note p {
  margin: 0;
  color: var(--muted);
  max-width: none;
}

.facility-resource-grid,
.facility-area-grid,
.aquatics-entry-grid,
.aquatics-highlight-grid,
.aquatics-price-grid,
.youth-aquatics-page__top,
.youth-aquatics-session-grid,
.youth-aquatics-level-grid {
  display: grid;
  gap: 1rem;
}

.aquatics-entry-card,
.aquatics-highlight-card,
.aquatics-detail-card,
.aquatics-price-card,
.pool-calendar__cell,
.pool-schedule-page__notes {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.aquatics-entry-card,
.aquatics-highlight-card,
.aquatics-price-card,
.aquatics-detail-card,
.pool-schedule-page__notes {
  padding: clamp(1.15rem, 2.5vw, 1.55rem);
}

.aquatics-entry-card {
  display: grid;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}

.aquatics-entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.aquatics-entry-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.aquatics-entry-card__body {
  display: grid;
  gap: 0.45rem;
}

.aquatics-entry-card__body h2,
.aquatics-highlight-card h3,
.aquatics-price-card h3,
.youth-aquatics-session-card h3 {
  margin: 0;
  max-width: none;
}

.aquatics-entry-card__cta {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.aquatics-entry-card:hover .aquatics-entry-card__cta {
  transform: translateX(4px);
}

.aquatics-highlight-card {
  display: grid;
  gap: 0.45rem;
}

.aquatics-page__contact {
  width: 100%;
  justify-self: stretch;
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.2rem, 2.5vw, 1.55rem);
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 28px;
  background: rgba(96, 0, 0, 0.05);
}

.aquatics-page__contact .aquatics-page__section-head p {
  max-width: min(100%, 90ch);
}

.aquatics-detail-card {
  display: grid;
  gap: 1rem;
}

.aquatics-detail-card__facts {
  width: min(100%, 760px);
}

.youth-aquatics-card {
  align-content: start;
}

.youth-aquatics-card--rates {
  gap: 0.85rem;
}

.youth-aquatics-card--rates .aquatics-detail-card__header {
  gap: 0.3rem;
}

.youth-aquatics-card--rates .aquatics-detail-card__facts {
  width: min(100%, 520px);
}

.youth-aquatics-card--sessions {
  gap: 0.95rem;
}

.aquatics-detail-card__list,
.pool-schedule-page__list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
}

.aquatics-detail-card__list li,
.pool-schedule-page__list li {
  color: var(--text);
  line-height: 1.6;
}

.aquatics-detail-card__assets {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
}

.aquatics-detail-asset {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 0.75rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 20px;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 24px rgba(24, 0, 0, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aquatics-detail-asset:hover,
.aquatics-detail-asset:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 16px 28px rgba(60, 0, 0, 0.08);
}

.aquatics-detail-asset:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.aquatics-detail-asset img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;
  background: #f7f3f2;
}

.aquatics-detail-asset__placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 1rem;
  border: 1px dashed rgba(96, 0, 0, 0.2);
  border-radius: 16px;
  background: #f7f3f2;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aquatics-detail-asset span {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.3;
}

.aquatics-price-card {
  display: grid;
  gap: 0.55rem;
}

.youth-aquatics-session-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 22px;
  background: #fff;
}

.youth-aquatics-session-card p {
  margin: 0;
}

.youth-aquatics-session-card__tag {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(96, 0, 0, 0.08);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.youth-aquatics-level-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 0, 0, 0.05);
}

.youth-aquatics-level-card__header h3 {
  margin: 0;
  color: var(--brand-deep);
}

.youth-aquatics-level-card__body {
  display: grid;
  gap: 0.8rem;
}

.youth-aquatics-level-card__detail {
  display: grid;
  gap: 0.3rem;
}

.youth-aquatics-level-card__detail span {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.youth-aquatics-level-card__detail p {
  margin: 0;
}

.pool-schedule-page__calendar-section {
  display: grid;
  gap: 1rem;
}

.pool-calendar {
  display: grid;
  gap: 0.85rem;
}

.pool-calendar__weekday {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 18px;
  background: var(--brand-deep);
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.05rem;
  font-weight: 700;
}

.pool-calendar__cell {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.pool-calendar__cell--announcement {
  background: rgba(96, 0, 0, 0.05);
}

.pool-calendar__announcement-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pool-calendar__cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pool-calendar__cell-head span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.pool-calendar__cell-head strong {
  color: var(--brand);
  font-family: var(--display-font);
  font-size: 1.25rem;
  font-weight: 700;
}

.pool-calendar__status {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(179, 59, 63, 0.12);
  color: var(--brand);
  font-weight: 700;
}

.pool-calendar__entries {
  display: grid;
  gap: 0.65rem;
}

.pool-calendar__entry {
  display: grid;
  gap: 0.15rem;
}

.pool-calendar__entry p {
  margin: 0;
}

.pool-calendar__entry-time {
  color: var(--brand-deep);
  font-weight: 700;
}

.pool-calendar__cell--empty {
  display: none;
}

@media (min-width: 860px) {
  .aquatics-entry-grid,
  .aquatics-highlight-grid,
  .aquatics-price-grid,
  .youth-aquatics-page__top,
  .aquatics-detail-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .aquatics-detail-page__intro,
  .youth-aquatics-page__top {
    grid-column: 1 / -1;
  }

  .youth-aquatics-session-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .youth-aquatics-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .aquatics-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pool-calendar {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: start;
  }

  .pool-calendar__weekday {
    display: inline-flex;
  }

  .pool-calendar__cell {
    min-height: 206px;
    align-content: start;
  }

  .pool-calendar__cell--announcement {
    grid-column: span 3;
  }

  .pool-calendar__cell--empty {
    display: block;
    border-style: dashed;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 1099px) {
  .pool-calendar__cell--announcement {
    grid-column: auto !important;
  }
}

@media (max-width: 760px) {
  .holiday-hours-table__head {
    display: none;
  }

  .holiday-hours-table__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 1rem;
  }

  .holiday-hours-table__cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
}

.section--join-page .container,
.section--membership-info-page .container,
.section--membership-resource-page .container,
.section--membership-confirmation-page .container {
  width: min(1120px, calc(100vw - 2rem));
}

.join-page {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.join-page__intro {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 1040px);
}

.join-page__intro h1,
.membership-info-page__intro h1,
.membership-resource-page__intro h1,
.membership-confirmation-page__intro h1 {
  max-width: none;
  text-wrap: balance;
}

body[data-page="insuranceMemberships"] .membership-resource-page__intro h1 {
  text-wrap: nowrap;
}

.join-page__intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.join-page__intro p {
  max-width: none;
  text-wrap: pretty;
}

.join-page__content {
  display: grid;
  gap: 1rem;
}

.join-flow {
  display: grid;
  gap: 1rem;
}

.join-flow__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.join-flow__step {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.join-flow__step span {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(96, 0, 0, 0.1);
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
}

.join-flow__step strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

.join-flow__step.is-active {
  border-color: rgba(96, 0, 0, 0.24);
  background: rgba(96, 0, 0, 0.05);
  color: var(--brand-deep);
}

.join-flow__step.is-complete {
  border-color: rgba(96, 0, 0, 0.2);
  color: var(--brand-deep);
  cursor: pointer;
}

.join-flow__step.is-complete:hover {
  background: rgba(96, 0, 0, 0.05);
  border-color: rgba(96, 0, 0, 0.3);
}

.join-flow__panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.join-flow__panel[hidden] {
  display: none;
}

.join-flow__panel-copy,
.join-form__section-head,
.membership-info-page__section-head,
.membership-resource-page__section-head,
.membership-confirmation-page__intro {
  display: grid;
  gap: 0.45rem;
}

.join-flow__panel-copy h2,
.membership-info-page__section-head h2,
.membership-resource-page__section-head h2,
.membership-confirmation-page__summary h2,
.membership-confirmation-page__next h2 {
  max-width: none;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.02;
  text-wrap: balance;
}

.join-flow__panel-copy p,
.join-form__section-head p {
  max-width: 62ch;
  text-wrap: pretty;
}

.join-flow__panel-head {
  display: flex;
  justify-content: flex-start;
}

.join-flow__back,
.household-member__remove {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.join-path-grid,
.membership-rate-grid,
.membership-pricing-grid,
.insurance-program-grid {
  display: grid;
  gap: 1rem;
}

.insurance-program-grid--join {
  gap: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.join-path-card,
.membership-rate-card,
.membership-pricing-card,
.insurance-program-card,
.join-benefits,
.membership-confirmation-page__summary {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.join-path-card,
.membership-rate-card--selectable,
.insurance-program-card--selectable,
.insurance-program-card--expandable {
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.join-path-card:hover,
.join-path-card:focus-visible,
.membership-rate-card--selectable:hover,
.membership-rate-card--selectable:focus-visible,
.insurance-program-card--selectable:hover,
.insurance-program-card--selectable:focus-visible,
.insurance-program-card--expandable:hover,
.insurance-program-card--expandable:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 16px 28px rgba(60, 0, 0, 0.08);
}

.join-path-card.is-selected,
.membership-rate-card--selectable.is-selected,
.insurance-program-card--selectable.is-selected {
  border-color: rgba(96, 0, 0, 0.28);
  background: rgba(96, 0, 0, 0.05);
  box-shadow: 0 16px 28px rgba(60, 0, 0, 0.08);
}

.insurance-program-card--expandable[aria-expanded="true"] {
  border-color: rgba(96, 0, 0, 0.22);
}

.join-path-card h3,
.membership-rate-card h3,
.membership-pricing-card h3,
.insurance-program-card h3 {
  margin: 0 0 0.4rem;
  line-height: 1.08;
  text-wrap: balance;
}

.join-path-card p,
.insurance-program-card__copy p,
.join-flow__support-note,
.agreement-item span,
.join-benefits li,
.membership-guidelines li {
  text-wrap: pretty;
}

.membership-rate-card {
  display: grid;
  gap: 0.4rem;
}

.membership-rate-card__price {
  color: var(--brand-deep);
  font-weight: 800;
  white-space: nowrap;
}

.membership-rate-card__note {
  color: var(--muted);
  white-space: nowrap;
}

.membership-info-page__note,
.join-flow__support-note {
  color: var(--muted);
}

.choice-fieldset {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-fieldset legend {
  padding: 0;
  color: var(--text);
  font-weight: 700;
}

.choice-fieldset__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.choice-chip {
  position: relative;
  display: inline-flex;
}

.choice-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-chip span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(96, 0, 0, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.choice-chip input:checked + span {
  border-color: rgba(96, 0, 0, 0.3);
  background: rgba(96, 0, 0, 0.08);
  color: var(--brand-deep);
}

.join-flow__actions,
.membership-info-page__actions,
.membership-resource-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.join-flow__actions {
  justify-content: space-between;
}

.join-flow__policy-link {
  color: var(--brand);
  font-weight: 700;
}

.membership-interest-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.join-flow__panel > .membership-interest-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.membership-interest-form[hidden] {
  display: none;
}

.membership-interest-form__grid {
  display: grid;
  gap: 1rem;
}

.membership-guidelines,
.membership-info-list,
.membership-steps-list,
.join-benefits ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.15rem;
}

.membership-guidelines li,
.membership-info-list li,
.membership-steps-list li,
.join-benefits li {
  color: var(--text);
  line-height: 1.6;
}

.insurance-program-card {
  display: grid;
  gap: 0.75rem;
  padding: 2.25rem 1.75rem;
}

.insurance-program-card__copy a {
  color: var(--brand);
  text-decoration: underline;
}

.insurance-program-card__copy a:hover {
  color: var(--brand-deep);
}

.insurance-program-card__logo {
  min-height: 60px;
  display: flex;
  align-items: center;
}

.insurance-program-card__logo img {
  width: auto;
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
}

.join-selection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.join-selection-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(96, 0, 0, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
  white-space: nowrap;
}

.join-form__section {
  display: grid;
  gap: 0.9rem;
}

.join-form__section--household {
  padding-top: 0.2rem;
}

.household-members {
  display: grid;
  gap: 0.85rem;
}

.household-member {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.household-member__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.household-member__head h4 {
  margin: 0;
  font-size: 1rem;
}

.agreement-list {
  display: grid;
  gap: 0.75rem;
}

.agreement-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.agreement-item input {
  margin-top: 0.22rem;
  accent-color: var(--brand);
}

.join-page__aside {
  display: grid;
  align-self: start;
}

.join-benefits {
  display: grid;
  gap: 0.9rem;
  background: #f8f6f5;
}

.join-benefits h2 {
  max-width: none;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.05;
  text-wrap: balance;
}

.section--join-page .button {
  white-space: nowrap;
}

.join-benefits__actions .button-row {
  gap: 0.6rem;
}

.membership-info-page,
.membership-resource-page,
.membership-confirmation-page {
  width: min(100%, 820px);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.membership-info-page__intro,
.membership-resource-page__intro,
.membership-confirmation-page__intro {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 1040px);
}

.membership-info-page__intro h1,
.membership-resource-page__intro h1,
.membership-confirmation-page__intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.membership-info-page__intro p,
.membership-resource-page__intro p,
.membership-confirmation-page__intro p {
  max-width: none;
}

.membership-info-page__section,
.membership-resource-page__section,
.membership-confirmation-page__summary,
.membership-confirmation-page__next {
  display: grid;
  gap: 1rem;
}

.membership-pricing-card {
  display: grid;
  gap: 0.35rem;
}

.membership-pricing-card p {
  color: var(--brand-deep);
  font-weight: 700;
}

.membership-confirmation-page__summary ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.15rem;
}

.membership-confirmation-page__summary[hidden] {
  display: none;
}

.section--sports-hub-page .container,
.section--sport-detail-page .container {
  width: min(1120px, calc(100vw - 2rem));
}

.sports-hub-page,
.sport-detail-page {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
}

.sports-hub-page__intro {
  width: min(100%, 780px);
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.sports-hub-page__intro h1 {
  max-width: none;
}

.sports-hub-page__intro p {
  max-width: 60ch;
  margin: 0 auto;
}

.sports-hub-grid,
.sport-program-grid {
  display: grid;
  gap: 1rem;
}

.sports-hub-card,
.sport-program-card,
.sport-detail-page__panel {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sports-hub-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sports-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.sports-hub-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.sports-hub-card__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sports-hub-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(96, 0, 0, 0.08);
}

.sports-hub-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.sports-hub-card h2,
.sport-detail-page__section-head h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  line-height: 1.04;
}

.sports-hub-card__link {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.sports-hub-card__link::after {
  content: " →";
}

.sports-hub-card:hover .sports-hub-card__link {
  transform: translateX(4px);
}

.sport-detail-page__section,
.sport-detail-page__actions {
  display: grid;
  gap: 0.95rem;
}

.sport-detail-page__section-head {
  width: min(100%, 820px);
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.sport-program-card__head {
  display: grid;
  gap: 0.35rem;
}

.sport-program-card__head h3 {
  margin: 0;
}

.sport-program-card__meta {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
}

.sport-program-card__content {
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.sport-program-card__content p:first-child { margin-top: 0; }
.sport-program-card__content p:last-child { margin-bottom: 0; }
.sport-program-card__content p:empty,
.sport-program-card__content p:has(> br:only-child) { display: none; }

.sport-program-card__schedule {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 36rem);
  margin: 0;
}

.sport-program-card__schedule-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.sport-program-card__schedule-row dt,
.sport-program-card__schedule-row dd {
  margin: 0;
}

.sport-program-card__schedule-row dt {
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sport-program-card__schedule-row dd {
  color: var(--text);
  line-height: 1.55;
}

.sport-program-card__assets {
  display: flex;
  justify-content: flex-start;
}

.sport-program-asset {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 150px);
  padding: 0.6rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 18px rgba(24, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sport-program-asset:hover,
.sport-program-asset:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 12px 22px rgba(60, 0, 0, 0.08);
}

.sport-program-asset:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.sport-program-asset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #f7f3f2;
}

.sport-program-asset span {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.sport-detail-page__empty {
  display: grid;
  gap: 0.6rem;
  padding: 2.5rem 2rem;
  border: 2px dashed rgba(96, 0, 0, 0.18);
  border-radius: 24px;
  background: rgba(96, 0, 0, 0.03);
  text-align: center;
}

.sport-detail-page__empty-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.sport-detail-page__empty-sub {
  margin: 0;
  color: var(--text-light, #666);
  font-size: 1rem;
}

.sport-program-card__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.sport-program-card__actions .button {
  min-height: 44px;
  padding: 0.6rem 1.05rem;
  font-size: 0.93rem;
}

.sport-detail-page__panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.05rem;
}

.sport-detail-page__panel li {
  color: var(--text);
  line-height: 1.6;
}

.sport-detail-page__note {
  color: var(--muted);
}

.sport-detail-page__status {
  width: min(100%, 760px);
  margin: -0.15rem auto 0;
  text-align: center;
}

.sport-detail-page__status p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.sport-detail-page__actions {
  justify-items: center;
}

.sport-detail-page__actions--left {
  justify-items: start;
}

.sport-detail-page__button-row {
  justify-content: center;
  gap: 0.75rem;
}

.sport-detail-page__actions--left .sport-detail-page__button-row {
  justify-content: flex-start;
}

.section--rentals-page .container,
.section--party-packages-page .container {
  width: min(1120px, calc(100vw - 2rem));
}

.rentals-page,
.party-packages-page {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
}

.rentals-page__intro,
.party-packages-page__intro {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 1040px);
}

.rentals-page__intro h1,
.party-packages-page__intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: none;
  margin: 0;
}

.rentals-page__intro p,
.party-packages-page__intro p {
  max-width: none;
}

.rentals-page__section,
.party-packages-page__section {
  display: grid;
  gap: 0.95rem;
}

.rentals-page__section-head,
.party-packages-page__section-head {
  width: min(100%, 820px);
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.rentals-page__section-head h2,
.party-packages-page__section-head h2,
.party-packages-page__notes h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  line-height: 1.04;
}

.rentals-options,
.party-packages-grid,
.party-packages-upgrades {
  display: grid;
  gap: 1rem;
}

.rental-option,
.party-package-card,
.party-upgrade-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.party-upgrade-card--tight {
  gap: 0.3rem;
}

.rental-option h3,
.party-package-card h3,
.party-upgrade-card h3 {
  margin: 0;
}

.rental-option p,
.party-package-card p,
.party-upgrade-card p {
  margin: 0;
}

.price-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.price-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(96, 0, 0, 0.1);
}

.price-list__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-list__row dt,
.price-list__row dd {
  margin: 0;
}

.price-list__row dd,
.party-upgrade-card__price {
  color: var(--brand-deep);
  font-weight: 800;
}

.rental-option__list,
.rental-option__notes,
.party-package-card__list,
.party-upgrade-card ul,
.rentals-page__panel ul,
.party-packages-page__notes ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.05rem;
}

.rental-option__list li,
.rental-option__notes li,
.party-package-card__list li,
.party-upgrade-card li,
.rentals-page__panel li,
.party-packages-page__notes li {
  color: var(--text);
  line-height: 1.6;
}

.party-package-card__extras {
  display: grid;
  gap: 0.45rem;
}

.party-package-card__extras-label {
  color: var(--brand-deep);
  font-weight: 700;
}

.party-package-card__flyer-link {
  display: inline-block;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.rentals-page__details {
  display: grid;
  gap: 1rem;
}

.rentals-page__panel,
.party-packages-page__notes {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rentals-page__panel h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.06;
}

.rentals-page__actions,
.party-packages-page__actions {
  display: flex;
  justify-content: center;
}

.rentals-page__button-row,
.party-packages-page__button-row {
  justify-content: center;
  gap: 0.75rem;
}

.staff-page__list {
  display: grid;
  gap: 0.9rem;
}

.staff-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.staff-card h2 {
  max-width: none;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.06;
}

.staff-card__role {
  margin: 0;
}

.staff-card__email {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.staff-card__email:hover,
.staff-card__email:focus-visible {
  text-decoration: underline;
}

.section--donation-request-page .container,
.section--sponsorships-page .container {
  width: min(1120px, calc(100vw - 2rem));
}

.donation-request-page,
.sponsorships-page {
  display: grid;
  gap: clamp(1.3rem, 3vw, 2rem);
}

.donation-request-page__intro {
  width: min(100%, 760px);
  display: grid;
  gap: 0.5rem;
}

.sponsorships-page__intro {
  width: min(100%, 1040px);
  display: grid;
  gap: 0.55rem;
}

.donation-request-page__intro h1,
.sponsorships-page__intro h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
}

.donation-request-page__intro p {
  max-width: none;
}

.sponsorships-page__intro p {
  max-width: none;
}

.donation-request-page__content {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.donation-request-form,
.sponsorship-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.donation-request-form__grid,
.sponsorship-form__grid {
  display: grid;
  gap: 1rem;
}

.donation-request-form__actions,
.sponsorship-form__actions {
  display: flex;
  justify-content: flex-start;
}

.donation-request-form__actions .button,
.sponsorship-form__actions .button {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
}

.donation-request-form__success,
.sponsorship-form__success {
  color: var(--brand);
  font-weight: 700;
}

.donation-request-page__aside,
.sponsorships-page__meta {
  display: grid;
  gap: 1rem;
}

.donation-request-page__panel,
.sponsorships-page__panel,
.sponsorships-page__payment {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.donation-request-page__panel h2,
.sponsorships-page__section-head h2,
.sponsorships-page__panel h2,
.sponsorships-page__payment h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.05;
}

.donation-request-page__panel ul,
.sponsorships-page__panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.1rem;
}

.donation-request-page__panel li,
.sponsorships-page__panel li {
  color: var(--text);
  line-height: 1.6;
}

.sponsorships-page__section {
  display: grid;
  gap: 0.95rem;
}

.sponsorships-page__section-head {
  width: min(100%, 860px);
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.sponsorships-page__legend {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.sponsorships-options {
  display: grid;
  gap: 1rem;
}

.sponsorship-option {
  display: grid;
  gap: 0.65rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sponsorship-option__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.sponsorship-option__head h3 {
  margin: 0;
}

.sponsorship-option__price,
.sponsorship-option__term {
  color: var(--brand-deep);
  font-weight: 700;
}

.sponsorship-option__term {
  font-size: 0.96rem;
}

.sponsorships-page__payment {
  width: min(100%, 760px);
  margin: 0 auto;
}

.section--contact-page .container {
  width: min(960px, calc(100vw - 2rem));
}

.facebook-feed__widget {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.facebook-feed__widget .fb-page {
  max-width: 100%;
}

body[data-page="facebookFeed"] .section-heading,
body[data-page="facebookFeed"] .section-heading h1,
body[data-page="facebookFeed"] .section-heading p {
  max-width: none;
}

body[data-page="facebookFeed"] .section-heading h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.facebook-feed__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 34rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: center;
}

.facebook-feed__fallback p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-page {
  width: min(100%, 680px);
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.contact-page__intro {
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.contact-page__intro h1 {
  max-width: none;
}

.contact-page__intro p {
  max-width: 42ch;
  margin: 0 auto;
}

.contact-page__note {
  max-width: 62ch;
  margin: 0.25rem auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form__grid {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--text);
  font-weight: 700;
}

.form-field__hint {
  margin: -0.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(96, 0, 0, 0.18);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a8082;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid rgba(96, 0, 0, 0.18);
  outline-offset: 2px;
  border-color: rgba(96, 0, 0, 0.32);
}

.contact-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.15rem;
}

.contact-form__actions .button {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
}

.contact-form__success {
  color: var(--brand);
  font-weight: 700;
}

.section--donate-page .container {
  width: min(1080px, calc(100vw - 2rem));
}

.donate-page {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.3rem);
}

.donate-page__intro {
  width: min(100%, 900px);
  margin: 0 auto;
  display: grid;
  gap: 0.55rem;
  text-align: center;
}

.donate-page__intro h1 {
  max-width: none;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.1;
}

.donate-page__intro p {
  max-width: 72ch;
  margin: 0 auto;
  line-height: 1.6;
}

.donate-page__actions {
  display: flex;
  justify-content: center;
  padding-top: 0.2rem;
}

.donate-page__note {
  color: var(--muted);
  font-size: 0.95rem;
}

.donate-page__content {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.donate-page__body {
  display: grid;
  gap: 0.9rem;
}

.donate-page__body h2,
.donate-page__closing-copy h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.02;
}

.donate-page__body p,
.donate-page__closing-copy p {
  max-width: 62ch;
}

.donate-page__support {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.2rem;
}

.donate-page__support h3 {
  margin: 0;
}

.donate-page__support ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.15rem;
}

.donate-page__support li {
  color: var(--text);
  line-height: 1.6;
}

.donate-page__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.donate-page__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.donate-page__closing {
  width: min(100%, 900px);
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
  padding-top: 0.35rem;
  text-align: center;
}

.donate-page__closing-copy p {
  max-width: 72ch;
  margin: 0 auto;
  line-height: 1.6;
}

.section--insurance .container {
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(248, 236, 236, 0.38), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
}

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

.insurance-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 106px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(96, 0, 0, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
}

.insurance-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 0, 0, 0.22);
  box-shadow: 0 16px 28px rgba(24, 0, 0, 0.09);
}

.insurance-card[aria-expanded="true"] {
  border-color: rgba(96, 0, 0, 0.22);
}

.insurance-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 74px;
}

.insurance-card img {
  width: auto;
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}

.insurance-card__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.insurance-card[aria-expanded="true"] .insurance-card__body,
.insurance-program-card--expandable[aria-expanded="true"] .insurance-card__body {
  grid-template-rows: 1fr;
}

.insurance-card__desc-inner {
  overflow: hidden;
  min-height: 0;
}

.insurance-card__desc-inner p {
  font-size: 0.84rem;
  line-height: 1.55;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(96, 0, 0, 0.1);
  color: #555;
}

.insurance-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.support-strip {
  align-items: center;
}

.support-strip__copy {
  display: grid;
  gap: 0.85rem;
}

.support-strip__copy .eyebrow {
  margin-bottom: 0;
}

.support-strip__actions {
  display: block;
}

.final-cta {
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: 32px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.1), transparent 25%),
    linear-gradient(135deg, #420000 0%, #560000 55%, #600000 100%);
}

.final-cta__copy {
  display: grid;
  gap: 0.8rem;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta__copy p {
  max-width: 34ch;
}

.final-cta__actions {
  display: block;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.6rem 0 1rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-main h3,
.footer-links h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.footer-hours {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.footer-nav--stack {
  display: grid;
  gap: 0.45rem;
}

.footer-links {
  display: grid;
  gap: 1.4rem;
}

.footer-links--simple {
  justify-self: start;
  align-content: start;
  gap: 0.75rem;
}

.footer-links > div {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.footer-links > .socials {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
}

.footer-main a,
.footer-links a {
  color: var(--brand);
  font-weight: 700;
}

.socials {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.2rem;
  width: fit-content;
  max-width: 100%;
}

.socials a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
}

.socials a:hover {
  opacity: 0.85;
}

.socials svg {
  width: 20px;
  fill: #fff;
}

.footer-newsletter-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.site-nav__mobile-action {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.9rem;
}

.site-nav__mobile-action .button {
  width: 100%;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-meta p {
  margin: 0;
}

.footer-credit {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-privacy-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.footer-privacy-link:hover {
  color: var(--brand);
}

.footer-admin-lock {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: var(--muted);
  opacity: 0.4;
  vertical-align: middle;
  transition: opacity 0.2s;
}

.footer-admin-lock:hover {
  opacity: 0.85;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #1a2332;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: var(--brand);
  color: #fff;
}

.cookie-banner__btn--decline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 420px) {
  .brand__logo {
    width: 126px;
  }

  .section--join-page .button {
    white-space: normal;
  }

  .sport-program-card__schedule-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }
}

@media (max-width: 1119px) {
  :root {
    --mobile-header-offset: 84px;
  }

  html {
    scroll-padding-top: calc(var(--mobile-header-offset) + 0.75rem);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 5000;
    isolation: isolate;
    overflow: visible;
  }

  .nav-shell {
    position: relative;
    z-index: 2;
    overflow: visible;
  }

  .nav-shell {
    min-height: 68px;
    gap: 0.75rem;
  }

  .header-start {
    flex: 1 1 auto;
    gap: 0.65rem;
  }

  .brand__logo {
    width: clamp(120px, 27vw, 158px);
  }

  .header-end {
    position: relative;
    z-index: 3;
    gap: 0.55rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 5100;
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .site-nav--mobile {
    position: fixed;
    top: var(--mobile-header-offset);
    left: 0;
    right: 0;
    z-index: 4900;
    max-height: calc(100dvh - var(--mobile-header-offset));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #main-content {
    padding-top: var(--mobile-header-offset);
  }

  body:not(.is-admin-authenticated) .site-alert {
    margin-top: var(--mobile-header-offset);
  }

  body:not(.is-admin-authenticated) .site-alert + #main-content {
    padding-top: 0;
  }

  body.is-admin-authenticated .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    z-index: 1500;
  }

  body.is-admin-authenticated #main-content {
    padding-top: 0;
  }

  main > .hero:first-child,
  main > .section:first-child {
    padding-top: clamp(1.25rem, 3.8vw, 2.35rem);
  }

  body[data-page="home"] .hero--video.hero--home {
    padding: clamp(1.4rem, 4vw, 2.25rem) 0 0.9rem;
  }

  body[data-page="home"] .hero--video.hero--home .hero__grid {
    min-height: clamp(16rem, 51vw, 22rem);
    align-items: end;
    padding: clamp(0.7rem, 2vw, 1rem) 0;
  }

  body[data-page="home"] .hero--video.hero--home .hero__content {
    max-width: min(100%, 36rem);
    margin-inline: auto;
    padding: clamp(1.2rem, 2.8vw, 1.6rem);
    border-radius: 26px;
    background: rgba(17, 12, 12, 0.2);
    box-shadow: 0 18px 34px rgba(17, 12, 12, 0.1);
    backdrop-filter: blur(7px);
  }

  body[data-page="home"] .hero--home .eyebrow {
    margin-bottom: 0.15rem;
  }

  body[data-page="home"] .hero--home h1 {
    font-size: clamp(2.45rem, 7vw, 3.45rem);
    line-height: 0.94;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  body[data-page="home"] .hero--home .hero__lede {
    max-width: none !important;
    margin-top: 0.35rem;
    font-size: 0.98rem;
    white-space: nowrap !important;
  }

  body[data-page="home"] .hero--home .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 25rem);
    margin-top: 0.75rem;
    gap: 0.55rem;
  }

  body[data-page="home"] .hero--home .hero__actions .button:first-child {
    grid-column: 1 / -1;
  }

  body[data-page="home"] .hero--home .hero__actions .button {
    width: 100%;
    min-height: 46px;
    padding: 0.74rem 0.95rem;
    justify-content: center;
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.44);
    box-shadow: 0 12px 24px rgba(10, 8, 8, 0.16);
    backdrop-filter: blur(10px);
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button--ghost:hover,
  body[data-page="home"] .hero--video.hero--home .hero__actions .button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.29);
    border-color: rgba(255, 255, 255, 0.56);
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button--facebook {
    background: rgba(24, 119, 242, 0.82);
    box-shadow: 0 12px 24px rgba(10, 8, 8, 0.16);
    backdrop-filter: blur(10px);
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button--facebook:hover,
  body[data-page="home"] .hero--video.hero--home .hero__actions .button--facebook:focus-visible {
    background: rgba(24, 119, 242, 0.96);
  }

  body[data-page="homeDraft"] .hero--video.hero--home {
    padding: clamp(1.15rem, 3.2vw, 1.8rem) 0 0.7rem;
  }

  body[data-page="homeDraft"] .hero--video.hero--home .hero__grid {
    min-height: clamp(21rem, 66vw, 27rem);
    align-items: end;
    padding: clamp(0.6rem, 2vw, 1rem) 0;
  }

  body[data-page="homeDraft"] .hero--video.hero--home .hero__content {
    max-width: min(100%, 31rem);
    margin-inline: auto;
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border-radius: 24px;
    background: rgba(17, 12, 12, 0.2);
    box-shadow: 0 18px 34px rgba(17, 12, 12, 0.1);
  }

  body[data-page="homeDraft"] .hero--home h1 {
    max-width: 9.3ch;
    font-size: clamp(2.35rem, 5.6vw, 3.15rem);
    line-height: 0.94;
  }

  body[data-page="homeDraft"] .hero--home .hero__lede {
    max-width: 35ch;
    margin-top: 0.28rem;
    font-size: 0.96rem;
  }

  body[data-page="homeDraft"] .hero--home .hero__actions {
    width: min(100%, 25rem);
  }

}

@media (max-width: 767px) {
  .hero--video .hero__background-video {
    display: none;
  }

  body[data-page="home"] .hero--video.hero--home .hero__grid {
    min-height: clamp(11.5rem, 48vw, 15rem);
    padding: 0.35rem 0 0;
  }

  body[data-page="home"] .hero--video.hero--home .hero__content {
    width: min(100%, calc(100% - 1.5rem));
    max-width: none;
    padding: 0.95rem 0.95rem 1rem;
    border-radius: 22px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
  }

  body[data-page="home"] .hero--video.hero--home {
    padding: 0.9rem 0 0.25rem;
  }

  body[data-page="home"] .hero__slide {
    object-position: center center;
  }

  body[data-page="home"] .hero--home h1 {
    max-width: none;
    font-size: clamp(1.8rem, 7.8vw, 2.8rem);
    line-height: 0.95;
    white-space: nowrap;
  }

  body[data-page="home"] .hero--home .hero__lede {
    max-width: none;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0.5rem;
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button {
    width: 100%;
    min-height: 44px;
    padding: 0.72rem 0.95rem;
    font-size: 0.9rem;
    justify-content: center;
    grid-column: auto;
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button--ghost {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.5);
  }

  body[data-page="home"] .section-heading h2 {
    max-width: none;
  }

  body[data-page="homeDraft"] .hero--video.hero--home {
    padding: 0.85rem 0 0.35rem;
  }

  body[data-page="homeDraft"] .hero--video.hero--home .hero__grid {
    min-height: clamp(18rem, 66vw, 21.5rem);
    padding: 0.25rem 0 0;
    justify-items: center;
  }

  body[data-page="homeDraft"] .hero--video.hero--home .hero__content {
    max-width: min(100%, 23rem);
    margin-inline: auto;
    padding: 0.92rem 0.95rem 0.95rem;
    border-radius: 22px;
    background: rgba(17, 12, 12, 0.18);
    text-align: center;
  }

  body[data-page="homeDraft"] .hero__poster {
    object-position: var(--hero-poster-position-mobile, var(--hero-poster-position, center center));
  }

  body[data-page="homeDraft"] .hero--home h1 {
    max-width: 9ch;
    margin-inline: auto;
    font-size: clamp(2.05rem, 8.3vw, 2.7rem);
  }

  body[data-page="homeDraft"] .hero--home .hero__lede {
    max-width: 30ch;
    margin-inline: auto;
    margin-top: 0.22rem;
    font-size: 0.92rem;
  }

  body[data-page="homeDraft"] .hero--home .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 17rem);
    margin-inline: auto;
    justify-items: center;
    gap: 0.5rem;
  }

  body[data-page="homeDraft"] .hero--home .eyebrow {
    margin-inline: auto;
  }

  body[data-page="homeDraft"] .hero--home .button {
    width: 100%;
    min-height: 44px;
    padding: 0.72rem 0.95rem;
    font-size: 0.95rem;
  }

  body[data-page="homeDraft"] .hero + .section {
    padding-top: 0.65rem;
  }

  body[data-page="homeDraft"] .final-cta__actions {
    width: 100%;
  }

  body[data-page="homeDraft"] .final-cta__actions .button-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.55rem;
  }

  body[data-page="homeDraft"] .final-cta__actions .button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="homeDraft"] .section-heading h2,
  body[data-page="homeDraft"] .home-draft-card--faq h3 {
    max-width: none;
  }

  body[data-page="home"] .hero + .section {
    padding-top: 0.75rem;
  }

  .rentals-page__button-row {
    display: grid;
    width: min(100%, 22rem);
  }

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

  .section--newsletter-signup {
    display: none;
  }

  .dept-contact__head h2 {
    display: none;
  }
}

@media (min-width: 700px) {
  .card-grid,
  .visual-grid,
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="homeDraft"] .home-draft-grid--audiences,
  body[data-page="homeDraft"] .home-draft-grid--faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="homeDraft"] .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1rem, 3vw, 2rem);
    row-gap: 1.35rem;
  }

  .footer-links--simple {
    grid-column: 1 / -1;
    width: min(100%, 20rem);
  }

  .about-page__highlights,
  .about-page__shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sports-hub-page__intro {
    width: min(100%, 1080px);
  }

  .sports-hub-page__intro p {
    max-width: min(100%, 98ch);
  }

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

  .membership-rate-grid,
  .membership-pricing-grid,
  .insurance-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-interest-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-interest-form__grid--address {
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.6fr) minmax(140px, 0.7fr);
  }

  .sport-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rentals-options,
  .party-packages-grid,
  .party-packages-upgrades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rentals-options--three,
  .party-packages-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facility-resource-grid,
  .facility-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rentals-page__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rentals-page__details--full {
    grid-template-columns: 1fr;
  }

  .donation-request-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-signup-form__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
    align-items: center;
  }

  .newsletter-signup__intro {
    width: min(100%, 1040px);
  }

  .newsletter-signup__intro p {
    max-width: min(100%, 92ch);
  }

  .newsletter-signup-form__actions {
    grid-column: auto;
  }

  .donation-request-form__grid--address {
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.6fr) minmax(140px, 0.7fr);
  }

  .donate-page__content {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 1.5rem;
  }

  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donation-request-page__content {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
  }


  .sponsorship-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsorships-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field--full {
    grid-column: 1 / -1;
  }

  .insurance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-newsletter-form__row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1120px) {
  .header-contact {
    display: flex;
  }
}

@media (min-width: 1120px) {
  body[data-page="home"] .hero--video.hero--home .hero__actions {
    flex-wrap: nowrap;
  }

  body[data-page="home"] .hero--video.hero--home .hero__actions .button {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (min-width: 1120px) {
  main > .hero:first-child,
  main > .section:first-child {
    padding-top: clamp(1rem, 2vw, 1.6rem);
  }

  body:not([data-page="home"]):not([data-page="homeDraft"]) .section-heading {
    width: min(100%, 860px);
  }

  body:not([data-page="home"]):not([data-page="homeDraft"]):not([data-page="wellness"]):not([data-page="aquatics"]):not([data-page="sports"]):not([data-page="schedules"]) .section-heading h2 {
    max-width: 18ch;
  }

  body:not([data-page="home"]):not([data-page="homeDraft"]):not([data-page="wellness"]):not([data-page="aquatics"]):not([data-page="sports"]) .section-heading p {
    max-width: 72ch;
  }

  body:is([data-page="schedules"], [data-page="wellness"], [data-page="aquatics"], [data-page="sports"]) .section-heading {
    width: min(100%, 1040px);
  }

  body:is([data-page="schedules"], [data-page="wellness"], [data-page="aquatics"], [data-page="sports"]) .section-heading h2 {
    max-width: none;
  }

  body:is([data-page="wellness"], [data-page="aquatics"], [data-page="sports"], [data-page="schedules"]) .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  body:is([data-page="wellness"], [data-page="aquatics"], [data-page="sports"], [data-page="schedules"]) .section-heading p {
    max-width: none;
  }

  .join-page__content {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    align-items: start;
  }

  .join-page__content > .join-flow__progress {
    grid-column: 1;
    grid-row: 1;
  }

  .join-page__content > .join-flow {
    grid-column: 1;
    grid-row: 2;
  }

  .join-page__content > .join-page__aside {
    grid-column: 2;
    grid-row: 2;
  }

  .membership-rate-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .membership-rate-grid--join,
  .insurance-program-grid--join {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insurance-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--tight {
    padding-top: clamp(2rem, 3vw, 2.8rem);
    padding-bottom: clamp(0.9rem, 1.6vw, 1.2rem);
  }

  body[data-page="home"] .section {
    padding-bottom: clamp(0.5rem, 0.9vw, 0.75rem);
  }

  body[data-page="home"] .hero + .section,
  body[data-page="home"] .section + .section {
    padding-top: clamp(0.65rem, 1.1vw, 0.95rem);
  }

  body:is([data-page="programs"], [data-page="schedules"], [data-page="events"]) .section {
    padding-bottom: clamp(0.9rem, 1.6vw, 1.2rem);
  }

  body:is([data-page="programs"], [data-page="schedules"], [data-page="events"]) .hero + .section,
  body:is([data-page="programs"], [data-page="schedules"], [data-page="events"]) .section + .section {
    padding-top: clamp(1.2rem, 2.1vw, 1.7rem);
  }

  body[data-page="events"] .hero + .section {
    padding-top: clamp(0.8rem, 1.4vw, 1.05rem);
  }

  .menu-toggle,
  .site-nav--mobile {
    display: none;
  }

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

  .header-start {
    flex: 0 0 auto;
  }

  .header-end {
    gap: 1rem;
    margin-left: auto;
  }

  .header-actions {
    display: flex;
  }

  .brand__logo {
    width: clamp(190px, 17vw, 240px);
    max-height: 84px;
  }

  .site-nav--desktop {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .site-nav--desktop .site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav--desktop .site-nav__list a {
    min-height: 44px;
    padding: 0.75rem 0.95rem;
    border: 0;
    background: transparent;
  }

  .site-nav--desktop .site-nav__list > li:last-child > a {
    border-bottom: 0;
  }

  .site-nav--desktop .site-nav__list a.is-active {
    border-radius: 999px;
    background: rgba(96, 0, 0, 0.12);
  }

  .site-nav--desktop .has-dropdown {
    position: relative;
  }

  .site-nav--desktop .has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
  }

  .site-nav--desktop .has-dropdown:hover .nav-chevron,
  .site-nav--desktop .has-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 210px;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid rgba(96, 0, 0, 0.1);
    border-radius: 18px;
    box-shadow: 0 20px 52px rgba(24, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 170ms ease,
      visibility 170ms ease,
      transform 170ms ease;
    z-index: 100;
  }

  .nav-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }

  .site-nav--desktop .has-dropdown:hover .nav-dropdown,
  .site-nav--desktop .has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .site-nav--desktop .has-dropdown--right .nav-dropdown {
    left: auto;
    right: 0;
    transform: translateY(6px);
  }

  .site-nav--desktop .has-dropdown--right:hover .nav-dropdown,
  .site-nav--desktop .has-dropdown--right:focus-within .nav-dropdown {
    transform: translateY(0);
  }

  .nav-dropdown a {
    display: block;
    min-height: 0;
    padding: 0.5rem 0.88rem;
    border: 0;
    border-radius: 10px;
    color: var(--brand-deep);
    font-size: 0.91rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition:
      background 130ms ease,
      color 130ms ease;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a.is-active {
    background: rgba(96, 0, 0, 0.08);
    color: var(--brand);
  }

  .nav-dropdown--wide {
    min-width: 370px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.06rem 0.4rem;
    padding: 0.55rem;
  }

  .hero__grid,
  .feature-layout,
  .support-strip,
  .final-cta {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.2rem;
  }

  body[data-page="home"] .section > .container {
    width: min(1260px, calc(100vw - 2rem));
  }

  body[data-page="home"] .section-heading {
    max-width: none;
    margin: 0 0 1rem;
    gap: 0.35rem;
  }

  body[data-page="home"] .section-heading .eyebrow,
  body[data-page="home"] .section-heading h2 {
    max-width: none;
  }

  body[data-page="home"] .section-heading p {
    max-width: none;
    font-size: 1.02rem;
  }

  body[data-page="home"] .section-heading .eyebrow,
  body[data-page="home"] .feature-copy .eyebrow {
    margin-bottom: 0.15rem;
    white-space: nowrap;
  }

  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .feature-copy h2 {
    max-width: none;
    font-size: clamp(2rem, 3vw, 2.85rem);
    line-height: 0.94;
  }

  body[data-page="home"] .feature-copy > p:not(.eyebrow) {
    max-width: none;
    margin-top: 0.35rem;
  }

  body[data-page="home"] .final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem 1rem;
    padding: clamp(1.2rem, 2.4vw, 1.7rem);
  }

  body[data-page="home"] .final-cta__copy {
    gap: 0.45rem;
  }

  body[data-page="home"] .final-cta h2 {
    max-width: none;
    font-size: clamp(1.95rem, 2.8vw, 2.6rem);
    line-height: 0.95;
  }

  body[data-page="home"] .final-cta__copy p {
    max-width: 30ch;
  }

  body[data-page="home"] .final-cta__actions {
    justify-self: end;
    align-self: center;
  }

  body[data-page="home"] .final-cta__actions .button-row {
    justify-content: flex-end;
    gap: 0.55rem;
  }

  body[data-page="home"] .section--insurance .container {
    width: min(1260px, calc(100vw - 2rem));
    padding: clamp(1.8rem, 3.5vw, 2.75rem);
  }

  body[data-page="events"] .hero__grid,
  body[data-page="schedules"] .hero__grid,
  body[data-page="rentals"] .hero__grid,
  body[data-page="wellness"] .hero__grid {
    align-items: center;
  }

  body[data-page="events"] .hero__content,
  body[data-page="schedules"] .hero__content {
    display: grid;
    align-content: center;
    gap: 0.4rem;
    padding: clamp(1.15rem, 2vw, 1.6rem);
  }

  body[data-page="rentals"] .hero__grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  }

  body[data-page="rentals"] .hero__content {
    max-width: none;
  }

  body[data-page="wellness"] .hero__content {
    display: grid;
    align-content: start;
    align-self: center;
    gap: 0.45rem;
    padding: clamp(1.15rem, 2vw, 1.6rem);
  }

  body[data-page="wellness"] .hero__content .eyebrow {
    margin-bottom: 0.1rem;
  }

  body[data-page="wellness"] .hero__lede {
    margin-top: 0.2rem;
  }

  body[data-page="wellness"] .hero__actions {
    margin-top: 0.5rem;
    gap: 0.6rem;
  }

  body[data-page="events"] .hero__content .eyebrow,
  body[data-page="schedules"] .hero__content .eyebrow {
    margin-bottom: 0.1rem;
  }

  body[data-page="events"] .hero__lede,
  body[data-page="schedules"] .hero__lede {
    margin-top: 0.15rem;
  }

  body[data-page="rentals"] .hero__lede {
    max-width: min(100%, 68ch);
    margin-top: 0.2rem;
  }

  body[data-page="events"] .hero__actions,
  body[data-page="schedules"] .hero__actions {
    margin-top: 0.45rem;
    gap: 0.6rem;
  }

  body[data-page="home"] .section--insurance .section-heading {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    gap: 0.35rem;
  }

  body[data-page="home"] .section--insurance .section-heading .eyebrow {
    margin-bottom: 0.15rem;
    white-space: nowrap;
  }

  body[data-page="home"] .section--insurance .section-heading h2 {
    max-width: none;
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    line-height: 0.96;
  }

  body[data-page="home"] .section--insurance .section-heading p {
    max-width: min(100%, 92ch);
    white-space: normal;
    font-size: 1rem;
  }

  body[data-page="home"] .insurance-grid {
    gap: 1rem;
  }

  body[data-page="home"] .insurance-card {
    min-height: 118px;
    padding: 1.05rem 1.25rem;
  }

  body[data-page="home"] .insurance-card img {
    max-height: 54px;
  }

  body[data-page="home"] .insurance-actions {
    margin-top: 1.1rem;
  }

  body[data-page="homeDraft"] .final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem 1rem;
    padding: clamp(1.2rem, 2.4vw, 1.7rem);
  }

  body[data-page="homeDraft"] .final-cta__actions {
    justify-self: end;
    align-self: center;
  }

  body[data-page="homeDraft"] .final-cta__actions .button-row {
    justify-content: flex-end;
    gap: 0.55rem;
  }

  .mission-page {
    gap: 1.1rem;
  }

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

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

  .about-page__intro h1 {
    font-size: clamp(2.7rem, 4vw, 4.2rem);
  }

  .staff-page__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .donate-page__intro {
    gap: 0.6rem;
  }

  .donate-page__intro h1 {
    font-size: clamp(2.8rem, 4vw, 4.35rem);
  }

  .donate-page__body {
    gap: 0.95rem;
  }

  .donate-page__media img {
    aspect-ratio: 4 / 4.3;
  }

  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 236, 236, 0.72));
    box-shadow: var(--shadow);
  }

  body[data-page="home"] .hero--video.hero--home {
    padding-bottom: 0.5rem;
  }

  .hero--video.hero--home .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: clamp(21rem, 33vw, 28rem);
    padding: clamp(1rem, 2.2vw, 1.6rem) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero--home .hero__content {
    align-self: center;
    max-width: 32rem;
    padding: 1.85rem 1.6rem 1.85rem 1.9rem;
    border: 0;
    border-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero--video.hero--home .hero__content {
    max-width: 46rem;
    padding: 2rem 2rem 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: rgba(17, 12, 12, 0.24);
    box-shadow: 0 20px 44px rgba(17, 12, 12, 0.12);
  }

  .hero--home .hero__media {
    display: flex;
    align-items: stretch;
    min-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: transparent;
    box-shadow: none;
  }

  .hero--home .eyebrow {
    margin-bottom: 0.35rem;
  }

  .hero--home h1 {
    max-width: none;
    font-size: clamp(3rem, 4vw, 4.15rem);
    line-height: 0.92;
  }

  .hero--home .hero__lede {
    max-width: none;
    margin-top: 0.6rem;
    font-size: 1rem;
  }

  .hero--home .hero__actions {
    margin-top: 0.95rem;
    gap: 0.6rem;
  }

  .hero--home .button {
    min-height: 48px;
    padding: 0.8rem 1.05rem;
  }

  .hero--home .hero__image-frame {
    width: 100%;
    height: 100%;
    border-radius: 26px;
  }

  .hero--home .hero__image-frame img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    aspect-ratio: 16 / 11;
    object-position: 60% center;
  }

  .feature-layout--reverse .feature-media {
    order: 2;
  }

  .feature-layout--reverse .feature-copy {
    order: 1;
  }

  .support-strip__actions,
  .final-cta__actions {
    justify-self: end;
  }

  .hero__image-frame img {
    aspect-ratio: 4 / 4.3;
  }

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

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

  body[data-page="home"] .visual-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  body[data-page="home"] .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-page="homeDraft"] .home-draft-grid--audiences,
  body[data-page="homeDraft"] .home-draft-grid--faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="homeDraft"] .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="homeDraft"] .home-draft-grid--benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="homeDraft"] .section > .container {
    width: min(1240px, calc(100vw - 2rem));
  }

  body[data-page="homeDraft"] .section {
    padding-bottom: clamp(0.85rem, 1.3vw, 1.15rem);
  }

  body[data-page="homeDraft"] .hero + .section,
  body[data-page="homeDraft"] .section + .section {
    padding-top: clamp(0.9rem, 1.35vw, 1.2rem);
  }

  body[data-page="homeDraft"] .section-heading {
    width: min(100%, 1140px);
    max-width: none;
    margin: 0 0 0.95rem;
    gap: 0.32rem;
  }

  body[data-page="homeDraft"] .section-heading h2 {
    max-width: none;
    font-size: clamp(2.15rem, 3vw, 3rem);
    line-height: 0.95;
    white-space: normal;
  }

  body[data-page="homeDraft"] .section-heading p {
    max-width: 72ch;
    white-space: normal;
    font-size: 1rem;
  }

  body[data-page="homeDraft"] .hero--video.hero--home {
    padding: clamp(1.1rem, 2vw, 1.6rem) 0 0.55rem;
  }

  body[data-page="homeDraft"] .hero--video.hero--home .hero__grid {
    min-height: clamp(22rem, 36vw, 27rem);
    padding: clamp(0.7rem, 1.4vw, 1rem) 0;
    align-items: center;
  }

  body[data-page="homeDraft"] .hero--video.hero--home .hero__content {
    max-width: 31rem;
    margin: 0;
    padding: 1.35rem 1.45rem 1.4rem;
    border-radius: 26px;
    background: rgba(17, 12, 12, 0.22);
    box-shadow: 0 20px 40px rgba(17, 12, 12, 0.12);
  }

  body[data-page="homeDraft"] .hero--home h1 {
    max-width: 11.5ch;
    font-size: clamp(2.75rem, 3.35vw, 3.65rem);
    line-height: 0.92;
  }

  body[data-page="homeDraft"] .hero--home .hero__lede {
    max-width: 40ch;
    margin-top: 0.35rem;
    font-size: 0.98rem;
  }

  body[data-page="homeDraft"] .hero--home .hero__actions {
    width: auto;
    margin-top: 0.72rem;
    gap: 0.5rem;
  }

  body[data-page="homeDraft"] .hero--home .button {
    min-height: 46px;
    padding: 0.76rem 1rem;
  }

  body[data-page="homeDraft"] .home-draft-grid {
    gap: 0.9rem;
  }

  body[data-page="homeDraft"] .home-draft-card {
    padding: 1.18rem 1.2rem 1.15rem;
  }

  body[data-page="homeDraft"] .home-draft-grid--audiences .home-draft-card {
    padding: 1.08rem 1.2rem 1rem;
  }

  body[data-page="homeDraft"] .home-draft-grid--faq .home-draft-card {
    padding: 1.08rem 1.2rem 1rem;
  }

  body[data-page="homeDraft"] .home-draft-card h3 {
    font-size: 1.34rem;
  }

  body[data-page="homeDraft"] .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  body[data-page="homeDraft"] .visual-card img {
    aspect-ratio: 16 / 9;
  }

  body[data-page="homeDraft"] .visual-card__content {
    padding: 1rem 1.05rem 1.1rem;
  }

  body[data-page="homeDraft"] .final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem 0.9rem;
    padding: 1.2rem 1.35rem;
  }

  body[data-page="homeDraft"] .final-cta h2 {
    max-width: 12ch;
    font-size: clamp(1.8rem, 2.4vw, 2.35rem);
    line-height: 0.95;
  }

  body[data-page="homeDraft"] .final-cta__copy p {
    max-width: 40ch;
  }

  .footer-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(210px, 0.9fr);
    column-gap: clamp(1.5rem, 2.8vw, 2.75rem);
    align-items: start;
  }

  .footer-links--simple {
    grid-column: auto;
    width: auto;
  }

  .footer-credit {
    margin-top: 0;
    font-size: 0.88rem;
    color: color-mix(in srgb, var(--muted) 88%, white 12%);
  }

  .event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(60, 0, 0, 0.14);
  }

  .hero--video {
    padding: clamp(2.4rem, 5vw, 4.5rem) 0 2rem;
  }

  .hero--video .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 32rem;
    align-items: center;
  }

  .hero--video .hero__content {
    max-width: 34rem;
    margin: 0;
    padding: 2rem 2rem 2.1rem;
  }
}

@media (max-width: 1023px) {
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    position: relative;
    top: auto;
    height: auto;
    padding-bottom: 0.9rem;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 0, 0, 0.1);
  }

  .admin-only-main {
    min-height: auto;
    padding: 1rem;
  }
}

@media (max-width: 780px) {
  body.is-admin-authenticated .admin-banner__inner {
    align-items: flex-start;
  }

  body.is-admin-authenticated .admin-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (min-width: 860px) {
  .admin-tool-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .admin-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-preview-split,
  .admin-media-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .admin-media-filters {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
  }
}

@media (min-width: 1120px) {
  .about-page__highlights,
  .about-page__shortcuts,
  .about-page__sponsors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .site-nav {
    transition: none;
  }

  .hero--video .hero__background-video {
    display: none;
  }
}

.version-diff-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(31, 27, 28, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.version-diff-modal {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  max-width: 580px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(24, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.version-diff-modal__header .eyebrow {
  margin: 0 0 0.3rem;
}

.version-diff-modal__header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.version-diff-modal__header span {
  color: var(--muted);
  font-size: 0.88rem;
}

.version-diff-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.version-diff-field {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--surface-soft);
}

.version-diff-field__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.version-diff-row {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.version-diff-row__tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  color: var(--muted);
}

.version-diff-row--restore .version-diff-row__tag {
  color: #92400e;
}

.version-diff-row--restore .version-diff-row__value {
  background: rgba(217, 119, 6, 0.1);
  color: #92400e;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
}

.version-diff-no-changes {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.version-diff-modal__footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.admin-submissions-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--surface-soft);
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.admin-submissions-tab {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  text-align: center;
}

.admin-submissions-tab:hover {
  color: var(--brand-deep);
}

.admin-submissions-tab.is-active,
.admin-submissions-tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 2px 8px rgba(24, 0, 0, 0.08);
}

.admin-submission-delete-btn {
  margin-left: auto;
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(180, 30, 38, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #b41e26;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 130ms ease, color 130ms ease;
  white-space: nowrap;
}

.admin-submission-delete-btn:hover {
  background: rgba(180, 30, 38, 0.08);
}

.newsletter-signup-form__disclaimer {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: rgba(24, 0, 0, 0.55);
  line-height: 1.5;
}

.button--mobile-only {
  display: none;
}

@media (max-width: 1119px) {
  .button--mobile-only {
    display: inline-flex;
  }
}

.button--desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .button--desktop-only {
    display: inline-flex;
  }
}

/* reCAPTCHA badge (injected by CC widget) defaults to right: -186px, causing horizontal scroll */
.grecaptcha-badge {
  right: 0 !important;
}
