@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-VariableFont_slnt,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #efefec;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
}

body {
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
  overflow: hidden;
}

.site {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  touch-action: auto;
}

#image-stage {
  position: absolute;
  inset: 0;
}

.stack-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity;
}

.stack-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.stack-image {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.text-layer {
  pointer-events: none;
  position: relative;
  z-index: 500;
  min-height: 100vh;
  min-height: 100svh;
}

.text-block {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 80%;
  width: 100%;
  transform: translate(-50%, -50%);
  padding: 0 24px;
  text-align: center;
  color: #ffffff;
  mix-blend-mode: difference;
}

.text-block h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.contact a {
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.contact a:hover {
  opacity: 0.7;
}

.ai-note {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 600;
  width: calc(100% - 24px);
  text-align: center;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  mix-blend-mode: difference;
}

@media (min-width: 480px) {
  .text-block {
    top: 78%;
  }

  .text-block h1 {
    font-size: 19px;
  }

  .ai-note {
    bottom: 14px;
    font-size: 8px;
  }
}

@media (min-width: 768px) {
  .text-block {
    top: 73%;
  }

  .text-block h1 {
    font-size: 22px;
  }

  .contact {
    margin-top: 12px;
    font-size: 14px;
  }

  .ai-note {
    bottom: 16px;
    font-size: 9px;
  }
}

@media (min-width: 1024px) {
  .text-block h1 {
    font-size: 24px;
  }

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

@media (min-width: 1440px) {
  .text-block h1 {
    font-size: 26px;
  }
}