/* The story remains a normal, readable document until GSAP enhances it. */
.sb-story {
  --story-gold: #f8c577;
  --story-white: #fff3df;
  --story-muted: #e3cdd5;
  --ball: clamp(170px, 17vw, 265px);
  position: relative;
  background: #210f22;
  color: var(--story-white);
  isolation: isolate;
}
.sb-story *, .sb-story *::before, .sb-story *::after { box-sizing: border-box; }
.sb-story__stage { position: relative; }
.sb-story a { color: var(--story-white); text-decoration: none; }
.sb-story a:focus-visible { outline: 3px solid #fff3df; outline-offset: 7px; }

/* ── Top line: label · chapter nav · skip ─────────────────────────────── */
.sb-story__topline {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 6;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 18px 5vw; font-size: 10px; font-weight: 600; letter-spacing: .17em;
}
.sb-story__label b { color: var(--story-gold); padding: 0 10px; }
.sb-story .sb-story__skip { justify-self: end; font-size: 12px; letter-spacing: .02em; padding: 12px 0; }
.sb-story__skip span { margin-left: 12px; color: var(--story-gold); }
.sb-story__nav { display: flex; align-items: center; gap: 28px; }
.sb-story .sb-story__nav a { font-size: 11px; letter-spacing: .04em; padding: 12px 0; color: var(--story-muted); }
.sb-story__nav a span { font-size: 10px; margin-right: 6px; color: #e3cdd5a0; }
.sb-story .sb-story__nav a[aria-current="step"] { color: var(--story-gold); }
.sb-story__progress { display: none; width: 90px; height: 2px; background: #e3cdd533; overflow: hidden; }
.sb-story__progress i { display: block; width: 100%; height: 100%; background: var(--story-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ── Chapters ─────────────────────────────────────────────────────────── */
.sb-story__chapter {
  position: relative; min-height: max(640px, 88svh);
  overflow: hidden; isolation: isolate; padding: 110px 7vw 80px;
  display: flex; align-items: center;
}
.sb-story__chapter--spark { background: radial-gradient(ellipse at 76% 45%, #713428 0, #3d1729 30%, #210f22 66%); }
.sb-story__chapter--game { background: radial-gradient(ellipse at 75% 100%, #1d3b3a 0, #13282c 38%, #0d171b 75%); }
.sb-story__chapter--joy { background: radial-gradient(ellipse at 77% 52%, #813c35 0, #4b1c3f 32%, #241127 70%); }
.sb-story__copy { position: relative; z-index: 3; width: 50%; max-width: 640px; }
.sb-story .sb-story__eyebrow {
  margin: 0 0 24px; color: var(--story-gold); font-size: 11px; line-height: 1.7;
  letter-spacing: .16em; font-weight: 600;
}
.sb-story__eyebrow span { display: inline-block; padding-right: 15px; margin-right: 15px; border-right: 1px solid #d5aa6a80; }
.sb-story .sb-story__title {
  font-family: var(--sb-font-display); font-size: clamp(52px, 6vw, 96px);
  font-weight: 500; text-transform: uppercase; line-height: 1.04;
  letter-spacing: -.025em; color: var(--story-white); margin: 0 0 26px;
}
/* Each line is its own mask, so lines can rise out of nothing. */
.sb-story__line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.sb-story__line > span { display: block; }
.sb-story__title em { color: var(--story-gold); font-style: normal; }
.sb-story .sb-story__description { color: var(--story-muted); max-width: 400px; font-size: 15px; line-height: 1.8; margin: 0 0 28px; }
.sb-story .sb-story__cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: 52px; background: var(--story-gold); color: #2a1425; padding: 15px 22px;
  border: 1px solid var(--story-gold); border-radius: 2px; font-size: 12px;
  font-weight: 700; transition: background .2s ease, color .2s ease;
}
.sb-story .sb-story__cta:hover { color: #2a1425; background: #ffe4b8; }
.sb-story__cta span { font-size: 21px; line-height: 1; }
.sb-story .sb-story__scroll-hint, .sb-story .sb-story__footnote { font-size: 10px; letter-spacing: .07em; color: var(--story-muted); margin: 24px 0 0; }
.sb-story__scroll-hint span { display: inline-block; font-size: 18px; padding-right: 10px; color: var(--story-gold); }

/* ── Scenery ──────────────────────────────────────────────────────────── */
.sb-story__scenery { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sb-story__scenery::after {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#ffc988 0.5px, transparent .8px); background-size: 6px 6px;
  mask-image: linear-gradient(90deg, transparent 35%, #000);
}
.sb-story__scene-word { position: absolute; right: -1vw; top: 30%; font-family: var(--sb-font-display); font-size: clamp(100px, 22vw, 350px); line-height: 1; font-weight: 600; color: transparent; -webkit-text-stroke: 1px #f8c57724; letter-spacing: -.05em; }

/* Spark: the ball rests on a plinth inside two orbits. */
.sb-story__halo { position: absolute; width: 38vw; height: 38vw; top: 49%; left: 75%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #ffbc6b24 0, #ffbc6b0d 45%, transparent 69%); }
.sb-story__orbit { position: absolute; width: 36vw; height: 36vw; max-width: 590px; max-height: 590px; left: 75%; top: 49%; border: 1px solid #f3ba7740; border-radius: 50%; transform: translate(-50%, -50%); }
.sb-story__orbit--one::before, .sb-story__orbit--one::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #ffd18c; box-shadow: 0 0 20px #ffb257; }
.sb-story__orbit--one::before { top: 14%; left: 14%; }
.sb-story__orbit--one::after { bottom: 14%; right: 14%; }
.sb-story__orbit--two { width: 42vw; height: 42vw; max-width: 690px; max-height: 690px; border-style: dashed; border-color: #f3ba7726; }
.sb-story__star { position: absolute; font-size: 35px; color: var(--story-gold); }
.sb-story__star--one { left: 60%; top: 25%; }
.sb-story__star--two { left: 88%; top: 58%; font-size: 22px; }
.sb-story__plinth { position: absolute; left: 75%; top: calc(49% + var(--ball) / 2 + 30px); width: calc(var(--ball) * 1.35); height: 70px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at 50% 0, #b66e38, #512b30 60%, #251421 70%); border-top: 1px solid #f5c17d; box-shadow: 0 30px 70px #08020870; }
.sb-story__shadow { position: absolute; left: 75%; top: calc(49% + var(--ball) / 2 - 2px); width: calc(var(--ball) * .78); height: 24px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, #12040fe0 0, #12040f80 45%, transparent 72%); }

/* The ball. */
.sb-story-ball { width: 100%; height: 100%; position: relative; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 28% 24%, #ffbe8a 0, #ef7b55 8%, #c34333 24%, #8f202b 48%, #5b1527 70%, #300d23 91%); box-shadow: inset -6px -12px 25px #270b32b0, inset 2px 2px 3px #ffcc8b70, 15px 35px 35px #14071470; }
.sb-story-ball::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .22; background: radial-gradient(#ffc890 0.6px, transparent .8px) 0 0 / 3px 3px; mix-blend-mode: soft-light; }
.sb-story-ball__seam { display: block; position: absolute; width: 100%; height: 100%; inset: 0; transform: rotate(-25deg); }
.sb-story-ball__stamp { position: absolute; top: 44%; left: 55%; color: #f9cb88b0; font-size: 7px; line-height: 1.45; font-family: var(--sb-font-body); letter-spacing: .12em; transform: rotate(-19deg); text-align: center; }
.sb-story-ball__stamp strong { font-size: 11px; font-weight: 600; }
.sb-story__static-ball, .sb-story__traveller { position: absolute; width: var(--ball); height: var(--ball); top: 49%; left: 75%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; }
.sb-story__traveller { display: none; }

/* Game: a floodlit night match, drawn in the same gold line as the other scenes. */
.sb-story__beam { position: absolute; top: 15%; width: 44vw; height: 100%; margin-left: -22vw; transform-origin: 50% 0; clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #ffdca04d, #ffdca014 45%, transparent 80%); }
.sb-story__beam--one { left: 93%; transform: rotate(30deg); }
.sb-story__beam--two { left: 56%; top: 13%; transform: rotate(-22deg); opacity: .8; }
.sb-story__tower { position: absolute; display: grid; grid-template-columns: repeat(3, 8px); gap: 5px; padding: 6px; margin: -16px 0 0 -24px; border: 1px solid #f8c57760; border-radius: 3px; }
.sb-story__tower i { width: 8px; height: 8px; border-radius: 50%; background: #fff1cf; box-shadow: 0 0 14px 3px #ffd27a90; }
.sb-story__tower--one { left: 93%; top: 15%; }
.sb-story__tower--two { left: 56%; top: 13%; }
.sb-story__boundary { position: absolute; left: 75%; top: 100%; width: 82vw; height: 74%; transform: translate(-50%, -50%); border: 1px dashed #f8c57733; border-radius: 50%; }
.sb-story__pitch { position: absolute; left: 58%; width: 34%; top: 26%; bottom: 0; height: 74%; overflow: visible; }
.sb-story__pitch path { stroke: #f8c57766; stroke-width: 1; }
.sb-story__pitch .sb-story__pitch-strip { fill: #e7bd7412; stroke: #f8c57755; }
.sb-story__pitch .sb-story__stumps { stroke: var(--story-gold); stroke-width: 2.5; stroke-linecap: round; }
.sb-story__motes i { position: absolute; bottom: 6%; left: calc(52% + var(--m) * 3.2%); width: 3px; height: 3px; border-radius: 50%; background: #ffd78a; box-shadow: 0 0 8px #ffc35d; opacity: 0; animation: sb-mote 7s linear infinite; animation-delay: calc(var(--m) * -.55s); }
.sb-story__motes i:nth-child(odd) { bottom: 18%; animation-duration: 9s; }
@keyframes sb-mote { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-55vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sb-story__motes i { animation: none; opacity: .5; } }
/* The bat pivots at the grip; its sweet spot is exactly where the ball is hit. */
.sb-story__bat { position: absolute; z-index: 3; left: 70%; top: 76%; width: 52px; height: 225px; margin: -170px 0 0 -26px; overflow: visible; transform-origin: 50% 6%; transform: rotate(-125deg); }
.sb-story__bat .sb-story__bat-blade { fill: #f8c5771f; stroke: var(--story-gold); stroke-width: 1.5; }
.sb-story__bat .sb-story__bat-lines { stroke: #f8c577b0; stroke-width: 1.2; }
.sb-story__flight { position: absolute; left: 68%; top: 6%; width: 27%; height: 72%; z-index: 2; overflow: visible; }
.sb-story__flight path { stroke: var(--story-gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-linecap: round; }
/* Resting at the end of its flight, sized to the scene. */
.sb-story__static-ball--game { --size: clamp(64px, 6vw, 92px); width: var(--size); height: var(--size); left: 93%; top: 30%; }

.sb-story__impact { position: absolute; left: 70%; top: 76%; z-index: 2; width: 120px; height: 120px; margin: -60px; border: 2px solid var(--story-gold); border-radius: 50%; opacity: 0; box-shadow: 0 0 24px #f8c57760; }

/* Joy: a gift box with a hinged lid; the ball lands inside it. */
.sb-story__joy-glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; left: 75%; top: 52%; transform: translate(-50%, -50%); background: radial-gradient(#ffd78024, transparent 65%); }
.sb-story__gift { position: absolute; left: 75%; top: 66%; width: 200px; height: 150px; margin: -75px 0 0 -100px; z-index: 2; }
.sb-story__gift-body { position: absolute; inset: 0; z-index: 3; background: linear-gradient(100deg, #ca8043 0, #f9bd71 45%, #ba593c 46%, #95452f); border: 1px solid #f6bc7b; border-radius: 3px; box-shadow: 18px 25px 45px #1a081c80, inset 0 14px 18px -10px #3d0f1c90; }
.sb-story__gift-body::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 26px; margin-left: -13px; background: #772b46; border-inline: 1px solid #ffd79260; }
.sb-story__gift-lid { position: absolute; z-index: 4; left: -8px; top: -34px; width: 216px; height: 40px; background: linear-gradient(180deg, #fbd299, #eaa566 55%, #c1683f); border: 1px solid #f7c083; box-shadow: 0 8px 14px #51203860; border-radius: 4px; transform-origin: 100% 100%; transform: rotate(104deg); }
.sb-story__gift-lid::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 26px; margin-left: -13px; background: #772b46; border-inline: 1px solid #ffd79260; }
.sb-story__gift-bow { position: absolute; z-index: 1; left: 50%; top: 2px; width: 18px; height: 14px; margin: -7px 0 0 -9px; border-radius: 6px; background: #8d3557; box-shadow: inset 0 2px 0 #c45c80; }
.sb-story__gift-bow::before, .sb-story__gift-bow::after { content: ''; position: absolute; bottom: 4px; width: 42px; height: 30px; border: 7px solid #a8456c; border-radius: 50%; }
.sb-story__gift-bow::before { right: 10px; transform: rotate(-24deg); transform-origin: 100% 100%; }
.sb-story__gift-bow::after { left: 10px; transform: rotate(24deg); transform-origin: 0 100%; }
.sb-story__static-ball--joy { --size: 120px; width: var(--size); height: var(--size); left: 50%; top: 0; transform: translate(-50%, -40%); z-index: 2; }
.sb-story__rays, .sb-story__sparks { position: absolute; left: 50%; top: 0; width: 0; height: 0; z-index: 1; }
.sb-story__rays i { position: absolute; top: 0; left: 0; width: 2px; height: 34px; margin-left: -1px; background: linear-gradient(#ffdf91, transparent); transform: rotate(calc(var(--ray) * 30deg)) translateY(-150px); transform-origin: 50% 0; }
.sb-story__sparks i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #ffe3a1; box-shadow: 0 0 12px #ffc35d; opacity: 0; }
.sb-story__diya { position: absolute; width: 70px; height: 28px; border-radius: 0 0 60px 60px; top: 80%; left: 58%; background: linear-gradient(#efb75b, #a3402d); box-shadow: 0 -10px 50px #ffbe5330; }
.sb-story__diya i { display: block; position: absolute; width: 16px; height: 32px; left: 27px; top: -32px; border-radius: 80% 0 80% 50%; transform: rotate(-35deg); transform-origin: 50% 100%; background: linear-gradient(135deg, #fff7c3, #ffcb60 50%, #dd6427); box-shadow: 0 0 26px #ffc86860; }
.sb-story__diya--two { left: 91%; top: 76%; transform: scale(.75); }

/* ── Gift picks under the story ───────────────────────────────────────── */
.sb-story-gifts { background: #fff8ed; padding: 56px 7vw 40px; border-top: 4px solid var(--story-gold, #f8c577); }
.sb-story-gifts:focus { outline: none; }
.sb-story-gifts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sb-story-gifts__eyebrow { margin: 0 0 6px; color: #a3402d; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sb-story-gifts__title { margin: 0; font-family: var(--sb-font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; color: #30102e; }
.sb-story-gifts__all { color: #30102e; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.sb-story-gifts ul.products { margin-bottom: 0; }

/* ── Boot: hidden before paint only while the intro is pending ────────── */
html.sb-story-boot .sb-story__chapter--spark .sb-story__eyebrow,
html.sb-story-boot .sb-story__chapter--spark .sb-story__line > span,
html.sb-story-boot .sb-story__chapter--spark .sb-story__description,
html.sb-story-boot .sb-story__chapter--spark .sb-story__cta,
html.sb-story-boot .sb-story__chapter--spark .sb-story__scroll-hint,
html.sb-story-boot .sb-story__chapter--spark .sb-story-ball,
html.sb-story-boot .sb-story__traveller .sb-story-ball { opacity: 0; }

/* ── Enhanced desktop: one pinned stage, chapters layered ─────────────── */
.sb-story.is-enhanced .sb-story__stage { height: 100svh; min-height: 580px; overflow: hidden; }
.sb-story.is-enhanced .sb-story__field { position: absolute; inset: 0; }
.sb-story.is-enhanced .sb-story__chapters { position: absolute; inset: 0; }
.sb-story.is-enhanced .sb-story__chapter { position: absolute; inset: 0; min-height: 0; height: 100%; padding-top: 96px; padding-bottom: 48px; }
.sb-story.is-enhanced .sb-story__static-ball--spark,
.sb-story.is-enhanced .sb-story__static-ball--game,
.sb-story.is-enhanced .sb-story__static-ball--joy { display: none; }
.sb-story.is-enhanced .sb-story__traveller { display: block; z-index: 4; }
.sb-story.is-enhanced .sb-story__flight { inset: 0; width: 100%; height: 100%; }
.sb-story.is-enhanced .sb-story__progress { display: block; }
@media (min-width: 1024px) and (max-height: 760px) {
  .sb-story.is-enhanced .sb-story__title { font-size: clamp(46px, 5vw, 74px); margin-bottom: 18px; }
  .sb-story.is-enhanced .sb-story__description { margin-bottom: 20px; font-size: 14px; }
  .sb-story.is-enhanced .sb-story__eyebrow { margin-bottom: 16px; }
  .sb-story.is-enhanced .sb-story__footnote, .sb-story.is-enhanced .sb-story__scroll-hint { margin-top: 16px; }
}

/* ── Phones, tablets and touch screens: stacked chapters, scene below copy ── */
@media (max-width: 1023px), (pointer: coarse) {
  .sb-story { --ball: 150px; }
  .sb-story__topline { display: flex; justify-content: space-between; padding: 16px 6vw; font-size: 9px; letter-spacing: .12em; }
  .sb-story__label-brand, .sb-story__nav { display: none; }
  .sb-story .sb-story__skip { font-size: 11px; }
  .sb-story__skip span { margin-left: 6px; }
  .sb-story__chapter { min-height: 0; padding: 76px 6vw 300px; align-items: flex-start; }
  .sb-story__chapter + .sb-story__chapter { padding-top: 56px; }
  .sb-story__chapter--game { padding-bottom: 280px; }
  .sb-story__chapter--joy { padding-bottom: 330px; }
  .sb-story__copy { width: 100%; max-width: 600px; }
  .sb-story .sb-story__title { font-size: clamp(44px, 9vw, 76px); margin-bottom: 20px; }
  .sb-story .sb-story__eyebrow { font-size: 10px; margin-bottom: 18px; }
  .sb-story .sb-story__description { font-size: 14px; max-width: 440px; margin-bottom: 24px; }
  .sb-story .sb-story__scroll-hint { display: none; }

  .sb-story__static-ball--spark { left: 68%; top: auto; bottom: 74px; transform: translateX(-50%); }
  .sb-story__shadow { left: 68%; top: auto; bottom: 64px; transform: translateX(-50%); }
  .sb-story__plinth { width: 220px; height: 48px; top: auto; bottom: 36px; left: 68%; transform: translateX(-50%); }
  .sb-story__orbit, .sb-story__halo { left: 68%; top: auto; bottom: 0; width: 300px; height: 300px; transform: translateX(-50%); }
  .sb-story__orbit--two { width: 350px; height: 350px; bottom: -25px; }
  .sb-story__star--one { top: auto; bottom: 230px; left: 38%; }
  .sb-story__star--two { top: auto; bottom: 110px; left: 90%; }
  .sb-story__scene-word { top: auto; bottom: 40px; font-size: 38vw; }

  .sb-story__beam, .sb-story__tower { display: none; }
  .sb-story__boundary { left: 60%; top: auto; bottom: -150px; width: 150%; height: 300px; transform: translateX(-50%); }
  .sb-story__pitch { left: 46%; width: 46%; top: auto; bottom: 0; height: 250px; }
  .sb-story__motes i { bottom: 30px; left: calc(28% + var(--m) * 4.5%); }
  .sb-story__bat { width: 36px; height: 156px; left: 23.4%; top: auto; bottom: 8px; margin: 0 0 0 -18px; }
  .sb-story__flight { left: 18%; top: auto; bottom: 40px; width: 74%; height: 200px; }
  .sb-story__static-ball--game { --size: 60px; left: 86.6%; top: auto; bottom: 143px; transform: translateX(-50%); }

  .sb-story__joy-glow { top: auto; bottom: -80px; left: 56%; width: 420px; height: 420px; transform: translateX(-50%); }
  .sb-story__gift { left: 56%; top: auto; bottom: 48px; margin: 0 0 0 -100px; transform: scale(.72); transform-origin: 50% 100%; }
  .sb-story__diya { top: auto; bottom: 40px; left: 12%; transform: scale(.65); }
  .sb-story__diya--two { top: auto; bottom: 70px; left: 88%; transform: scale(.5); }

  .sb-story-gifts { padding: 40px 6vw 28px; }
  .sb-story-gifts__head { flex-wrap: wrap; margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .sb-story-gifts ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .sb-story-gifts ul.products::before, .sb-story-gifts ul.products::after { display: none; }
  .sb-story-gifts ul.products li.product { width: auto; float: none; margin: 0; }
  .sb-story-gifts ul.products li.product .button { padding: .6em .8em; font-size: 12px; }
}
@media (max-width: 480px) {
  .sb-story .sb-story__title { font-size: clamp(42px, 12vw, 56px); }
  .sb-story .sb-story__eyebrow { letter-spacing: .09em; font-size: 9px; }
  .sb-story__eyebrow span { padding-right: 10px; margin-right: 10px; }
  .sb-story .sb-story__cta { font-size: 11px; gap: 24px; }
}
