/* ------------------------------
   Foundation
------------------------------ */
:root {
  --black: #080808;
  --ink: #131313;
  --white: #fff;
  --paper: #f2f0eb;
  --grey-100: #e3e1dc;
  --grey-300: #b4b4af;
  --grey-500: #747471;
  --grey-700: #30302f;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: rgba(8, 8, 8, 0.2);
  --blue: #084c9e;
  --blue-deep: #063b7a;
  --blue-soft: #edf4fb;
  --announcement-orange: #c24f00;
  --line-blue: rgba(255, 255, 255, 0.28);
  --shell: min(100% - 2rem, 88rem);
  --header-height: 5rem;
  --section-space: clamp(4.5rem, 8vw, 8rem);
  --display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Trebuchet MS", Aptos, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html.menu-open {
  overflow: hidden;
}

body.menu-open {
  position: fixed;
  top: var(--menu-scroll-offset, 0);
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 5.6vw, 5.75rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(2rem, 4vw, 3.75rem);
}

::selection {
  color: var(--white);
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.anchor-target {
  display: block;
  height: 0;
}

.section--blue {
  color: var(--white);
  background: var(--blue);
}

.section--soft {
  background: var(--blue-soft);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading--split {
  display: grid;
  gap: 2rem;
}

.section-heading .eyebrow {
  padding-top: 0.65rem;
}

.section-intro,
.lead {
  max-width: 38rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.placeholder-note {
  color: var(--grey-500);
  font-size: 0.78rem;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.button--light {
  color: var(--black);
  background: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: transparent;
}

.button--dark {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button--dark:hover {
  color: var(--blue);
  background: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.text-link--light {
  color: var(--white);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--white);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-entrance {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  background: var(--white);
  animation: reveal-site 700ms ease-out both;
}

@keyframes reveal-site {
  0%, 28% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ------------------------------
   Announcement, header and menu
------------------------------ */
.announcement-bar {
  position: relative;
  z-index: 101;
  display: grid;
  min-height: 2.35rem;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--announcement-orange);
}

.announcement-bar[hidden] {
  display: none;
}

.announcement-bar__viewport {
  width: 100%;
  overflow: hidden;
  padding: 0.55rem clamp(1rem, 3.5vw, 3.5rem);
}

.announcement-bar__message {
  width: 100%;
  margin: 0;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.announcement-bar__message > span:first-child {
  display: block;
}

.announcement-bar__repeat {
  display: none;
}

.announcement-bar.is-overflowing .announcement-bar__message {
  display: flex;
  width: max-content;
  gap: 4rem;
  text-align: left;
  animation: announcement-ticker var(--ticker-duration, 16s) linear infinite;
}

.announcement-bar.is-overflowing .announcement-bar__repeat {
  display: block;
}

@keyframes announcement-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 2rem)); }
}

.site-header {
  --menu-icon-closed: url("../assets/images/hamburger/white-belt-hamburger-web.png");
  --menu-icon-open: url("../assets/images/hamburger/white-belt-x-web.png");
  position: sticky;
  z-index: 102;
  top: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  margin-bottom: calc(var(--header-height) * -1);
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1rem, 3.5vw, 3.5rem);
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

body.menu-open .site-header {
  position: fixed;
  z-index: 105;
  right: 0;
  left: 0;
  transition: none;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.site-header .brand {
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 3.5rem;
  clip-path: circle(43% at 50% 50%);
  object-fit: contain;
  transform: scale(1.16);
  transform-origin: center;
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: inline-flex;
  min-width: 7rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-icon {
  display: block;
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  background-image: var(--menu-icon-closed);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background-image: var(--menu-icon-open);
}

.site-menu {
  --menu-border: var(--line-dark);
  --menu-muted: rgba(255, 255, 255, 0.78);
  position: fixed;
  z-index: 104;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--white);
  background: var(--blue);
}

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

.site-menu__inner {
  display: grid;
  width: var(--shell);
  min-height: 100%;
  margin-inline: auto;
  padding-block: 1.5rem 3rem;
}

.site-menu__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__links li {
  border-top: 1px solid var(--menu-border);
}

.site-menu__links li:last-child {
  border-bottom: 1px solid var(--menu-border);
}

.site-menu__links a {
  display: flex;
  min-height: 4.7rem;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.site-menu__links a:hover {
  padding-left: 0.6rem;
}

.site-menu__aside {
  align-self: end;
  padding-top: 2rem;
  color: var(--menu-muted);
  font-size: 0.85rem;
}

.site-menu__aside p {
  margin-bottom: 0.3rem;
}

.site-menu__aside > a {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.menu-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.menu-social a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--menu-border);
}

.menu-social img {
  width: 1.8rem;
  height: 1.8rem;
}

/* ------------------------------
   Hero
------------------------------ */
.hero {
  position: relative;
  display: grid;
  min-height: 42rem;
  min-height: max(42rem, 100svh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
}

.hero__media,
.hero__wash {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.hero__wash {
  background:
    linear-gradient(90deg, rgba(3, 42, 88, 0.92) 0%, rgba(3, 42, 88, 0.7) 38%, rgba(3, 42, 88, 0.08) 72%),
    linear-gradient(0deg, rgba(3, 42, 88, 0.5), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 7rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.hero__content .eyebrow {
  margin-bottom: 1.25rem;
}

.hero h1 {
  max-width: 9ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 9vw, 8rem);
  text-transform: uppercase;
}

.hero__content > p:not(.eyebrow) {
  max-width: 39rem;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.65vw, 1.3rem);
  line-height: 1.55;
}

/* ------------------------------
   Why the club and why judo
------------------------------ */
.why-club {
  background: var(--white);
}

.why-club__layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.why-club__media {
  display: block;
  overflow: hidden;
  background: var(--blue-soft);
  aspect-ratio: 4 / 3;
}

.why-club__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-reasons {
  align-self: center;
  border-top: 2px solid var(--blue);
}

.club-reason {
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line-light);
}

.club-reason h3 {
  margin-bottom: 0.45rem;
  color: var(--blue-deep);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
}

.club-reason p {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--grey-700);
}

.club-reason .text-link {
  margin-top: 0.75rem;
  color: var(--blue);
}

.judo-benefits {
  display: grid;
  gap: 1rem;
}

.judo-benefit {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  background: var(--blue-deep);
  border: 1px solid var(--line-blue);
}

.judo-benefit::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(0deg, rgba(2, 29, 63, 0.94), rgba(2, 29, 63, 0));
  content: "";
}

.judo-benefit > picture,
.judo-benefit > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.judo-benefit > picture {
  display: block;
}

.judo-benefit picture img {
  width: 100%;
  height: 100%;
}

.judo-benefit > img,
.judo-benefit picture img {
  object-fit: cover;
  transition: transform 400ms ease;
}

.judo-benefit:hover > img,
.judo-benefit:hover picture img {
  transform: scale(1.02);
}

.judo-benefit__copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.judo-benefit__copy h3 {
  max-width: 18ch;
  margin-bottom: 0.55rem;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  text-transform: uppercase;
}

.judo-benefit__copy p {
  max-width: 42rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}

.testimonials {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.testimonials__title {
  max-width: 18ch;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  color: var(--blue-deep);
  background: var(--white);
}

.testimonial-card h4 {
  margin-bottom: 1rem;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.testimonial-card__video {
  position: relative;
  overflow: hidden;
  background: var(--blue-soft);
  aspect-ratio: 16 / 9;
}

.testimonial-card__video img,
.testimonial-card__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.testimonial-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4rem;
  height: 4rem;
  padding: 0;
  place-items: center;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--white);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.testimonial-card__play:hover:not(:disabled) {
  color: var(--white);
  background: var(--blue);
}

.testimonial-card__play:disabled {
  cursor: default;
  opacity: 0.72;
}

/* ------------------------------
   Classes
------------------------------ */
.classes {
  background: var(--white);
}

.class-card-list {
  display: grid;
  gap: 2rem;
}

.class-card {
  display: grid;
  min-width: 0;
  border: 1px solid var(--line-light);
  box-shadow: 0 1rem 2.5rem rgba(5, 45, 91, 0.07);
}

.class-card[hidden] {
  display: none;
}

.class-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.class-card__image--placeholder {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.class-card__image-placeholder {
  padding: 1rem;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.class-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.class-card:hover .class-card__image img {
  transform: scale(1.025);
}

.class-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.class-card__heading .eyebrow {
  margin-bottom: 0.55rem;
  color: var(--grey-500);
}

.class-card__heading h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  text-transform: uppercase;
}

.class-card__schedule {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.class-card__schedule div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line-light);
}

.class-card__schedule dt {
  color: var(--grey-500);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.class-card__schedule dd {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.class-card__description {
  margin-bottom: 0;
  color: var(--grey-700);
  font-size: 0.92rem;
}

.class-card .button {
  width: 100%;
  margin-top: 2rem;
}

.class-card__booking-trigger {
  cursor: pointer;
}

.booking-modal {
  width: min(76rem, calc(100% - 1rem));
  max-height: calc(100dvh - 1rem);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--blue);
  color: var(--ink);
  background: var(--white);
}

.booking-modal::backdrop {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(5px);
}

.booking-modal__panel {
  min-width: 0;
  background: var(--white);
}

.booking-modal__header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid var(--line-blue);
}

.booking-modal__header h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.booking-modal__header p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.booking-modal__close {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--white);
  color: var(--blue);
  background: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
}

.booking-modal__close:hover {
  color: var(--white);
  background: transparent;
}

.booking-modal__body {
  min-width: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.booking-modal__calendar {
  position: relative;
  min-width: 0;
  min-height: 12rem;
  overflow: hidden;
  background: var(--blue-soft);
}

.booking-modal__loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  margin: 0;
  padding: 2rem;
  place-items: center;
  color: var(--blue-deep);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.booking-modal__loading[hidden] {
  display: none;
}

.booking-modal__iframe {
  display: block;
  width: 100%;
  height: 940px;
  border: 0;
  background: var(--white);
}

.booking-modal__attribution {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding-top: 0.8rem;
  color: var(--grey-500);
  font-size: 0.68rem;
}

.booking-modal__attribution a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.booking-modal__attribution img {
  width: auto;
  height: 1.7rem;
  max-width: 8rem;
}

.event-modal,
.referral-modal {
  width: min(42rem, calc(100% - 1rem));
}

.event-modal__content {
  padding: clamp(1.5rem, 6vw, 4rem);
}

.event-modal__content .eyebrow {
  color: var(--blue);
}

.event-modal__content a {
  display: inline-block;
  max-width: 100%;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.referral-modal__body {
  padding: clamp(1rem, 4vw, 2rem);
}

.referral-modal__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.referral-option {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-light);
  border-radius: 0;
  color: var(--blue-deep);
  background: var(--white);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.referral-option:hover,
.referral-option:focus-visible {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.referral-option:disabled {
  cursor: wait;
  opacity: 0.58;
}

.referral-modal__status {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  color: var(--grey-700);
  font-size: 0.78rem;
}

/* ------------------------------
   Coaches
------------------------------ */
.coach-grid {
  display: grid;
  gap: 3rem 1.25rem;
}

.coach-profile__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--blue-deep);
  aspect-ratio: 4 / 5;
}

.coach-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.coach-profile:nth-child(-n + 2) .coach-profile__image img {
  object-position: 50% 38%;
}

.coach-profile:hover .coach-profile__image img {
  transform: scale(1.02);
}

.coach-profile__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-blue);
}

.coach-profile h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  text-transform: uppercase;
}

.coach-profile__role {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-profile__toggle {
  align-self: start;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-profile__toggle:hover {
  color: rgba(255, 255, 255, 0.72);
}

.coach-modal {
  width: min(68rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--blue);
  color: var(--ink);
  background: var(--white);
}

.coach-modal::backdrop {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(5px);
}

.coach-modal__panel {
  position: relative;
  display: grid;
}

.coach-modal__close {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
}

.coach-modal__close:hover {
  color: var(--white);
  background: var(--blue);
}

.coach-modal__image {
  overflow: hidden;
  background: var(--blue-deep);
  aspect-ratio: 4 / 3;
}

.coach-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-modal__copy {
  align-self: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.coach-modal__copy .eyebrow {
  color: var(--blue);
}

.coach-modal__copy h2 {
  margin-bottom: 0.6rem;
  color: var(--blue-deep);
  font-size: clamp(2.75rem, 6vw, 5rem);
}

.coach-modal__role {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-modal__biography p {
  margin-bottom: 1rem;
  color: var(--grey-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

.coach-modal__biography p:last-child {
  margin-bottom: 0;
}

/* ------------------------------
   Reviews
------------------------------ */
.reviews {
  padding-block: clamp(3.75rem, 6vw, 6rem);
  background: var(--white);
}

.reviews .section-heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.reviews h2 {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
}

.google-review-summary {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(1rem, 2vw, 1.5rem);
}

.google-review-summary__rating {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.google-review-summary__rating:hover > p {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.google-review-summary__rating > p {
  margin-bottom: 0;
  color: var(--grey-700);
  font-size: 0.82rem;
}

.google-review-summary__score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.3rem;
}

.google-review-summary__score-row strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
}

.google-review-summary__stars {
  display: flex;
  gap: 0.22rem;
  color: #f4b400;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  line-height: 1;
}

.review-carousel__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--grey-100);
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.review-carousel__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.review-carousel__track {
  display: flex;
  gap: 1rem;
  padding-block: 0 0.5rem;
}

.review-slide {
  display: flex;
  min-height: 17rem;
  flex: 0 0 min(88%, 32rem);
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-light);
  scroll-snap-align: start;
}

.review-slide__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.review-slide__reviewer strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.review-slide__rating {
  flex: 0 0 auto;
  margin: 0;
  color: #f4b400;
  font-size: clamp(0.72rem, 1.15vw, 0.85rem);
  letter-spacing: 0.06em;
  line-height: 1;
}

.review-slide blockquote {
  margin-bottom: 1.25rem;
  font-family: var(--body);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
  white-space: pre-line;
}

/* ------------------------------
   Social gallery and modal
------------------------------ */
.social {
  overflow: hidden;
  background: var(--blue);
}

.instagram-profile {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-blue);
  border-bottom: 1px solid var(--line-blue);
}

.instagram-profile__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.instagram-profile__avatar {
  display: grid;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
  place-items: center;
  overflow: hidden;
}

.instagram-profile__avatar img {
  width: 4rem;
  height: 4rem;
  clip-path: circle(43% at 50% 50%);
  object-fit: contain;
  transform: scale(1.16);
}

.instagram-profile__identity .eyebrow {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}

.instagram-profile__identity strong {
  font-size: 1rem;
}

.instagram-profile__avatar,
.instagram-profile__handle {
  text-decoration: none;
}

.instagram-profile__handle:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.instagram-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: 0;
}

.instagram-profile__stats div {
  display: grid;
  gap: 0.15rem;
}

.instagram-profile__stats dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instagram-profile__stats dd {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}

.social-strip {
  display: grid;
  grid-auto-columns: minmax(16rem, 70vw);
  grid-auto-flow: column;
  gap: 0.75rem;
  overflow-x: auto;
  padding-inline: max(1rem, calc((100vw - 88rem) / 2));
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--white) var(--blue-deep);
}

.social-post {
  position: relative;
  min-height: 23rem;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: var(--white);
  background: var(--black);
  cursor: pointer;
  scroll-snap-align: start;
}

.social-post::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(0deg, rgba(2, 29, 63, 0.72), transparent);
  content: "";
  pointer-events: none;
}

.social-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 350ms ease, opacity 350ms ease;
}

