/* ==========================================================================
   People of Spice — homepage (index.html). Builds on css/pos.css.
   ========================================================================== */

/* ---------- Hero: slow-pan film ---------- */
.hero--home { min-height: 100svh; padding-bottom: clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero--home .hero__bg { background: var(--forest-950) url("../videos/people_of_spice_ai_sequence-720p-poster-00001.jpg") center / cover no-repeat; }
.hero--home .hero__bg video { animation: hero-pan 34s var(--ease-in-out) infinite alternate; will-change: transform; }
.hero--home.is-paused .hero__bg video { animation-play-state: paused; }
@keyframes hero-pan {
  from { transform: scale(1.16) translate3d(-3.5%, 1.5%, 0); }
  to { transform: scale(1.06) translate3d(3%, -1%, 0); }
}
.hero--home h1 { max-width: none; }
/* Above the fold the entrance is pure CSS, so the headline never waits on scripts */
.hero--home .reveal, .hero--home .split-line > span { animation: hero-rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero--home .split-line > span { animation-name: hero-line; }
@keyframes hero-line { from { transform: translateY(105%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero--home .reveal, .hero--home .split-line > span { animation: none; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 1rem; }
.hero__toggle {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 1rem); z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(0, 18, 9, .45); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s, background-color .2s;
}
.hero__toggle:hover { border-color: var(--gold); background: rgba(0, 18, 9, .7); }
.hero__toggle svg { width: 16px; height: 16px; }
.hero__toggle .i-play, .hero--home.is-paused .hero__toggle .i-pause { display: none; }
.hero--home.is-paused .hero__toggle .i-play { display: block; }
html:not(.js) .hero__toggle { display: none; }

/* ---------- Shared section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.section-head h2 { font-size: var(--step-4); margin-top: .75rem; }
.section-head p { color: var(--text-muted); max-width: 44ch; }
.page-home .link-arrow { margin-top: 2rem; }

/* ---------- Brand story ---------- */
.story__statement { margin-top: 1.5rem; max-width: 28ch; font-family: var(--font-display); font-size: var(--step-3); line-height: 1.22; font-weight: 400; text-wrap: balance; }
.story__statement em { font-style: italic; color: var(--tan); }
.story .lede { margin-top: 1.5rem; }

/* ---------- Scroll text reveals (js/scroll-fx.js splits [data-split] into words) ---------- */
.split-w { display: inline-block; vertical-align: top; }
[data-split="rise"] .split-w { overflow: hidden; padding: .06em .05em .16em; margin: -.06em -.05em -.16em; }
[data-split="rise"] .split-w > span { display: inline-block; }
.split-glue { font-style: normal; color: var(--cream); } /* a comma that followed an <em> word */

/* ---------- Meet the blends: a spotlight stage driven by a swipeable spice dial ---------- */
@property --spot { syntax: "<color>"; inherits: true; initial-value: #d6b26a; }
.spot {
  position: relative; isolation: isolate; padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  transition: --spot .9s var(--ease-out);
}
.spot::before { /* the active spice's colour, only as a glow on near-black */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 72% 42%, color-mix(in oklab, var(--spot) 26%, transparent), transparent 70%),
    radial-gradient(60% 40% at 20% 100%, color-mix(in oklab, var(--spot) 10%, transparent), transparent 70%);
}
.spot__layout { display: grid; grid-template-areas: "stage" "dial" "panel"; gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); align-items: start; }
.spot__stage { grid-area: stage; display: grid; width: min(100%, 420px, calc((100svh - 260px) * .8)); justify-self: center; }
.spot__jar {
  grid-area: 1 / 1; aspect-ratio: 4 / 5; box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(28px) scale(.96);
  transition: opacity .55s var(--ease-out), transform .9s var(--ease-out), visibility 0s .55s;
}
.spot__jar.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease-out), transform .9s var(--ease-out), visibility 0s; }
.spot__jar img { transition: transform .6s var(--ease-out); }

.spot__panels { grid-area: panel; display: grid; }
.spot__panel { grid-area: 1 / 1; display: grid; gap: .9rem; align-content: start; visibility: hidden; }
.spot__panel > * { opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out); }
.spot__panel.is-active { visibility: visible; }
.spot__panel.is-active > * { opacity: 1; transform: none; }
.spot__panel.is-active > :nth-child(2) { transition-delay: .04s; }
.spot__panel.is-active > :nth-child(3) { transition-delay: .08s; }
.spot__panel.is-active > :nth-child(4) { transition-delay: .12s; }
.spot__panel.is-active > :nth-child(5) { transition-delay: .16s; }
.spot__panel.is-active > :nth-child(n+6) { transition-delay: .2s; }
.spot__coll { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.spot__name { font-size: var(--step-4); }
.spot__tagline { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--tan); margin-top: -.35rem; }
.spot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; color: var(--text-muted); font-size: .95rem; }
.spot__origin { display: inline-flex; align-items: center; gap: .4rem; }
.spot__origin svg { width: 14px; height: 14px; color: var(--gold); }
.spot__story { color: var(--text-muted); max-width: 46ch; }
.spot__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: .5rem; }
.spot__ctas .link-arrow { margin-top: 0; }
.spot__ctas .link-arrow svg:not(.arrow) { width: 16px; height: 16px; }
.spot > .container > .link-arrow { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* The dial: jars on a gentle arc; whichever sits in the middle is on stage */
.dial { grid-area: dial; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .25rem; --item: 76px; }
.dial__track {
  position: relative; display: flex; align-items: center; gap: .6rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem calc(50% - var(--item) / 2) 1.9rem;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.dial__track::-webkit-scrollbar { display: none; }
.dial__item {
  flex: none; position: relative; width: var(--item); height: var(--item); border-radius: 50%; scroll-snap-align: center;
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 62%, color-mix(in oklab, var(--accent) 50%, #071a10), #071a10 92%);
  transition: border-color .3s, box-shadow .3s; will-change: transform;
}
.dial__item img { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); pointer-events: none; }
.dial__item--photo { background: radial-gradient(circle at 50% 45%, #fff, #e6e1da 75%); }
.dial__item--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: none; }
.dial__item[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 178, 106, .15), 0 10px 30px -10px color-mix(in oklab, var(--accent) 70%, transparent); }
.dial__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(2, 8, 5, .6); color: var(--cream); transition: border-color .2s, background-color .2s; }
.dial__btn:hover { border-color: var(--gold); }
.dial__btn svg { width: 18px; height: 18px; }
.dial__count { position: absolute; left: 50%; bottom: 0; translate: -50% 0; font-size: .72rem; letter-spacing: .2em; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.dial__count span { color: var(--gold); }
html:not(.js) .dial__btn { display: none; }

@media (min-width: 960px) {
  .spot__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "panel stage" "panel dial"; column-gap: clamp(2rem, 1rem + 4vw, 6rem); row-gap: 1rem; }
  .spot__panels { align-self: center; }
  .spot__stage { width: min(100%, 440px, calc((100svh - 330px) * .8)); } /* jar + dial fit one screen */
  .dial { --item: 84px; }
}
@media (prefers-reduced-motion: reduce) { .spot { transition: none; } }

/* ---------- Soil to table: stacked arch chapters; pinned scrollytelling on desktop ---------- */
.journey { padding-block: clamp(1rem, .5rem + 2vw, 2rem) clamp(4rem, 3rem + 4vw, 7rem); }
.journey__head h2 { font-size: var(--step-4); margin-top: .75rem; }
.journey__chapters { list-style: none; display: grid; gap: clamp(3.5rem, 2.5rem + 5vw, 6rem); margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.journey__chapter { display: grid; gap: 1.75rem; align-items: center; }
.journey__media {
  position: relative; margin: 0; width: min(100%, 440px); aspect-ratio: 4 / 5; isolation: isolate;
  border-radius: 999px 999px var(--radius) var(--radius);
  outline: 1px solid rgba(214, 178, 106, .32); outline-offset: 9px; overflow: hidden;
}
.journey__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey__text { display: grid; gap: .65rem; align-content: start; }
.journey__num {
  font-family: var(--font-display); font-size: clamp(4.5rem, 3rem + 7vw, 10rem); line-height: .8; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 178, 106, .6); margin-bottom: .5rem;
}
.journey__text h3 { font-size: var(--step-4); }
.journey__text p { color: var(--text-muted); font-size: var(--step-1); font-weight: 300; max-width: 32ch; }
.journey__progress { display: none; }
@media (min-width: 720px) {
  .journey__chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
  .journey__chapter:nth-child(even) .journey__media { order: 2; }
  .journey__media { justify-self: center; }
}

/* Pinned (desktop, motion OK): chapters stack in one frame and scrolling steps through them */
.journey.is-pinned .journey__pin { height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) * .5); }
.journey.is-pinned .journey__stage { position: relative; }
.journey.is-pinned .journey__chapters { margin-top: 0; gap: 0; }
.journey.is-pinned .journey__chapter { grid-area: 1 / 1; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.journey.is-pinned .journey__chapter .journey__media { order: 2; height: min(70svh, 680px); width: auto; }
.journey.is-pinned .journey__text { padding-bottom: 4.5rem; }
.journey.is-pinned .journey__progress {
  display: flex; gap: 2rem; position: absolute; left: 0; bottom: 0; padding-top: 1rem; width: min(42%, 420px);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint);
}
.journey__progress::before, .journey__progress i { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); }
.journey__progress i { background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.journey__progress span { transition: color .3s; }
.journey__progress span.is-on { color: var(--gold); }

/* ---------- Globe teaser ---------- */
.globe-teaser {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.25rem, .75rem + 3vw, 4rem); border-radius: var(--radius-l); border: 1px solid var(--line); text-decoration: none;
  background: radial-gradient(70% 70% at 30% 35%, rgba(214, 178, 106, .12), transparent 70%), linear-gradient(160deg, var(--forest-900), var(--forest-950));
  transition: border-color .3s;
}
.globe-teaser:hover { border-color: var(--line-strong); }
.globe-teaser__art { width: min(100%, 540px); margin-inline: auto; }
.globe-teaser__art img { width: 100%; transition: transform 1.6s var(--ease-out); }
.globe-teaser:hover .globe-teaser__art img { transform: scale(1.04); }
.globe-teaser__body { display: grid; gap: 1.1rem; justify-items: start; }
.globe-teaser h2 { font-size: var(--step-4); }
.globe-stats { display: flex; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); margin: .25rem 0; }
.globe-stats dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.globe-stats dd { margin: 0; font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; color: var(--tan); }
.globe-teaser .btn { margin-top: .4rem; }
.globe-teaser:hover .btn { background: var(--tan); }
.globe-teaser:hover .btn .arrow { transform: translateX(4px); }
@media (min-width: 900px) { .globe-teaser { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 3vw, 5rem); } }

