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

:root {
  --sky: #a7f2ff;
  --ink: #673a3a;
  --footer-text: #b8f6ff;
  --button-text: #ffffff;
  --focus-ring: #673a3a;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--sky);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--sky);
  font-family: "Londrina Solid", Impact, fantasy;
}

.landing-shell {
  position: relative;
  isolation: isolate;
  min-height: max(100svh, 42rem);
  overflow: hidden;
}

.scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
}

.hero {
  display: flex;
  min-height: max(100svh, 42rem);
  flex-direction: column;
  align-items: center;
  padding: clamp(7.25rem, 21.5svh, 14.5rem) 1.25rem 8rem;
  text-align: center;
}

.brand-lockup {
  display: block;
  width: min(38.5vw, 45.45rem);
  min-width: 34rem;
  height: auto;
  user-select: none;
}

.cta {
  display: grid;
  width: min(21vw, 24.65rem);
  min-width: 19rem;
  aspect-ratio: 394.15 / 101.41;
  margin-top: clamp(2.5rem, 6.7svh, 4.6rem);
  place-items: center;
  color: var(--button-text);
  background: url("../assets/CTA_Button.svg") center / 100% 100% no-repeat;
  font-size: clamp(1.75rem, 2vw, 2.3rem);
  line-height: 1;
  text-decoration: none;
  transform: rotate(0.15deg);
  transition: filter 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.cta span {
  padding: 0.1em 1.25em 0;
  transform: translateY(-0.04em);
}

.cta:hover {
  filter: saturate(1.08) brightness(1.04);
  transform: rotate(-0.45deg) translateY(-0.16rem) scale(1.015);
}

.cta:active {
  transform: rotate(0.2deg) translateY(0.08rem) scale(0.985);
}

.cta:focus-visible {
  outline: 0.22rem solid var(--focus-ring);
  outline-offset: 0.35rem;
  border-radius: 0.75rem;
}

.socials {
  margin-top: clamp(1.35rem, 2.7svh, 2rem);
}

.socials p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.35vw, 1.5rem);
  line-height: 1.15;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-top: clamp(0.85rem, 1.6svh, 1.25rem);
}

.social-icons img {
  display: block;
  width: clamp(2.75rem, 3vw, 3.4rem);
  height: auto;
  user-select: none;
}

.site-footer {
  position: absolute;
  right: 1.25rem;
  bottom: max(1.8rem, env(safe-area-inset-bottom));
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--footer-text);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  line-height: 1;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.site-footer a:focus-visible {
  outline: 0.16rem solid currentColor;
  outline-offset: 0.22rem;
  border-radius: 0.2rem;
}

.footer-divider {
  font-size: 0.7em;
}

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

@media (pointer: fine) {
  html,
  body,
  a {
    cursor: url("../assets/Cursor_pPaw.svg") 16 16, auto;
  }
}

@media (max-width: 56rem) {
  .hero {
    padding-top: clamp(6.5rem, 18svh, 10rem);
  }

  .brand-lockup {
    width: min(86vw, 38rem);
    min-width: 0;
  }

  .cta {
    width: min(74vw, 22rem);
    min-width: 17rem;
    margin-top: clamp(3rem, 8svh, 5rem);
  }
}

@media (max-width: 30rem) {
  .landing-shell,
  .hero {
    min-height: max(100svh, 38rem);
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .cta {
    width: min(82vw, 20rem);
    min-width: 0;
    font-size: clamp(1.45rem, 7vw, 1.8rem);
  }

  .site-footer {
    right: 0.75rem;
    left: 0.75rem;
    gap: 0.65rem;
    font-size: 0.95rem;
  }
}

@media (max-height: 46rem) and (min-width: 56.01rem) {
  .hero {
    padding-top: 6.5rem;
  }

  .brand-lockup {
    width: min(32rem, 40vw);
    min-width: 28rem;
  }

  .cta {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