.social-post:hover img,
.social-post:focus-visible img {
  opacity: 0.82;
  transform: scale(1.025);
}

.social-post--unavailable {
  background: var(--blue-deep);
}

.social-post__unavailable-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.social-post__type,
.social-post__number {
  position: absolute;
  bottom: 0.8rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.social-post__type { left: 0.8rem; }
.social-post__number { right: 0.8rem; }

.social-modal {
  width: min(64rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--blue);
  color: var(--ink);
  background: var(--white);
}

.social-modal::backdrop {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(5px);
}

.social-modal__panel {
  position: relative;
  display: grid;
  min-height: min(42rem, calc(100dvh - 1.5rem));
}

.social-modal__close {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
}

.social-modal__close:hover {
  color: var(--white);
  background: var(--blue);
}

.social-modal__media {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--blue-deep);
  text-align: center;
}

.social-modal__stage {
  display: grid;
  width: 100%;
  min-height: 16rem;
  flex: 1;
  place-items: center;
}

.social-modal__asset {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(42rem, calc(100dvh - 1.5rem));
  object-fit: contain;
}

.social-modal__carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-modal__carousel-controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--white);
  color: var(--blue-deep);
  background: var(--white);
  cursor: pointer;
}

.social-modal__carousel-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.social-modal__carousel-controls button:focus-visible {
  outline-color: var(--white);
}

