/* DNA Chess Club — fonts and palette match the Wix site; spacing runs on one 8px scale. */
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Avenir LT 35 Light";
  src: url("/fonts/avenir-light.woff2") format("woff2");
  font-weight: 300 400;
  font-display: swap;
}
@font-face {
  font-family: "Lulo Clean";
  src: url("/fonts/lulo-clean-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Impact W01";
  src: url("/fonts/impact.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #181818;
  --ink-deep: #081223;
  --white: #fff;
  --band-dark: #525252;
  --band-light: #e9e9e9;
  --band-mid: #d3d3d3;
  --band-soft: #f4f4f4;
  --navy: #193669;
  --navy-89: #2f4876;
  --silver: #c5c5c5;
  --gray: #8c8c8c;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(56px, 8vw, 96px);
  --radius: 24px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-ui: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Avenir LT 35 Light", "Avenir Next", "Avenir", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-card: "Lulo Clean", "Arial Black", sans-serif;
  --f-button: "Roboto", Arial, sans-serif;
  --f-logo: "Impact W01", Impact, "Arial Narrow Bold", sans-serif;
  --shadow: 0 10px 30px rgb(0 0 0 / 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 var(--s2);
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  font: 700 15px var(--f-button);
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: var(--s2);
}
.container {
  width: min(100% - var(--gutter) * 2, 980px);
  margin-inline: auto;
}
.narrow {
  width: min(100% - var(--gutter) * 2, 820px);
}
.center {
  text-align: center;
}
.break {
  overflow-wrap: anywhere;
}
a[href^="tel:"] {
  white-space: nowrap;
}

/* Type */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.2vw, 40px);
  letter-spacing: 0.01em;
  margin-bottom: var(--s3);
}
.section-title.sm {
  font-size: clamp(26px, 3vw, 30px);
  margin-bottom: var(--s1);
}
.section-title.upper {
  text-transform: uppercase;
}
.display-title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6.5vw, 66px);
  color: var(--ink-deep);
  text-align: center;
  margin-bottom: var(--s5);
}
.card-title {
  font-family: var(--f-card);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.label {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: var(--s1);
}
.label.lg {
  font-size: 19px;
}
.role {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: var(--s2);
}
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}
.lead {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: var(--s4);
}
.info {
  margin-bottom: var(--s3);
}
.info:last-child {
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font: 700 15px/1.2 var(--f-button);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.btn:hover {
  background: #333;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.18);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn-wide {
  min-width: 150px;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #c9c9c9;
}
.btn-outline:hover {
  background: var(--band-light);
  box-shadow: none;
}
.btn-outline img {
  width: 16px;
  height: 16px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}
.btn-row .btn {
  min-width: 150px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--white);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-top: var(--s5);
}
/* Logo: every size is in em of the wordmark so the CHESS image always matches the DNA/CLUB text (Wix proportions). */
.brand {
  --logo-fs: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  font-size: var(--logo-fs);
  text-decoration: none;
  color: var(--ink);
}
.brand-icon {
  width: 1.18em;
  height: 1.84em;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-word {
  display: flex;
  align-items: center;
  font-family: var(--f-logo);
  font-size: 1em;
  line-height: 1.22;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-chess {
  flex: none;
  width: 2.84em;
  height: 1.18em;
  margin: 0 0.176em 0 0.116em;
  object-fit: cover;
}
.brand-tag {
  font-family: var(--f-body);
  font-size: 0.28em;
  line-height: 1.18;
  margin-top: -0.07em;
}
.site-nav {
  padding: var(--s3) 0 var(--s4);
}
.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px clamp(8px, 1.5vw, 20px);
}
.nav-list a,
.sub-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  font: 700 17px/1 var(--f-ui);
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
}
.nav-list > li > a::after,
.sub-toggle::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li > a[aria-current]::after,
.sub-toggle:hover::after,
.is-active > .sub-toggle::after {
  transform: scaleX(1);
}
.sub-toggle svg {
  transition: transform 0.25s var(--ease);
}
.sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.has-sub {
  position: relative;
}
.sub {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 190px;
  padding: var(--s1);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.25s var(--ease),
    visibility 0.2s;
}
.sub a {
  display: flex;
  width: 100%;
  padding: 0 var(--s2);
  border-radius: 8px;
  font-weight: 500;
}
.sub a:hover,
.sub a[aria-current] {
  background: var(--band-light);
}
.has-sub.is-open .sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
@media (hover: hover) and (min-width: 1000px) {
  .has-sub:hover .sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}
.nav-toggle,
.btn-lesson-mobile {
  display: none;
}

