:root {
  --blue: #0962AD;
  --blue-dark: #0C233F;
  --white: #ffffff;
  --black: #0C233F;
  --asphalt: #0C233F;
  --muted: #f4f8fb;
  --line: rgba(12, 35, 63, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  --max: 1180px;
  --reveal: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--asphalt);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "social nav cta";
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 28px clamp(20px, 5vw, 64px) 0;
  color: var(--white);
}

.social-links {
  display: flex;
  grid-area: social;
  gap: 14px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background 160ms ease, transform 160ms ease;
}

.social-links a:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.social-links__image img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.brand {
  display: grid;
  grid-area: brand;
  place-items: center;
  width: clamp(190px, 23vw, 310px);
  min-height: 128px;
  padding: 16px 26px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand img {
  width: clamp(145px, 18vw, 240px);
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  grid-area: nav;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 18px;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 16px 22px;
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  background: var(--blue);
  border: 0;
  border-radius: 10px;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover,
.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.header-cta {
  grid-area: cta;
  justify-self: end;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(12, 35, 63, 0.82), rgba(12, 35, 63, 0.36) 48%, rgba(9, 98, 173, 0.42)),
    url("assets/peloton-front.png") center / cover;
}

.hero::after {
  position: absolute;
  right: -5vw;
  bottom: -76px;
  left: -5vw;
  height: 178px;
  content: "";
  background: var(--muted);
  border-top: 8px solid var(--blue);
  clip-path: polygon(0 34%, 43% 66%, 72% 30%, 100% 50%, 100% 100%, 0 100%);
}

.hero__visual {
  position: absolute;
  inset: 0;
  opacity: 0.75;
}

.route-line {
  position: absolute;
  right: -12%;
  bottom: 28%;
  width: 80%;
  height: 7px;
  background: var(--white);
  border-radius: 999px;
  transform: rotate(-8deg);
  opacity: 0.52;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 40px));
  margin: auto;
  padding: 190px 0 150px;
  text-align: center;
}

.hero-logo {
  width: min(620px, 88vw);
  max-height: 390px;
  margin: 0 auto 28px;
  object-fit: contain;
  transform: translateY(40px);
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.36));
}

.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 6vw, 4.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero__title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 20px 0 15px;
  line-height: 1;
  white-space: nowrap;
}

.hero__subtitle {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-self: center;
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.hero__strapline {
  position: absolute;
  right: 0;
  bottom: 44px;
  left: 0;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.8rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 11vw, 136px) 20px;
}

.section__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section--angled {
  position: relative;
  background: var(--muted);
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.intro__copy {
  font-size: 19px;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.values span {
  padding: 10px 14px;
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  background: var(--white);
  border-left: 5px solid var(--blue);
}

.values_3 {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 30px;
}
.values_3 > * {
  flex: 1 1 calc(33.33% - 12px);
}

.values_3 span {
  padding: 10px 14px;
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  background: var(--white);
  border-left: 5px solid var(--blue);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(40px, 7vw, 78px);
}

.section-heading p {
  max-width: 700px;
  font-size: 19px;
}

.ride-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
}

.ride-card {
  min-height: 150px;
  padding: clamp(28px, 4vw, 46px);
  border-top: 6px solid var(--blue);
  border-bottom: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.ride-card:hover {
  border-top-color: var(--blue-dark);
  transform: translateY(-2px);
}

.ride-card__label {
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.ride-note {
  margin-top: 0px;
  padding: 0px 0 0;
  font-size: 19px;
  border-top: none;
}

.photo-band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  min-height: 610px;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 64px);
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.photo-band::before,
.photo-band::after {
  position: absolute;
  right: -5vw;
  left: -5vw;
  height: 120px;
  content: "";
  pointer-events: none;
}

.photo-band::before {
  top: -52px;
  background: var(--white);
  border-bottom: 7px solid var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 54%, 50% 78%, 0 42%);
}

.photo-band::after {
  bottom: -62px;
  background: var(--white);
  border-top: 7px solid var(--blue);
  clip-path: polygon(0 38%, 48% 70%, 100% 28%, 100% 100%, 0 100%);
}

.photo-band__panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 35, 63, 0.02), rgba(12, 35, 63, 0.62)),
    url("assets/lokale-ritten.png") center / cover;
}

