:root {
  --p3-ink: #07110d;
  --p3-forest: #153122;
  --p3-cream: #f2ebdd;
  --p3-cream-2: #fffaf1;
  --p3-gold: #d9a52a;
  --p3-line: rgba(242, 235, 221, .18);
  --p3-product-y: 64%;
}

body.page-index.p3-home { background: var(--p3-ink); }
body.page-index.p3-home.p3-loading { overflow: hidden; }
body.page-index.p3-home .site-header {
  z-index: 400;
  transition: height .3s ease, background .3s ease, border-color .3s ease, color .3s ease, opacity .45s ease, transform .45s ease;
}
body.page-index.p3-home.p3-loading .site-header { opacity: 0; transform: translateY(-18px); }
body.page-index.p3-home .site-header.p3-cream-header {
  color: var(--p3-forest);
  background: rgba(242, 235, 221, .92);
  border-color: rgba(21, 49, 34, .13);
}
body.page-index.p3-home .site-header.p3-cream-header .site-nav a { color: #405248; }
body.page-index.p3-home .site-header.p3-cream-header .header-cart {
  color: var(--p3-forest);
  border-color: rgba(21, 49, 34, .18);
  background: rgba(255, 255, 255, .42);
}
body.page-index.p3-home .site-header.p3-cream-header .brand img { filter: brightness(0) saturate(100%); }

/* Preloader */
.p3-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--p3-ink);
  color: var(--p3-cream);
  opacity: 1;
  visibility: visible;
  transition: visibility .2s linear .55s, opacity .55s ease;
}
.p3-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.p3-loader-inner { display: grid; justify-items: center; gap: 16px; width: min(72vw, 270px); }
.p3-loader-mark { width: 108px; height: 154px; overflow: hidden; clip-path: inset(100% 0 0); }
.p3-loader-mark img { width: 100%; height: 100%; object-fit: contain; }
.p3-loader-name {
  color: var(--p3-cream);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .31em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}
.p3-loader-rule { width: 100%; height: 1px; overflow: hidden; background: rgba(242, 235, 221, .14); }
.p3-loader-rule span { display: block; width: 100%; height: 100%; background: var(--p3-gold); transform: scaleX(0); transform-origin: left; }

/* Mobile-first story: the document owns the distance; sticky owns the frame. */
.p3-story {
  position: relative;
  z-index: 2;
  height: 450vh;
  height: 450svh;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--p3-ink);
  color: var(--p3-cream);
}
.p3-story-pin {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--p3-ink);
}
.p3-bg {
  position: absolute;
  z-index: -6;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.03);
}
.p3-bg-shade {
  position: absolute;
  z-index: -5;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 7, .58), rgba(4, 9, 7, .05) 40%, rgba(4, 9, 7, .52) 84%, rgba(4, 9, 7, .78));
}
.p3-bg-glow {
  position: absolute;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 63%, rgba(214, 166, 70, .13), transparent 29%);
}
.p3-grain { display: none; }

.p3-hero-copy {
  position: absolute;
  z-index: 8;
  top: calc(env(safe-area-inset-top, 0px) + var(--header) + 10px);
  left: 17px;
  right: 17px;
  width: auto;
  text-align: center;
}
.p3-kicker,
.p3-mid-copy > p,
.p3-lineup-heading > p,
.p3-packaging-copy > p,
.p3-brand-copy > p:first-child,
.p3-final-copy > p {
  margin: 0 0 10px;
  color: var(--p3-gold);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.p3-hero-copy h1 {
  max-width: 560px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 14.4vw, 5.4rem);
  font-weight: 600;
  line-height: .79;
  letter-spacing: -.057em;
  text-transform: uppercase;
  text-wrap: balance;
}
.p3-hero-lead {
  max-width: 360px;
  margin: 13px auto 0;
  color: #c8d2ca;
  font-size: .84rem;
  line-height: 1.43;
}
.p3-actions { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.p3-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .085em;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.p3-btn:hover { transform: translateY(-2px); }
.p3-btn-solid { background: var(--p3-gold); color: var(--p3-ink); }
.p3-btn-outline { border-color: rgba(242, 235, 221, .3); background: rgba(7, 17, 13, .38); color: var(--p3-cream); }

.p3-product-stage { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.p3-product {
  position: absolute;
  left: 50%;
  top: var(--p3-product-y);
  width: min(96vw, 620px);
  max-width: none;
  max-height: 46svh;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .3));
}
.p3-product-open,
.p3-product-halves { width: min(100vw, 660px); max-height: 48svh; opacity: 0; }
.p3-exploded { position: absolute; inset: 0; opacity: 0; }
.p3-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .2));
}
.p3-layer-shell { width: min(74vw, 500px); }
.p3-layer-cheese { width: min(47vw, 330px); }
.p3-layer-meat { width: min(51vw, 360px); }
.p3-layer-onion { width: min(35vw, 240px); }
.p3-layer-sauce { width: min(41vw, 290px); }

