@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #212121;
  --blue: #0a83ad;
  --yellow: #f5c400;
  --white: #fff;
  --content: 1560px;

  /* GLOBAL RESPONSIVE CONTROLS - edit these once for every breakpoint
     negative x = left, positive x = right
     negative y = up, positive y = down */
  --youtube-card-x: -1px;
  --youtube-card-y: 20px;

  --hero-logo-x: 0px;
  --hero-logo-y: 0px;
  --hero-logo-top: clamp(96px, 7.5vw, 145px);
  --hero-logo-width: clamp(220px, 46vw, 810px);

  --tiktok-deck-x: 0px;
  --tiktok-deck-y: 0px;
  --tiktok-deck-width: min(100%, 650px);
  --tiktok-deck-height: clamp(250px, 32vw, 460px);
  --tiktok-side-y: clamp(10px, 2vw, 36px);
  --tiktok-center-y: 0px;
  --tiktok-side-height: clamp(170px, 25vw, 350px);
  --tiktok-left-height: 480px;
  --tiktok-right-height: var(--tiktok-side-height);
  --tiktok-center-height: clamp(220px, 30vw, 410px);
  --tiktok-left-x: 80px;
  --tiktok-left-y: -23px;
  --tiktok-left-anchor: 50%;
  --tiktok-right-anchor: 50%;
  --tiktok-left-angle: -13deg;
  --tiktok-right-angle: 13deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #233f43;
}

