@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/plus-jakarta-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #898999;
  --accent: #9f92ff;
  --background: #000319;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
}

body {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.bima-footer {
  position: relative;
  min-height: 824px;
  padding-top: 135px;
  overflow: hidden;
  background: var(--background);
}

.footer-container {
  position: relative;
  z-index: 3;
  isolation: isolate;
  width: min(calc(100% - 80px), 1120px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-column {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 31px;
}

.contact-row--mail {
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  white-space: nowrap;
}

.phone-link {
  width: fit-content;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.email-link {
  width: fit-content;
  max-width: 100%;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  white-space: nowrap;
}

.email-link span {
  background: linear-gradient(90deg, #fff 0%, #fff 49%, #a49aff 100%);
  background-size: 150% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 450ms cubic-bezier(.44, 0, .56, 1);
}

.email-link:hover span,
.email-link:focus-visible span {
  background-position: 100% 50%;
}

.link-columns {
  display: flex;
  flex: 0 1 280px;
  justify-content: flex-end;
  gap: 72px;
  min-width: 280px;
}

.footer-link-column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  position: relative;
  width: fit-content;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, #9f92ff 0%, #ffcb6d 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(.44, 0, .56, 1);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.legal-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.copyright {
  color: var(--muted);
}

.dot {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #fff;
}

.legal-links a {
  transition: color 180ms ease;
}

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

.made-by {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.made-by svg {
  width: 126px;
  height: 25px;
  color: #fff;
}

.footer-art {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  height: 423px;
  margin: 10px auto 0;
  overflow: hidden;
}

.wordmark {
  position: absolute;
  bottom: -14px;
  left: 50%;
  z-index: 1;
  width: 1200px;
  color: transparent;
  background: radial-gradient(83% 137% at 50% 94.1%, rgba(159, 146, 255, 0.2) 0%, rgba(74, 50, 255, 0) 74%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(128px, 43vw, 516px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.82;
  text-align: left;
  white-space: nowrap;
  transform: translateX(-50%);
}

.orb-video {
  position: absolute;
  top: -30px;
  left: 50%;
  z-index: 2;
  width: 51.1667%;
  height: 716px;
  object-fit: cover;
  mix-blend-mode: lighten;
  transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 69.42%, transparent 100%);
  mask-image: radial-gradient(50% 50% at 50% 50%, #000 69.42%, transparent 100%);
  pointer-events: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 1199px) {
  .footer-container {
    width: min(calc(100% - 48px), 1120px);
  }

  .link-columns {
    flex-basis: 35%;
    min-width: 250px;
    gap: 8px;
  }

  .email-link {
    font-size: 32px;
  }

  .wordmark {
    left: 0;
    width: 100%;
    transform: none;
  }
}

@media (max-width: 809px) {
  .bima-footer {
    min-height: 0;
  }

  .footer-container {
    width: calc(100% - 48px);
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .link-columns {
    order: -1;
    width: 100%;
    min-width: 0;
    flex-basis: auto;
    justify-content: flex-start;
    gap: clamp(36px, 15vw, 72px);
  }

  .contact-column {
    width: 100%;
  }

  .contact-row {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .email-link {
    font-size: clamp(28px, 6vw, 32px);
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
  }

  .legal-links {
    flex-wrap: wrap;
    white-space: normal;
  }

  .footer-art {
    height: 300px;
    margin-top: 18px;
  }

  .wordmark {
    bottom: 2px;
    font-size: 42.8vw;
  }

  .orb-video {
    top: -10px;
    width: 51.1667%;
    height: 716px;
  }
}

@media (max-width: 480px) {
  .bima-footer {
    padding-top: 96px;
  }

  .link-columns {
    gap: 44px;
  }

  .contact-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .phone-link,
  .footer-links a {
    font-size: 15px;
  }

  .email-link {
    font-size: clamp(25px, 8vw, 34px);
  }

  .legal-links {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