@media (max-width: 999px) {
  html {
    scroll-padding-top: 120px;
  }
  .site-header {
    position: sticky;
    top: 0;
    transition:
      box-shadow 0.3s var(--ease),
      transform 0.35s var(--ease);
  }
  .site-header.is-hidden {
    transform: translateY(-100%);
  }
  .site-header.is-scrolled {
    box-shadow:
      0 1px 0 rgb(0 0 0 / 0.08),
      0 8px 24px rgb(0 0 0 / 0.06);
  }
  .header-row {
    padding-block: 13px;
    min-height: 111px;
  }
  /* Wix mobile logo: Impact 26px, icon 54x85, CHESS image 72x30, tagline 9px centred. */
  .brand {
    --logo-fs: min(26px, 6.7vw);
    gap: 0.385em;
  }
  .brand-icon {
    width: 2.08em;
    height: 3.27em;
  }
  .brand-chess {
    width: 2.77em;
    height: 1.154em;
    margin: 0 0.22em 0 0.146em;
  }
  .brand-tag {
    font-size: 0.346em;
    line-height: 1.22;
    margin-top: 0;
    text-align: center;
  }
  .btn-lesson {
    display: none;
  }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    border: 0;
    background: none;
    border-radius: 12px;
  }
  .burger {
    position: relative;
    width: 24px;
    height: 16px;
  }
  .burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition:
      transform 0.35s var(--ease),
      opacity 0.2s;
  }
  .burger span:nth-child(1) {
    top: 0;
  }
  .burger span:nth-child(2) {
    top: 7px;
  }
  .burger span:nth-child(3) {
    top: 14px;
  }
  .nav-toggle[aria-expanded="true"] .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h, 111px) 0 0;
    padding: var(--s2) 0 var(--s5);
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.35s var(--ease),
      visibility 0.3s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-list > li {
    border-bottom: 1px solid #ececec;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.35s var(--ease);
  }
  .site-nav.is-open .nav-list > li {
    opacity: 1;
    transform: none;
  }
  .site-nav.is-open .nav-list > li:nth-child(n) {
    transition-delay: calc(var(--i, 0) * 30ms);
  }
  .nav-list a,
  .sub-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 4px;
    font-size: 20px;
  }
  .nav-list > li > a::after,
  .sub-toggle::after {
    display: none;
  }
  .nav-list > li > a[aria-current],
  .is-active > .sub-toggle {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }
  .sub {
    position: static;
    min-width: 0;
    padding: 0 0 var(--s1) var(--s2);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-sub.is-open .sub {
    display: block;
    transform: none;
  }
  .sub a {
    font-size: 18px;
    min-height: 48px;
    padding: 0 4px;
  }
  .sub a:hover {
    background: none;
  }
  .btn-lesson-mobile {
    display: flex;
    width: 100%;
    margin-top: var(--s4);
    min-height: 52px;
    font-size: 16px;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Sections */
.section {
  padding-block: var(--section);
}
.section.compact {
  padding-bottom: var(--s4);
}
.page-top {
  padding-top: clamp(40px, 6vw, 72px);
}
.band-dark {
  background: var(--band-dark);
  color: var(--white);
}
.band-light {
  background: var(--band-light);
}
.band-mid {
  background: var(--band-mid);
}
.band-soft {
  background: var(--band-soft);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
@media (max-width: 799px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child {
    order: 0;
  }
}

/* Hero + carousel */
.hero {
  background: var(--band-dark);
  color: var(--white);
  text-align: center;
  padding-block: clamp(36px, 5vw, 48px);
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(34px, 5.4vw, 54px);
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.hero-sub {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.01em;
  margin-top: var(--s1);
}
.hero-title,
.hero-sub {
  animation: rise 0.9s var(--ease) both;
}
.hero-sub {
  animation-delay: 0.12s;
}
.carousel-wrap {
  padding: clamp(16px, 3vw, 42px) clamp(12px, 3vw, 42px) 0;
}
.carousel {
  position: relative;
  max-width: 1342px;
  margin-inline: auto;
  aspect-ratio: 1342 / 623;
  overflow: hidden;
  background: #2b2b2b;
  border-radius: clamp(0px, 1vw, 4px);
}
.slides,
.slide {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s var(--ease),
    visibility 1s;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s linear;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
}
.slide.is-active img {
  transform: scale(1);
}
.arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  border: 0;
  background: none;
  color: var(--white);
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.5));
  opacity: 0.85;
  transition:
    opacity 0.2s,
    transform 0.25s var(--ease);
}
.arrow:hover {
  opacity: 1;
}
.prev {
  left: 8px;
}
.next {
  right: 8px;
}
.prev:hover {
  transform: translateX(-2px);
}
.next:hover {
  transform: translateX(2px);
}
.carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s1);
}
.dots {
  display: flex;
}
.dot {
  width: 28px;
  height: 28px;
  border: 0;
  background: none;
  position: relative;
}
.dot::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 0 2px rgb(0 0 0 / 0.5);
  transition:
    background 0.25s,
    transform 0.25s var(--ease);
}
.dot[aria-current="true"]::before {
  background: var(--white);
  transform: scale(1.25);
}
.pause {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--white);
  fill: currentColor;
  filter: drop-shadow(0 0 2px rgb(0 0 0 / 0.6));
}
.pause .i-play,
.carousel.is-paused .pause .i-pause {
  display: none;
}
.carousel.is-paused .pause .i-play {
  display: inline;
}
@media (max-width: 640px) {
  .carousel {
    aspect-ratio: 4 / 3;
  }
  .arrow {
    width: 40px;
    height: 52px;
  }
}

