/* Self-hosted design fonts. font-display:block keeps the system font from painting first. */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("assets/fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 300 400;
  font-display: block;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Design tokens — Elite Sport 360 design system */
:root {
  --color-primary: #0ebf63;
  --color-primary-dark: #16ba5d;
  --color-dark: #0a0a0b;
  --color-dark-muted: #323232;
  --color-light: #f5f6f7;
  --color-white: #ffffff;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-height: 80px;
  --header-height-mobile: 76px;
  --page-max: 1280px;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-light);
  background: var(--color-dark);
  line-height: 1.45;
  overflow-x: clip;
}

.site-header,
.hero {
  content-visibility: visible;
}

.section-defer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

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

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  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: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-light);
  color: var(--color-dark);
  font-weight: 300;
}

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

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

/* Full-width sections; text stays in --page-max, photos pin to viewport edges */
.section-bleed {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.edge-media {
  overflow: hidden;
}

.edge-media img,
.edge-media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edge-media--full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (min-width: 768px) {
  .edge-media {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
  }

  .edge-media--right {
    right: 0;
    left: auto;
    width: clamp(480px, 54vw, 920px);
  }

  .edge-media--left {
    left: 0;
    right: auto;
    width: clamp(440px, 48vw, 680px);
  }

  .edge-media--full {
    position: relative;
    width: 100%;
    margin-left: 0;
  }
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height-mobile);
  background: var(--color-dark);
  width: 100%;
}

@media (min-width: 768px) {
  .site-header {
    height: var(--header-height);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 60px;
  }
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  transition: opacity var(--transition);
}

.brand:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.brand:hover {
  opacity: 0.85;
}

/* Ball + wordmark, same asset on mobile and desktop (Figma 60:22, 265×57) */
.brand__logo-full {
  display: block;
  height: 57px;
  width: 265px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: none;
}

@media (min-width: 768px) {
  .site-nav {
    display: block;
  }
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  color: var(--color-light);
  transition: color var(--transition);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-primary);
}

.site-nav__link--contact {
  color: var(--color-primary);
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity var(--transition);
}

.menu-button:hover {
  opacity: 0.8;
}

.menu-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .menu-button {
    display: none;
  }
}

.mobile-panel {
  position: fixed;
  inset: var(--header-height-mobile) 0 0 0;
  z-index: 99;
  background: var(--color-dark);
  padding: 24px;
  overflow-y: auto;
}

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

.mobile-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-panel__list a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-dark-muted);
  transition: color var(--transition);
}

.mobile-panel__list a:hover,
.mobile-panel__list a:focus-visible {
  color: var(--color-primary);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    opacity var(--transition);
}

@media (min-width: 768px) {
  .btn {
    min-height: 38px;
    padding: 10px 16px;
    font-size: 10px;
  }

  .hero .btn--primary {
    min-height: 50px;
    padding: 15px 20px;
  }
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-light);
  color: var(--color-dark);
  border-color: var(--color-light);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-dark-muted);
  color: var(--color-light);
  border-color: var(--color-light);
}

.btn--outline {
  background: var(--color-dark);
  border-color: var(--color-light);
  color: var(--color-light);
}

.btn--outline:hover {
  background: var(--color-dark-muted);
}

.btn__icon {
  flex-shrink: 0;
  color: var(--color-light);
}

.btn--hero-cta {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .btn--hero-cta {
    width: 132px;
    min-height: 50px;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-dark);
  isolation: isolate;
}

.hero__content {
  order: 1;
}

.hero__media {
  order: 2;
  position: relative;
}

.hero__shape {
  order: 3;
}

@media (min-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(632px, auto);
    min-height: 632px;
    max-height: min(832px, calc(100svh - var(--header-height)));
  }

  .hero__content,
  .hero__media {
    grid-row: 1;
    grid-column: 1;
  }

  .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    order: unset;
    width: clamp(560px, 72vw, 1100px);
    max-width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero__media picture,
  .hero__media .hero__photo {
    height: 100%;
    min-height: 100%;
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero__media::after {
    display: none;
  }
}

.hero__photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 22%;
}

@media (max-width: 767px) {
  .hero__media {
    max-height: 350px;
    overflow: hidden;
  }

  .hero__media picture,
  .hero__media .hero__photo {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
  }
}