body {
  margin: 0;
  background: #233f43;
  color: var(--ink);
  font-family: "Axiforma", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.page {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
}

.gallery-hero {
  position: relative;
  height: clamp(590px, 38vw, 730px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 5;
  width: min(var(--content), calc(100% - 96px));
  height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(56px, 5vw, 100px);
}

.brand-mark {
  flex: 0 0 auto;
  width: 44px;
}

.brand-mark img {
  width: 100%;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.main-nav a {
  color: var(--white);
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-current {
  color: #00a8df;
}

.hero-background {
  position: absolute;
  z-index: -1;
  top: 67%;
  left: 50%;
  width: auto;
  max-width: none;
  min-width: 100%;
  height: 228%;
  transform: translate(-50%, -56.5%);
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-title {
  position: absolute;
  top: calc(var(--hero-logo-top) + var(--hero-logo-y));
  width: var(--hero-logo-width);
  translate: var(--hero-logo-x) 0;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.42));
  opacity: 0;
  animation: hero-rise 950ms 100ms cubic-bezier(.2, .8, .2, 1) forwards;
}

.hero-content h1 {
  position: absolute;
  top: clamp(70px, 50vw, 450px);
  margin: 0;
  font-size: clamp(34px, 2.35vw, 46px);
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-rise 850ms 260ms cubic-bezier(.2, .8, .2, 1) forwards;
}

.hero-content p {
  position: absolute;
  top: clamp(438px, 27vw, 520px);
  margin: 0;
  font-size: clamp(17px, 1.18vw, 23px);
  font-weight: 600;
  line-height: 1.28;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-rise 850ms 390ms cubic-bezier(.2, .8, .2, 1) forwards;
}

.featured {
  position: relative;
  z-index: 2;
  min-height: clamp(730px, 44vw, 845px);
  margin-top: -52px;
  padding: clamp(68px, 4.5vw, 86px) 32px 62px;
  background: var(--white);
  clip-path: polygon(0 3.8%, 54% 0, 79% 3.2%, 100% 1.7%, 100% 100%, 0 100%);
}

.featured-shell {
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.section-heading,
.reels-heading {
  text-align: center;
  text-transform: uppercase;
}

.section-heading h2,
.section-heading p,
.reels-heading h2,
.reels-heading p {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(34px, 2.45vw, 47px);
  font-weight: 800;
}

.section-heading p {
  margin-top: 3px;
  font-size: clamp(22px, 1.55vw, 30px);
  font-weight: 600;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 76px);
  margin-top: 12px;
}

.platform-feature {
  min-width: 0;
  text-align: center;
}

.platform-feature h3 {
  margin: 0 0 -16px;
  font-size: clamp(23px, 1.65vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
}

.youtube-card {
  display: block;
  width: min(760px, 50vw);
  margin: 0 auto;
  translate: var(--youtube-card-x) var(--youtube-card-y);
  transition: transform 220ms ease;
}

.youtube-card img {
  width: 100%;
}

.youtube-card:hover,
.youtube-card:focus-visible {
  transform: translateY(-6px) scale(1.015);
}

.tiktok-deck {
  position: relative;
  display: block;
  width: var(--tiktok-deck-width);
  height: var(--tiktok-deck-height);
  margin: 0 auto;
  translate: var(--tiktok-deck-x) var(--tiktok-deck-y);
}

.tiktok-card {
  position: absolute;
  max-width: none;
  transform-origin: 50% 70%;
  transition: transform 240ms ease;
}

/* TIKTOK CARD CONTROLS - DESKTOP */
.tiktok-card.card-left {
  top: calc(var(--tiktok-side-y) + var(--tiktok-left-y));
  left: calc(var(--tiktok-left-anchor) + var(--tiktok-left-x));
  width: auto;
  height: var(--tiktok-left-height);
  z-index: 1;
  transform: translateX(-100%) rotate(var(--tiktok-left-angle));
}

.tiktok-card.card-center {
  top: var(--tiktok-center-y);
  left: 50%;
  z-index: 3;
  width: auto;
  height: var(--tiktok-center-height);
  transform: translateX(-50%);
}

.tiktok-card.card-right {
  top: var(--tiktok-side-y);
  left: var(--tiktok-right-anchor);
  width: auto;
  height: var(--tiktok-right-height);
  z-index: 2;
  transform: translateX(0) rotate(var(--tiktok-right-angle));
}

.tiktok-deck:hover .card-left,
.tiktok-deck:focus-visible .card-left {
  transform: translateX(-104%) rotate(-15deg) scale(1.035);
}

.tiktok-deck:hover .card-center,
.tiktok-deck:focus-visible .card-center {
  transform: translateX(-50%) translateY(-5px) scale(1.025);
}

.tiktok-deck:hover .card-right,
.tiktok-deck:focus-visible .card-right {
  transform: translateX(4%) rotate(15deg) scale(1.035);
}

.featured-tagline {
  margin: clamp(0px, 0.8vw, 16px) 0 0;
  text-align: center;
  font-size: clamp(22px, 1.6vw, 31px);
  font-weight: 700;
  line-height: 1.23;
  text-transform: uppercase;
}

.get-featured {
  position: relative;
  min-height: clamp(455px, 28vw, 538px);
  margin-top: -2px;
  color: var(--white);
  background:
    url("./assets/feature-blue.png") center / 100% auto no-repeat,
    linear-gradient(to bottom, var(--white) 0 50%, var(--ink) 50% 100%);
}

.get-featured-shell {
  width: min(1540px, calc(100% - 112px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 31% 30% 39%;
  align-items: center;
}

.get-featured-intro {
  align-self: stretch;
  position: relative;
  padding-top: clamp(112px, 7vw, 135px);
}

.get-featured-intro h2 {
  margin: 0;
  font-size: clamp(19px, 1.3vw, 25px);
  font-weight: 700;
  text-transform: uppercase;
}

.get-featured-intro img {
  position: absolute;
  top: clamp(148px, 9vw, 174px);
  left: clamp(55px, 3.8vw, 74px);
  width: clamp(238px, 15.5vw, 298px);
  max-width: none;
}

.get-featured-action {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(185px, 13vw, 250px);
  min-height: 58px;
  padding: 13px 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--white);
  background: #050505;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.38);
  font-size: clamp(16px, 1.1vw, 21px);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 0 28px rgba(10, 131, 173, 0.65);
  transform: translateY(-3px);
}

.get-featured-copy {
  padding: 18px 0 0 clamp(24px, 2.4vw, 46px);
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.35;
}

.get-featured-copy p,
.get-featured-copy h3,
.get-featured-copy ul {
  margin: 0;
}

.get-featured-copy h3 {
  margin-top: 4px;
  font-size: clamp(20px, 1.45vw, 28px);
}

.get-featured-copy ul {
  padding: 7px 0 5px 26px;
}

.get-featured-copy nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.get-featured-copy a {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.reels {
  min-height: clamp(500px, 31.3vw, 600px);
  padding: clamp(64px, 4.2vw, 82px) 32px 54px;
  color: var(--white);
  background: var(--ink);
}

.reels-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
}

.reels-heading h2 {
  font-size: clamp(32px, 2.3vw, 44px);
  font-weight: 800;
}

.reels-heading p {
  margin-top: 8px;
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 300;
  text-transform: none;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 8vw, 150px);
  margin-top: 34px;
}

.reel-card {
  min-width: 0;
  color: var(--white);
  text-align: center;
  text-decoration: none;
}

.reel-card h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 1.55vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
}

.reel-visual {
  position: relative;
  display: block;
  height: clamp(230px, 14.5vw, 278px);
  overflow: hidden;
}

.reel-visual img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(245px, 15vw, 288px);
  max-width: none;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.reel-youtube .reel-visual img {
  top: 65%; /* Positive moves the YouTube circle down */
  left: 50%; /* Positive moves the YouTube circle right */
  width: clamp(290px, 20vw, 310px); /* YouTube circle size */
}

.reel-instagram .reel-visual img {
  top: 50%; /* Positive moves the Instagram circle down */
  left: 50%; /* Positive moves the Instagram circle right */
  width: clamp(245px, 15vw, 288px); /* Instagram circle size */
}

.reel-tiktok .reel-visual img {
  top: 50%; /* Positive moves the TikTok circle down */
  left: 50%; /* Positive moves the TikTok circle right */
  width: clamp(215px, 13vw, 268px); /* TikTok circle size */
}

.reel-card:hover .reel-visual img,
.reel-card:focus-visible .reel-visual img {
  transform: translate(-50%, -50%) scale(1.035);
}

.site-footer {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/dotted-body.png") center bottom / 100% 100% no-repeat;
  opacity: 0.62;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 80px));
  min-height: 330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  gap: 80px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 16px 72px;
}

.footer-nav a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-logo {
  justify-self: center;
  width: 82px;
}

.footer-logo img {
  width: 100%;
}

.social-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
}

.social-links a {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #000;
  transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: #000;
  transform: translateY(-4px);
}

.social-links svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.reveal-item {
  opacity: 0;
  will-change: opacity, transform;
}

.reveal-item.from-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal-item:not(.from-left) {
  transform: translate3d(0, 34px, 0);
}

.reveal-item.is-visible {
  animation: reveal-up 780ms var(--reveal-delay, 0ms) cubic-bezier(.2, .8, .2, 1) forwards;
}

.reveal-item.from-left.is-visible {
  animation-name: reveal-left;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translate3d(-42px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 48px);
    gap: 36px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .featured-grid {
    gap: 12px;
  }

  .get-featured-shell {
    width: calc(100% - 48px);
  }

  .get-featured-copy {
    padding-left: 14px;
  }

  .footer-inner {
    gap: 34px;
  }

  .footer-nav {
    gap: 13px 34px;
  }

  .footer-nav a {
    font-size: 14px;
  }
}

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

  html:not(.force-motion) .hero-title,
  html:not(.force-motion) .hero-content h1,
  html:not(.force-motion) .hero-content p,
  html:not(.force-motion) .reveal-item,
  html:not(.force-motion) .reveal-item.from-left,
  html:not(.force-motion) .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