/* Feature cards */
.features {
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 64px);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  width: min(100% - var(--gutter) * 2, 1240px);
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 340px;
  padding: var(--s5) var(--s4);
  border-radius: var(--radius);
  text-align: center;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 210px;
  margin: 0;
}
.feature .btn {
  margin-top: var(--s1);
  min-width: 160px;
}
.feature-icon svg {
  width: auto;
  height: 64px;
  margin-bottom: var(--s2);
  transition: transform 0.5s var(--ease);
}
.feature:hover .feature-icon svg {
  transform: translateY(-3px) scale(1.04);
}
.tone-navy {
  background: var(--navy-89);
  color: var(--white);
}
.tone-navy .feature-icon path {
  fill: #0b1830;
}
.tone-silver {
  background: var(--silver);
}
.tone-gray {
  background: var(--gray);
}
@media (max-width: 899px) {
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .feature {
    min-height: 0;
    padding: var(--s5) var(--s3);
  }
}

/* About (home) */
.about-home p {
  font-size: 15px;
}
.about-home a:not(.btn) {
  color: var(--white);
}
.logo-cloud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  align-items: center;
}
.logo-cloud li {
  display: grid;
  place-items: center;
}
.logo-cloud img {
  width: 100%;
}
.lc-uschess {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--s2);
}
.lc-uschess img {
  max-width: 200px;
}
.lc-tca img {
  border-radius: 8px;
  max-width: 240px;
}
.lc-regency img {
  max-width: 250px;
}
.lc-panera img {
  border-radius: var(--radius-sm);
  max-width: 220px;
}
.about-home .btn {
  background: var(--ink);
  border-color: var(--ink);
}

/* Hours / map */
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #dcdcdc;
  box-shadow: var(--shadow);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s3);
  max-width: 900px;
  margin-inline: auto;
}
.testimonial:nth-child(1) {
  grid-column: 2 / 4;
}
.testimonial:nth-child(2) {
  grid-column: 4 / 6;
}
.testimonial:nth-child(3) {
  grid-column: 1 / 3;
}
.testimonial:nth-child(4) {
  grid-column: 3 / 5;
}
.testimonial:nth-child(5) {
  grid-column: 5 / 7;
}
.testimonial figure {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s4) var(--s3);
  border-radius: 30px;
  text-align: center;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.testimonial figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
.t-gray figure {
  background: #757575;
  color: var(--white);
}
.t-silver figure {
  background: #a5a5a5;
  color: var(--ink);
}
.t-navy figure {
  background: var(--navy);
  color: var(--white);
}
.t-blue figure {
  background: var(--navy-89);
  color: var(--white);
}
.t-slate figure {
  background: #69758a;
  color: var(--white);
}
@media (max-width: 799px) {
  .testimonials {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: var(--s2);
  }
  .testimonial:nth-child(n) {
    grid-column: auto;
  }
}

/* Support (home) */
.support-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 56px);
}
.support-icon svg {
  height: 64px;
  width: auto;
}
@media (max-width: 520px) {
  .lead br {
    display: none;
  }
  .support-row {
    flex-direction: column;
    gap: var(--s3);
  }
  .support-row .btn {
    width: 100%;
    max-width: 280px;
  }
  .support-icon {
    order: -1;
  }
}

/* Weekly meetings */
.split-weekly {
  align-items: start;
  grid-template-columns: 1fr 1.1fr;
}
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}
.collage li:nth-child(2) {
  transform: translateY(var(--s5));
}
.collage li:nth-child(4) {
  transform: translateY(var(--s5));
}
.collage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
@media (max-width: 799px) {
  .split-weekly {
    grid-template-columns: 1fr;
  }
  .collage li:nth-child(n) {
    transform: none;
  }
}

/* Tournaments */
.media-center {
  display: grid;
  place-items: center;
}
.app-icon {
  width: min(290px, 70vw);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}
.media-center a:hover .app-icon {
  transform: translateY(-4px) rotate(-1deg);
}

