@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fira-sans-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/fira-sans-bold.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/roboto-regular.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --accent: #7ce719;
  --cta: #f90000;
}

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

html {
  min-width: 320px;
  background: #000000;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #000000;
  color: #ffffff;
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

img,
video,
picture {
  display: block;
}

img,
video {
  max-width: 100%;
}

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

.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;
}

.visual-shell {
  width: calc(83.333333vw - 3px);
  margin: 0 auto;
}

.media-link {
  display: block;
}

.media-link:focus-visible,
.legal-links a:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.site-header,
.site-header picture,
.header-image {
  width: 100%;
}

.header-image {
  height: auto;
}

.desktop-gallery {
  display: block;
}

.mobile-gallery {
  display: none;
}

.gallery-row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.square-row {
  aspect-ratio: 4 / 1;
}

.portrait-row {
  aspect-ratio: 2 / 1;
}

.media-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000000;
}

.media-tile img,
.portrait-row .media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-tile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-tile video {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.media-tile img,
.media-tile video,
.mobile-wide video {
  transition: filter 160ms ease;
}

.mobile-wide {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #000000;
}

.mobile-wide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-row {
  display: grid;
  width: 100%;
  aspect-ratio: 2 / 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-banner-link,
.footer-banner-link picture,
.footer-banner {
  width: 100%;
}

.footer-banner {
  height: auto;
  object-fit: contain;
}

.site-footer {
  width: 100%;
  min-height: 428px;
  background: #000000;
  color: #ffffff;
}

.legal-footer {
  min-height: 428px;
  padding: 30px 20px 54px;
  text-align: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 34px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.legal-copy {
  max-width: 1000px;
  margin: 0 auto;
  color: #bdbdbd;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.25;
}

.legal-copy p {
  margin: 5px auto;
}

.managed-copy {
  color: #ffffff;
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.rta-link {
  display: block;
  width: 72px;
  margin: 28px auto 0;
}

.rta-logo {
  width: 72px;
  height: 36px;
  object-fit: contain;
}

@media (hover: hover) {
  .media-link:hover img,
  .media-link:hover video {
    filter: brightness(0.84);
  }

  .legal-links a:hover {
    color: var(--accent);
  }
}

@media (min-width: 768px) {
  .desktop-gallery .video-tile video {
    height: 100%;
    object-position: center;
    transform: scale(1.08);
    transform-origin: center;
  }
}

@media (max-width: 767px) {
  .visual-shell {
    width: 100%;
  }

  .desktop-gallery {
    display: none;
  }

  .mobile-gallery {
    display: block;
  }

  .site-footer,
  .legal-footer {
    min-height: 616px;
  }

  .legal-footer {
    padding: 30px 20px 72px;
  }

  .legal-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 34px;
  }

  .legal-links a {
    min-height: 34px;
    padding: 7px 3px;
    font-size: 13px;
  }

  .legal-links a:last-child {
    grid-column: 1 / -1;
  }

  .legal-copy {
    max-width: 500px;
    font-size: 11px;
    line-height: 1.28;
  }

  .rta-link {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-tile img,
  .media-tile video,
  .mobile-wide video {
    transition: none;
  }
}