@media (min-width: 768px) {
  .hero__photo {
    object-position: 85% 15%;
    min-height: 100%;
  }
}

.hero__gradient {
  display: none;
}

@media (min-width: 768px) {
  .hero__gradient {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      88.54566760972557deg,
      rgb(10, 10, 11) 35.742%,
      rgba(10, 10, 11, 0.8) 51.681%,
      rgba(39, 39, 42, 0.6) 65.235%,
      rgba(10, 10, 11, 0.3) 73.474%,
      rgb(10, 10, 11) 98.252%
    );
    pointer-events: none;
  }
}

/* Above 1640 the photo is capped on the right while percentage stops keep
   sliding left. Hold the same fade against the photo so its left edge stays covered. */
@media (min-width: 1640px) {
  .hero__gradient {
    background: linear-gradient(
      88.54566760972557deg,
      rgb(10, 10, 11) 0,
      rgb(10, 10, 11) calc(100% - 1054px),
      rgba(10, 10, 11, 0.8) calc(100% - 792px),
      rgba(39, 39, 42, 0.6) calc(100% - 570px),
      rgba(10, 10, 11, 0.3) calc(100% - 435px),
      rgb(10, 10, 11) calc(100% - 29px)
    );
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 100px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

[id] {
  scroll-margin-top: calc(var(--header-height-mobile) + 16px);
}

@media (min-width: 768px) {
  [id] {
    scroll-margin-top: calc(var(--header-height) + 16px);
  }
}

@media (min-width: 768px) {
  .hero__content {
    position: relative;
    z-index: 2;
    align-self: start;
    justify-self: start;
    width: min(635px, 48vw);
    max-width: 635px;
    margin: 0;
    margin-left: max(60px, calc((100vw - var(--page-max)) / 2 + 60px));
    padding: 151px 0 48px;
    gap: 16px;
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 54px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 80px;
    line-height: 83px;
  }
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--color-primary);
}

.hero__lead {
  margin: 0;
  font-size: 14px;
  line-height: 23px;
  font-weight: 300;
  color: var(--color-light);
  max-width: 447px;
}

@media (min-width: 768px) {
  .hero__lead {
    max-width: 554px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 300;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .site-header__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brand__logo-full {
    width: 200px;
    height: auto;
  }

  .site-nav__list {
    gap: 12px;
  }

  .site-nav__link {
    font-size: 12px;
  }
}

.hero__shape {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

@media (max-width: 767px) {
  .hero__shape--mobile {
    height: 100px;
    object-fit: fill;
  }
}

@media (min-width: 768px) {
  .hero__shape--mobile {
    display: none;
  }
}

/* ——— Section headings ——— */
.section-heading {
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .section-heading {
    margin-bottom: 48px;
  }
}

.section-heading__label {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 24px;
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .section-heading__label {
    font-size: 20px;
    line-height: normal;
  }
}

.section-heading__label--athletes {
  display: block;
}

.section-heading__label--players {
  display: none;
}

@media (min-width: 768px) {
  .section-heading__label--athletes {
    display: none;
  }

  .section-heading__label--players {
    display: block;
  }
}

.section-heading__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 42px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .section-heading__title {
    font-size: 40px;
    line-height: 40px;
  }
}

/* ——— Programs ——— */
.programs {
  min-height: 0;
}

@media (min-width: 768px) {
  .programs {
    min-height: 1262px;
  }
}

.programs__layout {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
}

.programs__content {
  padding: 48px 24px;
}

@media (min-width: 768px) {
  .programs__content {
    padding: 119px 40px 80px 120px;
    max-width: 640px;
  }

  .programs__photo {
    object-position: 40% center;
  }

  .programs__fade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
}

/* Keep the full programs fade on the photo while the viewport is below the 1280 layout.
   cover + right alignment crops the dark side off this tall image between ~754px and 1280px. */
@media (min-width: 768px) and (max-width: 1279px) {
  .programs__media .programs__fade {
    object-fit: fill;
  }
}

.program {
  margin-bottom: 36px;
}

.program__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 33px;
  color: var(--color-white);
}

.program__title-accent {
  color: var(--color-primary);
}

.program__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 23px;
  color: var(--color-light);
}

@media (min-width: 768px) {
  .program {
    padding-left: 40px;
  }

  .program__text {
    font-size: 12px;
    line-height: 20px;
    font-weight: 300;
  }
}

