:root {
  color-scheme: dark;
  font-family: "Geist", "Avenir Next", system-ui, sans-serif;
  color: #fff3e7;
  background: #211315;
  --muted: #d1b7ad;
  --line: #f7cfba43;
  --accent: #ffb59f;
  --surface: #211315;
  --scene-pad: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }

body { margin: 0; }

button { font: inherit; }

.journey { min-height: 420svh; }

.scene {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100svh;
  min-height: 540px;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
  padding: 0 var(--scene-pad);
}

.masthead, .scene-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 16px;
  min-width: 0;
}

.masthead {
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}

.masthead h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.035em;
}

.demo-label, .scroll-hint {
  color: var(--muted);
  font-size: .875rem;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  min-height: 0;
  align-items: stretch;
}

.stage {
  position: relative;
  isolation: isolate;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.orbit {
  position: absolute;
  left: 1%;
  width: 97%;
  top: 51%;
  height: 38%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.orbit-inner {
  left: 8%;
  width: 82%;
  top: 55%;
  height: 30%;
  opacity: .48;
}

.bottles { position: absolute; inset: 0; }

.bottle {
  position: absolute;
  top: 46%;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(38%, 330px);
  height: 72%;
  margin: 0;
  pointer-events: none;
}

.bottle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px #08030883);
}

.info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 0 24px clamp(24px, 5.5vw, 80px);
}

.product {
  width: 100%;
  max-width: 410px;
}

.product h2 {
  margin: 8px 0 16px;
  font-size: clamp(3rem, 5.7vw, 6rem);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.085em;
}

.product-type {
  margin: 0;
  color: var(--accent);
  font-size: .75rem;
  line-height: 1.33;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.description {
  max-width: 300px;
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.notes li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: #f4dcd2;
  font-size: .75rem;
  line-height: 1.33;
}

.price {
  margin: 24px 0;
  font-size: 1.5rem;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.arrows { display: flex; gap: 8px; }

.arrows button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
}

.arrows button:not(:disabled):hover { background: #fff3e720; }
.arrows button:disabled { opacity: .33; cursor: default; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.scene-footer {
  min-height: 80px;
  border-top: 1px solid var(--line);
}

.scroll-hint { display: flex; align-items: center; gap: 8px; }
.scroll-hint span { color: var(--accent); font-size: 1rem; }

.index { display: flex; align-items: center; gap: 4px; }

.index button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

.index button:hover { color: #fff3e7; }

.index button[aria-current="true"] {
  color: #fff3e7;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--accent);
}

@media (max-width: 760px) {
  .scene { min-height: 590px; }
  .masthead, .scene-footer { min-height: 56px; }
  .masthead h1 { font-size: 1rem; }
  .demo-label, .scroll-hint { font-size: .75rem; }
  .showcase {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .stage { margin-inline: -8px; }
  .bottle { top: 56%; width: min(38%, 220px); height: 82%; }
  .info { padding: 4px 0 16px; }
  .product h2 { font-size: 3rem; margin: 4px 0 8px; }
  .description { max-width: 350px; min-height: 40px; font-size: .875rem; line-height: 1.43; }
  .notes { margin-top: 8px; }
  .notes li { padding: 2px 8px; }
  .price { margin: 12px 0 0; font-size: 1.25rem; }
  .arrows { position: absolute; right: 0; bottom: 8px; }
  .arrows button { width: 44px; height: 44px; }
  .scene-footer { gap: 4px; }
  .index { gap: 0; }
  .index button { width: 28px; }
}

@media (max-width: 400px) {
  .scroll-hint { max-width: 126px; }
}

@media (max-height: 589px) and (min-width: 761px) {
  .scene { min-height: 0; }
  .masthead, .scene-footer { min-height: 48px; }
  .info { padding-block: 8px; }
  .product h2 { font-size: 3rem; margin-block: 4px 8px; }
  .description { min-height: 0; }
  .price { margin-block: 8px; }
}