/* ---------- New-for-2026 shelf ---------- */
.shelf .chips { --chips-pad: var(--gutter); margin-bottom: .25rem; }
.shelf .result-count { min-height: 1.4em; margin: 0 0 1rem; }
.shelf .rail { padding-bottom: 1.25rem; }
.shelf .p-card .jar { box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .9); }

/* ---------- Featured recipes ---------- */
@media (min-width: 1100px) { .grid--four { --cols: 4; } .grid--four .r-card__title { font-size: var(--step-1); } }

/* ---------- Connect / Instagram ---------- */
.ig-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .4s; }
.ig-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 18, 9, .55)); opacity: 0; transition: opacity .3s; }
.ig-grid a:hover img { transform: scale(1.06); }
.ig-grid a:hover::after { opacity: 1; }
@media (min-width: 720px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; } }
@media (min-width: 1100px) { .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- Send a gift ---------- */
.gift-card {
  display: grid; gap: 2rem; margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding: clamp(1.25rem, .75rem + 3vw, 3.5rem); border-radius: var(--radius-l); border: 1px solid var(--line);
  background: radial-gradient(90% 120% at 100% 0%, var(--forest-700), var(--forest-900));
}
.gift-card h2 { font-size: var(--step-4); }
@media (min-width: 900px) { .gift-card { grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; } }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.field legend { margin-bottom: .45rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem 1rem; border-radius: var(--radius-s); border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .22); transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, .3); }
.field ::placeholder { color: var(--text-faint); }
.choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice label { position: relative; cursor: pointer; letter-spacing: normal; text-transform: none; font-size: .95rem; color: var(--cream); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.1rem; border-radius: var(--pill); border: 1px solid var(--line-strong); transition: background-color .2s, color .2s, border-color .2s; }
.choice label:hover span { border-color: var(--gold); }
.choice input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.form .btn { justify-self: start; margin-top: .5rem; }

