@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

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

body {
  display: flex;
  flex-direction: column;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding: 1.25rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.logo,
.nav a {
  color: #fff;
  text-decoration: none;
}

.logo:hover,
.nav a:hover {
  color: #ff4c00;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  padding: 0.35rem 0;
}

.title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  min-height: 0;

  h1 {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 6.5vw;
    letter-spacing: -0.1rem;
    line-height: 0.95;
    text-align: center;
    width: 80%;
    font-weight: 500;

    div {
      position: relative;
    }
  }
}

.detail-size {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-width: 50px;
  height: 1px;
  font-size: 11px;
}

@media (max-width: 600px) {
  .site-header {
    padding: calc(0.9rem + env(safe-area-inset-top))
      max(1rem, env(safe-area-inset-right))
      0.9rem
      max(1rem, env(safe-area-inset-left));
    font-size: 0.8125rem;
  }

  .nav {
    gap: 1rem;
  }

  .title {
    padding: 0
      max(1rem, env(safe-area-inset-right))
      max(1.25rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));

    h1 {
      width: 100%;
      white-space: nowrap;
      font-size: calc((100vw - 2rem) / 12);
      letter-spacing: -0.04em;
      line-height: 0.95;
    }
  }
}