.program__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.program-divider {
  border: none;
  height: 1px;
  background: var(--color-dark-muted);
  margin: 0 0 36px;
}

@media (min-width: 768px) {
  .program-divider {
    display: none;
  }

  .program + .program {
    margin-top: 48px;
  }
}

.programs__media {
  display: none;
}

@media (min-width: 768px) {
  .programs__media {
    display: block;
  }

  .programs__media.edge-media--right {
    width: clamp(500px, 52vw, 860px);
  }

  .programs__media .programs__fade,
  .team-tours__media .team-tours__fade,
  .contact__media .contact__fade {
    position: absolute;
    inset: 0;
  }
}

.programs__mobile-photo {
  position: relative;
  z-index: 1;
  height: 220px;
  overflow: hidden;
}

.programs__mobile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.programs__mobile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (min-width: 768px) {
  .programs__mobile-photo {
    display: none;
  }
}

/* ——— Player posters ——— */
.posters {
  padding: 24px 0 8px;
}

.posters__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.poster {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 767px) {
  .poster--kowalik {
    order: 1;
  }

  .poster--lukell {
    order: 2;
  }

  .poster--zeait {
    order: 3;
  }

  .poster--lezcano {
    order: 4;
  }

  .poster--weshgelaer {
    order: 5;
  }

  .poster--emma {
    order: 6;
  }

  .poster--witkowski {
    order: 7;
  }
}

@media (min-width: 768px) {
  .posters {
    padding: 48px 98px 80px;
  }

  .posters__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
  }

  .poster {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: center;
  }
}

/* ——— Team tours ——— */
.team-tours {
  position: relative;
}

@media (min-width: 768px) {
  .team-tours {
    min-height: 1100px;
  }

  .team-tours__media.edge-media--left {
    width: clamp(460px, 47vw, 610px);
  }

  .team-tours__photo {
    object-position: 22% center;
  }
}

.team-tours__layout {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
}

.team-tours__media {
  display: none;
}

@media (min-width: 768px) {
  .team-tours__media {
    display: block;
  }

  .team-tours__media .team-tours__fade {
    display: none;
  }

  /* Solid stop stays on this photo's right edge at every width. */
  .team-tours__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to right,
      rgba(10, 10, 11, 0.3) 0%,
      rgba(10, 10, 11, 0.8) 67.7%,
      rgb(10, 10, 11) 93.09%,
      rgb(10, 10, 11) 100%
    );
    pointer-events: none;
  }
}

.team-tours__content {
  padding: 48px 24px;
}

.team-tours__block + .team-tours__block {
  margin-top: 48px;
  padding-top: 48px;
}

@media (min-width: 768px) {
  .team-tours__content {
    padding: 104px 80px 80px 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: 0;
  }

  .team-tours__block + .team-tours__block {
    margin-top: 64px;
    padding-top: 64px;
  }
}

.team-tours__subtitle {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--color-white);
}

.team-tours__text {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 23px;
  color: var(--color-light);
}

@media (min-width: 768px) {
  .team-tours__subtitle,
  .team-tours__block > .btn {
    margin-left: 40px;
  }

  .team-tours__text {
    font-size: 12px;
    line-height: 20px;
    font-weight: 300;
    max-width: 520px;
    margin-left: 40px;
  }
}

.team-tours__mobile-photo {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.team-tours__mobile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.team-tours__mobile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .team-tours__mobile-photo {
    display: none;
  }
}

.gallery-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  padding: 24px 0 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.gallery-strip__item {
  position: relative;
  flex: 1;
  height: 190px;
  overflow: hidden;
}

.gallery-strip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.gallery-strip__item--coach::after {
  display: none;
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .gallery-strip {
    display: none;
  }
}

/* ——— Desktop gallery ——— */
.gallery {
  display: block;
  position: relative;
}

@media (max-width: 767px) {
  .gallery__overlay,
  .gallery__grid {
    display: none;
  }

  .gallery .gallery-strip {
    width: 100%;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .gallery {
    display: block;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 500px;
    overflow: hidden;
  }

  .gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0.77);
    z-index: 2;
    pointer-events: none;
  }

  .gallery__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.42fr 1.06fr;
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    z-index: 1;
  }

  .gallery__cell {
    overflow: hidden;
    height: 500px;
    min-height: 0;
    max-height: 500px;
  }

  .gallery__cell img {
    width: 100%;
    height: 500px;
    max-height: 500px;
    object-fit: cover;
  }

  .gallery__cell--left img {
    object-position: center;
  }

  .gallery__cell--center {
    z-index: 3;
  }

  .gallery__cell--center img {
    object-position: center top;
  }

  .gallery__cell--right img {
    object-position: center;
  }
}

