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

:root {
  --navy: #06102b;
  --ink: #16203b;
  --accent: #3da5ff;
  --btn-w: 520px;
  --brand: 112px;
  --brand-gap: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--navy);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #fff;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(3, 9, 30, .35), rgba(3, 9, 30, .78) 75%),
    linear-gradient(rgba(3, 9, 30, .45), rgba(3, 9, 30, .55));
}

/* Layout */
.page {
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: clamp(36px, 7vh, 64px) 0 clamp(48px, 8vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28), 0 14px 44px rgba(0, 0, 0, .55);
}

.title {
  margin: 28px 0 0;
  font-size: clamp(1.25rem, 4.6vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.005em;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

.tagline {
  margin: 8px 0 0;
  max-width: 34ch;
  font-size: clamp(.9rem, 3.4vw, 1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.address {
  margin: 14px 0 32px;
  font-style: normal;
  font-size: clamp(.74rem, 2.9vw, .82rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* Link buttons */
.links {
  display: grid;
  gap: 14px;
  width: min(100vw - 32px, var(--btn-w));
  margin: 0 auto;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 10px 68px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}

.link img {
  position: absolute;
  left: 9px;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  transition: transform .28s var(--ease);
}

.link span {
  overflow-wrap: anywhere;
}

.link:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38), 0 0 0 1px rgba(61, 165, 255, .45);
}

.link:hover img {
  transform: scale(1.07);
}

.link:active {
  transform: translateY(0);
  transition-duration: .1s;
}

.link:focus-visible,
.brands img:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Brands */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--brand-gap);
  width: calc(4 * var(--brand) + 3 * var(--brand-gap));
  max-width: 100%;
  margin: 44px auto 0;
}

.brands li {
  flex: 0 0 var(--brand);
  width: var(--brand);
}

.brands img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .16), 0 8px 22px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}

.brands li:hover img {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.06);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .4), 0 14px 30px rgba(0, 0, 0, .55);
}

/* Fade in, top to bottom */
.fade {
  animation: fade-in .8s ease-out both;
  animation-delay: calc(var(--i, 0) * 95ms + 80ms);
}

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

/* Mobile */
@media (max-width: 560px) {
  :root {
    --brand: min(128px, 36vw);
    --brand-gap: 20px;
  }

  .logo {
    width: 168px;
    height: 168px;
  }

  .links {
    width: 80vw;
  }

  .link {
    min-height: 56px;
    padding: 8px 52px;
    font-size: .9rem;
    border-radius: 14px;
  }

  .link img {
    left: 8px;
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }

  /* long email address: give the text more room */
  .link--long {
    padding: 8px 12px 8px 52px;
    font-size: .8rem;
    letter-spacing: -.01em;
  }

  .brands {
    width: calc(2 * var(--brand) + var(--brand-gap));
    margin-top: 36px;
  }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .link {
    padding: 8px 40px 8px 50px;
    font-size: .8rem;
  }

  .link--long {
    padding-right: 8px;
    font-size: .72rem;
  }
}

@media (hover: none) {
  .link:hover,
  .brands li:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    animation: none;
  }

  .link,
  .link img,
  .brands img {
    transition: none;
  }
}
