:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-shell--home {
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(180deg, #eef9ff 0%, #b5e4f8 100%);
}

.site-content--home {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.home-landing {
  display: grid;
  gap: 18px;
}

.home-landing__logo {
  display: flex;
  justify-content: center;
  margin: 0 auto 14px;
  width: min(100%, 260px);
}

.home-landing__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-card,
.home-banner {
  position: relative;
  display: block;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease,
    box-shadow 260ms ease;
}

.home-card:hover,
.home-card:focus-visible,
.home-banner:hover,
.home-banner:focus-visible {
  transform: translateY(-8px) scale(1.018);
  filter: brightness(1.05) saturate(1.08);
}

.home-card img,
.home-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.home-banner--stories {
  margin-top: 2px;
}

.home-banner--clubs {
  width: 100%;
}

.home-card:focus-visible,
.home-banner:focus-visible {
  outline: none;
}

.will-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

body.is-ready .will-fade-up {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-content--home {
    width: min(100%, calc(100% - 18px));
    padding-top: 18px;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-landing {
    gap: 14px;
  }

  .home-landing__logo {
    width: min(72vw, 240px);
    margin-bottom: 8px;
  }

  .home-card:hover,
  .home-card:focus-visible,
  .home-banner:hover,
  .home-banner:focus-visible {
    transform: translateY(-4px) scale(1.01);
  }
}
