/* Hero scroll stage, scoped to .hx. */
.hx { position: relative; z-index: 3; height: 225vh; height: 225svh; margin-bottom: -100vh; margin-bottom: -100svh; pointer-events: none; }
.hx-stage { position: fixed; inset: 0 0 auto; height: 100vh; height: 100svh; clip-path: inset(0 0 -140px 0); isolation: isolate; contain: layout style; }
.hx-stage.is-out { visibility: hidden; }
.hx-stage.is-out * { animation: none !important; }
.hx-under { position: absolute; top: 100%; left: 0; right: 0; height: 140px; } /* fills the strip when a phone's address bar slides away */
.aisle-sticky.hx-held { position: fixed; inset: 0 0 auto; }
.hx-stage a, .hx-stage button { pointer-events: auto; }
.hx em { font-style: italic; }
.hx h1 { margin: 0; text-wrap: balance; }
.hx-ledger { display: flex; margin: 0; }
.hx-ledger dt { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.hx-ledger dd { margin: 0 0 6px; font: 340 clamp(1.5rem, 2vw, 2.1rem)/1 var(--f-display); font-variant-numeric: lining-nums; }
.hx-more { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 .72rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.hx-more i { width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: hx-more 2.4s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes hx-more { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hx a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .hx { height: auto; margin-bottom: 0; } .hx-stage { position: relative; overflow: hidden; } .hx-under { display: none; }
  .hx-more i { animation: none; }
}
.aisle { scroll-margin-top: calc(-1 * (var(--header-h) + 14px)); } /* links to the shelves land exactly where the hero hands over */
/* phones: 69 live drop-shadows are the costliest thing on the page; the contact shadow under each pack stays */
@media (max-width: 900px), (pointer: coarse) { .aisle .pack img { filter: none; } }

/* Hero · The Still Life: a plaster set, one hard sun, real packs. Scroll sends each pack to its own place on the shelf. */
.h2x { --sun: 0; --set: 1; --copy: 1; color: var(--ink);
  --pl: #D9B98C; --pl-2: #C9A370; --pl-3: #EBD3AC; }
.hx-light .site-header:not(.is-scrolled) { --fg: var(--ink); }
.h2x .hx-stage { background: transparent; }
.sl-set { position: absolute; inset: 0; z-index: 0; will-change: opacity; overflow: hidden; background: #E2C597; }
.sl-wall { position: absolute; inset: 0; background: linear-gradient(98deg, #EBD4AD 0%, #E6CA9C 34%, #D8B685 72%, #C49A66 100%); }
.sl-wall::after { content: ""; position: absolute; inset: 0; opacity: .34; mix-blend-mode: soft-light; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='6' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='700' height='700' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* sun through a tall window: three panes, drifting */
.sl-gobo { position: absolute; inset: -30% -20%; display: flex; gap: 2.4vw; justify-content: center; transform: translate3d(calc(var(--sun) * -9vw), 0, 0) skewX(calc(-24deg + var(--sun) * 10deg)); mix-blend-mode: soft-light; pointer-events: none; filter: blur(7px); }
.sl-gobo i { width: 17vw; height: 100%; background: repeating-linear-gradient(180deg, rgba(255, 250, 232, .95) 0 33vh, transparent 33vh 36vh); }
.sl-gobo-front { z-index: 4; opacity: .3; }
.sl-title { position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--header-h) + 1.2svh); padding-inline: var(--gutter); font: 340 clamp(3.2rem, min(13vw, 22svh), 15rem)/.83 var(--f-display); letter-spacing: -.045em; color: #5E0E0B; max-width: var(--maxw); margin-inline: auto !important; will-change: transform, opacity; }
.sl-title span { display: block; white-space: nowrap; }
.sl-title span + span { padding-left: .02em; }
.sl-title em { font-weight: 320; }
.sl-table { position: absolute; z-index: 2; inset: auto 0 0; height: calc(var(--tb, 17svh) + var(--lift, 70px) * .8); background: linear-gradient(180deg, #F0DCB8 0, #E3C797 7%, #CFA973 60%, #B88E59 100%); box-shadow: 0 -1px 0 rgba(255, 246, 222, .8); }
.sl-plinths { position: absolute; inset: 0; z-index: 3; }
.sl-pl { position: absolute; bottom: var(--b); left: var(--x); width: var(--w); height: var(--h); }
.sl-pl::before { /* front */ content: ""; position: absolute; inset: 0; background: linear-gradient(96deg, var(--pl-3), var(--pl) 40%, var(--pl-2)); box-shadow: 6px 8px 24px rgba(92, 50, 16, .3); }
.sl-pl::after { /* top */ content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 2svh; background: linear-gradient(98deg, #F8E8C8, #EED6AC); clip-path: polygon(2.2% 0, 97.8% 0, 100% 100%, 0 100%); }
.sl-pl.is-red::before { background: linear-gradient(96deg, #8f2217, #6f130e 45%, #4e0a08); } .sl-pl.is-red::after { background: linear-gradient(98deg, #b5392a, #8f2217); }
.sl-pl.is-drum::before { background: linear-gradient(90deg, #C39B67, #EFD9B4 24%, #E4C898 48%, #B58A55 86%, #A77C49); border-radius: 0 0 50% 50% / 0 0 2svh 2svh; }
.sl-pl.is-drum::after { height: 3.2svh; bottom: calc(100% - 1.6svh); clip-path: none; border-radius: 50%; }
.sl-pl b { position: absolute; left: 100%; bottom: 0; width: 60%; height: 100%; transform-origin: 0 100%; transform: skewX(calc(-38deg + var(--sun) * 26deg)) scaleY(.6); background: linear-gradient(90deg, rgba(92, 50, 16, .34), transparent); filter: blur(5px); }
.sl-packs { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.sl-pack { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.sl-pack img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sl-shadows { position: absolute; inset: 0; z-index: 3; will-change: opacity; }
.sl-sh { position: absolute; transform-origin: 50% 99%; transform: translateX(3%) skewX(calc(-40deg + var(--sun) * 30deg)) scaleY(calc(.8 - var(--sun) * .16)); filter: brightness(0) sepia(1) blur(4px); opacity: .3; }
.sl-pack .sl-contact { position: absolute; left: 2%; right: -2%; bottom: -1.5%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 24, 4, .7), transparent); }
.sl-copy { position: absolute; z-index: 6; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: calc(var(--foot, 84px) + clamp(16px, 3svh, 32px)); width: min(34vw, 440px); will-change: opacity; }
.sl-role { margin: 0 0 10px; font: 580 clamp(1rem, 1.25vw, 1.2rem)/1.22 var(--f-body); letter-spacing: -.012em; color: #5E0E0B; text-wrap: balance; }
.sl-lede { margin: 0 0 20px; font-size: clamp(.95rem, 1.06vw, 1.05rem); line-height: 1.45; color: #3a2415; }
.sl-ctas { display: flex; align-items: center; gap: 22px; } .sl-ctas .btn { white-space: nowrap; flex: none; }
.sl-lede { max-width: 42ch; }
.sl-link { white-space: nowrap; color: #3B0806; font-weight: 520; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.sl-more { color: #3B0806; margin-left: auto; }
/* dawn: the first two seconds before the sun comes round */
.sl-dawn { position: absolute; inset: 0; z-index: 8; background: linear-gradient(115deg, #2a1a2b, #2a0f0a); mix-blend-mode: multiply; opacity: 0; pointer-events: none; will-change: opacity; }

@media (max-width: 900px) {
  .sl-title { font-size: clamp(2.7rem, 16.2vw, 8rem); top: calc(var(--header-h) + 10px); line-height: .88; }
  .sl-title span:first-child { white-space: normal; }
  .sl-copy { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(var(--foot, 84px) + 18px); }
  .sl-lede { font-size: .95rem; margin-bottom: 14px; }
  .sl-role { margin-bottom: 6px; }
  .sl-more { display: none; }
  .h2x { --tb: 32svh; }
  .sl-gobo i { width: 34vw; }
}
@media (prefers-reduced-motion: reduce) { .sl-pack { will-change: auto; } }

@media (max-width: 1180px) { .sl-more { display: none; } }

.h2x .hx-under { background: var(--kokum-3); }
.sl-pack, .sl-shadows { backface-visibility: hidden; }
/* phones: no live blur or blending; the sun is already up and the shadows hold still */
@media (max-width: 900px), (pointer: coarse) {
  .sl-wall::after, .sl-gobo-front { display: none; }
  .sl-gobo { mix-blend-mode: normal; filter: none; opacity: .34; transform: skewX(-24deg); }
  .sl-gobo i { background: linear-gradient(90deg, transparent, #FFF6DF 9%, #FFF6DF 91%, transparent); -webkit-mask: repeating-linear-gradient(180deg, #000 0 33vh, transparent 34vh 36vh); mask: repeating-linear-gradient(180deg, #000 0 33vh, transparent 34vh 36vh); }
  .sl-dawn { mix-blend-mode: normal; background: #2a1611; }
  .sl-sh { filter: brightness(0) sepia(1) blur(2px); }
}

/* while packs travel, the rest of the shelf is empty; it fills in around them once they are home.
   Both ways is a fade: the hand-over happens where each copy already sits on its twin, so the
   two cross over on the same spot and the swap cannot be seen. A hard cut here showed. */
.aisle .pack { opacity: 1; transition: transform .5s var(--ease-out), filter .4s, opacity .35s; }
.aisle.hx-wait .pack { opacity: 0; }

/* The landing screen's foot: outlets on a ticker, B2B, B2G */
.sl-foot { position: absolute; z-index: 6; inset: auto 0 0; margin: 0; list-style: none; display: grid; grid-template-columns: 1.35fr 1fr 1fr; background: var(--kokum-3); color: var(--paper); will-change: opacity;
  padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.sl-foot li { min-width: 0; } .sl-foot li + li { border-left: 1px solid rgba(242, 236, 225, .18); }
.sl-foot a { display: flex; align-items: center; gap: 18px; min-height: clamp(72px, 9.4svh, 88px); padding: 10px 22px; color: inherit; text-decoration: none; transition: background .25s; }
.sl-foot li:first-child a { padding-left: 0; }
.sl-foot a:hover { background: rgba(242, 236, 225, .07); }
.sl-foot a:focus-visible { outline-offset: -4px; }
.sl-foot a > i { margin-left: auto; font-style: normal; color: var(--gold-2); transition: translate .3s var(--ease-out); } .sl-foot a:hover > i { translate: 4px 0; }
.sf-num { flex: none; display: flex; font: 400 clamp(2.3rem, 3.3vw, 3.1rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--gold-2); font-variant-numeric: lining-nums tabular-nums; }
.sf-d { display: block; height: 1em; overflow: hidden; } .sf-d i { display: block; font-style: normal; animation: sf-roll 8s calc(.5s + var(--i) * .12s) cubic-bezier(.16, 1, .3, 1) infinite both; } .sf-d b { display: block; height: 1em; font-weight: inherit; }
@keyframes sf-roll { 0% { transform: translateY(0); } 26%, 100% { transform: translateY(-10em); } }
.sf-tag { flex: none; padding: 8px 12px; border-radius: 6px; background: var(--gold); color: var(--kokum-3); font: 600 .95rem/1 var(--f-mono); letter-spacing: .06em; }
.sf-body { flex: 1; min-width: 0; display: grid; gap: 3px; } .sl-foot a:has(> i) .sf-body { flex: 0 1 auto; }
.sf-body > b { font-weight: 580; font-size: 1.02rem; line-height: 1.2; }
.sf-sub, .sf-tick { font-size: .88rem; line-height: 1.3; color: rgba(242, 236, 225, .78); }
.sf-tick { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 90%, transparent); }
.sf-run { display: flex; width: max-content; animation: sf-run 24s linear infinite; } .sf-run span { white-space: nowrap; padding-right: 14px; } .sf-run span::after { content: "•"; margin-left: 14px; color: var(--gold); }
.sl-foot li:hover .sf-run { animation-play-state: paused; }
@keyframes sf-run { to { transform: translateX(-50%); } }
@media (max-width: 1100px) { .sf-sub { display: none; } }
@media (max-width: 900px) {
  .sl-foot { grid-template-columns: 1.7fr 1fr 1fr; padding: 0 var(--gutter); }
  .sl-foot a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-height: 76px; padding: 10px 12px; } .sl-foot a > i { display: none; }
  .sl-foot li:first-child a { padding-left: 0; }
  .sl-foot .sf-body { flex: none; width: 100%; gap: 1px; }
  .sf-num { font-size: 1.7rem; } .sf-tag { padding: 6px 8px; font-size: .82rem; } .sf-body > b { font-size: .85rem; } .sf-tick { font-size: .75rem; }
}
@media (max-height: 560px) {
  .sl-foot a { flex-direction: row; align-items: center; min-height: 46px; padding-block: 4px; gap: 10px; } .sl-foot .sf-body { flex: 1; width: auto; } .sf-tick { display: none; } .sf-num { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .sf-d i { animation: none; transform: translateY(-10em); } .sf-run { animation: none; } }
@media (max-width: 900px) and (max-height: 720px) { .sl-lede { display: none; } .sl-role { margin-bottom: 12px; } }
/* a phone on its side */
@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
  .sl-title { font-size: 21svh; line-height: .83; top: var(--header-h); } .sl-title span:first-child { white-space: nowrap; }
  .sl-copy { width: 36vw; right: auto; bottom: calc(var(--foot, 46px) + 10px); } .sl-link { display: none; } .sl-role { font-size: .85rem; margin-bottom: 8px; }
  .h2x { --tb: 17svh; }
}
