:root {
  --page-gutter: clamp(16px, 4vw, 40px);
  --content-max: 1440px;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
}

.ol-cookie {
  position: fixed;
  left: 50%;
  bottom: 0.9rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: calc(100% - 1.5rem);
  max-width: 520px;
  box-sizing: border-box;
  padding: 0.7rem 0.8rem 0.7rem 0.95rem;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(28, 28, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.ol-cookie[hidden] {
  display: none;
}

.ol-cookie__copy {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.ol-cookie__copy strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.ol-cookie__button {
  flex: 0 0 auto;
  min-width: 3.1rem;
  padding: 0.48rem 0.7rem;
  border: 0;
  background: #e4542d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.container {
  width: min(100% - (var(--page-gutter) * 2), var(--content-max));
  margin-inline: auto;
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
  padding-top: clamp(0.7rem, 1.4vw, 1.15rem);
  padding-bottom: 0;
}

.header__content {
  align-items: center;
}

.header .container {
  width: min(100% - (var(--page-gutter) * 2), var(--content-max));
}

@media (min-width: 769px) {
  .header__content {
    padding-inline: clamp(2rem, 5vw, 4rem);
  }
}

.intro {
  margin-bottom: 0.25rem;
}

.intro-content {
  min-height: clamp(26rem, 54vh, 34rem);
  overflow: hidden;
  background: #151515;
}

.intro-content__img,
.intro-content__img-desktop,
.intro-content__img-mobile,
.intro-content__img picture,
.intro-slides,
.intro-slide {
  height: 100%;
}

.intro-slide,
.intro-slide.is-active {
  position: absolute;
  inset: 0;
}

.intro-content__img::before {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.36) 0%, rgba(34, 34, 34, 0.06) 34%),
    linear-gradient(0deg, rgba(25, 25, 25, 0.9) 0%, rgba(25, 25, 25, 0.52) 33%, rgba(25, 25, 25, 0.08) 68%);
}

.intro-slide img,
.intro-content__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-content__info {
  min-height: clamp(26rem, 54vh, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(4.65rem, 7vw, 6.5rem) clamp(2rem, 5vw, 4rem) clamp(0.8rem, 1.4vw, 1.35rem);
}

.intro-content__title {
  max-width: min(31rem, 58vw);
  font-size: clamp(2.1rem, 3.15vw, 3.15rem);
  line-height: 0.95;
  margin-bottom: 0.65rem;
  overflow-wrap: anywhere;
}

.intro-content__txt,
.infoSection__info-txt,
.infoSection-item__txt {
  overflow-wrap: anywhere;
}

.intro-content__txt {
  max-width: 30rem;
  margin-top: auto;
  font-size: clamp(0.95rem, 1.08vw, 1.08rem);
  line-height: 1.32;
}

@media (min-width: 769px) and (max-width: 900px) {
  .intro-content__info {
    padding-inline: clamp(4.35rem, 10.2vw, 5.35rem) clamp(2rem, 5vw, 4rem);
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .header__menu {
    display: none;
  }

  .header__m-menu {
    display: block;
  }

  .mobileMenu {
    top: 5.375rem;
  }
}

.infoSection__title {
  overflow-wrap: anywhere;
}

.infoSection__info-btn {
  max-width: 100%;
  min-height: 3.25rem;
  height: auto;
  padding: 0.75rem 1rem;
  text-align: center;
}

.menu__link,
.footer__email {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.footer {
  padding: 0.35rem 0;
  background: transparent;
}

.footer__content {
  padding: clamp(1.5rem, 3vw, 3.75rem) clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.06);
}

.ol-section {
  padding-block: 0.35rem;
  scroll-margin-top: 4rem;
}

.ol-section:first-child {
  padding-top: 0.35rem;
}

.ol-section.infoSection-bg {
  background: transparent;
}

.ol-section > .container > .infoSection__head,
.ol-section > .container > .infoSection__content-wrap {
  display: none;
}

.ol-contentbox {
  --ol-card-pad-x: clamp(1rem, 3vw, 2.5rem);
  --ol-card-pad-y: clamp(0.7rem, 1.4vw, 1.35rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  grid-template-areas: "text media";
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
  padding: var(--ol-card-pad-y) var(--ol-card-pad-x);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.infoSection-even .ol-contentbox {
  grid-template-columns: minmax(20rem, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: "media text";
}

.infoSection-bg .ol-contentbox {
  background: rgb(52, 52, 52);
}

.ol-contentbox::before {
  content: "";
  position: absolute;
  top: calc(var(--ol-card-pad-y) - 0.6rem);
  left: var(--ol-card-pad-x);
  width: clamp(4.5rem, 12vw, 8rem);
  height: 0.35rem;
  background: var(--primary);
}

.ol-textcontent {
  grid-area: text;
  min-width: 0;
}

.ol-textcontent .infoSection__title {
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

.ol-copy-card {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.infoSection-bg .ol-copy-card {
  margin-left: 0;
}

.ol-copy-card__title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  line-height: 1.05;
  font-weight: 700;
}

.ol-copy-card__text {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.ol-copy-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--second-ff);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}

.ol-copy-card__button:hover {
  background: var(--primary-hover);
}

.ol-copy-card__button-icon {
  font-family: Arial, sans-serif;
  font-size: 0.9em;
}

.ol-mobile-action {
  display: none;
  grid-area: action;
}

.ol-mediacontent {
  grid-area: media;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.2rem);
  align-content: start;
}

.ol-media-card {
  min-width: 0;
}

.ol-media-card:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 769px) {
  .ol-contentbox {
    grid-template-rows: auto auto;
    grid-template-areas:
      "section-title ."
      "copy media";
    row-gap: clamp(1rem, 2vw, 1.75rem);
    column-gap: clamp(1rem, 2.5vw, 2.5rem);
  }

  .infoSection-even .ol-contentbox {
    grid-template-areas:
      ". section-title"
      "media copy";
  }

  .infoSection-even .ol-contentbox::before {
    left: auto;
    right: var(--ol-card-pad-x);
  }

  .ol-textcontent {
    display: contents;
  }

  .ol-textcontent .infoSection__title {
    grid-area: section-title;
    margin-bottom: 0;
  }

  .infoSection-even .ol-textcontent .infoSection__title {
    text-align: right;
  }

  .ol-copy-card {
    grid-area: copy;
  }

  .infoSection-even .ol-copy-card__button {
    align-self: flex-end;
  }

  .ol-mediacontent {
    grid-area: media;
  }
}

.ol-media-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.ol-media-card__frame iframe,
.ol-media-card__frame > img,
.ol-media-card__frame .video-poster,
.ol-media-card__frame .video-poster img,
.ol-media-card__frame .card-slides,
.ol-media-card__frame .card-slide,
.ol-media-card__frame .card-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ol-media-card__frame iframe,
.ol-media-card__frame > img,
.ol-media-card__frame .video-poster img,
.ol-media-card__frame .card-slide img {
  object-fit: cover;
}

.ol-media-card__frame > img[src$="nutrition-bike-hydration.jpg"] {
  object-position: 50% 100%;
  transform: scale(1.34);
  transform-origin: 50% 100%;
}

.ol-media-card__frame > img[src$="nutrition-lava-salts.jpg"] {
  object-position: 50% 20%;
  transform: scale(1.08);
  transform-origin: 50% 20%;
}

#history .ol-media-card__frame > img[src$="history-kenneth-microphones.jpg"] {
  object-position: 50% 0%;
}

.ol-media-card__caption {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ol-media-card__caption a {
  color: var(--primary);
}

@media (max-width: 768px) {
  .header {
    padding-top: 0.75rem;
    padding-bottom: 0;
  }

  .header .container {
    width: min(100% - (var(--page-gutter) * 2), var(--content-max));
    padding-inline: var(--page-gutter);
  }

  .header__content {
    align-items: center;
    gap: 0.75rem;
  }

  .header__menu {
    display: none;
  }

  .header__m-menu {
    display: block;
  }

  .intro {
    margin-bottom: 0.25rem;
  }

  .intro-content {
    min-height: min(53svh, 25.5rem);
  }

  .intro-content__info {
    min-height: min(53svh, 25.5rem);
    justify-content: flex-start;
    padding: 4.4rem var(--page-gutter) 1.65rem;
  }

  .intro-content__title {
    max-width: 15.5rem;
    font-size: clamp(1.85rem, 8.6vw, 2.55rem);
    line-height: 0.98;
    margin-bottom: 0;
  }

  .intro-content__txt {
    margin-top: auto;
    max-width: 17rem;
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    line-height: 1.35;
  }

  .infoSection__head {
    gap: 0.75rem;
  }

  .infoSection__head-line {
    flex: 1;
  }

  .infoSection-slider .swiper-wrapper {
    align-items: flex-start;
  }

  .infoSection-slider__slide,
  .infoSection-slider__text {
    width: min(82vw, 32.125rem);
    height: auto;
  }

  .infoSection-slider[style*="--ol-mobile-slide-height"] .infoSection-slider__slide {
    height: var(--ol-mobile-slide-height);
  }

  .infoSection-slider[style*="--ol-mobile-slide-height"] .infoSection-slider__text {
    max-height: var(--ol-mobile-slide-height);
  }

  .infoSection-slider__text .infoSection__info {
    min-height: 0;
    overflow: hidden;
  }

  .infoSection-slider__text .infoSection__info-title,
  .infoSection-slider__text .infoSection__info-btn {
    flex: 0 0 auto;
  }

  .infoSection-slider__text .infoSection__info-btn {
    margin-top: 0;
  }

  .infoSection-slider__text .infoSection__info-txt__mobile {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
  }

  .infoSection-item__img iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  .infoSection__info-title {
    font-size: clamp(1.25rem, 6vw, 2rem);
    line-height: 1.2;
  }

  .infoSection__info-txt {
    font-size: clamp(0.875rem, 3.8vw, 1rem);
    line-height: 1.45;
  }

  .ol-section {
    padding-block: 0.5rem;
    scroll-margin-top: 3.5rem;
  }

  .ol-section:first-child {
    padding-top: 0.5rem;
  }

  .ol-section > .container {
    padding-inline: 0;
  }

  .footer > .container {
    padding-inline: 0;
  }

  .ol-contentbox,
  .infoSection-even .ol-contentbox {
    --ol-card-pad-x: 0.95rem;
    --ol-card-pad-y: 0.9rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "text"
      "media"
      "action";
    gap: 0.9rem;
  }

  .ol-contentbox::before {
    top: calc(var(--ol-card-pad-y) - 0.5rem);
    left: var(--ol-card-pad-x);
    width: 4rem;
    height: 0.25rem;
  }

  .infoSection-even .ol-contentbox::before {
    left: auto;
    right: var(--ol-card-pad-x);
  }

  .ol-textcontent .infoSection__title {
    font-size: clamp(2rem, 12vw, 3.1rem);
    line-height: 0.95;
    margin-bottom: 0.9rem;
  }

  .infoSection-even .ol-textcontent .infoSection__title {
    text-align: right;
  }

  .ol-textcontent,
  .ol-mobile-action {
    width: 100%;
  }

  .ol-copy-card {
    gap: 0.75rem;
    width: 100%;
    max-width: none;
  }

  .ol-copy-card__title {
    font-size: clamp(1.35rem, 6.5vw, 1.9rem);
    line-height: 1.08;
  }

  .ol-copy-card__text {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.45;
    max-height: calc(1.45em * 5.5);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .ol-copy-card__text::-webkit-scrollbar {
    display: none;
  }

  .ol-copy-card__button {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-width: min(12rem, 100%);
    min-height: 3.35rem;
    font-size: 1.55rem;
  }

  .ol-textcontent .ol-copy-card__button {
    display: none;
  }

  .ol-mobile-action {
    display: flex;
    justify-content: flex-start;
  }

  .infoSection-even .ol-mobile-action {
    justify-content: flex-end;
  }

  .ol-mediacontent {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0 0 0.35rem;
    scrollbar-width: none;
  }

  .ol-mediacontent::-webkit-scrollbar {
    display: none;
  }

  .ol-media-card,
  .ol-media-card:first-child {
    flex: 0 0 min(82vw, 24rem);
    scroll-snap-align: start;
  }

  .ol-media-card__caption {
    font-size: 0.92rem;
  }
}

/* Keep action buttons only slightly larger than their label. */
.ol-copy-card__button,
.infoSection__info-btn {
  box-sizing: border-box;
  width: fit-content;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0.25rem 0.5rem;
  gap: 0.35rem;
  line-height: 1;
}

@media (max-width: 420px) {
  .ol-cookie {
    bottom: 0.65rem;
    align-items: flex-start;
    gap: 0.65rem;
    width: calc(100% - 1rem);
    padding: 0.62rem 0.65rem 0.62rem 0.75rem;
  }

  .ol-cookie__copy {
    font-size: 0.72rem;
  }

  .header .container {
    padding-inline: var(--page-gutter);
  }

  .logo {
    width: clamp(5.5rem, 28vw, 7rem);
  }

  .menu {
    font-size: 0.875rem;
  }
}
