*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #14100c;
  --text-muted: #c3b8ae;
  --text: #ffffff;
  --font: "Urbanist", sans-serif;
  --frame-w: 1512px;
  --frame-h: 982px;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  width: 100%;
  height: 100dvh;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

/* Figma background artboard — cover-scaled; content is separate */
.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--frame-w);
  height: var(--frame-h);
  background: var(--bg);
  overflow: hidden;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  pointer-events: none;
  z-index: 0;
}

.stage__photo {
  position: absolute;
  left: -360px;
  top: -973px;
  width: 2489px;
  height: 1663px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage__photo-inner {
  flex: none;
  width: 1663px;
  height: 2489px;
  position: relative;
  transform: rotate(-90deg) scaleY(-1);
}

.stage__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

/*
  Figma gradient overlay — same stops/rotation as the design file
*/
.stage__fade {
  position: absolute;
  top: -103.46%;
  right: -12.83%;
  bottom: 29.23%;
  left: -38.23%;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: size;
}

.stage__fade-inner {
  flex: none;
  width: 100cqh;
  height: 100cqw;
  transform: rotate(90deg) scaleX(-1);
}

.stage__fade-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

@supports not (width: 1cqh) {
  .stage__fade-inner {
    width: 100%;
    height: 100%;
  }

  .stage__fade {
    background: linear-gradient(
      180deg,
      rgba(20, 16, 12, 0) 0%,
      rgba(20, 16, 12, 0.1) 47.1154%,
      rgba(20, 16, 12, 0.9) 100%
    );
  }

  .stage__fade-img {
    display: none;
  }
}

/*
  Content in the viewport lower area — matches Figma proportions
  (logo ~61% down, ~7% bottom padding) without artboard crop.
*/
.content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px clamp(40px, 6.8vh, 72px);
  text-align: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(358px, 72vw);
  margin-bottom: clamp(28px, 4.5vh, 45px);
}

.logo__mark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 358 / 80.2934;
}

.logo__wordmark {
  display: block;
  width: 48%;
  max-width: 172px;
  height: auto;
  margin-top: 20px;
  aspect-ratio: 172.071 / 14.6973;
}

.headline {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 70px);
  line-height: 1;
  color: var(--text-muted);
  text-transform: uppercase;
  max-width: 906px;
  margin-bottom: clamp(14px, 2.5vh, 25px);
}

.status {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(18px, 2.6vw, 40px);
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .content {
    justify-content: center;
    padding: 24vh 20px 10vh;
  }

  .logo {
    width: min(240px, 68vw);
    margin-bottom: 28px;
  }

  .headline {
    font-size: clamp(22px, 7.2vw, 36px);
    margin-bottom: 14px;
  }

  .status {
    font-size: clamp(16px, 4.5vw, 22px);
    letter-spacing: 0.12em;
  }
}

@media (max-width: 380px) {
  .logo {
    width: 200px;
  }

  .headline {
    font-size: 20px;
  }

  .status {
    font-size: 15px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .content {
    justify-content: center;
    padding: 24px 20px;
  }

  .logo {
    width: min(180px, 40vw);
    margin-bottom: 16px;
  }

  .headline {
    font-size: clamp(18px, 4vw, 28px);
    margin-bottom: 8px;
  }

  .status {
    font-size: clamp(14px, 2.5vw, 18px);
  }
}
