@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
}

:root {
  color: #ffffff;
  background: #000000;
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  --sale-height: 65px;
  --accent: #00aaff;
  --nav: #282828;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

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

.page-shell {
  min-height: 100vh;
  background: #000000;
}

.sale-strip {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--sale-height);
  background: #010101;
}

.sale-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  height: 100%;
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.sale-logo {
  width: auto;
  height: 43px;
  object-fit: contain;
}

.sale-copy {
  display: flex;
  align-items: center;
}

.sale-mobile-cta {
  display: none;
}

.sale-desktop-cta {
  min-width: 121px;
  padding: 8px 10px;
  border: 2px solid #ffffff;
  font-size: 18px;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: var(--sale-height);
  z-index: 60;
  background: #000000;
}

.desktop-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  background: #000000;
}

.desktop-brand-row .brand-link {
  width: 200px;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-navigation {
  height: 55px;
  background: var(--nav);
}

.desktop-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 96%;
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
}

.desktop-menu,
.desktop-actions {
  display: flex;
  align-items: stretch;
}

.desktop-menu-link {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: #dedede;
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}

.desktop-menu-link:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.login-link,
.join-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 30px;
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.login-link {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.join-link {
  min-width: 157px;
  background: var(--accent);
}

.mobile-topbar,
.mobile-drawer {
  display: none;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: calc(100% - 32px);
  max-width: 1500px;
  margin: 0 auto;
  background: #000000;
}

.media-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  background: #151515;
}

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

.media-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card--tall {
  aspect-ratio: 1 / 2;
}

.mobile-featured {
  display: none;
}

.media-card:focus-visible,
.brand-link:focus-visible,
.sale-link:focus-visible,
.desktop-menu-link:focus-visible,
.login-link:focus-visible,
.join-link:focus-visible,
.mobile-join-link:focus-visible,
.drawer-menu-link:focus-visible,
.drawer-join-link:focus-visible,
.pagination-link:focus-visible,
.access-link:focus-visible,
.legal-links a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -3px;
}

.site-footer {
  background: #000000;
  color: #ffffff;
}

.footer-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #777777;
  background: #eeeeee;
  color: #555555;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.pagination-link.is-current {
  background: #cccccc;
}

.pagination-link span {
  font-size: 26px;
  font-weight: 400;
  line-height: 0;
  transform: translateY(-1px);
}

.access-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(480px, calc(100vw - 32px));
  height: 76px;
  margin: 38px auto 42px;
  background: var(--accent);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.access-lock {
  display: flex;
  flex: 0 0 82px;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.access-lock img {
  width: 49px;
  height: 57px;
  object-fit: contain;
}

.footer-brand {
  width: 250px;
  margin-bottom: 32px;
}

.legal-footer {
  padding: 0 16px 34px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.42;
  text-align: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 17px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.legal-links a:not(:last-child)::after {
  margin: 0 8px;
  color: #ffffff;
  content: "|";
}

.legal-footer p {
  max-width: 1180px;
  margin: 5px auto;
}

.rta-logo {
  display: block;
  width: 120px;
  height: 60px;
  margin: 14px auto 0;
  object-fit: contain;
}

@media (hover: hover) {
  .media-card:hover img {
    filter: brightness(0.82);
  }

  .access-link:hover .access-lock img {
    content: url("assets/media/unlocked.webp");
  }

  .sale-link:hover,
  .desktop-menu-link:hover,
  .login-link:hover,
  .join-link:hover,
  .mobile-join-link:hover,
  .drawer-menu-link:hover,
  .drawer-join-link:hover,
  .pagination-link:hover,
  .access-link:hover,
  .legal-links a:hover {
    filter: brightness(0.88);
  }
}

@media (max-width: 991px) and (min-width: 769px) {
  .desktop-menu-link {
    padding: 0 13px;
    font-size: 16px;
  }

  .login-link,
  .join-link {
    padding: 0 20px;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  :root {
    --sale-height: 40px;
  }

  .sale-link {
    gap: 7px;
  }

  .sale-logo {
    height: 30px;
  }

  .sale-copy {
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    text-align: center;
  }

  .sale-mobile-cta {
    display: block;
    margin-top: 2px;
    font-size: 9px;
  }

  .sale-desktop-cta,
  .desktop-brand-row,
  .desktop-navigation {
    display: none;
  }

  .mobile-topbar {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 83px;
    align-items: center;
    height: 45px;
    padding-right: 10px;
    background: #000000;
  }

  .mobile-topbar .brand-link {
    justify-self: center;
    width: 150px;
    max-width: 100%;
  }

  .menu-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 60px;
    height: 45px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 3px;
    background: currentColor;
  }

  .mobile-join-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 83px;
    height: 31px;
    border-radius: 4px;
    background: var(--accent);
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-drawer {
    position: fixed;
    inset: var(--sale-height) 0 0;
    z-index: 80;
    display: block;
    overflow-y: auto;
    background: #000000;
  }

  .drawer-header {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 83px;
    align-items: center;
    height: 45px;
    padding-right: 10px;
  }

  .close-button {
    gap: 0;
  }

  .close-button span {
    position: absolute;
    transform: rotate(45deg);
  }

  .close-button span:last-child {
    transform: rotate(-45deg);
  }

  .drawer-brand {
    justify-self: center;
    width: 150px;
    max-width: 100%;
  }

  .drawer-spacer {
    width: 83px;
  }

  .drawer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    padding: 20px 40px 50px;
  }

  .drawer-menu-link {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
  }

  .drawer-join-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    max-width: 100%;
    height: 50px;
    margin-top: 2px;
    border-radius: 4px;
    background: var(--accent);
    font-size: 24px;
    font-weight: 400;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: -4px 0 0;
  }

  .mobile-featured {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #151515;
  }

  .mobile-featured video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .footer-controls {
    padding: 15px 0 0;
  }

  .pagination {
    gap: 7px;
  }

  .pagination-link {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .access-link {
    width: 90%;
    height: 60px;
    margin: 36px auto 35px;
    font-size: 24px;
  }

  .access-lock {
    flex-basis: 70px;
  }

  .access-lock img {
    width: 39px;
    height: 46px;
  }

  .footer-brand {
    width: 250px;
    max-width: calc(100% - 64px);
    margin-bottom: 34px;
  }

  .legal-footer {
    padding: 0 11px 25px;
    font-size: 16px;
    line-height: 1.4;
  }

  .legal-links {
    margin-bottom: 15px;
  }

  .legal-links a:not(:last-child)::after {
    margin: 0 6px;
  }

  .rta-logo {
    margin-top: 13px;
  }
}

@media (max-width: 390px) {
  .mobile-topbar,
  .drawer-header {
    grid-template-columns: 60px minmax(0, 1fr) 83px;
  }
}

@media (max-width: 350px) {
  .mobile-topbar {
    grid-template-columns: 54px minmax(0, 1fr) 82px;
    padding-right: 4px;
  }

  .mobile-topbar .brand-link {
    width: 126px;
  }

  .menu-button {
    width: 52px;
  }

  .mobile-join-link {
    width: 78px;
    font-size: 14px;
  }

  .access-link {
    font-size: 21px;
  }
}

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