*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Noto Sans Thai", Tahoma, sans-serif;
  color: #fff;
  background: #030d16;
  overflow-x: clip;
}

.seo-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #030d16 url("../images/main-bg.jpg") center / cover no-repeat;
  pointer-events: none;
}

.bg__img,
.bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bg__img {
  z-index: 0;
}

.bg__video {
  z-index: 1;
  filter: brightness(0.75);
}

.float-sns {
  position: fixed;
  left: max(0.5rem, env(safe-area-inset-left));
  top: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: translateY(-50%);
}

.float-sns__link {
  display: block;
  line-height: 0;
  filter: drop-shadow(0 0.25rem 0.55rem rgba(0, 0, 0, 0.45));
  transition: transform 0.22s ease, filter 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.float-sns__link img {
  display: block;
  width: 119px;
  height: auto;
}

.float-sns__link:hover,
.float-sns__link:focus-visible {
  transform: scale(1.08);
  filter: drop-shadow(0 0.3rem 0.7rem rgba(0, 0, 0, 0.5)) brightness(1.08);
}

.float-sns__link:focus-visible {
  outline: 2px solid #caa681;
  outline-offset: 3px;
  border-radius: 50%;
}

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem)
    clamp(1.25rem, 3vw, 2rem);
}

.hero__inner {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: end;
  text-align: center;
  width: min(100%, 750px);
  flex: 1 1 auto;
  min-height: 0;
}

.hero__logo-wrap {
  display: flex;
  justify-content: center;
  align-self: center;
  width: 100%;
}

.hero__logo {
  display: block;
  width: 750px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0.5rem 1.25rem rgba(0, 0, 0, 0.45));
}

.hero__soon {
  display: block;
  width: 482px;
  max-width: 100%;
  height: auto;
  margin-top: 0;
  align-self: end;
  filter: drop-shadow(0 0.35rem 0.85rem rgba(0, 0, 0, 0.4));
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid #caa681;
  background: linear-gradient(180deg, #210607 0%, #0B0101 100%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 1.75rem);
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: clamp(0.9rem, 2.4vw, 1.35rem) clamp(1rem, 4vw, 2rem);
}

.site-footer__brand {
  display: flex;
  justify-content: flex-end;
}

.site-footer__ci {
  display: block;
  width: 380px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer__copy {
  margin: 0;
  font-size: clamp(0.625rem, 1.15vw, 0.75rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: left;
  background: linear-gradient(180deg, #f4eed7 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767.98px) {
  .bg {
    background-image: url("../images/bg-mobile.jpg");
  }

  .bg__video {
    display: none;
  }

  .hero__logo {
    width: min(88%, 20rem);
    margin-inline: auto;
  }

  .float-sns__link img {
    width: 52px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-block: 1.15rem;
  }

  .site-footer__brand {
    justify-content: center;
    width: 100%;
  }

  .site-footer__copy {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg__video {
    display: none;
  }

  .float-sns__link,
  .float-sns__link:hover,
  .float-sns__link:focus-visible {
    transition: none;
    transform: none;
  }
}
