:root {
  --canvas: #171717;
  --gold: #d9a757;
  --gold-light: #ffe0a3;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  overflow: hidden;
  background: var(--canvas);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 0.75rem;
}

.business-card {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  background: var(--canvas);
}

.center-lockup {
  display: grid;
  width: min(88vw, 65rem);
  justify-items: center;
  animation: lockup-enter 1s var(--ease-luxury) both;
}

.brand {
  position: relative;
  display: block;
  line-height: 0;
  max-width: 800px;
}

.brand-desktop {
  display: block;
  width: 100%;
  max-width: 50vw;
  padding: 30px;
  height: auto;
  filter: drop-shadow(0 0 1rem rgba(217, 167, 87, 0.06));
}

.brand-mobile-frame {
  display: none;
}

.phone-divider {
  display: block;
  width: clamp(12rem, 26vw, 23rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
  background-size: 220% 100%;
  box-shadow: 0 0 1rem rgba(217, 167, 87, 0.12);
  animation: divider-enter 0.8s 0.35s var(--ease-luxury) both;
}

.phone-divider-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 12.5px;
  margin-top: 50px;
  margin-bottom: 0px;
  padding: 0;
}

.phone {
  display: grid;
  width: clamp(24rem, 42vw, 40rem);
  max-width: 450px;
  place-items: center;
  transition: filter 280ms var(--ease-luxury), transform 280ms var(--ease-luxury);
  animation: phone-enter 0.9s 0.48s var(--ease-luxury) both;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.phone:hover {
  filter: brightness(1.16) drop-shadow(0 0 0.85rem rgba(237, 184, 94, 0.25));
  transform: translateY(-0.2rem) scale(1.018);
}

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

@keyframes lockup-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

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

@keyframes divider-enter {
  from {
    opacity: 0;
    transform: scaleX(0.25);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes phone-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.985);
  }

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

@media (max-width: 740px) {
  .business-card {
    padding: 1.5rem;
  }

  .center-lockup {
    width: min(90vw, 26rem);
    gap: clamp(1.5rem, 5vh, 2.35rem);
  }

  .brand-desktop {
    display: none;
  }

  .brand-mobile-frame {
    display: block;
    width: min(78vw, 22rem);
    height: min(63vw, 22rem);
    overflow: hidden;
  }

  .brand-mobile {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(-14%);
  }

  .phone-divider {
    width: min(70vw, 18rem);
  }

  .phone {
    width: min(100%, 29rem);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

#footer_content {
  background-color: var(--gold);
  background-image: url('assets/bg-footer.png');
  background-position: top center;
  background-repeat: repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 48px;
  line-height: 2;
  position: fixed;
  inset-inline: 0;
  height: 120px;
  width: auto;
  bottom: max(30px, env(safe-area-inset-bottom));
}
.footer_col{
  min-width: 0;
  height: auto;
}

#footer_content p {
  margin: 0;
}

@media (max-width: 740px) {
  .business-card {
    padding-bottom: calc(9rem + env(safe-area-inset-bottom));
  }

  #footer_content {
    min-height: 7.5rem;
    height: auto;
    padding: 0.8rem 1.25rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 0.3rem;
    text-align: center;
    line-height: 1.35;
  }

  #footer_content p {
    font-size: clamp(0.76rem, 3.25vw, 0.9rem);
  }

  .footer_col {
    width: 100%;
  }

  .footer_detail_text a {
    overflow-wrap: anywhere;
  }
}