.photo-band__panel--center {
  background:
    linear-gradient(180deg, rgba(12, 35, 63, 0.04), rgba(12, 35, 63, 0.58)),
    url("assets/groepsgevoel.png") center / cover;
}

.photo-band__panel--right {
  background:
    linear-gradient(180deg, rgba(12, 35, 63, 0.04), rgba(12, 35, 63, 0.58)),
    url("assets/ardennen-heuvelland-eiffel.png") center / cover;
}

.photo-band__panel span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
}

.photo-band__title {
  position: absolute;
  top: 50%;
  right: 6%;
  left: auto;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: 0;
  color: var(--white);
  text-align: right;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.62);
  transform: translate(-50%, -50%);
}

.grupetti {
  background: var(--muted);
}

.grupetti-grid {
  display: flex; 
  justify-content: left; 
  margin-bottom: 0px; 
}

.grupetti-card {
  border-bottom: none;
}

.grupetti-card img {
  width: 300px;
  height: 100px;
  object-fit: contain;
}

.sponsors {
  background: var(--muted);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sponsor-card {
  display: grid;
  min-height: 170px;
  padding: 26px;
  place-items: center;
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid rgba(9, 98, 173, 0.16);
  border-bottom: 5px solid var(--blue);
  border-radius: 4px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.sponsor-card img {
  width: 354px;
  height: 123px;
  object-fit: contain;
}

.sponsor-fallback {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.15;
}

.sponsor-card:hover {
  border-bottom-color: var(--blue-dark);
  transform: translateY(-2px);
}

.contact {
  position: relative;
  padding: clamp(88px, 12vw, 150px) 20px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(12, 35, 63, 0.96), rgba(12, 35, 63, 0.84)),
    linear-gradient(90deg, var(--black), var(--blue-dark));
}

.contact::before {
  position: absolute;
  top: 0;
  right: -4vw;
  left: -4vw;
  height: 110px;
  content: "";
  background: var(--white);
  border-bottom: 7px solid var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 46%, 58% 70%, 0 42%);
}

.contact__inner {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact__inner p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  font-size: 19px;
}

.contact__motto {
  margin-top: 34px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer img {
  width: 132px;
  max-height: 92px;
  object-fit: contain;
  border-radius: 8px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms var(--reveal), transform 420ms var(--reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "social . toggle";
    padding: 16px 18px 0;
  }

  .header-cta {
    display: none;
  }
  
  .hero__title {
    font-size: 2.8rem;
  }
  .social-links {
    justify-content: flex-start;
  }

  .nav-toggle {
    z-index: 22;
    display: inline-grid;
    grid-area: toggle;
    justify-self: end;
    gap: 5px;
    width: 50px;
    height: 50px;
    place-content: center;
    color: var(--white);
    background: var(--blue);
    border: 0;
    border-radius: 10px;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: grid;
    gap: 24px;
    align-content: center;
    justify-items: center;
    font-size: 28px;
    color: var(--white);
    pointer-events: none;
    background: rgba(12, 35, 63, 0.96);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .intro__grid,
  .ride-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band__panel {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand {
    width: 118px;
    min-height: 82px;
    padding: 9px 12px;
    border-radius: 14px;
  }

  .brand img {
    width: 94px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero__content {
    padding-top: 186px;
  }

  .hero-logo {
    width: min(330px, 88vw);
    max-height: 230px;
    margin-bottom: 40px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }  
  .hero__title {
    font-size: 2rem;
    white-space: normal;
  }

  .btn {
    width: 100%;
  }

  .hero__strapline {
    bottom: 76px;
    width: min(350px, calc(100% - 28px));
    margin-right: auto;
    margin-left: auto;
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .photo-band__title {
    font-size: 2rem;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-footer img {
    width: 150px;
    max-height: 96px;
  }

  .site-footer nav {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
