@import url('/flip-reveal.css?v=1');

.footer-page {
  margin: 0;
  background: #0a0a0a;
}

.studio-footer,
.studio-footer * {
  box-sizing: border-box;
}

.studio-footer {
  /* Figma frame 1920 × 1080: left 40.41, legal 445.41, contact 1457.44. */
  --footer-gutter: 2.105vw;
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 720px;
  height: var(--thp-viewport-height);
  overflow: hidden;
  background: #0a0a0a;
  color: #cecece;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  pointer-events: auto;
}

.studio-footer a {
  color: inherit;
  text-decoration: none;
}

.studio-footer__top {
  position: absolute;
  top: clamp(36px, 6.02vh, 65px);
  right: var(--footer-gutter);
  left: var(--footer-gutter);
  display: grid;
  grid-template-columns: 22.023% 55.026% minmax(0, 1fr);
}

.studio-footer__nav,
.studio-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: .8px;
}

.studio-footer__legal {
  grid-column: 2;
}

.studio-footer__nav a {
  position: relative;
}

.studio-footer__nav a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.studio-footer__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.studio-footer__connect {
  grid-column: 3;
  min-width: 0;
}

.studio-footer__connect > p {
  width: min(353px, 100%);
  margin: 0;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: .8px;
}

.studio-footer__socials {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 24px;
  margin: 27px 0 39px 1px;
}

.studio-footer__socials span,
.studio-footer__socials a,
.studio-footer__socials img {
  display: block;
  width: 24px;
  height: 24px;
}

.studio-footer__socials a { cursor: pointer; }
.studio-footer__socials a:focus-visible { outline: 2px solid #b2b2ff; outline-offset: 6px; }

@media (min-width: 701px) and (hover: hover) and (pointer: fine) {
  .studio-footer__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .studio-footer__socials a:hover { opacity: .75; }
}

.studio-footer__email {
  display: inline-flex;
  height: 58px;
  align-items: center;
  background: #5252e4;
  color: #fff;
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 39px;
}

.studio-footer__email > span:first-child {
  padding: 10px 16px;
}

.studio-footer__email-arrow {
  display: grid;
  width: 58px;
  height: 58px;
  border-left: 4px solid #0a0a0a;
  place-items: center;
}

.studio-footer__email-arrow img {
  width: 24px;
  height: 24px;
}

.studio-footer__signature {
  position: absolute;
  right: var(--footer-gutter);
  left: var(--footer-gutter);
  bottom: 50px;
}

.studio-footer__prompt {
  margin: 0;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 18px;
}

.studio-footer__wordmark {
  --flip-stagger: 24ms;
  --footer-wordmark-ink: linear-gradient(180deg, rgb(255 255 255 / .15) 26.25%, rgb(33 33 33 / .15) 76.73%);
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: transparent;
  font-size: 15.171vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2.4752px;
  white-space: nowrap;
}

.studio-footer__wordmark span {
  display: block;
}

.studio-footer__wordmark > span:last-child {
  background: var(--footer-wordmark-ink);
  background-clip: text;
}

.studio-footer__wordmark .studio-footer__changing {
  position: relative;
  display: inline-block;
  flex: none;
}

.studio-footer__wordmark.is-flipping .studio-footer__changing { transform-style: preserve-3d; }

.studio-footer__reserve {
  visibility: hidden;
}

.studio-footer__wordmark .studio-footer__live {
  position: absolute;
  inset: 0;
  background: var(--footer-wordmark-ink);
  background-clip: text;
  white-space: nowrap;
}

.studio-footer__live b {
  font-weight: inherit;
}

.studio-footer__wordmark b { font-weight: inherit; }
/* Give transformed letters their own ink; clipping it on their parent would
   detach the gradient from the moving glyphs or paint it twice. */
.studio-footer__wordmark span.footer-reveal-text { background: none; }
.studio-footer__wordmark .flip-character {
  display: inline-block;
  background: var(--footer-wordmark-ink);
  background-clip: text;
  color: transparent;
}

.studio-footer__live .is-scrambled {
  color: transparent;
}

.studio-footer__base {
  position: absolute;
  right: var(--footer-gutter);
  bottom: 35px;
  left: var(--footer-gutter);
  display: grid;
  grid-template-columns: 77.049% minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
}

.studio-footer__base p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  line-height: 39px;
  letter-spacing: -1px;
}

.studio-footer__base i {
  width: 5px;
  height: 5px;
  background: #cecece;
}

.studio-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer-reveal-space { display: none; }

@media (min-width: 1200px) and (min-height: 720px) {
  .home-water main { position: relative; z-index: 1; }
  .home-water .footer-reveal-space {
    display: block;
    height: var(--thp-viewport-height);
    pointer-events: none;
  }
  .home-water .studio-footer {
    position: fixed;
    inset: 0;
    z-index: 0;
    height: var(--thp-viewport-height);
  }
}

@media (max-width: 1199px) {
  .studio-footer {
    height: auto;
    min-height: 100svh;
    padding: 40px 24px 24px;
  }

  .studio-footer__top,
  .studio-footer__signature,
  .studio-footer__prompt,
  .studio-footer__wordmark,
  .studio-footer__base {
    position: static;
  }

  .studio-footer__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 32px;
  }

  .studio-footer__connect {
    grid-column: 1 / -1;
    width: min(100%, 422px);
  }

  .studio-footer__connect > p {
    width: auto;
    margin-top: 0;
  }

  .studio-footer__prompt {
    margin: 120px 0 24px;
  }

  .studio-footer__wordmark {
    display: block;
    font-size: clamp(64px, 15vw, 180px);
    white-space: normal;
  }

  .studio-footer__wordmark span {
    display: inline;
  }

  .studio-footer__wordmark > span + span::before {
    content: " ";
  }

  .studio-footer__base {
    display: flex;
    margin-top: 48px;
  }
}

@media (max-width: 560px) {
  .studio-footer {
    padding: 32px 18px 22px;
  }

  .studio-footer__top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .studio-footer__legal,
  .studio-footer__connect {
    grid-column: 1;
  }

  .studio-footer__nav,
  .studio-footer__legal,
  .studio-footer__connect > p,
  .studio-footer__email {
    font-size: 15px;
  }

  .studio-footer__socials {
    justify-content: space-between;
    max-width: 280px;
  }

  .studio-footer__email {
    max-width: 100%;
  }

  .studio-footer__email > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-footer__prompt {
    margin-top: 88px;
    font-size: 14px;
  }

  .studio-footer__wordmark {
    font-size: 22vw;
    line-height: .95;
  }

  .studio-footer__base {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 36px;
  }

  .studio-footer__base p {
    font-size: 13px;
    line-height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-footer__nav a::after {
    transition: none;
  }
}
