/* Spirit of J case study: the client's own candlelit world. Newsreader only; lantern gold on near-black violet; squared surfaces; slow motion */
@font-face{font-family:'Newsreader';src:url(/fonts/newsreader-300.woff2) format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Newsreader';src:url(/fonts/newsreader-300-italic.woff2) format('woff2');font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:'Newsreader';src:url(/fonts/newsreader-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Newsreader';src:url(/fonts/newsreader-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Newsreader';src:url(/fonts/newsreader-600.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
.sj { --ink: #07050C; --gold: #F2B865; --flame: #F6C97A; --cream: #EFE6D6; --c2: #CFC4B3; --c3: #B5AA99; --hair: #2C2536; background: var(--ink); color: var(--cream); font-family: 'Newsreader', Georgia, serif; overflow: clip; }
/* the pinned film needs position: sticky, so nothing around it may be a scroll container */
body:has(main.sj) > div:first-child { overflow: clip !important; }
.sj ::selection { background: rgba(242,184,101,.35); color: #fff; }
.sj a { color: var(--gold); }
.sj a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; box-shadow: 0 0 0 1px rgba(242,184,101,.25), 0 0 34px rgba(242,184,101,.1); }
.sj-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sj-mark { margin: 0; font: 600 14px/1 'Newsreader', serif; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }
.sj-mark i { font-style: italic; font-weight: 400; text-transform: lowercase; letter-spacing: .05em; }
.sj-eyebrow { margin: 0 0 18px; font: 600 12.5px/1.2 'Newsreader', serif; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); }
.sj-h1, .sj-h2 { margin: 0; font-weight: 300; color: var(--cream); letter-spacing: -0.01em; }
.sj-h1 { font-size: clamp(44px, 6.6vw, 104px); line-height: 1.0; margin-top: 26px; }
.sj-h1 span { display: block; }
.sj-h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; }
.sj em { font-style: italic; color: var(--gold); }
.sj-p { margin: 18px 0 0; max-width: 54ch; font-size: 19px; line-height: 1.6; color: var(--c2); }
.sj-lede { margin: 26px 0 0; max-width: 46ch; font-size: 21px; line-height: 1.55; color: var(--c2); }
.sj-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin: 34px 0 0; }
.sj-btn { display: inline-flex; gap: 12px; align-items: center; padding: 15px 22px; border: 1px solid var(--gold); border-radius: 2px; color: var(--cream) !important; text-decoration: none; font: 600 14px/1 'Newsreader', serif; letter-spacing: .17em; text-transform: uppercase; transition: box-shadow 400ms ease, background 400ms ease; }
.sj-btn:hover { background: rgba(242,184,101,.08); box-shadow: 0 0 0 1px rgba(242,184,101,.25), 0 0 34px rgba(242,184,101,.18); }
.sj-link { font: italic 400 18px 'Newsreader', serif; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.sj-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 40px; margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); }
.sj-meta dt { font: 600 11.5px/1 'Newsreader', serif; letter-spacing: .17em; text-transform: uppercase; color: var(--c3); }
.sj-meta dd { margin: 6px 0 0; font-size: 16px; color: var(--cream); }
/* hero: the guide stands full height at the left edge and runs off the top and bottom */
.sj-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 80px 0; background: radial-gradient(60% 70% at 18% 40%, rgba(92,52,120,.28), transparent 70%), var(--ink); }
.sj-guide { position: absolute; left: 0; top: -6%; bottom: -6%; width: min(46vw, 640px); pointer-events: none; }
.sj-guide-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; --mx: linear-gradient(90deg, #000 50%, rgba(0,0,0,.6) 74%, transparent 98%); --my: linear-gradient(180deg, transparent, #000 10%, #000 62%, rgba(0,0,0,.55) 78%, transparent 96%); -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in; mask-image: var(--mx), var(--my); mask-composite: intersect; }
/* the hero's floor: the guide's lower edge sinks into the page's own dark, so the picture and the page read as one scene */
.sj-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -8%; height: 30%; z-index: 1; background: linear-gradient(180deg, rgba(7,5,12,0), rgba(7,5,12,.75) 55%, #07050C); pointer-events: none; }
.sj-hero-copy { z-index: 2; }
.sj-scrollcue { z-index: 2; }
.sj-glow { position: absolute; left: 14%; top: 10%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(246,201,122,.38), rgba(242,184,101,.12) 45%, transparent 70%); mix-blend-mode: screen; animation: sj-breathe 3.6s ease-in-out infinite; }
@keyframes sj-breathe { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.sj-hero-copy { width: 100%; padding-left: max(40px, min(46vw, 640px) - 60px); }
.sj-hero .sj-h1 span { animation: sj-up 1.4s cubic-bezier(.16,1,.3,1) both; }
.sj-hero .sj-h1 span:nth-child(2) { animation-delay: .18s; } .sj-hero .sj-h1 span:nth-child(3) { animation-delay: .36s; }
.sj-hero .sj-lede, .sj-hero .sj-btns, .sj-hero .sj-meta { animation: sj-up 1.4s cubic-bezier(.16,1,.3,1) .6s both; }
@keyframes sj-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sj-scrollcue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); margin: 0; font: italic 400 15px 'Newsreader', serif; color: var(--c3); }
.sj-scrollcue::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--gold), transparent); animation: sj-cue 2.4s ease-in-out infinite; }
@keyframes sj-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* the footer's flame on a hairline, used as a divider */
.sj-flame { position: relative; height: 1px; max-width: 1120px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--hair) 20%, var(--hair) 80%, transparent); }
.sj-flame span { position: absolute; left: 50%; top: -14px; width: 12px; height: 22px; margin-left: -6px; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; background: radial-gradient(60% 70% at 50% 70%, #FFF1C9, var(--flame) 45%, rgba(242,184,101,0) 75%); box-shadow: 0 0 22px rgba(246,201,122,.6); animation: sj-flick 3.4s ease-in-out infinite; }
@keyframes sj-flick { 0%, 100% { transform: scale(1) rotate(-2deg); } 30% { transform: scale(1.08, .94) rotate(2deg); } 60% { transform: scale(.95, 1.06) rotate(-1deg); } }
.sj-sec { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.sj-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sj-split-r { grid-template-columns: 1.15fr 1fr; }
.sj-split-r > :first-child { order: 0; }
.sj-shot { margin: 0; }
.sj-zoom { display: block; position: relative; cursor: zoom-in; border-radius: 2px; }
.sj-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--hair); border-radius: 2px; background: #0B0812; transition: box-shadow 600ms ease, border-color 600ms ease; }
.sj-zoom:hover img, .sj-zoom:focus-visible img { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242,184,101,.25), 0 0 34px rgba(242,184,101,.1); }
.sj .sj-zoom:focus-visible { outline: none; box-shadow: none; }
.sj-shot figcaption { margin-top: 12px; font: italic 400 15px 'Newsreader', serif; color: var(--c3); }
/* 01: the desktop screen with the phone standing in front of it */
.sj-duo { position: relative; padding: 0 12% 14% 0; }
.sj-duo-phone { position: absolute; right: 0; bottom: 0; width: 21%; }
.sj-duo-phone img { border-radius: 14px; border-color: #3A3148; box-shadow: 0 24px 50px rgba(0,0,0,.65); }
.sj-duo-phone:hover img, .sj-duo-phone:focus-visible img { box-shadow: 0 0 0 1px rgba(242,184,101,.25), 0 0 34px rgba(242,184,101,.14), 0 24px 50px rgba(0,0,0,.65); }
.sj-duo figcaption { position: absolute; left: 0; bottom: 0; max-width: 64%; margin: 0; }
/* 03: the three steps of a reading */
.sj-flow { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; margin-top: 70px; text-align: left; }
.sj-flow-col { display: grid; gap: clamp(22px, 3vw, 40px); }
/* the lightbox */
.sj-box { padding: 0; border: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: auto; overscroll-behavior: contain; }
.sj-box::backdrop { background: rgba(5,3,9,.92); }
.sj-box-in { min-height: 100%; display: grid; place-items: center; padding: 64px 24px 32px; box-sizing: border-box; }
.sj-box img { display: block; max-width: min(1400px, 100%); height: auto; border: 1px solid var(--gold); border-radius: 2px; box-shadow: 0 0 0 1px rgba(242,184,101,.25), 0 0 60px rgba(242,184,101,.12); }
.sj-box-x { position: fixed; top: 16px; right: 16px; padding: 12px 18px; border: 1px solid var(--gold); border-radius: 2px; background: rgba(7,5,12,.85); color: #EFE6D6; font: 600 13px/1 'Newsreader', Georgia, serif; letter-spacing: .17em; text-transform: uppercase; cursor: pointer; }
.sj-box-x:focus-visible { outline: 1px solid #F2B865; outline-offset: 4px; }
.sj-box[open] img { animation: sj-up .7s cubic-bezier(.16,1,.3,1) both; }
/* 02: the films. Without JavaScript, or with reduced motion, this is a plain section with four stills.
   With .is-scrub the right column is a tall track whose stage sticks to the screen; the left column's copy sticks beside it */
.sj-film { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); max-width: 1200px; margin: 0 auto; padding: clamp(90px, 12vw, 160px) 40px; }
.sj-film::before { content: ""; position: absolute; inset: 0 -50vw; z-index: -1; background: radial-gradient(40% 50% at 70% 50%, rgba(92,52,120,.22), transparent 70%); pointer-events: none; }
.sj-film-copy-in { max-width: 520px; }
.sj-film-track { position: relative; }
.sj-film-pin, .sj-chap { display: none; }
.sj-film-stills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sj-film-stills img { display: block; width: 100%; height: auto; border: 1px solid var(--hair); border-radius: 2px; }
.js .sj-film:not(.no-scrub) { padding-top: 0; padding-bottom: 0; align-items: stretch; }
.js .sj-film:not(.no-scrub) .sj-film-stills { display: none; }
/* with JavaScript the stills are not needed (the film plays instead), so they are not fetched either */
@media (prefers-reduced-motion: no-preference) { .js .sj-film:not(.no-scrub) .sj-film-stills { display: none; } }
.js .sj-film:not(.no-scrub) .sj-film-copy-in { position: sticky; top: 0; height: 100vh; height: 100svh; box-sizing: border-box; padding-top: 44px; display: flex; flex-direction: column; justify-content: center; }
.js .sj-film:not(.no-scrub) .sj-film-track { height: calc(100vh + var(--run, 5.7) * 100vh); height: calc(100svh + var(--run, 5.7) * 100svh); }
.js .sj-film:not(.no-scrub) .sj-film-pin { position: sticky; top: 0; height: 100vh; height: 100svh; box-sizing: border-box; padding: 64px 0 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.sj-film-stage { position: relative; height: min(calc(100vh - 190px), 860px); height: min(calc(100svh - 190px), 860px); aspect-ratio: 2 / 3; max-width: 100%; isolation: isolate; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 90%, transparent); mask-composite: intersect; }
.sj-film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sj-film-light { position: absolute; left: 0; top: 0; width: 70%; aspect-ratio: 1; margin: -35% 0 0 -35%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,196,120,.30), rgba(242,184,101,.10) 45%, transparent 72%); mix-blend-mode: screen; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.js .sj-film:not(.no-scrub) .sj-chap { display: block; width: min(440px, 100%); }
.sj-chap ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0; padding: 0; }
.sj-chap li { display: grid; gap: 7px; justify-items: start; }
.sj-chap i { font: 600 11.5px/1 'Newsreader', serif; font-style: normal; letter-spacing: .17em; color: var(--c3); transition: color 400ms ease; }
.sj-chap li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sj-chap li.is-on i, .sj-chap li.is-done i { color: var(--gold); }
.sj-chap b { position: relative; display: block; width: 100%; height: 1px; background: var(--hair); }
.sj-chap s { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--gold); transform: scaleX(var(--k, 0)); transform-origin: left; box-shadow: 0 0 8px rgba(242,184,101,.6); }
.sj-chap-now { margin: 14px 0 0; font: italic 400 16px 'Newsreader', serif; color: var(--c2); text-align: center; }
/* the table: dark wood, a velvet cloth, objects in the corners */
.sj-table { background: #1A0F0A; }
.sj-table.is-near, html:not(.js) .sj-table { background: url(/media/spirit-of-j/table-wood.webp) center/600px repeat; }
.sj-table::before { content: ""; position: absolute; inset: 60px 4%; background: #230F24; border: 1px solid rgba(242,184,101,.18); box-shadow: inset 0 0 120px rgba(0,0,0,.75), 0 30px 60px rgba(0,0,0,.6); }
.sj-table.is-near::before, html:not(.js) .sj-table::before { background: url(/media/spirit-of-j/table-velvet.webp) center/420px repeat; }
.sj-table::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 45%, transparent, rgba(7,5,12,.55)); pointer-events: none; }
.sj-table > .sj-wrap { z-index: 1; }
.sj-obj { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.sj-candle { left: 2%; top: 30px; width: clamp(110px, 12vw, 190px); animation: sj-breathe 3.8s ease-in-out infinite; }
.sj-crystal { right: 3%; top: 50px; width: clamp(100px, 11vw, 170px); }
.sj-incense { left: 50%; bottom: 10px; width: clamp(140px, 16vw, 240px); transform: translateX(-50%); }
.sj-center { text-align: center; max-width: 760px; margin: 0 auto; }
.sj-center .sj-p { margin-left: auto; margin-right: auto; }
.sj-deal { list-style: none; margin: 60px auto 0; padding: 0; display: flex; justify-content: center; height: clamp(230px, 25vw, 340px); }
.sj-card { width: clamp(110px, 11vw, 160px); margin: 0 -1.6vw; transform: rotate(calc((var(--i) - 3) * var(--rot, 6deg))) translateY(calc(var(--i) * (6 - var(--i)) * -3px)); transform-origin: 50% 120%; transition: transform 700ms cubic-bezier(.16,1,.3,1); }
.sj-card:hover { transform: rotate(calc((var(--i) - 3) * var(--rot, 6deg))) translateY(-28px); z-index: 2; }
/* the card exactly as spiritofj.com draws it: 200 x 340 units, a face-down back that turns over to its face */
.sj .tc { position: relative; display: block; width: 100%; aspect-ratio: 200/340; perspective: 900px; }
.sj .tc-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i) * 140ms + 200ms); }
.sj .tc-b, .sj .tc-f { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 5.5%/3.3%; filter: drop-shadow(2px 3px 2px rgba(0,0,0,.6)) drop-shadow(8px 13px 12px rgba(0,0,0,.45)); }
.sj .tc-f { transform: rotateY(180deg); isolation: isolate; }
.sj .tc svg { display: block; width: 100%; height: 100%; }
.sj .tc-f > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.sj .tc-paint { object-fit: cover; mix-blend-mode: screen; clip-path: inset(0.5% 0.5% round 5.5% / 3.24%); }
.sj-card:hover .tc-f { filter: drop-shadow(2px 3px 2px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(242,184,101,.6)) drop-shadow(0 0 34px rgba(242,184,101,.28)); }
.sj-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.js .sj-deal .tc-in { transform: rotateY(0); }
.js .sj-deal.is-dealt .tc-in, .sj-deal:not(.js-deal) .tc-in { transform: rotateY(180deg); }
.sj-readings { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 46px auto 0; padding: 0; max-width: 860px; }
.sj-readings li { padding: 10px 16px; border: 1px solid var(--hair); border-radius: 2px; background: rgba(7,5,12,.55); font-size: 17px; color: var(--cream); transition: border-color 400ms ease, box-shadow 400ms ease; }
.sj-readings li:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242,184,101,.25), 0 0 34px rgba(242,184,101,.1); }
.sj-readings i { margin-right: 10px; font: 600 12px 'Newsreader', serif; font-style: normal; letter-spacing: .17em; color: var(--gold); }
.sj-scores { max-width: 860px; margin: 56px auto 0; padding: 34px 30px; border: 1px solid var(--hair); border-radius: 2px; text-align: center; }
.sj-scores-h { margin: 0; font: 600 12px 'Newsreader', serif; letter-spacing: .17em; text-transform: uppercase; color: var(--c3); }
.sj-scores ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 26px 0 0; padding: 0; }
.sj-scores b { display: block; font: 300 clamp(48px, 6vw, 84px)/1 'Newsreader', serif; color: var(--gold); }
.sj-scores span { display: block; margin-top: 8px; font-size: 16px; color: var(--c2); }
.sj-scores-n { margin: 24px 0 0; font: italic 400 15px 'Newsreader', serif; color: var(--c3); }
.sj-end { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 12vw, 160px); background: radial-gradient(46% 42% at 50% 30%, rgba(242,184,101,.09), transparent 70%); }
.sj-lamp { --fx: 51.2%; --fy: 43.3%; position: relative; width: clamp(260px, 30vw, 430px); aspect-ratio: 2 / 3; margin: 0 auto; isolation: isolate; }
.sj-lamp-img { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 52%, rgba(0,0,0,.5) 68%, transparent 92%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 52%, rgba(0,0,0,.5) 68%, transparent 92%); mask-composite: intersect; }
/* warm light breathing on the stone below the lantern */
.sj-lamp-warm { position: absolute; left: 6%; right: 6%; top: 50%; height: 26%; background: radial-gradient(closest-side, rgba(255,170,80,.30), rgba(242,150,70,.10) 55%, transparent 100%); mix-blend-mode: screen; animation: sj-warm 5.2s ease-in-out infinite; pointer-events: none; }
@keyframes sj-warm { 0%, 100% { opacity: .55; } 40% { opacity: .9; } 70% { opacity: .7; } }
/* the flame's glow: its opacity and size are moved by work/spirit-of-j.js, irregularly, like a real flame */
.sj-lamp-flame { position: absolute; left: var(--fx); top: var(--fy); width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,180,95,.10), rgba(255,180,95,.26) 15%, rgba(255,150,70,.09) 40%, transparent 72%); mix-blend-mode: screen; pointer-events: none; animation: sj-lflick 3.4s ease-in-out infinite; }
@keyframes sj-lflick { 0%, 100% { opacity: .85; } 20% { opacity: .7; } 38% { opacity: 1; } 57% { opacity: .78; } 79% { opacity: .95; } }
/* as on spiritofj.com: two slow wisps of haze behind the lantern, and soft motes that drift up out of its light and fade */
.sj-lamp-fx { position: absolute; inset: -10% -45% 20% -45%; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%); }
.sj-wisp { position: absolute; inset: -10%; mix-blend-mode: screen; opacity: .42; filter: sepia(.55) saturate(1.5) hue-rotate(-12deg); animation: sj-wisp 26s ease-in-out infinite alternate; }
.sj-lamp.is-near .sj-wisp, html:not(.js) .sj-wisp { background: url(/media/spirit-of-j/haze.webp) 30% 40%/190% auto no-repeat; }
.sj-lamp.is-near .sj-wisp-2, html:not(.js) .sj-wisp-2 { background-position: 75% 70%; background-size: 240% auto; }
.sj-wisp-2 { opacity: .3; animation-name: sj-wisp2; animation-duration: 38s; }
@keyframes sj-wisp { from { transform: translate(-5%, 3%) rotate(-2deg); } to { transform: translate(6%, -5%) rotate(2deg); } }
@keyframes sj-wisp2 { from { transform: scaleX(-1) translate(4%, -2%); } to { transform: scaleX(-1) translate(-6%, -7%); } }
.sj-motes { position: absolute; inset: 0 -40%; pointer-events: none; }
.sj-mote { position: absolute; border-radius: 50%; background: #FFE2B0; box-shadow: 0 0 6px 2px rgba(255,190,110,.55); opacity: 0; animation: sj-mote 9s linear infinite; }
.sj-mote-far { background: #F6D9A8; box-shadow: 0 0 5px 1px rgba(255,190,110,.4); }
@keyframes sj-mote { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .95; } 70% { opacity: .6; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.sj-end .sj-wrap { margin-top: clamp(-150px, -9vw, -70px); z-index: 1; }
.sj-end .sj-h2 { margin-top: 22px; }
.sj-btns-c { justify-content: center; }
.sj-next { margin: 22px 0 0; font: italic 400 18px 'Newsreader', serif; color: var(--c3); }
/* reveals (fade up, nothing bounces) */
.js .sj [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.16,1,.3,1); }
.js .sj [data-rv].is-in { opacity: 1; transform: none; }
.sj .is-off *, .sj .is-off *::before, .sj .is-off *::after { animation-play-state: paused !important; }
@media (max-width: 900px) {
  .sj-wrap { padding: 0 20px; }
  .sj-hero { align-items: flex-end; padding: 0 0 70px; min-height: 92svh; }
  .sj-guide { width: 100%; top: 0; bottom: auto; height: 70%; }
  .sj-guide-still { object-position: 30% 20%; --mx: linear-gradient(90deg, #000 70%, rgba(0,0,0,.4) 100%); --my: linear-gradient(180deg, #000 45%, rgba(0,0,0,.5) 70%, transparent 96%); }
  .sj-hero-copy { padding-left: 20px; padding-top: 52vh; }
  .sj-meta { grid-template-columns: 1fr; gap: 14px; }
  .sj-split, .sj-split-r { grid-template-columns: 1fr; }
  .sj-scrollcue { display: none; }
  .sj-card { --rot: 3.5deg; width: 14.5vw; margin: 0 -1.2vw; }
  .sj-deal { height: 34vw; margin-top: 40px; }
  .sj-flow { grid-template-columns: 1fr; margin-top: 50px; }
  .sj-duo { padding: 0 12% 22% 0; } .sj-duo-phone { width: 27%; }
  .sj-duo figcaption { max-width: 60%; }
  .sj-film { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; gap: 36px; }
  .js .sj-film:not(.no-scrub) { padding-top: clamp(90px, 12vw, 160px); gap: 10px; }
  .js .sj-film:not(.no-scrub) .sj-film-copy-in { position: static; height: auto; display: block; }
  .sj-film-stage { height: auto; width: min(100%, calc((100svh - 170px) * 2 / 3)); }
  .js .sj-film:not(.no-scrub) .sj-film-pin { gap: 10px; }
  .sj-chap-now { font-size: 15px; margin-top: 10px; }
  .sj-end .sj-wrap { margin-top: -60px; }
  .sj-scores ul { grid-template-columns: repeat(2, 1fr); }
  .sj-candle, .sj-crystal { width: 80px; } .sj-incense { display: none; }
  .sj-table::before { inset: 40px 2%; }
}
@media (prefers-reduced-motion: reduce) {
  .sj-mote { opacity: .55; }
  .sj *, .sj *::before, .sj *::after { animation: none !important; transition: none !important; }
  .js .sj [data-rv] { opacity: 1; transform: none; }
  .js .sj-deal .tc-in { transform: rotateY(180deg) !important; }
}
@media (max-width: 900px) { .sj-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; bottom: 0; background: linear-gradient(180deg, rgba(7,5,12,0), rgba(7,5,12,.85) 35%, #07050C 60%); pointer-events: none; } .sj-hero-copy { z-index: 2; padding-top: 46vh; } }
