@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-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;
  --cyan: #04a9de;
  --white: #fff;
  --page-max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Axiforma", Arial, sans-serif;
}

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

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

.page {
  width: 100%;
  overflow: hidden;
}

.about-hero {
  position: relative;
  min-height: clamp(410px, calc(20vw + 80px), 510px);
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 120px), var(--page-max));
  min-height: 138px;
  margin-inline: auto;
}

.brand-mark,
.brand-mark img {
  width: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1460px, calc(100% - 120px));
  gap: clamp(18px, 2.1vw, 46px);
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a {
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .is-current {
  color: var(--cyan);
}

.hero-art {
  position: absolute;
  inset: 130px 0 0;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  z-index: 0;
  top: 55%;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: var(--white);
}

.hero-blue {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero-content {
  /* HERO POSITION CONTROLS: positive Y moves down; negative Y moves up. */
  --hero-logo-x: 0px;
  --hero-logo-y: -44px;
  --hero-about-x: 0px;
  --hero-about-y: -15px;

  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 48px), 1100px);
  margin-inline: auto;
  padding-top: clamp(40px, 3vw, 58px);
  text-align: center;
}

.hero-title {
  width: min(680px, 37vw);
  translate: var(--hero-logo-x) var(--hero-logo-y);
  filter: drop-shadow(0 9px 6px rgba(0, 0, 0, 0.42));
}

.hero-content h1 {
  margin: clamp(-12px, -0.7vw, -7px) 0 0;
  translate: var(--hero-about-x) var(--hero-about-y);
  font-size: clamp(24px, 2vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 14px;
  text-transform: uppercase;
}

.about-content {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: clamp(62px, 5vw, 96px) 0 clamp(100px, 8vw, 160px);
  background: var(--white);
}

.about-shell,
.contact-shell {
  width: min(calc(100% - 120px), var(--page-max));
  margin-inline: auto;
}

.about-intro {
  margin-bottom: clamp(82px, 7vw, 128px);
}

.about-content h2,
.contact h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 2.15vw, 43px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-content p,
.about-content li {
  margin: 0;
  font-size: clamp(20px, 1.35vw, 27px);
  font-weight: 400;
  line-height: 1.24;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 620px);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
}

.story-copy {
  position: relative;
  z-index: 2;
}

.story-block + .story-block {
  margin-top: clamp(72px, 6vw, 112px);
}

.plain-list,
.values-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-list strong {
  font-weight: 800;
}

.player-visual {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 0.58;
  margin: 0;
  align-self: center;
  justify-self: end;
}

.player-circle {
  position: absolute;
  top: 14%;
  right: -8%;
  width: 96%;
}

.red-player {
  position: absolute;
  z-index: 2;
  inset: 0 auto auto -2%;
  width: 104%;
  max-width: none;
  filter: drop-shadow(0 20px 12px rgba(0, 0, 0, 0.24));
}

.about-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: clamp(72px, 6vw, 112px);
  font-size: clamp(25px, 1.7vw, 34px);
  font-weight: 400;
}

.about-links a {
  border-bottom: 2px solid currentColor;
  transition: color 180ms ease, transform 180ms ease;
}

.about-links a:hover,
.about-links a:focus-visible {
  color: var(--cyan);
  transform: translateY(-3px);
}

.collabs {
  position: relative;
  min-height: clamp(560px, 38vw, 760px);
  color: var(--white);
  isolation: isolate;
}