/* ——— Events ——— */
.events__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 24px 48px;
}

.events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

.event-card {
  background: var(--color-dark-muted);
  border-radius: 4px;
  padding: 16px;
  min-height: 144px;
}

.event-card__date {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-primary);
}

.event-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
}

.event-card__meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 20px;
  font-weight: 300;
  color: #ffffff;
}

.events__prompt {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
}

.events__note {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 20px;
  font-weight: 300;
  color: #ffffff;
  text-align: center;
}

.events__social {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.events__social:hover,
.events__social:focus-visible,
.events__social:visited {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .events__inner {
    padding: 66px 0 72px;
  }

  .events .section-heading {
    margin-bottom: 40px;
    padding-left: 122px;
  }

  .events__grid {
    width: 850px;
    margin: 0 auto;
    grid-template-columns: 420px 420px;
    gap: 9px 10px;
  }

  .event-card {
    display: grid;
    grid-template-columns: 97px minmax(0, 1fr);
    grid-template-areas:
      "date title"
      "date meta";
    column-gap: 0;
    row-gap: 2px;
    align-content: start;
    height: 62px;
    min-height: 62px;
    padding: 10px 20px;
  }

  .event-card__date {
    grid-area: date;
    margin: 0;
    align-self: start;
    font-size: 14px;
    line-height: 20px;
  }

  .event-card__title {
    grid-area: title;
    margin: 0;
    align-self: start;
    font-size: 14px;
    line-height: 20px;
  }

  .event-card__meta {
    grid-area: meta;
    align-self: start;
    margin: 0;
    font-size: 12px;
    line-height: 20px;
  }

  .events__note {
    width: 850px;
    margin: 32px auto 0;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .events__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .events .section-heading {
    padding-left: 0;
  }

  .events__grid,
  .events__note {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Reviews ——— */
.quotes {
  position: relative;
  z-index: 4;
  padding: 32px 24px 40px;
}

.quotes__inner {
  margin: 0 auto;
}

.quotes__grid {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 290px;
  height: 200px;
  max-height: 200px;
  padding: 16px 20px 16px 16px;
  overflow: hidden;
  background: rgba(245, 246, 247, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 4px;
}

.quote-card__mark {
  flex: 0 0 20px;
  margin: 0;
  padding: 0;
  height: 20px;
  max-height: 20px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 60px;
  color: #0a0a0b;
}

.quote-card__mark span {
  display: block;
  margin-top: 0;
}

.quote-card__text {
  margin: 0;
  padding-top: 4px;
  padding-left: 34px;
}

.quote-card__text p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  color: #0a0a0b;
}

.quote-card__name {
  margin: 8px 0 0;
  padding-left: 34px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #0a0a0b;
}

.quotes__button {
  display: inline-flex;
  height: 38px;
  min-height: 38px;
  margin-top: 28px;
  padding: 0 16px;
  font-size: 10px;
}

@media (min-width: 1100px) {
  .quotes {
    position: absolute;
    top: 156px;
    left: 50%;
    width: 934px;
    margin-left: -467px;
    padding: 0;
  }

  .quotes__inner {
    text-align: center;
  }

  .quotes__grid {
    grid-template-columns: 290px 290px 290px;
    justify-content: center;
    gap: 32px;
    text-align: left;
  }

  .quotes__button {
    margin-top: 37px;
  }
}

/* ——— About ——— */
.about__layout {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
}

.about__content {
  padding: 48px 24px 32px;
}

.about__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 33px;
  color: var(--color-white);
}

.about__role {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 24px;
  color: var(--color-primary);
}

.about__text {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 23px;
  font-weight: 300;
  color: var(--color-light);
}

.about__text:last-child {
  margin-bottom: 0;
}

.about__media {
  display: none;
}

.about__mobile-photo {
  position: relative;
  z-index: 1;
  height: 151px;
  overflow: hidden;
}

.about__mobile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (min-width: 768px) {
  .about {
    min-height: 931px;
  }

  .about__content {
    padding: 119px 40px 80px 120px;
    max-width: 780px;
  }

  .about__body {
    padding-left: 40px;
  }

  .about__role {
    font-size: 20px;
    line-height: normal;
  }

  .about__text {
    font-size: 12px;
    line-height: 20px;
    max-width: 605px;
  }

  .about__media {
    display: block;
  }

  .about__media.edge-media--right {
    width: clamp(420px, 44vw, 565px);
  }

  .about__photo {
    object-position: 60% 18%;
  }

  .about__fade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  .about__mobile-photo {
    display: none;
  }
}

/* ——— Contact ——— */
.contact {
  position: relative;
}

@media (min-width: 768px) {
  .contact {
    min-height: 415px;
  }
}

.contact__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .contact__layout {
    padding-left: 120px;
  }
}

.contact__content {
  padding: 48px 0;
}

.contact__columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-left: 0;
}

@media (min-width: 768px) {
  .contact__columns {
    padding-left: 40px;
  }
}

.contact__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .contact__content {
    flex: 1;
    padding: 40px 0 48px;
    max-width: 520px;
  }

  .contact__columns {
    gap: 28px;
  }

  .contact__label {
    margin-bottom: 8px;
  }
}