.social-modal__carousel-controls span {
  min-width: 4rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.social-modal__loading,
.social-modal__error {
  max-width: 22rem;
  margin: 0;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.social-modal__copy {
  align-self: end;
  padding: 2rem;
  background: var(--white);
}

.social-modal__copy .eyebrow {
  color: var(--blue);
}

.social-modal__copy h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.social-modal__caption {
  max-width: 30rem;
  margin-bottom: 0;
  color: var(--grey-700);
  white-space: pre-line;
}

.social-modal__caption:empty {
  display: none;
}

.social-modal__source {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 1.25rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-transform: uppercase;
}

.social-modal__source[hidden] {
  display: none;
}

/* ------------------------------
   Club life
------------------------------ */
.club-life {
  background: var(--white);
}

.life-gallery {
  display: grid;
  gap: 1rem;
}

.life-gallery figure {
  margin-bottom: 0;
}

.life-gallery img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.life-gallery figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 0.65rem;
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.life-gallery figcaption span {
  color: var(--grey-500);
}

/* ------------------------------
   FAQ
------------------------------ */
.faq {
  background: var(--blue);
}

.faq__grid {
  display: grid;
  gap: 4rem;
}

.faq__intro > p:not(.eyebrow) {
  max-width: 29rem;
}

.faq__intro .text-link {
  margin-top: 1.5rem;
}

.faq-list {
  border-top: 2px solid var(--white);
}

.faq-list details {
  border-bottom: 1px solid var(--line-blue);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  list-style: none;
  text-transform: uppercase;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
  position: relative;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 42rem;
  margin-bottom: 0;
  padding: 0 3rem 1.5rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.faq-list details p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ------------------------------
   Contact questions
------------------------------ */
.contact-questions__grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.contact-questions__intro > p:not(.eyebrow) {
  max-width: 31rem;
  margin-bottom: 0;
}

.contact-questions__contact {
  padding: clamp(1.25rem, 4vw, 3rem);
  color: var(--white);
  background: var(--blue);
}

.contact-questions__contact h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
}

.contact-questions__contact a {
  display: inline-block;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ------------------------------
   Location and footer
------------------------------ */
.location {
  position: relative;
  min-height: 44rem;
  color: var(--white);
  background: var(--blue-deep);
}

.location__visual {
  position: absolute;
  inset: 0;
}

.location__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 42, 88, 0.94), rgba(3, 42, 88, 0.24));
  content: "";
}