/* ---------- Art direction: black / deep forest, colour only as glow ---------- */
.page-home { background: #020805; }
.hero--home .hero__bg video { filter: brightness(.8) saturate(.82) contrast(1.06); }
.hero--home .hero__bg::after { /* pull the film's warm greys toward forest */
  content: ""; position: absolute; inset: 0; pointer-events: none; background: #0c3324; mix-blend-mode: multiply; opacity: .55;
}
.hero--home::after {
  background:
    linear-gradient(180deg, rgba(2, 8, 5, .6) 0%, rgba(2, 8, 5, .35) 32%, rgba(2, 8, 5, .82) 72%, #020805 100%),
    linear-gradient(90deg, rgba(2, 8, 5, .6), transparent 70%);
}
.story { background: radial-gradient(70% 55% at 88% 8%, rgba(12, 51, 36, .5), transparent 70%); }
.globe-teaser {
  background:
    radial-gradient(60% 70% at 28% 40%, rgba(214, 178, 106, .1), transparent 70%),
    radial-gradient(90% 90% at 100% 100%, rgba(12, 51, 36, .45), transparent 70%),
    #030c07;
}
.shelf { background: linear-gradient(180deg, transparent, rgba(0, 26, 13, .55) 30%, rgba(0, 26, 13, .55) 70%, transparent); }
.gift-card {
  background:
    radial-gradient(80% 110% at 100% 0%, rgba(24, 67, 50, .55), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(214, 178, 106, .07), transparent 70%),
    #030c07;
}
.page-home .r-card, .page-home .feature-recipe { background: #04140c; }

/* ---------- First-visit intro: a globe made of spice ----------
   A thin gold globe outline draws itself in CSS from first paint. js/intro.js then takes
   over (.intro.is-live): salt and spice grains swirl in and settle onto a turning dot-globe
   while a 0–100 counter follows real loading. At 100 the logo lands, then the camera flies
   into the globe — grains burst past, and the globe's disc opens as a window onto the hero.
   Failsafes: without the script the loader fades at 4s; the head script drops it at 10s. */
.intro { display: none; }
.pos-intro .intro {
  --ink-0: #020805;
  --d: min(78vw, 56vh, 560px);
  --cy: 44%;
  position: fixed; inset: 0; z-index: 95; display: block; overflow: hidden; cursor: pointer;
  animation: intro-gone .4s ease-out 4s forwards;
}
.pos-intro .intro.is-live { animation: none; }
.intro__grains { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.intro__globe { position: absolute; left: 50%; top: var(--cy); width: var(--d); height: var(--d); translate: -50% -50%; z-index: 1; will-change: transform; }
.intro__window {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(24, 67, 50, .35), transparent 62%), var(--ink-0);
  box-shadow: 0 0 0 150vmax var(--ink-0), 0 0 90px 10px rgba(214, 178, 106, .08);
  transition: background .35s ease-in;
}
.intro__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.intro__ring circle, .intro__ring ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw 1s var(--ease-in-out) .1s forwards; }
.intro__ring circle { stroke-opacity: .55; }
.intro__ring .intro__equator { stroke-opacity: .22; animation-delay: .55s; animation-duration: .8s; }
.intro__caption {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--cy) + var(--d) / 2 + clamp(1rem, 3.5vh, 2.25rem)); translate: -50% 0;
  display: grid; place-items: center; height: 3.25rem; width: 90vw;
}
.intro__caption > * { grid-area: 1 / 1; }
.intro__word {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}
.intro__word.is-on { opacity: 1; transform: none; }
.intro__word.is-past { opacity: 0; transform: translateY(-8px); }
.intro__logo { width: clamp(118px, 26vmin, 168px); opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.intro.is-full .intro__logo { opacity: 1; transform: none; }
.intro.is-full .intro__word { opacity: 0; }

/* 0–100 counter, bottom-left, clear of the globe; only shown once the script is counting */
.intro__count {
  position: absolute; left: var(--gutter); bottom: max(var(--gutter), env(safe-area-inset-bottom)); z-index: 3;
  display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: .2rem; color: var(--gold); opacity: 0;
}
.intro.is-live .intro__count { animation: intro-glow .5s ease-out .1s forwards; }
.intro__num { font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 4vw, 6rem); line-height: .9; font-variant-numeric: tabular-nums lining-nums; min-width: 3ch; text-align: right; }
.intro__pct { font-family: var(--font-body); font-size: clamp(.9rem, .8rem + .4vw, 1.2rem); color: var(--text-muted); }
.intro__label { grid-column: 1 / -1; margin-top: .5rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); }

/* At 100 + logo: the disc clears and js/intro.js scales the globe past the camera */
.intro.is-opening .intro__window { background: transparent; }
.intro.is-opening .intro__ring { animation: intro-fade .5s ease-in .15s forwards; }
.intro.is-opening .intro__caption, .intro.is-opening .intro__count { animation: intro-fade .3s ease-in forwards; }
.pos-intro .intro.is-skipping { animation: intro-skip .25s ease-out forwards; }
.pos-intro-hold .hero--home .reveal, .pos-intro-hold .hero--home .split-line > span { animation-play-state: paused; }

@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-glow { to { opacity: 1; } }
@keyframes intro-fade { to { opacity: 0; } }
@keyframes intro-gone { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes intro-skip { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes intro-quick { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  /* A still frame that fades out in under 300ms */
  .pos-intro .intro, .pos-intro .intro.is-live { animation: intro-quick .25s ease-out .04s both !important; }
  .intro__ring circle, .intro__ring ellipse, .intro__count, .intro__grains { animation: none !important; }
  .intro__ring circle, .intro__ring ellipse { stroke-dashoffset: 0; }
  .intro__word, .intro__count, .intro__grains { display: none; }
  .intro__logo { opacity: 1; transform: none; transition: none; }
}
