/* Products: one long black scroll, a full section per product */
.prod { --mono: "Geist Mono", ui-monospace, Consolas, monospace; scroll-behavior: smooth; }
html:has(body.prod) { scroll-behavior: smooth; scroll-padding-top: 64px; }

.p-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* hero */
.p-hero { min-height: calc(100svh - 60px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px 0 32px; }
.p-eyebrow, .p-meta, .p-scroll, .p-index a, .p-block h3 { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; }
.p-eyebrow { font-size: 12px; color: #8A8A8A; }
.p-title { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 13vw, 92px); line-height: .92; letter-spacing: .005em; text-transform: uppercase; color: #fff; }
.p-lede { margin-top: 22px; max-width: 44ch; font-size: 17px; line-height: 1.55; color: #CFCFCF; }
.p-disclose { margin-top: 12px; max-width: 48ch; font-size: 13px; line-height: 1.5; color: #7A7A7A; }
.p-index { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.p-index a { padding: 9px 14px; border: 1px solid #2E2E2E; border-radius: 999px; font-size: 11.5px; color: #E5E5E5; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.p-index a:hover { border-color: #fff; background: #fff; color: #000; }
.p-scroll { margin-top: 40px; font-size: 11px; color: #5E5E5E; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }

/* header: back button + "The stack" centered */
.p-top { display: grid; grid-template-columns: 38px 1fr 38px; }
.p-stack { margin: 0; text-align: center; font-family: var(--font-display); font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }

/* product section */
.p-item { min-height: 100svh; padding: 56px 0 40px; display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 1px solid #161616; }
.p-meta { font-size: 11.5px; color: #8A8A8A; }
.p-item:first-child { border-top: 0; }
.p-name { margin-top: 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 16vw, 112px); line-height: .9; text-transform: uppercase; letter-spacing: .005em; color: #fff; }
.p-subname { margin-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #A3A3A3; }
.p-tagline { margin-top: 14px; font-size: 19px; font-weight: 500; color: #E7E9EA; }

.p-shot { position: relative; margin: 34px 0 0; width: min(100%, 460px); }
.p-shot::before { content: ""; position: absolute; inset: 8% 8% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); filter: blur(30px); z-index: 0; }
.p-shot img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.p-shot:hover img { transform: translateY(-6px) scale(1.02); }
.p-shot--photo img { object-fit: cover; border-radius: 28px; border: 1px solid #2A2A2A; filter: none; }
.p-shot--photo:hover img { transform: scale(1.02); }

.p-info { margin-top: 38px; width: 100%; display: grid; gap: 14px; text-align: left; }
.p-block { padding: 20px 20px 18px; border: 1px solid #222; border-radius: 18px; background: #070707; }
.p-block h3 { margin-bottom: 10px; font-size: 11.5px; font-weight: 500; color: #8A8A8A; }
.p-block p { font-size: 16px; line-height: 1.6; color: #E7E9EA; }
.p-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-list li { padding: 7px 12px; border: 1px solid #2E2E2E; border-radius: 999px; font-size: 14px; color: #E5E5E5; }
.p-list--why li { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.p-ingredients { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.p-ingredients li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid #1E1E1E; }
.p-ingredients strong { font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.p-ingredients span { font-size: 15px; line-height: 1.6; color: #CFCFCF; }

@media (min-width: 640px) { .p-info { grid-template-columns: 1fr 1fr; } .p-info .p-block:first-child { grid-column: 1 / -1; } }

.p-btn {
  margin-top: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; width: min(100%, 460px);
  border: 1px solid #fff; border-radius: 999px; color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 20px; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(255,255,255,.18), inset 0 0 14px rgba(255,255,255,.06);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.p-btn svg { width: 20px; height: 20px; transition: transform .25s; }
.p-btn:hover { background: #fff; color: #000; box-shadow: 0 0 40px rgba(255,255,255,.35); }
.p-btn:hover svg { transform: translateX(4px); }
.p-note { margin-top: 12px; font-size: 12px; color: #6B6B6B; }
.p-item .p-scroll { margin-top: 48px; }

/* reveal on scroll */
.reveal > * { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in > * { opacity: 1; transform: none; }
.reveal.is-in > *:nth-child(2) { transition-delay: .06s; }
.reveal.is-in > *:nth-child(3) { transition-delay: .12s; }
.reveal.is-in > *:nth-child(4) { transition-delay: .18s; }
.reveal.is-in > *:nth-child(5) { transition-delay: .24s; }
.reveal.is-in > *:nth-child(n+6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal > * { opacity: 1; transform: none; transition: none; }
  .p-scroll { animation: none; }
}
