:root {
  --brand: #2d4385;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.24);
  --page-x: clamp(1.5rem, 7vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #11213b;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Background scene */
.scene,
.scene__image,
.scene__overlay,
.scene__grid,
.scene__glow {
  position: fixed;
  inset: 0;
}

.scene {
  z-index: -2;
  overflow: hidden;
  background: #17305a;
}

.scene__image {
  inset: -4%;
  background-image: url('../img/bg1.webp');
  background-size: cover;
  background-position: 50% 46%;
  will-change: transform;
  animation: landscapeDrift 22s ease-in-out infinite alternate;
}

.scene__overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 38, 0.92) 0%, rgba(13, 29, 53, 0.84) 31%, rgba(20, 42, 69, 0.56) 56%, rgba(7, 25, 43, 0.17) 84%),
    linear-gradient(0deg, rgba(4, 14, 29, 0.56) 0%, rgba(4, 14, 29, 0.08) 48%, rgba(22, 47, 79, 0.14) 100%);
}

.scene__grid {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.65) 30%, transparent 66%);
  animation: gridShift 28s linear infinite;
}

.scene__glow {
  left: auto;
  width: 44vw;
  background: linear-gradient(105deg, transparent 20%, rgba(58, 105, 180, 0.10) 51%, transparent 78%);
  transform: translateX(44vw);
  animation: lightSweep 12s ease-in-out infinite;
}

/* Main landing content */
.landing {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vh, 6rem) var(--page-x);
}

.hero {
  width: min(760px, 57vw);
  opacity: 0;
  transform: translateY(18px);
  animation: contentIn 900ms cubic-bezier(.2,.75,.2,1) 1.55s forwards;
}

.hero__logo {
  display: block;
  width: min(680px, 100%);
  height: auto;
  filter: drop-shadow(0 1px 12px rgba(0, 0, 0, 0.12));
}

.hero__rule {
  width: min(92px, 18vw);
  height: 2px;
  margin: clamp(2rem, 4vh, 3rem) 0 clamp(1.7rem, 3.5vh, 2.7rem);
  background: rgba(255, 255, 255, 0.78);
  transform-origin: left;
  transform: scaleX(0);
  animation: ruleIn 700ms cubic-bezier(.2,.75,.2,1) 2.05s forwards;
}

.hero__slogan {
  margin: 0;
  font-size: clamp(2.45rem, 4.55vw, 5.1rem);
  line-height: 0.98;
  font-weight: 350;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__slogan span {
  display: block;
}

.hero__slogan span:last-child {
  color: rgba(255, 255, 255, 0.70);
}

/* Pre-launch information */
.launch-note {
  display: grid;
  gap: 0.72rem;
  width: min(690px, 100%);
  margin-top: clamp(1.55rem, 3.2vh, 2.35rem);
  padding-left: clamp(1rem, 1.8vw, 1.35rem);
  border-left: 1px solid rgba(255, 255, 255, 0.30);
}

.launch-note p {
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  animation: detailIn 650ms cubic-bezier(.2,.75,.2,1) forwards;
}

.launch-note__phase {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation-delay: 2.18s !important;
}

.launch-note__summary {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9rem, 1.05vw, 1.03rem);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.003em;
  animation-delay: 2.30s !important;
}

.launch-note__inquiry {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.82rem, 0.94vw, 0.94rem);
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0.025em;
  animation-delay: 2.42s !important;
}

.launch-note__inquiry::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.contact {
  display: grid;
  gap: 0;
  margin-top: clamp(1.9rem, 4vh, 3rem);
  padding-top: 0;
  width: min(710px, 100%);
  font-style: normal;
  border-top: 1px solid var(--line);
}

.contact__item {
  min-height: 58px;
  display: grid;
  grid-template-columns: 2.65rem 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: clamp(0.92rem, 1.14vw, 1.08rem);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

a.contact__item:hover,
a.contact__item:focus-visible {
  color: #fff;
  padding-left: 0.35rem;
}

a.contact__item:focus-visible {
  outline: 2px solid rgba(255,255,255,0.78);
  outline-offset: 4px;
}

.contact__icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
}

.contact__icon svg {
  width: 0.96rem;
  height: 0.96rem;
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--brand);
  animation: introExit 2.25s cubic-bezier(.55,.05,.25,1) forwards;
}

.intro__inner {
  width: min(670px, 72vw);
}

.intro__logo {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.975);
  filter: blur(3px);
  animation: logoReveal 850ms cubic-bezier(.2,.75,.2,1) 160ms forwards;
}

.intro__line {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(1.1rem, 2.5vw, 1.65rem);
  background: rgba(255, 255, 255, 0.46);
  transform: scaleX(0);
  transform-origin: left;
  animation: introLine 700ms cubic-bezier(.2,.75,.2,1) 480ms forwards;
}

@keyframes landscapeDrift {
  from { transform: scale(1.075) translate3d(-0.35%, -0.2%, 0); }
  to   { transform: scale(1.125) translate3d(0.65%, 0.35%, 0); }
}

@keyframes gridShift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(96px, 0, 0); }
}

@keyframes lightSweep {
  0%, 18% { transform: translateX(46vw); opacity: 0; }
  42% { opacity: 1; }
  72%, 100% { transform: translateX(-108vw); opacity: 0; }
}

@keyframes logoReveal {
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes introLine {
  to { transform: scaleX(1); }
}

@keyframes introExit {
  0%, 67% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes contentIn {
  to { opacity: 1; transform: none; }
}

@keyframes ruleIn {
  to { transform: scaleX(1); }
}

@keyframes detailIn {
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .scene__image {
    background-position: 62% 50%;
  }

  .scene__overlay {
    background:
      linear-gradient(180deg, rgba(7, 18, 38, 0.76) 0%, rgba(10, 25, 47, 0.82) 48%, rgba(5, 15, 30, 0.92) 100%),
      linear-gradient(90deg, rgba(7,18,38,0.68), rgba(7,18,38,0.12));
  }

  .scene__grid {
    opacity: 0.08;
    mask-image: linear-gradient(180deg, transparent 0%, #000 48%, #000 100%);
  }

  .landing {
    align-items: flex-end;
    padding-top: 5.5rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .hero {
    width: 100%;
  }

  .hero__logo {
    width: min(610px, 88vw);
  }

  .hero__slogan {
    max-width: 11ch;
  }

  .launch-note {
    width: min(650px, 100%);
  }

  .contact {
    margin-top: clamp(1.8rem, 4vh, 2.6rem);
  }
}

@media (max-width: 520px) {
  :root {
    --page-x: clamp(1.25rem, 6vw, 1.75rem);
  }

  .landing {
    min-height: 100dvh;
    padding-top: 7rem;
  }

  .hero__logo {
    width: 100%;
  }

  .hero__rule {
    margin-top: 1.6rem;
    margin-bottom: 1.45rem;
  }

  .hero__slogan {
    font-size: clamp(2.2rem, 12.2vw, 3.55rem);
  }

  .launch-note {
    gap: 0.56rem;
    margin-top: 1.35rem;
    padding-left: 0.95rem;
  }

  .launch-note__phase {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .launch-note__summary {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .launch-note__inquiry {
    font-size: 0.81rem;
  }

  .contact {
    margin-top: 1.6rem;
  }

  .contact__item {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.65rem;
    min-height: 54px;
    padding-block: 0.75rem;
    font-size: 0.9rem;
  }

  .contact__icon {
    width: 1.85rem;
    height: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
  }

  .intro {
    display: none;
  }

  .hero {
    opacity: 1;
    transform: none;
  }

  .hero__rule {
    transform: scaleX(1);
  }
}
