/* Homepage photography and the scroll-driven spice journey. */
.home-front { --forest: #153f36; --leaf: #c7dc94; overflow-x: clip; }
.home-front main { overflow-x: clip; }
.home-front .grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.home-front .grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.home-front .grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.home-front h1, .home-front h2, .home-front h3,
.home-front .eyebrow, .home-front .btn { letter-spacing: 0; }
.spice-hero {
  min-height: calc(100svh - 64px);
  padding: calc(var(--header-h) + 3rem) 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 3rem;
  background: var(--forest);
}
.spice-hero .hero__media { inset: 0; }
.spice-hero .hero__media img { object-position: center; filter: none; }
.spice-hero::before { background: linear-gradient(90deg, rgba(9, 34, 28, .68), rgba(9, 34, 28, .12) 65%, transparent); }
.spice-hero .hero__inner { margin-block: auto; }
.spice-hero h1 { font-size: 88px; line-height: 1.04; max-width: 8ch; margin-bottom: 1.2rem; }
.spice-hero .eyebrow { color: var(--leaf) !important; }
.spice-hero .hero__tagline { font-size: 24px; color: var(--leaf); }
.spice-hero .lede { max-width: 46ch; font-size: 17px; line-height: 1.8; color: #fff; }
.spice-hero .hero__actions { margin-top: 1.6rem; }
.spice-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-range { display: flex; align-items: center; gap: 2rem; padding-block: 1.2rem; border-top: 1px solid #ffffff40; }
.hero-range > p { font-size: 13px; margin: 0; max-width: 11ch; color: var(--leaf); }
.hero-range__items { display: flex; flex: 1; gap: 3rem; min-width: 0; }
.hero-range__items a { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; text-decoration: none; }
.hero-range__items img { width: 43px; height: 62px; object-fit: contain; transition: transform .25s; }
.hero-range__items a:hover img { transform: translateY(-4px) rotate(-4deg); }
.hero-range__items small { display: block; margin-top: 5px; font-size: 11px; color: #e0e8d5; }
.motion-toggle { width: 40px; height: 40px; padding: 0; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 13px; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: #ffffff1a; }
.home-front :is(button, a):focus-visible { outline: 3px solid #e0a100; outline-offset: 5px; }
.home-front .marquee { background: var(--forest); color: var(--leaf); border-top: 1px solid #ffffff20; mask-image: none; -webkit-mask-image: none; }
.home-front .marquee__track span { font-size: 18px; }

.journey { background: #edf2e9; color: var(--forest); scroll-margin-top: 90px; padding-block: 5rem; }
.journey__heading { max-width: 740px; margin-bottom: 3rem; }
.journey__heading h2 { font-size: 46px; line-height: 1.12; color: var(--forest); max-width: 21ch; }
.journey__heading .lede { font-size: 17px; color: #486457; max-width: 55ch; }
.journey__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 4rem; }
.journey__visual { position: sticky; top: 110px; min-width: 0; color: var(--forest); }
.journey__status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #153f3633; padding-top: 1rem; font-size: 13px; }
.journey__status > :first-child { font-variant-numeric: tabular-nums; color: #5b6c60; }
.journey__scene { position: relative; height: 400px; isolation: isolate; }
.journey__scene canvas { width: 100%; height: 100%; display: block; }
.journey__packet { position: absolute; height: 76%; width: 45%; object-fit: contain; left: 27.5%; top: 12%; opacity: 1; filter: drop-shadow(8px 16px 10px #153f3622); }
.journey.is-enhanced .journey__packet { opacity: var(--packet-opacity, 0); transform: translateY(calc((1 - var(--packet-opacity, 0)) * 28px)) rotate(calc((1 - var(--packet-opacity, 0)) * -8deg)); }
.journey__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; }
.journey__bottom a { color: var(--forest); font-size: 14px; text-underline-offset: 5px; }
.journey__progress { height: 3px; background: #153f3620; margin-top: 1.2rem; overflow: hidden; }
.journey__progress span { display: block; height: 100%; background: #48816a; transform: scaleX(var(--journey-progress, 1)); transform-origin: left; }
.journey__steps { list-style: none; padding: 0; margin: 0; }
.journey__step { border-top: 1px solid #153f3633; padding: 1.4rem 0 1.7rem; scroll-margin-top: 120px; }
.journey__step h3 { margin: 0; }
.journey__step button { width: 100%; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 12px; padding: 0; background: transparent; border: 0; text-align: left; color: #597165; font: 700 23px var(--font-display); cursor: pointer; }
.journey__step p { margin: .8rem 0 0 46px; color: #52665b; font-size: 14px; line-height: 1.8; }
.journey__number { font: 500 12px var(--font-body); font-variant-numeric: tabular-nums; }
.journey__arrow { font: 20px var(--font-body); opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .25s; }
.journey__step button[aria-pressed="true"] { color: var(--forest); }
.journey__step button:disabled { cursor: default; }
.journey__step button[aria-pressed="true"] .journey__arrow, .journey__step button:hover .journey__arrow { opacity: 1; transform: none; }
.journey__step:has(button[aria-pressed="true"]) { border-top-color: #48816a; }
.home-front.motion-paused *, .home-front.motion-paused *::before, .home-front.motion-paused *::after { animation-play-state: paused !important; }
@media (min-width: 1600px) { .spice-hero .hero__media img { object-position: center 60%; } }
@media (max-width: 1100px) {
  .spice-hero h1 { font-size: 72px; }
  .hero-range__items { gap: 1.4rem; }
  .journey__layout { gap: 2rem; }
  .journey__scene { height: 350px; }
}
@media (max-width: 760px) {
  .spice-hero { padding-top: calc(var(--header-h) + 2rem); gap: 2rem; min-height: calc(100svh - 45px); }
  .spice-hero h1 { font-size: 58px; }
  .spice-hero .hero__tagline { font-size: 20px; }
  .spice-hero .lede { font-size: 15px; max-width: 38ch; }
  .spice-hero .hero__media img { object-position: 60% center; }
  .spice-hero::before { background: linear-gradient(90deg, #09221cdd, #09221c88 70%, #09221c44); }
  .hero-range { gap: 1rem; flex-wrap: wrap; }
  .hero-range > p { max-width: none; flex: 1; font-size: 12px; }
  .hero-range > .motion-toggle { order: 0; width: 32px; height: 32px; flex-basis: 32px; }
  .hero-range__items { order: 1; flex-basis: 100%; justify-content: space-between; gap: 8px; }
  .hero-range__items a { font-size: 12px; gap: 8px; min-width: 0; }
  .hero-range__items img { width: 29px; height: 43px; }
  .hero-range__items small { display: none; }
  .journey { padding-block: 3rem; }
  .journey__heading { margin-bottom: 1.6rem; }
  .journey__heading h2 { font-size: 34px; }
  .journey__heading .lede { font-size: 15px; }
  .journey__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .journey__visual { top: var(--header-h); background: #edf2e9; z-index: 3; padding-bottom: 12px; }
  .home-front:has(.header.is-hidden) .journey__visual { top: 0; }
  .journey__scene { height: 210px; }
  .journey__status { padding-top: 12px; }
  .journey__bottom { min-height: 32px; }
  .journey__bottom a { font-size: 12px; }
  .journey__bottom .motion-toggle { width: 32px; height: 32px; flex-basis: 32px; }
  .journey__progress { margin-top: 8px; }
  .journey__step { scroll-margin-top: 340px; padding: 1.2rem 0; }
  .journey__step button { font-size: 21px; }
  .journey__step p { font-size: 13px; }
}
@media (max-width: 390px) {
  .spice-hero { padding-top: 100px; gap: 1.5rem; }
  .spice-hero h1 { font-size: 48px; margin-bottom: 1rem; }
  .spice-hero .hero__tagline { font-size: 17px; line-height: 1.4; margin-bottom: 1.2rem; }
  .spice-hero .lede { font-size: 14px; line-height: 1.65; margin-bottom: 0; }
  .spice-hero .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .spice-hero .btn { padding: .85rem .5rem; gap: .35rem; font-size: 11px; justify-content: center; }
  .spice-hero .btn__icon { width: 12px; flex-shrink: 0; }
  .hero-range { padding-block: 12px; gap: 8px; }
  .hero-range > .motion-toggle { width: 28px; height: 28px; flex-basis: 28px; }
  .hero-range__items img { height: 38px; }
  .hero-range__items a { font-size: 11px; }
}
@media (max-height: 640px) and (max-width: 760px) {
  .journey__scene { height: 130px; }
  .journey__step { scroll-margin-top: 260px; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .journey__scene { height: 240px; }
  .journey__visual { top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-range__items a:hover img { transform: none; }
}
@media print {
  .journey__visual { position: static; }
  .journey__scene canvas, .motion-toggle { display: none; }
  .journey .journey__packet { opacity: 1 !important; transform: none !important; }
  .journey__layout { display: block; }
}