.p3-mid-copy {
  position: absolute;
  z-index: 7;
  top: 17%;
  left: 18px;
  right: 18px;
  max-width: none;
  text-align: center;
  opacity: 0;
}
.p3-mid-copy h2,
.p3-transition h2,
.p3-lineup-heading h2,
.p3-flavor-copy h3,
.p3-packaging h2,
.p3-brand-copy h2,
.p3-final h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.06em;
}
.p3-mid-copy h2 { font-size: clamp(3.5rem, 17vw, 6.2rem); line-height: .79; }
.p3-mid-copy span { display: block; max-width: 330px; margin: 15px auto 0; color: #b8c5bd; font-size: .69rem; }
.p3-layer-labels { position: absolute; z-index: 9; inset: 0; pointer-events: none; }
.p3-layer-labels span {
  position: absolute;
  padding: 6px 8px;
  border: 1px solid rgba(242, 235, 221, .2);
  border-radius: 999px;
  background: rgba(7, 17, 13, .72);
  color: #f4eee4;
  font-size: .5rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}
.p3-layer-labels [data-p3-label="shell"] { left: 4%; top: 24%; }
.p3-layer-labels [data-p3-label="cheese"] { right: 4%; top: 31%; }
.p3-layer-labels [data-p3-label="meat"] { right: 3%; top: 53%; }
.p3-layer-labels [data-p3-label="onion"] { left: 3%; top: 54%; }
.p3-layer-labels [data-p3-label="sauce"] { right: 5%; bottom: 14%; }
.p3-transition {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 0 17px;
  color: var(--p3-forest);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
.p3-transition p { margin: 0 0 17px; font-size: .56rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.p3-transition h2 { font-size: clamp(4.8rem, 23vw, 8rem); line-height: .69; text-transform: uppercase; }
.p3-transition span { margin-top: 24px; font-size: .57rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.p3-scroll-note {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b5c1b9;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}
.p3-scroll-note i { display: none; }
.p3-progress { position: absolute; z-index: 14; right: 0; bottom: 0; left: 0; height: 2px; background: rgba(242, 235, 221, .08); }
.p3-progress span { display: block; width: 0; height: 100%; background: var(--p3-gold); }

/* Lineup */
.p3-lineup { position: relative; z-index: 3; overflow: hidden; padding: 84px 0 64px; background: var(--p3-cream); color: var(--p3-forest); }
.p3-lineup-pin { position: relative; height: auto; overflow: visible; }
.p3-lineup-heading { position: relative; margin: 0 18px 25px; padding-bottom: 17px; border-bottom: 1px solid rgba(21, 49, 34, .17); }
.p3-lineup-heading > p { color: var(--p3-forest); }
.p3-lineup-heading h2 { font-size: clamp(2.05rem, 10.2vw, 5.2rem); line-height: .85; text-transform: uppercase; }
.p3-lineup-heading > span { display: block; margin-top: 11px; color: #6d7d72; font-size: .59rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.p3-lineup-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: auto;
  height: auto;
  padding: 0 12px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.p3-lineup-track::-webkit-scrollbar { display: none; }
.p3-flavor {
  --flavor-bg: #efe5d5;
  --flavor-ink: #173522;
  position: relative;
  display: flex;
  flex: 0 0 calc(100vw - 38px);
  min-height: 680px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 70px 20px 27px;
  border: 1px solid rgba(21, 49, 34, .12);
  border-radius: 28px;
  background: var(--flavor-bg);
  color: var(--flavor-ink);
  scroll-snap-align: center;
}
.p3-flavor::before {
  position: absolute;
  left: -4%;
  bottom: 34%;
  width: 90vw;
  height: 90vw;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .1;
}
.p3-flavor-number { position: absolute; top: 18px; left: 20px; color: currentColor; font-family: Georgia, serif; font-size: 2.8rem; line-height: 1; opacity: .24; }
.p3-flavor-visual { position: relative; z-index: 2; display: grid; flex: none; height: 325px; place-items: center; }
.p3-flavor-visual picture { display: contents; }
.p3-flavor-visual img { position: relative; z-index: 2; width: 108%; max-width: none; max-height: 315px; object-fit: contain; filter: drop-shadow(0 25px 28px rgba(42, 28, 15, .2)); }
.p3-flavor-orbit { position: absolute; width: 78vw; max-width: 420px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .18; }
.p3-flavor-orbit::before,
.p3-flavor-orbit::after { position: absolute; inset: 12%; border: 1px solid currentColor; border-radius: 50%; content: ""; opacity: .55; }
.p3-flavor-orbit::after { inset: 27%; }
.p3-flavor-copy { position: relative; z-index: 3; padding: 0; }
.p3-flavor-copy > p { margin: 0 0 8px; font-size: .62rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.p3-flavor-copy h3 { font-size: clamp(3.6rem, 16vw, 5.7rem); line-height: .77; text-wrap: balance; }
.p3-flavor-price { margin-top: 16px; font-size: .92rem; font-weight: 900; }
.p3-flavor-description { max-width: 480px; margin-top: 13px; font-size: .8rem; line-height: 1.52; opacity: .78; }
.p3-flavor-actions { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.p3-flavor-actions a,
.p3-flavor-actions button,
.p3-stock {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.p3-flavor-actions button { padding: 9px 13px; border: 1px solid currentColor; border-radius: 999px; cursor: pointer; }
.p3-flavor-actions a { padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.p3-stock { opacity: .62; }

/* Packaging, brand and closing CTA */
.p3-packaging,
.p3-brand-story,
.p3-final { position: relative; overflow: hidden; }
.p3-packaging {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto minmax(180px, 28svh);
  align-content: space-between;
  gap: 24px;
  padding: 90px 20px calc(74px + env(safe-area-inset-bottom));
  background: #efe3cf;
  color: var(--p3-forest);
}
.p3-packaging-copy { position: relative; z-index: 4; text-align: center; }
.p3-packaging-copy > p:first-child { color: #8d6820; }
.p3-packaging h2,
.p3-brand-copy h2,
.p3-final h2 { font-size: clamp(3.8rem, 17vw, 7rem); line-height: .78; text-transform: uppercase; }
.p3-packaging h2 { font-size: clamp(2.6rem, 12.8vw, 7rem); }
.p3-packaging-copy > p:not(.p3-kicker) { max-width: 520px; margin: 22px auto 0; color: #4e5f53; font-size: .9rem; line-height: 1.65; }
.p3-packaging-copy .p3-btn { margin-top: 24px; }
.p3-packaging-stack {
  position: relative;
  height: clamp(180px, 28svh, 270px);
  margin: 0 -20px;
  overflow: hidden;
  isolation: isolate;
}
.p3-packaging-stack::after {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(21, 49, 34, .18);
  content: "";
}
.p3-packaging-stack img {
  position: absolute;
  bottom: 0;
  width: min(54vw, 250px);
  height: auto;
  max-width: none;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 22px rgba(52, 32, 16, .22));
}
.p3-packaging-stack .pack-one {
  z-index: 1;
  left: 32%;
  transform: translate(-50%, 48%) rotate(-9deg);
}
.p3-packaging-stack .pack-two {
  z-index: 3;
  left: 50%;
  transform: translate(-50%, 42%) rotate(1deg) scale(1.06);
}
.p3-packaging-stack .pack-three {
  z-index: 2;
  left: 68%;
  transform: translate(-50%, 48%) rotate(9deg);
}
.p3-brand-story {
  display: grid;
  min-height: 88svh;
  align-items: center;
  padding: 90px 20px;
  background: #d5b65e;
  color: #17291e;
}
.p3-brand-mark { position: absolute; top: 8%; left: -12%; width: 58%; opacity: .12; }
.p3-brand-copy { position: relative; z-index: 2; max-width: 790px; margin-left: auto; }
.p3-brand-copy > p:first-child { color: #5f5525; }
.p3-brand-copy > p:not(:first-child) { max-width: 650px; margin: 22px 0 0; color: #31473a; font-size: .94rem; line-height: 1.7; }
.p3-final {
  display: grid;
  min-height: 92svh;
  align-items: start;
  padding: 100px 20px 35px;
  background: radial-gradient(circle at 50% 73%, rgba(55, 117, 75, .25), transparent 32%), var(--p3-ink);
  color: var(--p3-cream);
  text-align: center;
}
.p3-final-copy { position: relative; z-index: 3; }
.p3-final-product { align-self: end; width: 115%; max-width: none; margin: -24px 0 -6% -7%; filter: drop-shadow(0 32px 48px rgba(0, 0, 0, .4)); transform: rotate(3deg); }
.p3-final .p3-btn { margin-top: 24px; }

@media (max-height: 700px) and (max-width: 767px) {
  :root { --p3-product-y: 69%; }
  .p3-hero-copy { top: calc(env(safe-area-inset-top, 0px) + var(--header) + 5px); }
  .p3-hero-copy h1 { font-size: clamp(2.62rem, 13.4vw, 4.7rem); }
  .p3-hero-lead { margin-top: 9px; font-size: .78rem; line-height: 1.35; }
  .p3-actions { margin-top: 10px; }
  .p3-product { max-height: 44svh; }
}

@media (max-height: 600px) and (max-width: 767px) {
  :root { --p3-product-y: 72%; }
  .p3-kicker { margin-bottom: 6px; }
  .p3-hero-copy h1 { font-size: clamp(2.45rem, 12.9vw, 4.15rem); }
  .p3-hero-lead { display: none; }
  .p3-product { max-height: 42svh; }
}

@media (min-height: 800px) and (max-width: 767px) {
  :root { --p3-product-y: 63.5%; }
}

/* Tablet keeps native sticky, with its own composition. */
@media (min-width: 768px) {
  .p3-story { height: 500vh; height: 500svh; }
  .p3-grain {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: block;
    opacity: .08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  }
  .p3-bg { object-position: center; }
  .p3-bg-shade { background: linear-gradient(90deg, rgba(4, 9, 7, .82), rgba(4, 9, 7, .4) 48%, rgba(4, 9, 7, .18) 72%, rgba(4, 9, 7, .42)); }
  .p3-hero-copy { top: 50%; right: auto; left: clamp(35px, 6vw, 90px); width: min(48vw, 620px); text-align: left; transform: translateY(-47%); }
  .p3-hero-copy h1 { margin: 0; font-size: clamp(4.4rem, 7.6vw, 7.2rem); }
  .p3-hero-lead { margin: 24px 0 0; font-size: 1rem; }
  .p3-actions { justify-content: flex-start; margin-top: 26px; }
  .p3-btn { min-height: 49px; padding: 0 20px; font-size: .7rem; }
  .p3-product { left: 70%; top: 54%; width: min(59vw, 800px); max-height: 70vh; filter: drop-shadow(0 36px 45px rgba(0, 0, 0, .4)); }
  .p3-product-open, .p3-product-halves { width: min(62vw, 850px); max-height: 72vh; }
  .p3-layer { top: 50%; filter: drop-shadow(0 20px 27px rgba(0, 0, 0, .25)); }
  .p3-layer-shell { width: min(49vw, 620px); }
  .p3-layer-cheese { width: min(33vw, 410px); }
  .p3-layer-meat { width: min(36vw, 450px); }
  .p3-layer-onion { width: min(25vw, 300px); }
  .p3-layer-sauce { width: min(29vw, 350px); }
  .p3-mid-copy { top: 50%; right: auto; left: clamp(35px, 6vw, 90px); max-width: 480px; text-align: left; transform: translateY(-50%); }
  .p3-mid-copy h2 { font-size: clamp(4.2rem, 7vw, 7.5rem); }
  .p3-mid-copy span { margin: 22px 0 0; font-size: .82rem; }
  .p3-layer-labels span { padding: 8px 11px; font-size: .6rem; }
  .p3-transition h2 { font-size: clamp(7rem, 12vw, 12rem); }
  .p3-scroll-note { left: clamp(35px, 6vw, 90px); bottom: 30px; font-size: .61rem; transform: none; }
  .p3-scroll-note i { position: relative; display: block; width: 42px; height: 1px; overflow: hidden; background: rgba(242, 235, 221, .3); }
  .p3-scroll-note i::after { position: absolute; inset: 0; background: var(--p3-gold); content: ""; animation: p3-scroll-line 1.7s ease-in-out infinite; transform: translateX(-100%); }
  @keyframes p3-scroll-line { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
  .p3-lineup { padding-top: 100px; }
  .p3-lineup-heading { margin-right: 5vw; margin-left: 5vw; }
  .p3-lineup-heading h2 { font-size: clamp(4rem, 8vw, 7rem); }
  .p3-flavor { flex-basis: 72vw; min-height: 760px; display: grid; grid-template-columns: 1fr .78fr; align-items: end; gap: 30px; padding: 110px 38px 42px; }
  .p3-flavor::before { bottom: -15%; width: 60vw; height: 60vw; }
  .p3-flavor-visual { height: 520px; }
  .p3-flavor-visual img { width: 115%; max-height: 510px; }
  .p3-flavor-orbit { width: 43vw; }
  .p3-flavor-copy { padding-bottom: 5vh; }
  .p3-flavor-copy h3 { font-size: clamp(4.8rem, 8vw, 7.5rem); }
  .p3-packaging, .p3-brand-story, .p3-final { padding-right: 6vw; padding-left: 6vw; }
  .p3-packaging {
    grid-template-rows: auto;
    grid-template-columns: .9fr 1.1fr;
    min-height: 88svh;
    align-content: center;
    gap: 0;
    padding-top: 90px;
    padding-bottom: 50px;
  }
  .p3-packaging-copy { text-align: left; }
  .p3-packaging-copy > p:not(.p3-kicker) { margin-left: 0; }
  .p3-packaging-stack { height: 620px; margin: 20px 0 0; overflow: visible; }
  .p3-packaging-stack::after { display: none; }
  .p3-packaging-stack img { top: 0; bottom: auto; left: 50%; width: min(58vw, 700px); transform-origin: center; }
  .p3-packaging-stack .pack-one { top: 2%; transform: translateX(-76%) rotate(-10deg); }
  .p3-packaging-stack .pack-two { top: 24%; transform: translateX(-35%) rotate(8deg); }
  .p3-packaging-stack .pack-three { top: 45%; transform: translateX(-62%) rotate(-2deg); }
  .p3-brand-story { grid-template-columns: .75fr 1.15fr; }
  .p3-brand-mark { position: relative; top: auto; left: auto; width: 60%; justify-self: center; opacity: .18; }
  .p3-final { grid-template-columns: .8fr 1.2fr; align-items: center; text-align: left; }
  .p3-final-product { align-self: center; width: 115%; margin: 0 0 0 -8%; }
}

@media (min-width: 768px) and (max-width: 900px) and (orientation: portrait) {
  .p3-hero-copy {
    top: calc(var(--header) + 48px);
    right: 38px;
    left: 38px;
    width: auto;
    text-align: center;
    transform: none;
  }
  .p3-hero-copy h1 { margin: 0 auto; font-size: clamp(4.5rem, 10.8vw, 6.2rem); }
  .p3-hero-lead { margin-right: auto; margin-left: auto; }
  .p3-actions { justify-content: center; }
  .p3-product { left: 50%; top: 70.5%; width: min(80vw, 650px); max-height: 49vh; }
  .p3-product-open, .p3-product-halves { width: min(84vw, 680px); max-height: 51vh; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .p3-hero-copy { width: min(43vw, 540px); }
  .p3-hero-copy h1 { font-size: clamp(4.4rem, 7vw, 6.6rem); }
  .p3-product { left: 73%; width: min(47vw, 640px); }
  .p3-product-open, .p3-product-halves { width: min(50vw, 680px); }
}

/* Desktop uses ScrollTrigger pinning; the frame itself is no longer sticky. */
@media (min-width: 1101px) {
  .p3-story { height: auto; }
  .p3-story-pin { position: relative; height: 100vh; height: 100svh; }
  .p3-hero-copy { left: clamp(40px, 6vw, 104px); width: min(45vw, 690px); }
  .p3-hero-copy h1 { font-size: clamp(5rem, 7.2vw, 9rem); }
  .p3-product { left: 69%; width: min(52vw, 880px); }
  .p3-lineup { padding: 0; overflow: hidden; }
  .p3-lineup-pin { height: 100vh; height: 100svh; overflow: hidden; }
  .p3-lineup-heading {
    position: absolute;
    z-index: 10;
    top: 88px;
    right: clamp(32px, 5vw, 76px);
    left: clamp(32px, 5vw, 76px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 30px;
    margin: 0;
  }
  .p3-lineup-heading h2 { font-size: clamp(3rem, 4.7vw, 5.6rem); }
  .p3-lineup-heading > span { margin: 0; }
  .p3-lineup-track { position: absolute; top: 0; left: 0; width: max-content; height: 100%; gap: 0; padding: 0; overflow: visible; scroll-snap-type: none; will-change: transform; }
  .p3-flavor { flex: 0 0 min(78vw, 1180px); height: 100%; min-height: 0; grid-template-columns: 1.05fr .74fr; gap: clamp(25px, 3vw, 55px); padding: 190px clamp(38px, 5vw, 82px) 62px; border: 0; border-right: 1px solid rgba(255, 255, 255, .14); border-radius: 0; }
  .p3-flavor::before { left: 7%; bottom: -27%; width: 54vw; max-width: 820px; height: 54vw; max-height: 820px; }
  .p3-flavor-number { top: 170px; left: clamp(38px, 5vw, 80px); font-size: clamp(3rem, 5vw, 6rem); }
  .p3-flavor-visual { height: 64vh; }
  .p3-flavor-visual img { width: min(58vw, 770px); max-height: 63vh; }
  .p3-flavor-orbit { width: min(45vw, 640px); }
  .p3-flavor-copy { max-width: 510px; padding-bottom: 3vh; }
  .p3-flavor-copy h3 { font-size: clamp(4.7rem, 7vw, 8.2rem); }
  .p3-flavor-description { font-size: .9rem; line-height: 1.62; }
  .p3-packaging h2, .p3-brand-copy h2, .p3-final h2 { font-size: clamp(5.5rem, 7vw, 8.8rem); }
}

body.p3-static-fallback .p3-story,
body.p3-critical-failed .p3-story { height: auto !important; min-height: 100vh; min-height: 100svh; }
body.p3-static-fallback .p3-story-pin,
body.p3-critical-failed .p3-story-pin { position: relative; }
body.p3-static-fallback .p3-product-closed,
body.p3-critical-failed .p3-product-closed { opacity: 1 !important; visibility: visible !important; transform: translate(-50%, -50%) !important; }
body.p3-static-fallback .p3-product-open,
body.p3-static-fallback .p3-product-halves,
body.p3-static-fallback .p3-exploded,
body.p3-critical-failed .p3-product-open,
body.p3-critical-failed .p3-product-halves,
body.p3-critical-failed .p3-exploded { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .p3-loader { display: none !important; }
  body.page-index.p3-home.p3-loading { overflow: auto; }
  .p3-story { height: auto !important; min-height: 100vh; min-height: 100svh; }
  .p3-story-pin { position: relative; }
  .p3-product-open,
  .p3-product-halves,
  .p3-exploded,
  .p3-layer-labels,
  .p3-mid-copy,
  .p3-transition,
  .p3-progress { display: none !important; }
  .p3-product-closed { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
  .p3-lineup-track { scroll-behavior: auto; }
}
