@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

::selection {
  background: #000;
  color: #f5f5f5;
}

:root {
  --font-sans: system-ui, -apple-system, sans-serif;
  --transition-duration: 1.2s;
}

html,
body {
  height: 100%;
  font-family: var(--font-sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background slideshow ─────────────────────────────────── */
.slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.slideshow__slide.active {
  opacity: 1;
}

/* ── Layout ───────────────────────────────────────────────── */
.landing {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
}

/* ── Logo ─────────────────────────────────────────────────── */
.logo {
  position: absolute;
  top: 32px;
  left: 40px;
  width: 154px;
}

/* ── Title ────────────────────────────────────────────────── */
.text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pretitle {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  font-style: normal;
  font-family: "Geist", monospace;
  font-variation-settings: "wght" 400;
}

.title {
  font-family: "Geist", system-ui, sans-serif;
  font-style: normal;
  font-size: 64px;
  font-weight: 400;
  line-height: 64px;
  margin-left: -0.025em;
}

/* ── Address ──────────────────────────────────────────────── */
.address {
  position: absolute;
  bottom: calc(32px + env(safe-area-inset-bottom));
  left: 40px;
  font-family: "Geist", system-ui, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  color: #f5f5f5;
}

@media (max-width: 768px) {
  .slideshow__slide {
    inset: unset;
    width: 100vh;
    height: 100vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
  }

  .logo {
    width: 125px;
    top: 40px;
    left: 24px;
  }

  .title {
    font-size: 32px;
    line-height: 36px;
  }

  .landing {
    padding: 40px 24px 32px 24px;
  }

  .address {
    bottom: calc(32px + env(safe-area-inset-bottom));
    left: 24px;
    font-size: 16px;
  }
}