.location__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.location__attribution {
  position: absolute;
  z-index: 4;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(3, 42, 88, 0.72);
  font-size: 0.65rem;
  line-height: 1.3;
  text-decoration: none;
}

.location__attribution:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.location__card {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(100%, 38rem);
  min-height: 44rem;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) max(1rem, calc((100vw - 88rem) / 2));
}

.location__card h2 {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
}

.location__card address {
  margin-bottom: 1rem;
  font-style: normal;
}

.content-multiline {
  white-space: pre-line;
}

.location__card .button {
  align-self: flex-start;
  margin-top: 2rem;
}

.site-footer {
  padding-block: 4rem 1.5rem;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line-light);
}

.site-footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.brand--footer {
  justify-self: start;
}

.brand--footer .brand-logo {
  width: 6rem;
  height: 6rem;
  flex-basis: 6rem;
}

.site-footer__top p {
  max-width: 27rem;
  margin-bottom: 0;
  color: var(--grey-700);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem;
  padding-block: 3rem;
}

.site-footer__columns h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__columns a,
.site-footer__columns .footer-link-button,
.site-footer__columns .footer-placeholder {
  display: block;
  width: fit-content;
  min-height: 2rem;
  font-size: 0.8rem;
}

.site-footer__columns .footer-link-button {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.site-footer__columns .footer-placeholder {
  color: var(--grey-700);
}

.site-footer__columns a:hover,
.site-footer__columns .footer-link-button:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  color: var(--grey-500);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-footer__bottom p {
  margin-bottom: 0;
}

/* ------------------------------
   Analytics consent
------------------------------ */
.analytics-consent {
  position: fixed;
  z-index: 110;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  width: min(48rem, calc(100% - 1.5rem));
  padding: clamp(1rem, 3vw, 1.5rem);
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--line-blue);
  box-shadow: 0 1rem 2.5rem rgba(8, 8, 8, 0.22);
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent__inner {
  display: grid;
  gap: 1rem;
}

.analytics-consent__inner > p {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.analytics-consent__actions button {
  min-height: 2.75rem;
  flex: 1 1 11rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--white);
  border-radius: 0;
  color: var(--blue-deep);
  background: var(--white);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.analytics-consent__actions button:hover {
  color: var(--white);
  background: transparent;
}

.analytics-consent__actions a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.35rem;
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 29.999rem) {
  .analytics-consent__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-consent__actions button {
    width: 100%;
  }
}

/* ------------------------------
   Policy pages
------------------------------ */
.policy-page {
  color: var(--ink);
  background: var(--white);
}

.policy-header {
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid var(--line-blue);
}

.policy-header__inner {
  width: var(--shell);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.policy-header .brand-logo {
  width: 3.75rem;
  height: 3.75rem;
}

.policy-header__back {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-header__back:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.policy-hero {
  padding-block: clamp(4rem, 9vw, 7rem);
  color: var(--white);
  background: var(--blue);
}

.policy-hero__inner,
.policy-content {
  width: var(--shell);
  margin-inline: auto;
}

.policy-hero .eyebrow {
  color: var(--white);
}

.policy-hero h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3.5rem, 10vw, 8rem);
}

.policy-hero p:last-child {
  max-width: 46rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.policy-content {
  max-width: 54rem;
  padding-block: var(--section-space);
}

.policy-content section + section {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-light);
}

.policy-content h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.policy-content h3 {
  margin-block: 2rem 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.policy-content p,
.policy-content li {
  max-width: 72ch;
}

.policy-content ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.policy-content li + li {
  margin-top: 0.55rem;
}

.policy-content a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.policy-contact {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--blue-soft);
}

.policy-contact p:last-child {
  margin-bottom: 0;
}

.policy-page .site-footer {
  background: var(--paper);
}

/* ------------------------------
   Responsive layout
------------------------------ */
@media (min-width: 40rem) {
  :root {
    --shell: min(100% - 3rem, 88rem);
  }

  .section-heading--split {
    grid-template-columns: minmax(9rem, 0.4fr) 1.6fr;
  }

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

  .judo-benefit--wide {
    grid-column: 1 / -1;
    min-height: 30rem;
  }

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

  .class-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach-modal__panel {
    min-height: min(42rem, calc(100dvh - 1.5rem));
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
  }

  .coach-modal__image {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .instagram-profile {
    grid-template-columns: minmax(16rem, 1fr) auto;
    align-items: center;
  }

  .social-strip {
    grid-auto-columns: minmax(17rem, 35vw);
  }

  .social-post--tall {
    min-height: 31rem;
  }

  .life-gallery {
    grid-template-columns: 1.7fr 1fr;
  }

  .life-gallery__hero {
    grid-row: span 2;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .site-footer__columns {
    grid-template-columns: repeat(4, 1fr);
  }

  .social-modal__panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  }
}

@media (min-width: 64rem) {
  .site-menu__inner {
    grid-template-columns: 1fr 4fr 1fr;
    gap: 3rem;
  }

  .site-menu__links {
    grid-column: 2;
  }

  .site-menu__links a {
    min-height: 5.3rem;
  }

  .site-menu__aside {
    grid-column: 3;
    padding-bottom: 1rem;
  }

  .why-club__layout {
    grid-template-columns: minmax(26rem, 1.05fr) minmax(28rem, 0.95fr);
    gap: clamp(3rem, 8vw, 8rem);
  }

  .why-club__media {
    min-height: 38rem;
    aspect-ratio: auto;
  }

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

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

  .social-strip {
    grid-auto-columns: minmax(17rem, 23vw);
  }

  .faq__grid,
  .contact-questions__grid {
    grid-template-columns: minmax(20rem, 0.85fr) minmax(31rem, 1.15fr);
    gap: clamp(4rem, 9vw, 9rem);
  }

  .faq__intro,
  .contact-questions__intro {
    position: sticky;
    top: 2rem;
    align-self: start;
  }

  .contact-questions__contact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .contact-questions__contact h3 {
    margin-bottom: 0;
  }

  .location__card {
    margin-left: max(0rem, calc((100vw - 88rem) / 2));
    padding-inline: 0;
  }
}

@media (min-width: 90rem) {
  .social-strip {
    padding-right: calc((100vw - 88rem) / 2);
  }
}

@media (max-width: 39.99rem) {
  .referral-modal__options {
    grid-template-columns: 1fr;
  }

  .hero__media img {
    object-position: 58% center;
  }

  .hero__wash {
    background: linear-gradient(0deg, rgba(3, 42, 88, 0.96) 0%, rgba(3, 42, 88, 0.76) 52%, rgba(3, 42, 88, 0.08) 100%);
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 12rem);
  }

  .location__visual::after {
    background: linear-gradient(0deg, rgba(3, 42, 88, 0.96) 0%, rgba(3, 42, 88, 0.22) 100%);
  }

  .location__attribution {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .location__card {
    justify-content: flex-end;
  }
}

@media (max-width: 23.99rem) {
  .coach-profile__header {
    grid-template-columns: 1fr;
  }

  .coach-profile__toggle {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .site-entrance {
    display: none;
  }

  .announcement-bar.is-overflowing .announcement-bar__message {
    display: block;
    width: 100%;
    animation: none !important;
    text-align: center;
    white-space: normal;
  }

  .announcement-bar.is-overflowing .announcement-bar__repeat {
    display: none;
  }
}
