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

body {
  background: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #000;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 11;
}

.logo {
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: #000;
}


/* ---------- Page ---------- */

.page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 44px 16px 0;
}

.index {
  max-width: 660px;
}

.intro {
  max-width: 660px;
}

.block {
  margin-top: 17px;
}

.block[hidden] {
  display: none;
}

.spaced {
  margin-top: 17px;
}

.release-panel {
  background: #f2f2f0;
  padding: 14px 18px;
  width: fit-content;
  min-width: 260px;
}

.spec {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  max-width: 560px;
}

.spec dt {
  color: #999;
}

.spec dd {
  margin: 0;
}

/* ---------- Notify form ---------- */

.notify-form {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 3px;
  width: fit-content;
}

.notify-form::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200px;
  height: 1px;
  background: #000;
  transition: width 0.25s ease;
}

.notify-form:has(.text-button:hover)::before {
  width: 100%;
}

.notify-input {
  font-family: inherit;
  font-size: 12px;
  color: #000;
  background: none;
  border: none;
  border-radius: 0;
  padding: 1px 0;
  width: 200px;
}

.notify-input::placeholder {
  color: #999;
}

.notify-input:focus {
  outline: none;
}

.text-button {
  font-family: inherit;
  font-size: 12px;
  color: #000;
  background: none;
  border: none;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.buy-button {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  padding: 6px 48px;
  text-decoration: none;
  cursor: pointer;
}

.buy-button:hover {
  background: #fff;
  color: #000;
}

.buy-note {
  margin-top: 8px;
}

.text-link {
  color: #000;
  text-decoration: underline;
}

.text-link:hover {
  opacity: 0.5;
}

/* ---------- Sections ---------- */

.section summary {
  position: relative;
  padding-left: 56px;
  cursor: pointer;
  list-style: none;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section summary::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 48px;
  height: 1px;
  background: #000;
  transition: width 0.25s ease;
}

.section summary:hover::before,
.section[open] summary::before {
  width: 100%;
}

.section summary::-webkit-details-marker {
  display: none;
}

.section-body {
  max-width: 480px;
  margin: 8px 0 12px 56px;
}

.section-body p + p {
  margin-top: 17px;
}

.section-image {
  display: block;
  width: 180px;
  height: auto;
  margin-top: 17px;
}

.section[open] p.section-body,
.section[open] div.section-body > p,
.section[open] div.section-body > .section-image {
  animation: staggerIn 0.5s ease both;
}

.section[open] div.section-body > .section-image {
  animation-delay: 0.05s;
}

.section[open] div.section-body > p:nth-child(2) { animation-delay: 0.05s; }
.section[open] div.section-body > p:nth-child(3) { animation-delay: 0.1s; }
.section[open] div.section-body > p:nth-child(n + 4) { animation-delay: 0.15s; }


/* ---------- Figure ---------- */

.figure {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  margin-top: -44px;
  margin-right: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product {
  width: 100%;
  max-height: 100vh;
  height: auto;
  object-fit: contain;
}

.figure-mobile {
  display: none;
}

/* ---------- Load animation (first visit only) ---------- */

@keyframes staggerIn {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.index > * {
  animation: staggerIn 0.5s ease both;
}

.index > :first-child { animation-delay: 0s; }
.index > :nth-child(2) { animation-delay: 0.05s; }
.index > :nth-child(3) { animation-delay: 0.1s; }
.index > :nth-child(4) { animation-delay: 0.15s; }
.index > :nth-child(5) { animation-delay: 0.2s; }
.index > :nth-child(6) { animation-delay: 0.25s; }
.index > :nth-child(7) { animation-delay: 0.3s; }
.index > :nth-child(8) { animation-delay: 0.35s; }
.index > :nth-child(n + 9) { animation-delay: 0.4s; }

.figure,
.site-footer {
  animation: staggerIn 0.5s ease both;
}

.figure { animation-delay: 0.45s; }
.site-footer { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .index > *,
  .figure,
  .site-footer {
    animation: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 120px 16px 16px;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .page {
    grid-template-columns: 1fr;
  }

  .notify-form {
    flex-direction: column;
    gap: 10px;
  }

  .notify-form::before {
    display: none;
  }

  .notify-input {
    border-bottom: 1px solid #000;
  }

  .figure {
    display: none;
  }

  .figure-mobile {
    display: block;
    margin-top: 17px;
  }

  .product {
    width: 100%;
    max-height: none;
  }
}