.collabs-blue {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.collabs-shell {
  width: min(calc(100% - 120px), var(--page-max));
  margin-inline: auto;
  padding-top: clamp(235px, 15vw, 275px);
}

.collabs h2 {
  margin: 0 0 clamp(28px, 2vw, 42px);
  font-size: clamp(36px, 2.7vw, 52px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.collabs-grid {
  position: relative;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: center;
  gap: clamp(70px, 10vw, 190px);
}

.collabs-copy h3 {
  margin: 0;
  font-size: clamp(28px, 2vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}

.collabs-copy p,
.collabs-copy li {
  font-size: clamp(17px, 1.2vw, 23px);
  font-weight: 300;
  line-height: 1.25;
}

.collabs-copy p {
  margin: 6px 0 14px;
}

.collabs-copy ul {
  margin: 0;
  padding-left: 30px;
}

.collabs-copy li {
  padding-left: 12px;
  margin: 8px 0;
}

.handshake {
  width: min(100%, 220px);
  justify-self: center;
  translate: 0 -20px;
}

.contact {
  padding: clamp(62px, 4.8vw, 92px) 0 clamp(82px, 6vw, 116px);
  background: var(--white);
}

.contact h2 {
  margin-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(80px, 10vw, 190px);
}

.contact-column h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.15vw, 23px);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-column h3:not(:first-child) {
  margin-top: 28px;
}

.contact-column p,
.contact-column li {
  margin: 0;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}

.contact-column ul {
  margin: 12px 0 18px;
  padding-left: 28px;
}

.contact-column a,
.contact-column strong {
  font-weight: 700;
}

.site-footer {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  background: var(--white);
  isolation: isolate;
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
  background: url("./assets/dotted-body.png") center / cover no-repeat;
  opacity: 0.62;
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(60px, 8vw, 150px);
  width: min(calc(100% - 160px), 1600px);
  margin-inline: auto;
}

.footer-nav {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 20px 80px;
  font-size: clamp(16px, 1.25vw, 25px);
  font-weight: 400;
  text-transform: uppercase;
}

.footer-logo,
.footer-logo img {
  width: 112px;
  background: transparent;
}

.footer-logo img {
  mix-blend-mode: multiply;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
}

.social-links a {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #000;
  transition: transform 200ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-5px);
}

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

.hero-blue {
  opacity: 1;
  animation: none;
}

.hero-title {
  animation: hero-rise-in 1050ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h1 {
  animation: hero-rise-in 900ms 430ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-item {
  opacity: 0;
  transform: translateY(52px);
  will-change: opacity, transform;
}

.reveal-item.from-left {
  transform: translateX(-62px);
}

.reveal-item.is-visible {
  animation: reveal-up 900ms var(--reveal-delay, 0ms)
    cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-rise-in {
  from {
    opacity: 0;
    transform: translateY(52px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(52px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translateX(-62px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1100px) {
  .site-header,
  .about-shell,
  .collabs-shell,
  .contact-shell {
    width: min(calc(100% - 64px), var(--page-max));
  }

  .main-nav {
    width: calc(100% - 90px);
    gap: 14px;
    font-size: 12px;
  }

  .story-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 248px;
  }

  .site-header {
    width: calc(100% - 34px);
    min-height: 72px;
  }

  .brand-mark,
  .brand-mark img {
    width: 38px;
  }

  .main-nav {
    width: auto;
  }

  .main-nav a {
    display: none;
  }

  .main-nav .is-current {
    display: block;
    font-size: 10px;
  }

  .hero-art {
    inset: 64px 0 0;
    height: 184px;
  }

  .hero-blue {
    left: 50%;
    width: 640px;
    max-width: none;
    transform: translateX(-50%);
    object-fit: fill;
  }

  .hero-content {
    /* MOBILE HERO POSITION CONTROLS */
    --hero-logo-x: 0px;
    --hero-logo-y: 0px;
    --hero-about-x: 0px;
    --hero-about-y: 0px;

    width: calc(100% - 30px);
    padding-top: 60px;
  }

  .hero-title {
    width: min(255px, 70vw);
  }

  .hero-content h1 {
    margin-top: 2px;
    font-size: 20px;
    letter-spacing: 9px;
  }

  .about-content {
    margin-top: 0;
    padding: 40px 0 22px;
  }

  .about-shell,
  .collabs-shell,
  .contact-shell {
    width: calc(100% - 40px);
  }

  .about-intro {
    grid-column: 1 / -1;
    margin-bottom: 56px;
  }

  .about-content h2,
  .contact h2 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.16;
  }

  .about-content p,
  .about-content li {
    font-size: 14px;
    line-height: 1.38;
  }

  .desktop-break {
    display: none;
  }

  .story-layout {
    display: contents;
  }

  .about-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .story-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .story-block + .story-block {
    margin-top: 48px;
  }

  .player-visual {
    display: none;
  }

  .player-circle {
    top: 19%;
    right: -1%;
    width: 86%;
  }

  .red-player {
    top: 1%;
    left: -4%;
    width: 100%;
  }

  .about-links {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    justify-self: center;
    align-items: center;
    gap: 14px;
    margin: 30px 0 4px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .collabs {
    min-height: 650px;
    overflow: hidden;
    background: transparent;
    clip-path: none;
  }

  .collabs-blue {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .collabs-shell {
    position: relative;
    z-index: 1;
    padding-top: 170px;
    padding-bottom: 58px;
  }

  .collabs h2 {
    margin: 0 0 28px;
    font-size: clamp(20px, 5.6vw, 23px);
    line-height: 1.05;
    white-space: nowrap;
  }

  .collabs-grid {
    top: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .collabs-copy h3 {
    margin-bottom: 5px;
    font-size: clamp(19px, 5.2vw, 22px);
    line-height: 1.1;
  }

  .collabs-copy p,
  .collabs-copy li {
    font-size: clamp(11px, 3.15vw, 13px);
    line-height: 1.34;
  }

  .collabs-copy p {
    margin: 0 0 12px;
  }

  .collabs-copy ul {
    margin: 0;
    padding-left: 24px;
  }

  .collabs-copy li {
    margin: 7px 0;
    padding-left: 6px;
  }

  .handshake {
    width: 82px;
    justify-self: center;
    transform: none;
  }

  .contact {
    padding: 46px 0 66px;
  }

  .contact h2 {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-column h3 {
    font-size: 17px;
  }

  .contact-column h3:not(:first-child) {
    margin-top: 22px;
  }

  .contact-column p,
  .contact-column li {
    font-size: 13px;
  }

  .site-footer {
    min-height: 500px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    width: calc(100% - 48px);
    gap: 32px;
  }

  .footer-logo,
  .footer-logo img {
    width: 72px;
  }

  .footer-logo {
    grid-row: 1;
  }

  .footer-nav {
    grid-row: 2;
    gap: 14px 42px;
    font-size: 12px;
  }

  .social-links {
    grid-row: 3;
    gap: 22px;
  }

  .social-links a {
    width: 50px;
  }

  .social-links svg {
    width: 25px;
    height: 25px;
  }
}

/* =========================================================
   ABOUT PAGE - MOBILE MANUAL POSITION CONTROLS
   Edit only these values for screens up to 767px.
   ========================================================= */
@media (max-width: 767px) {
  .hero-content {
    /* BerlinsChallenge logo */
    --hero-logo-x: 0px;  /* positive = right, negative = left */
    --hero-logo-y: 0px;  /* positive = down, negative = up */

    /* ABOUT text */
    --hero-about-x: 0px; /* positive = right, negative = left */
    --hero-about-y: 0px; /* positive = down, negative = up */
  }

  .collabs {
    /* Entire Sponsors text block */
    --sponsor-text-x: 0px; /* positive = right, negative = left */
    --sponsor-text-y: 0px; /* positive = down, negative = up */

    /* Handshake logo */
    --sponsor-logo-x: 0px; /* positive = right, negative = left */
    --sponsor-logo-y: 0px; /* positive = down, negative = up */
    --sponsor-logo-size: 82px;
  }

  .collabs-shell {
    translate: var(--sponsor-text-x) var(--sponsor-text-y);
  }

  .handshake {
    width: var(--sponsor-logo-size);
    translate: var(--sponsor-logo-x) var(--sponsor-logo-y);
  }
}

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

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