:root {
  color: #f6f1e8;
  background: #0b0b0a;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

button,
a {
  font: inherit;
}

body {
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 82%, rgba(194, 138, 65, 0.16), transparent 34rem),
    radial-gradient(circle at 84% 28%, rgba(133, 154, 147, 0.15), transparent 30rem),
    linear-gradient(140deg, #0b0b0a 0%, #11110f 47%, #181511 100%);
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-position: center top;
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 72%, transparent 100%);
}

.page-shell::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 6, 5, 0.82) 0%, rgba(6, 6, 5, 0.58) 44%, rgba(6, 6, 5, 0.14) 100%),
    linear-gradient(180deg, rgba(6, 6, 5, 0.48) 0%, transparent 32%, rgba(6, 6, 5, 0.5) 100%);
}

.hero-asset {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.56;
  filter: saturate(0.88) contrast(1.08);
  animation: image-drift 22s ease-in-out infinite alternate;
}

.atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.11;
  background-image: repeating-radial-gradient(
    circle at 20% 30%,
    rgba(255, 255, 255, 0.8) 0 0.7px,
    transparent 0.7px 3px
  );
  mix-blend-mode: screen;
}

.workbench-glow {
  position: absolute;
  right: 6vw;
  bottom: 9vh;
  width: 28rem;
  height: 10rem;
  border-radius: 999px;
  background: rgba(210, 161, 92, 0.2);
  filter: blur(64px);
  animation: glow 9s ease-in-out infinite alternate;
}

.floor-grid {
  position: absolute;
  left: 50%;
  bottom: -15rem;
  width: 120rem;
  height: 42rem;
  transform: translateX(-50%) perspective(540px) rotateX(68deg);
  transform-origin: center top;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(245, 229, 202, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 229, 202, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  animation: drift 18s linear infinite;
}

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: 1.15rem clamp(1rem, 4vw, 3.5rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  width: max-content;
  color: rgba(246, 241, 232, 0.94);
  font-size: 1.02rem;
  font-weight: 720;
  letter-spacing: 0;
  text-decoration: none;
}

.wordmark-mark {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(246, 211, 156, 0.16));
}

.status-line {
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.language-toggle {
  justify-self: end;
  display: flex;
  gap: 0.28rem;
  padding: 0.25rem;
  border: 1px solid rgba(246, 241, 232, 0.13);
  border-radius: 999px;
  background: rgba(16, 16, 14, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.language-toggle button {
  min-width: 2.45rem;
  min-height: 2rem;
  padding: 0 0.72rem;
  border: 0;
  border-radius: 999px;
  color: rgba(246, 241, 232, 0.6);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.language-toggle button:hover {
  color: rgba(246, 241, 232, 0.92);
  transform: translateY(-1px);
}

.language-toggle button.active {
  color: #11100e;
  background: #f2d7a8;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 8.5rem) clamp(1rem, 4vw, 3.5rem);
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #dfb574;
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff8ed;
  font-size: clamp(4.6rem, 17vw, 13rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.82;
  text-shadow: 0 0 42px rgba(216, 175, 110, 0.18);
}

.slogan {
  max-width: 48rem;
  margin: clamp(1.35rem, 3vw, 2.2rem) 0 0;
  color: rgba(246, 241, 232, 0.92);
  font-size: clamp(1.45rem, 4vw, 3.35rem);
  font-weight: 720;
  line-height: 1.04;
}

.body-copy {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: rgba(246, 241, 232, 0.66);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 2.15rem;
  padding: 0 1.45rem;
  border: 1px solid rgba(242, 215, 168, 0.52);
  border-radius: 999px;
  color: #16120c;
  background:
    linear-gradient(180deg, rgba(255, 246, 224, 0.92), rgba(220, 169, 94, 0.94)),
    #f2d7a8;
  box-shadow:
    0 18px 48px rgba(220, 169, 94, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.1em;
}

.footer-line {
  position: relative;
  z-index: 2;
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: 1.2rem clamp(1rem, 4vw, 3.5rem) 1.55rem;
  color: rgba(246, 241, 232, 0.58);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-line span::before {
  display: block;
  width: 2.6rem;
  height: 1px;
  content: "";
  background: rgba(223, 181, 116, 0.55);
}

@keyframes image-drift {
  from {
    transform: scale(1.02) translate3d(-0.4rem, 0, 0);
  }

  to {
    transform: scale(1.06) translate3d(0.8rem, -0.35rem, 0);
  }
}

@keyframes glow {
  from {
    opacity: 0.48;
    transform: translate3d(-2rem, 0, 0) scale(0.94);
  }

  to {
    opacity: 0.78;
    transform: translate3d(1.5rem, -1rem, 0) scale(1.08);
  }
}

@keyframes drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 54px 54px;
  }
}

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

@media (max-width: 760px) {
  .page-shell::after {
    background:
      linear-gradient(90deg, rgba(6, 6, 5, 0.82), rgba(6, 6, 5, 0.42)),
      linear-gradient(180deg, rgba(6, 6, 5, 0.5), transparent 36%, rgba(6, 6, 5, 0.62));
  }

  .hero-asset img {
    object-position: 62% center;
    opacity: 0.5;
  }

  .site-header {
    gap: 0.45rem;
    padding-inline: clamp(0.8rem, 3.5vw, 1.25rem);
  }

  .language-toggle {
    max-width: 100%;
  }

  .language-toggle button {
    min-width: 2.25rem;
    padding: 0 0.58rem;
    font-size: 0.74rem;
  }

  .hero {
    align-items: end;
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .slogan {
    max-width: 25rem;
  }

  .footer-line {
    padding-bottom: 1.1rem;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-top: 0.9rem;
    gap: 0.35rem;
  }

  .wordmark {
    font-size: 0.92rem;
  }

  .wordmark-mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .status-line {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .language-toggle {
    gap: 0.12rem;
    padding: 0.18rem;
  }

  .language-toggle button {
    min-width: auto;
    min-height: 1.85rem;
    padding: 0 0.42rem;
    font-size: 0.68rem;
  }

  .soon-badge {
    width: 100%;
  }
}