/* Newsletter */
.form-frame {
  margin-top: var(--s2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #c6e7a9;
  box-shadow: var(--shadow);
}
.form-frame iframe {
  display: block;
  width: 100%;
  height: 980px;
  border: 0;
}
.form-fallback {
  margin-top: var(--s3);
  font-size: 15px;
}

/* Past events (Instagram) */
.ig-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: var(--s5) 0 var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid #e3e3e3;
}
.ig-avatar {
  width: 32px;
  height: auto;
}
.ig-handle {
  flex: 1;
  margin: 0;
  font: 700 17px var(--f-ui);
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ig-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    filter 0.3s;
}
.ig-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.ig-more {
  margin-top: var(--s5);
}
@media (max-width: 639px) {
  .ig-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(10 10 10 / 0.94);
  display: none;
  place-items: center;
}
.lightbox[open] {
  display: grid;
  animation: fade 0.3s var(--ease);
}
.lightbox::backdrop {
  background: transparent;
}
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86dvh;
  width: auto;
  height: auto;
  border-radius: 6px;
  animation: zoom 0.35s var(--ease);
}
.lb-close,
.lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  font: 400 32px/1 var(--f-body);
  transition: background 0.2s;
}
.lb-close:hover,
.lb-nav:hover {
  background: rgb(255 255 255 / 0.24);
}
.lb-close {
  top: 16px;
  right: 16px;
}
.lb-prev {
  left: 16px;
  top: 50%;
  translate: 0 -50%;
}
.lb-next {
  right: 16px;
  top: 50%;
  translate: 0 -50%;
}
@media (max-width: 640px) {
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 20px;
    translate: none;
  }
}

/* About us */
.banner {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(48px, 7vw, 80px);
}
.banner .section-title {
  margin-bottom: var(--s1);
}
.member p:not(.role) {
  font-size: 15px;
}
.portrait {
  display: grid;
  place-items: center;
}
.portrait img {
  width: min(300px, 100%);
  aspect-ratio: 360 / 458;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.coaches {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s5);
}
.coach {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.coach:nth-child(even) {
  grid-template-columns: 1fr 300px;
}
.coach:nth-child(even) .coach-photo {
  order: 2;
}
.coach:not(:has(.coach-photo)) {
  grid-template-columns: 1fr;
  text-align: center;
}
.coach-photo img {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.coach-name {
  font-family: var(--f-display);
  font-size: 26px;
  margin-bottom: var(--s1);
}
.coach p {
  font-size: 15px;
  margin-bottom: 4px;
}
.role-cta p {
  font-size: 15px;
}
@media (max-width: 799px) {
  .coach,
  .coach:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .coach:nth-child(even) .coach-photo {
    order: 0;
  }
  .coach-photo {
    max-width: 360px;
  }
}

/* Contact */
.center-socials {
  justify-content: center;
  margin-top: var(--s4);
}
.contact-hero img {
  width: 100%;
  height: clamp(260px, 36vw, 520px);
  object-fit: cover;
}

/* Partners */
.partner-logos {
  display: grid;
  gap: var(--s4);
  justify-items: center;
}
.partner-logos img {
  max-width: 260px;
  width: 100%;
}
.partner-logos .logo-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
  box-shadow: var(--shadow);
}
.partner-logos a {
  display: block;
  transition: transform 0.3s var(--ease);
}
.partner-logos a:hover {
  transform: translateY(-3px);
}

/* Support us */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
}
.two-col p {
  font-size: 15px;
}
.two-col .btn {
  margin-top: var(--s3);
}
.show-up {
  margin-top: var(--s6);
  text-align: center;
}
@media (max-width: 699px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.socials {
  display: flex;
  gap: 6px;
}
.social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition:
    transform 0.25s var(--ease),
    background 0.2s;
}
.social:hover {
  transform: translateY(-2px);
  background: rgb(0 0 0 / 0.06);
}
.social img {
  width: 22px;
  height: 22px;
}
.site-footer {
  background: var(--band-light);
  padding-block: var(--s6) var(--s5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s4) var(--s5);
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s3);
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font: 700 15px var(--f-ui);
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-email {
  font: 700 14px var(--f-button);
}
.copyright {
  font-size: 13px;
  justify-self: end;
  align-self: end;
  margin: 0;
}
@media (max-width: 799px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-contact {
    align-items: center;
  }
  .copyright {
    justify-self: center;
  }
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    transition:
      opacity 0.8s var(--ease) var(--d, 0ms),
      transform 0.8s var(--ease) var(--d, 0ms);
  }
  .js-reveal .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .slide img {
    transform: none !important;
  }
}
@media print {
  .site-nav,
  .nav-toggle,
  .carousel-controls,
  .arrow,
  .map,
  .form-frame {
    display: none !important;
  }
}