.contact__title {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 42px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .contact__title {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 40px;
  }
}

.contact__label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-white);
  font-weight: 400;
}

.contact__email {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-position: from-font;
  transition: color var(--transition);
}

.contact__email:hover,
.contact__email:focus-visible {
  color: var(--color-primary);
}

.contact__address {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-white);
  max-width: 214px;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: flex;
  transition: opacity var(--transition);
}

.social-list a:hover,
.social-list a:focus-visible {
  opacity: 0.75;
}

.social-list a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.social-list img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact__media {
  display: none;
}

@media (min-width: 768px) {
  .contact__media {
    display: block;
  }

  .contact__media.edge-media--right {
    width: clamp(340px, 36vw, 420px);
  }

  .contact__photo {
    object-position: 100% 0%;
  }

  .contact__fade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
}

.contact__mobile-photo {
  position: relative;
  z-index: 1;
  height: 180px;
  overflow: hidden;
}

.contact__mobile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.contact__mobile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

@media (min-width: 768px) {
  .contact__mobile-photo {
    display: none;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--color-dark);
  width: 100%;
}

.site-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.site-footer__accent {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 8px;
  background: var(--color-primary);
}

@media (min-width: 768px) {
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 40px;
    padding: 49px 80px 32px;
    text-align: left;
  }
}

.site-footer__heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
  font-weight: 400;
}

@media (min-width: 768px) {
  .site-footer__heading {
    font-size: 14px;
    line-height: normal;
  }
}

.site-footer__email {
  font-size: 12px;
  color: var(--color-light);
  text-decoration: underline;
  transition: color var(--transition);
}

@media (min-width: 768px) {
  .site-footer__email {
    font-size: 10px;
  }
}

.site-footer__email:hover,
.site-footer__email:focus-visible {
  color: var(--color-primary);
}

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

.site-footer__menu a {
  display: inline-block;
  font-size: 13px;
  line-height: 22px;
  text-decoration: none;
  color: var(--color-light);
  transition: color var(--transition);
}

@media (min-width: 768px) {
  .site-footer__menu a {
    font-size: 10px;
    line-height: normal;
  }
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  color: var(--color-primary);
}

.site-footer__copy {
  margin: 32px 0 0;
  font-size: 10px;
  text-align: center;
  color: var(--color-white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .site-footer__copy {
    grid-column: 1 / -1;
    margin-top: 48px;
  }
}

@media (min-width: 768px) {
  .site-footer__accent {
    height: 15px;
  }
}

.site-footer__col--socials,
.site-footer__col--contact,
.site-footer__col--menu {
  display: none;
}

@media (min-width: 768px) {
  .site-footer__col--socials,
  .site-footer__col--contact,
  .site-footer__col--menu {
    display: block;
  }

  .site-footer__mobile-contact,
  .site-footer__mobile-nav {
    display: none;
  }
}

.site-footer__mobile-contact {
  margin-bottom: 32px;
}

.site-footer__mobile-nav {
  display: flex;
  gap: 40px;
  margin-bottom: 8px;
}

.social-list--footer {
  gap: 20px;
}
