* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #e9e1d6;
  --text-soft: #dbd5c9;
  --button: #8c1007;
  --button-hover: #a11309;
  --border: rgba(255, 255, 255, 0.28);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0f0f0f;
  font-family: "Roboto", sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #242421;
}
::-webkit-scrollbar-thumb {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
  background: #000;
}

.hero {
  position: fixed;
  z-index: 3;
  top: 0;
  width: 100vw;
  height: 100vh;
  padding: 3em;
  background-color: #0f0f0f;
  overflow-x: hidden !important;
  pointer-events: none;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}

.hero-imgs {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow-x: hidden !important;
}

.pre-9 {
  filter: brightness(70%);
}

.website-content {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  overflow-x: hidden !important;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 800;
  src: url("/assets/fonts/Roboto/Roboto-Bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  src: url("/assets/fonts/Roboto/roboto-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("/assets/fonts/Roboto/roboto-regular.woff2") format("woff2");
  font-display: swap;
}

body {
  color: var(--text);
}

.snap-container {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.panel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  isolation: isolate;
}

.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.56) 28%,
    rgba(0, 0, 0, 0.26) 55%,
    rgba(0, 0, 0, 0.14) 100%
  );
  z-index: 1;
}

.panel-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.panel-first {
  padding: 8rem 8rem 4rem 8rem;
}

.intro-logo {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-logo img {
  width: 80px;
  height: auto;
  display: block;
}

.intro-logo span {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #dbd5c9;
}

.intro-copy {
  max-width: 680px;
  width: 100%;
  text-align: center;
  align-self: center;
  margin-bottom: 48px;
}

.intro-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #dbd5c9;
}

.intro-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.35;
  font-weight: 200;
  color: var(--text-soft);
  max-width: 50%;
  margin: 0 auto;
}

.intro-arrow {
  display: inline-flex;
  margin-top: 28px;
}

.entry {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.entry-title {
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.entry-location {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  color: var(--text-soft);
  font-weight: 200;
  margin-bottom: 24px;
}

.entry-location img {
  width: 26px;
  height: 26px;
}

.entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid rgba(140, 16, 7, 0.95);
  background: var(--button);
  color: #dbd5c9;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.entry-button:hover {
  background: var(--button-hover);
  transform: translateY(-1px);
}

.entry-button--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.entry-button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.panel--last .panel-content {
  padding-bottom: 120px;
}

.mini-footer {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.mini-footer,
.mini-footer a,
.mini-footer span {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(233, 225, 214, 0.82);
  text-decoration: none;
}

.mini-footer a:hover {
  color: #dbd5c9;
}

.mini-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-footer-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-footer-dot {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .snap-container {
    scroll-behavior: auto;
  }

  .panel-content {
    padding: 28px 14px 82px 14px;
  }

  .intro-logo {
    top: 18px;
    left: 12px;
  }

  .intro-logo img {
    width: 54px;
  }

  .intro-logo span {
    font-size: 0.82rem;
  }

  .intro-copy {
    margin-bottom: 8px;
    max-width: 320px;
  }

  .intro-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
    margin-bottom: 10px;
  }

  .intro-subtitle {
    font-size: 0.95rem;
    max-width: 18ch;
  }

  .entry {
    max-width: 100%;
  }

  .entry-title {
    font-size: clamp(2rem, 10vw, 3.25rem);
    margin-bottom: 8px;
  }

  .entry-location {
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .entry-location svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .entry-button {
    min-width: 108px;
    height: 38px;
    padding: 0 16px;
    font-size: 0.92rem;
    border-radius: 4px;
  }

  .panel--last .panel-content {
    padding-bottom: 120px;
  }

  .mini-footer {
    left: 14px;
    right: 14px;
    bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mini-footer,
  .mini-footer a,
  .mini-footer span {
    font-size: 0.74rem;
  }
}
