/* ─── Pretendard Variable ───────────────────── */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-jp.min.css");

:lang(ja) {
  font-family: "Pretendard JP Variable", "Pretendard Variable", sans-serif;
}

/* ─── Reset & Base ──────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #0a0a0a;
  color: #f5f5f0;
  overflow-x: hidden;
}

/* Background */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: scale(1.08);
  animation: bgPan 28s ease-in-out infinite alternate;
  background-image: url("assets/images/bg-desktop-1280.webp");
}

@media (min-width: 1281px) {
  .bg-layer {
    background-image: url("assets/images/bg-desktop-1920.webp");
  }
}

@media (min-width: 1921px),
       (-webkit-min-device-pixel-ratio: 2) and (min-width: 1024px),
       (min-resolution: 2dppx) and (min-width: 1024px) {
  .bg-layer {
    background-image: url("assets/images/bg-desktop-4k.webp");
  }
}

@media (max-width: 430px) {
  .bg-layer {
    background-position: center top;
  }
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(0, 0, 0, 0.50) 80%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

/* ─── Page Shell ────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* ─── Header / Logo ─────────────────────────── */
.site-header {
  padding: 40px 32px 0;
}

.header-inner {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  text-align: left;
}

.site-logo {
  height: 18px;
  width: auto;
  opacity: 0;
  animation: fadeInDown 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}


/* ─── Main Content ──────────────────────────── */
.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 32px 64px;
}

@media (max-width: 768px) {
  .site-main {
    padding: 40px 24px 40px;
  }

  .site-header {
    padding: 28px 24px 0;
  }

  .site-logo {
    height: 16px;
  }
}

/* ─── Marketing Copy ────────────────────────── */
.copy-wrapper {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  text-align: left;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.coming-soon-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  margin-bottom: 20px;
}

.product-teaser {
  display: block;
  width: auto;
  height: min(460px, 52svh);
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  margin: 8px auto 24px;
  opacity: 0.25;
}

@media (max-width: 768px) {
  .product-teaser {
    height: min(360px, 48svh);
    margin-bottom: 20px;
  }
}

.copy-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lang-block p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.lang-block[data-lang="ja"] p {
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .lang-block p {
    font-size: 15px;
    line-height: 1.8;
  }

  .copy-container {
    gap: 16px;
  }
}


.brand-slogan {
  margin-top: 48px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 768px) {
  .brand-slogan {
    margin-top: 36px;
    font-size: 14px;
  }
}

/* ─── Footer ────────────────────────────────── */
.site-footer {
  padding: 28px 32px 36px;
  text-align: center;
}

.footer-notice {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 24px 24px 32px;
  }
}

/* ─── Keyframes ─────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bgPan {
  from { transform: scale(1.08) translateX(-3%); }
  to   { transform: scale(1.08) translateX(3%); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer,
  .site-logo,
  .copy-wrapper {
    animation: none;
  }

  .site-logo,
  .copy-wrapper {
    opacity: 1;
    transform: none;
  }
}
