:root{--bg:#120810;--content-width:1103px;--content-gutter:7%;--ink:#f5eadf;--muted:#b5a0ac;--gold:#e7bc7b;--pink:#dc5486;--wine:#75123e;--line:#e7bc7b30;--sans:'Manrope',sans-serif;--serif:'Fraunces',Georgia,serif;--ease:cubic-bezier(.2,.8,.2,1)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:15px;overflow-x:clip;-webkit-font-smoothing:antialiased}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:6px}::selection{background:#a83060;color:white}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-80px;left:20px;padding:15px;background:var(--gold);color:var(--bg);z-index:100}.skip:focus{top:10px}#world{position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 75% 35%,#3c142752 0,transparent 57%)}#scene{display:block;width:100%;height:100%}.ambient{position:fixed;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse at 10% 40%,#12081055,transparent 65%)}.grain{position:fixed;inset:0;z-index:12;pointer-events:none;opacity:.034;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E")}.nav{position:fixed;top:0;left:0;width:100%;height:96px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;z-index:20;background:linear-gradient(#120810e8,#12081000);gap:30px;transition:background .4s,height .4s}.nav.scrolled{height:76px;background:#120810df;backdrop-filter:blur(18px);border-bottom:1px solid #e7bc7b14}.brand{font-family:var(--serif);font-style:italic;font-size:31px;color:var(--gold);display:flex;align-items:center;gap:10px;letter-spacing:-1px}.brand svg{width:25px;height:29px}.brand-dot{font:9px var(--sans);align-self:flex-start;margin-top:7px;letter-spacing:0}.nav nav{display:flex;gap:35px;font-size:14px;font-weight:600;color:#efe0e9}.nav nav a{position:relative}.nav nav a:after{content:'';height:1px;position:absolute;bottom:-6px;left:0;width:0;background:var(--gold);transition:width .3s}.nav nav a:hover:after{width:100%}.nav-right{display:flex;gap:25px;align-items:center}.language{display:flex;gap:6px;align-items:center}.language svg{width:15px;height:15px;stroke:var(--muted);fill:none;stroke-width:1.2}.language select{color:var(--ink);border:0;background:transparent;font-size:11px;max-width:74px;cursor:pointer;padding:8px 0}.language option{background:#24111e;color:var(--ink)}.nav-cta{padding:12px 20px;border:1px solid #e7bc7b66;border-radius:4px;color:var(--gold);font-size:11px}.nav-cta:hover{background:#e7bc7b15}main,footer{position:relative;z-index:2}.chapter{position:relative;min-height:100svh;padding:100px 8%;display:flex;align-items:center}.hero{min-height:108svh;padding-top:120px}.hero-copy{width:48%;max-width:630px;position:relative;z-index:3}.eyebrow{display:flex;align-items:center;gap:14px;font-size:10px;font-weight:600;letter-spacing:.2em;color:var(--gold);line-height:1.8}.tiny-star{font-size:15px}.hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(60px,6.7vw,108px);line-height:1.02;letter-spacing:-.055em;margin:29px 0 26px}.hero h1 em{display:inline-block;color:var(--gold);font-weight:400}em{font-family:var(--serif);font-weight:400;color:var(--gold)}.lede,.section-copy>p{max-width:345px;color:var(--muted);font-size:14px;line-height:1.9;margin:0 0 30px}.button{display:inline-flex;justify-content:center;align-items:center;gap:22px;min-height:54px;padding:16px 25px;border-radius:4px;font-size:12px;font-weight:600;border:1px solid transparent;transition:transform .25s,box-shadow .25s;position:relative}.button.primary{background:var(--gold);color:#23101b;box-shadow:0 4px 30px #e7bc7b08}.button:hover{transform:translateY(-3px);box-shadow:0 5px 40px #e7bc7b20}.button>span:last-child{font-size:18px}.hero-note{display:flex;gap:10px;align-items:center;margin-top:25px;font-size:10px;color:#aa929f}.age{display:inline-flex;border:1px solid #b59aab55;border-radius:50%;width:25px;height:25px;align-items:center;justify-content:center;font-size:9px;flex-shrink:0}.scene-caption{position:absolute;left:65%;bottom:15%;font-size:8px;letter-spacing:.18em;color:#b9a1af;display:flex;gap:10px;align-items:center}.live-dot{height:4px;width:4px;border-radius:100%;background:var(--gold);box-shadow:0 0 12px var(--gold)}.scroll-cue{position:absolute;bottom:42px;left:8%;font-size:8px;letter-spacing:.2em;color:var(--muted);display:flex;align-items:center;gap:25px}.scroll-line{height:48px;width:1px;background:linear-gradient(var(--gold),transparent);position:relative}.scroll-line:after{content:'';width:3px;height:10px;background:var(--gold);position:absolute;left:-1px;top:0;animation:scroll 2.4s ease infinite}@keyframes scroll{to{transform:translateY(35px);opacity:0}}.edition{position:absolute;bottom:55px;right:6%;font-size:8px;letter-spacing:.16em;color:#a08695}.section-copy{width:40%;max-width:480px;position:relative;z-index:3}.chapter-no{color:#ae768e}.section-copy h2,.mood-top h2,.finale h2{font-family:var(--serif);font-weight:400;font-size:clamp(42px,4.6vw,76px);letter-spacing:-.045em;line-height:1.07;margin:22px 0 24px}.board-section{min-height:105svh}.player-strip{display:flex;gap:20px;align-items:center;margin:25px 0}.player-strip>span{display:flex;gap:8px;align-items:center;font-size:11px}.avatar{font-style:normal;width:24px;height:24px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:10px;color:#180a12}.gold{background:var(--gold)}.rose{background:var(--pink)}.player-divider{color:#845065}.dice-icon{font-size:23px}.demo-result{max-width:355px;font-family:var(--serif);font-size:17px;line-height:1.5;color:#d2b7c5;min-height:70px;margin:22px 0 10px}.micro{font-size:8px;letter-spacing:.15em;color:#967b8c}.object-label{position:absolute;right:25%;bottom:12%;display:flex;align-items:center;gap:15px;color:#b295a6;font-size:10px;letter-spacing:.1em}.object-label i{font-size:16px;font-style:normal;color:var(--gold)}.interlude{position:relative;display:flex;justify-content:center;align-items:center;gap:45px;padding:60px 8%;min-height:32svh}.interlude p{font-family:var(--serif);font-size:clamp(24px,3vw,44px);letter-spacing:-.03em;text-align:center}.interlude .line{height:1px;background:linear-gradient(90deg,transparent,#b3859750,transparent);flex:1;max-width:180px}.match-section{justify-content:space-between;gap:10%;min-height:105svh}.match-demo{width:43%;max-width:440px;position:relative;perspective:1100px;padding:20px 14px}.mini-label{font-size:10px;letter-spacing:.12em;display:flex;justify-content:space-between;padding:0 4px 18px;color:#c8aeba}.mini-label i{font-style:normal;margin:0 13px;color:var(--pink)}.match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;transform:rotate(-5deg);padding:15px 0}.memory-card{height:auto;aspect-ratio:.72;position:relative;background:transparent;border:0;padding:0;perspective:700px;color:var(--gold);transition:transform .3s}.memory-card:hover{transform:translateY(-8px)}.memory-inner{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .7s var(--ease)}.memory-card.flipped .memory-inner,.memory-card.matched .memory-inner{transform:rotateY(180deg)}.memory-face{position:absolute;inset:0;backface-visibility:hidden;border-radius:9px;border:1px solid #ce8c7e;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 0 #390e22,0 15px 28px #0006}.memory-face:before{content:'';position:absolute;inset:7px;border:1px solid #e7bc7b55;border-radius:5px}.memory-back{background:radial-gradient(ellipse at 50% 0,#ad2f60,#691035 85%)}.memory-back:after{content:'✧';position:absolute;top:13px;font-size:11px}.memory-back svg{width:35%;height:35%;stroke:var(--gold);fill:none;stroke-width:.8}.memory-front{transform:rotateY(180deg);background:#f3e5d4;color:#72203e;font-family:var(--serif);font-size:45px}.memory-front small{position:absolute;bottom:18px;font-family:var(--sans);font-size:8px;letter-spacing:.1em;color:#936b70}.memory-card.matched .memory-front{background:#ecd0a5;box-shadow:0 8px 0 #684426,0 0 40px #e7bc7b18}.match-bottom{margin-top:26px;display:flex;align-items:flex-start;gap:12px;justify-content:space-between;font-size:10px;line-height:1.6;color:#bd9cac;min-height:50px}.match-bottom>span{max-width:260px}.reset{background:none;border:0;color:var(--gold);padding:0;font-size:10px;white-space:nowrap}.text-rule{height:1px;width:75px;background:var(--line);margin:32px 0}.instruction{display:flex;align-items:center;gap:15px;color:#d8bfcb;font-size:12px;margin-bottom:25px}.circle-icon{border:1px solid #9d6179;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:var(--gold);font-size:20px}.wheel-section{min-height:110svh}.mood-section{position:relative;min-height:78svh;padding:90px 20px;text-align:center;background:radial-gradient(ellipse at 50% 50%,#52163022,transparent 70%)}.mood-top{max-width:780px;margin:auto}.mood-top .eyebrow{justify-content:center}.mood-top h2{font-size:clamp(38px,4.2vw,65px)}.mood-top>p{color:var(--muted);font-size:13px;line-height:1.8;max-width:430px;margin:0 auto 30px}.mood-control{display:inline-flex;border:1px solid #a8718d50;padding:5px;border-radius:50px;gap:4px;background:#160b13a8}.mood-control button{border:0;border-radius:25px;background:transparent;color:var(--muted);padding:11px 25px;font-size:11px;transition:.3s}.mood-control button[aria-pressed=true]{background:#e7bc7b;color:#260e1b;box-shadow:0 0 25px #e7bc7b14}.mood-quote{font-family:var(--serif);font-style:italic;color:#ddc4cf;font-size:21px;min-height:34px;margin:26px auto;max-width:550px}.boundaries{display:flex;justify-content:center;align-items:center;gap:13px;margin:38px auto 0;color:#9b8191}.boundaries>span{font-size:25px;color:var(--gold)}.boundaries p{font-size:10px;line-height:1.8;text-align:left}.finale{min-height:100svh;justify-content:center;text-align:center;padding-bottom:80px}.finale-copy{position:relative;z-index:3}.moon-mark{width:40px;height:40px;margin-bottom:28px;color:var(--gold)}.finale .eyebrow{justify-content:center;font-size:9px}.finale h2{font-size:clamp(50px,6vw,94px);margin:25px 0}.finale p{font-size:13px;color:var(--muted);line-height:1.9;margin:24px auto 30px;max-width:390px}.store-row{display:flex;justify-content:center;gap:12px}.store-badge{display:flex;gap:10px;padding:11px 19px;min-width:157px;align-items:center;border:1px solid #e7bc7b55;border-radius:7px;background:#21121a80;text-align:left}.store-badge svg{width:26px;height:30px;color:var(--gold)}.store-badge small{display:block;font-size:8px;color:var(--muted);margin-bottom:3px}.store-badge b{font-size:15px;font-weight:500;letter-spacing:-.025em}.launch-note{display:block;color:#a88b9e;font-family:var(--serif);font-style:italic;font-size:15px;margin-top:30px}footer{padding:30px 5%;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#120810aa}footer .brand{font-size:25px}footer p,footer>span{font-size:9px;color:#a18797}footer .age{margin-left:15px;width:22px;height:22px;font-size:8px}.chapter-rail{position:fixed;right:25px;top:50%;z-index:15;display:grid;gap:20px;transform:translateY(-50%)}.chapter-rail a{width:5px;height:5px;border-radius:50%;border:1px solid #9c7080;transition:.4s;position:relative}.chapter-rail a:before{content:'';position:absolute;inset:-9px}.chapter-rail a.active{background:var(--gold);border-color:var(--gold);box-shadow:0 0 0 4px #e7bc7b12}.chapter-rail a:hover{background:var(--gold)}.hero-copy{animation:enter 1.4s var(--ease) both}.scene-caption{animation:enter 1.6s .4s var(--ease) both}@keyframes enter{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}#fallback{display:none;position:absolute;top:20%;right:10%;width:33%;transform:rotate(-15deg);perspective:1000px}.fallback-board{border:3px double #b48b57;border-radius:20px;padding:35px;background:linear-gradient(130deg,#49162f,#160914);box-shadow:25px 40px 80px #0008;color:var(--gold);text-align:center;font:40px var(--serif);transform:rotateX(20deg)}.fallback-board>span{display:block;font-style:italic}.fallback-board>div{background:linear-gradient(100deg,#a22455,#edc382);border-radius:40px;color:#331024;margin:35px 10px;line-height:1.8}.nojs{padding:20px;text-align:center;background:#e7bc7b;color:#120810;position:fixed;bottom:0;z-index:100}.no-webgl #fallback{display:block}.no-webgl .chapter{background:#120810bb}.no-webgl .hero{background:transparent}
@media(min-width:1700px){.chapter{padding-left:max(8%,calc((100vw - 1500px)/2));padding-right:max(8%,calc((100vw - 1500px)/2))}}
@media(max-width:1050px){.nav{padding:0 5%;gap:20px}.nav nav{gap:20px}.hero h1{font-size:7.5vw}.hero-copy{width:49%}.section-copy{width:44%}.chapter{padding-left:7%;padding-right:7%}.scene-caption{left:60%;font-size:7px}.match-section{gap:5%}.match-demo{width:46%}.memory-face{border-radius:6px}.chapter-rail{right:14px}}
@media(max-width:700px){html{scroll-padding-top:68px}.nav{height:75px;padding:0 6%;gap:10px}.nav.scrolled{height:65px}.brand{font-size:25px;gap:6px}.brand svg{width:20px}.nav nav{display:none}.nav-right{gap:12px}.nav-cta{font-size:9px;padding:10px 12px}.language{gap:2px}.language svg{display:none}.language select{font-size:10px;max-width:59px}.chapter{padding:95px 7% 45px;min-height:100svh;display:block}.hero{min-height:110svh;padding-top:125px}.hero-copy{width:100%;max-width:420px}.hero .eyebrow{font-size:8px;letter-spacing:.13em;gap:9px}.hero h1{font-size:clamp(48px,11.5vw,76px);line-height:1.02;margin:19px 0}.hero .lede{font-size:12px;max-width:270px;line-height:1.8;margin-bottom:20px}.button{min-height:46px;font-size:11px;padding:13px 20px;gap:18px}.hero-note{font-size:8px;margin-top:16px;max-width:250px}.hero-note .age{width:21px;height:21px;font-size:8px}.scene-caption{bottom:65px;left:auto;right:9%;font-size:6px}.scroll-cue{bottom:27px;left:7%;font-size:6px;gap:12px}.scroll-line{height:28px}.edition{display:none}.section-copy{width:100%;max-width:400px}.section-copy h2{font-size:43px;margin:17px 0}.section-copy>p{font-size:12px;line-height:1.8;max-width:310px;margin-bottom:15px}.eyebrow{font-size:8px;gap:10px}.board-section{min-height:112svh;padding-top:90px}.player-strip{margin:16px 0}.demo-result{font-size:15px;max-width:300px;min-height:60px;margin:14px 0 5px}.micro{font-size:7px}.object-label{right:15%;bottom:5%;font-size:8px}.interlude{min-height:20svh;padding:35px 7%;gap:15px}.interlude p{font-size:25px;max-width:230px;line-height:1.5}.match-section{display:flex;flex-direction:column-reverse;justify-content:center;gap:25px;padding-top:70px;min-height:110svh}.match-section .section-copy{align-self:flex-start}.match-section h2{font-size:40px}.match-section .text-rule{display:none}.instruction{margin:16px 0 0;font-size:11px;gap:10px}.circle-icon{width:27px;height:27px;font-size:17px}.match-section .micro{display:none}.match-demo{width:85%;max-width:330px;padding:12px 0}.match-grid{gap:11px}.memory-card{aspect-ratio:.83}.memory-back svg{width:32%}.memory-face{box-shadow:0 5px 0 #390e22,0 10px 20px #0005}.memory-front{font-size:32px}.memory-front small{font-size:7px;bottom:15px}.match-bottom{margin-top:20px;font-size:9px}.mini-label{font-size:9px;padding-bottom:10px}.wheel-section{min-height:112svh;padding-top:90px}.mood-section{min-height:auto;padding:80px 7%}.mood-top h2{font-size:38px;line-height:1.15}.mood-top>p{font-size:12px}.mood-quote{font-size:18px;min-height:55px}.mood-control button{padding:10px 22px}.finale{display:flex;min-height:95svh;padding-top:70px}.finale h2{font-size:49px}.finale p{font-size:12px}.finale .eyebrow{font-size:7px}.store-badge{padding:10px 12px;min-width:137px;gap:8px}.store-badge b{font-size:13px}.store-row{gap:10px}.store-badge svg{width:22px}.launch-note{font-size:13px}.chapter-rail{display:none}footer{padding:25px 7%;flex-wrap:wrap;gap:14px}footer p{display:none}footer>span{font-size:8px}#fallback{top:54%;right:15%;width:65%}.fallback-board{padding:15px;font-size:25px}.ambient{background:linear-gradient(#12081020,transparent)}.grain{opacity:.025}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.scroll-line:after{display:none}}
/* Rich CSS 3D scene for contexts that do not expose WebGL. */
.no-webgl #fallback{display:block;inset:0;width:100%;transform:none;perspective:1400px;overflow:hidden}.no-webgl .chapter{background:transparent}.css-aura{position:absolute;right:-8%;top:0;width:75%;height:100%;background:radial-gradient(ellipse at 55% 50%,#76154145,transparent 66%);opacity:var(--aura-opacity,.8)}.css-orbit{position:absolute;right:2%;top:15%;width:52vw;height:52vw;border:1px solid #d4a16b13;border-radius:50%;transform:rotateX(20deg) rotateY(-30deg)}.orbit-two{right:-1%;top:11%;width:57vw;height:57vw;border-color:#d4a16b09}.css-stage{position:absolute;right:7.6%;top:17%;width:34%;height:70%;perspective:1200px;transform-style:preserve-3d}.css-board{position:absolute;inset:0;transform-style:preserve-3d;aspect-ratio:.69;width:100%;height:auto;max-height:76vh}.board-thickness{position:absolute;inset:0;border:2px solid #ab7b49;border-radius:17px;background:#21121b;transform:translateZ(-13px);box-shadow:1px 1px #b08a5c,2px 3px #80603e,3px 5px #574028,4px 7px #aa7a42,5px 10px #2e1726,35px 70px 70px #0009}.board-face{position:absolute;inset:0;transform-style:preserve-3d;border-radius:16px;background:#3d142a;border:2px solid #e5b478;box-shadow:inset 0 0 0 3px #4c2a32;overflow:visible}.board-face>img{width:100%;height:100%;object-fit:fill;border-radius:14px}.css-pawn{position:absolute;left:31%;top:77%;height:57px;width:35px;transform-style:preserve-3d;transform:translate(-50%,-80%) translateZ(18px) rotateX(-20deg);transition:left .4s,top .4s;filter:drop-shadow(8px 16px 6px #21031488)}.pawn-e{left:67%;top:57%}.css-pawn i{position:absolute;display:block}.pawn-foot{bottom:0;left:1px;width:33px;height:14px;border-radius:50%;background:linear-gradient(90deg,#8c5128,#ffda92 40%,#bf8547);border-bottom:3px solid #724322;box-shadow:0 2px 0 #d6ab6d}.pawn-stem{bottom:7px;left:7px;width:22px;height:31px;clip-path:polygon(35% 0,65% 0,74% 65%,100% 100%,0 100%,26% 65%);background:linear-gradient(90deg,#8c5128,#ffe4a7 45%,#9e5f2e)}.pawn-head{top:0;left:8px;width:21px;height:21px;border-radius:50%;background:radial-gradient(circle at 32% 25%,#fff4cf,#f1c478 35%,#b27c40 65%,#704123)}.pawn-e .pawn-head{background:radial-gradient(circle at 30% 20%,#ffd0dc,#e978a1 35%,#9f325c 65%,#541c36)}.pawn-e .pawn-stem,.pawn-e .pawn-foot{background:linear-gradient(90deg,#641c38,#f4a0bb 45%,#ae456b)}.css-die{position:absolute;left:-16%;top:75%;width:65px;height:65px;transform-style:preserve-3d;transform:translateZ(90px) rotateX(-24deg) rotateY(32deg) rotateZ(-10deg)}.die-face{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;padding:10px;border-radius:8px;background:linear-gradient(140deg,#fff5e7,#d6bda8);border:1px solid #f1ddc9;box-shadow:inset 0 0 7px #a8836540;backface-visibility:hidden}.die-face i{border-radius:50%;display:block}.die-face i.pip{background:radial-gradient(circle at 60% 70%,#922449,#4c102c);box-shadow:inset 1px 1px 2px #16071477}.face-1{transform:translateZ(32.5px)}.face-2{transform:rotateY(90deg) translateZ(32.5px)}.face-3{transform:rotateX(90deg) translateZ(32.5px)}.face-4{transform:rotateX(-90deg) translateZ(32.5px)}.face-5{transform:rotateY(-90deg) translateZ(32.5px)}.face-6{transform:rotateY(180deg) translateZ(32.5px)}.css-card{position:absolute;width:31%;aspect-ratio:.69;border-radius:9px;border:1px solid #ddb77d;background:linear-gradient(130deg,#ad3464,#5a0b2d);box-shadow:1px 2px #c5a182,2px 4px #612039,4px 8px 0 #371022,15px 25px 30px #0005;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#edc38c;transform-style:preserve-3d}.css-card:before,.closing-card:before{content:'';position:absolute;inset:6px;border:1px solid #e7bc7b88;border-radius:5px}.css-card>div{font:italic 15px var(--serif);position:absolute;top:18px}.css-card>span{font:55px Georgia}.css-card>i{position:absolute;bottom:14px;font-style:normal}.float-card.one{left:-24%;top:8%;transform:translateZ(45px) rotateZ(-17deg) rotateY(-12deg)}.float-card.two{right:-16%;bottom:-3%;color:#80344b;background:linear-gradient(135deg,#f7e7d5,#dcc3a7);transform:translateZ(65px) rotateZ(25deg) rotateY(10deg);width:27%}.float-card.two>div{font:7px var(--sans);letter-spacing:2px}.float-card.two>span{font-size:46px}.board-medal{position:absolute;right:10%;top:11%;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#ffe9ac,#c3934e);border:3px double #f4d89e;color:#812745;font-size:27px;box-shadow:0 4px #8e6333,7px 9px 12px #21041188;transform:translateZ(20px)}.css-wheel-stage{position:absolute;right:5%;top:20%;width:43%;aspect-ratio:1;transform-style:preserve-3d;perspective:1200px;visibility:hidden}.css-wheel{width:100%;height:100%;border-radius:50%;position:relative;box-shadow:0 2px #efcf92,0 5px #795329,0 9px #bd8c4c,0 13px #704c29,22px 40px 55px #0008}.css-wheel svg{width:100%;height:100%;display:block;border-radius:50%}.css-wheel-pin{position:absolute;top:-2%;left:46%;width:8%;height:10%;background:linear-gradient(110deg,#fff1c8,#c49a59);clip-path:polygon(0 0,100% 0,100% 40%,50% 100%,0 40%);border-radius:50% 50% 0 0;display:flex;align-items:flex-start;justify-content:center;padding-top:7px;font-size:23px;color:#922b51;z-index:2;transform:translateZ(25px);filter:drop-shadow(0 3px 2px #0006)}.css-hub{position:absolute;left:40%;top:40%;width:20%;height:20%;border-radius:50%;border:2px solid #efcb90;background:radial-gradient(circle at 35% 25%,#ffe2a6,#d2a35d 60%,#976637);color:#8e2350;display:grid;place-items:center;font-size:45px;box-shadow:0 3px #885e31,3px 9px 12px #300a1c55}.closing-card{position:absolute;width:170px;aspect-ratio:.69;top:36%;border:1px solid #bb8c6e;border-radius:10px;background:linear-gradient(140deg,#a52b5b,#510a29);box-shadow:3px 6px 0 #381022,15px 30px 70px #0005;display:flex;flex-direction:column;align-items:center;justify-content:space-around;color:var(--gold);opacity:0}.closing-card span{font:italic 18px var(--serif)}.closing-card b{font:65px Georgia;font-weight:400}.closing-card i{font-style:normal;font-size:16px}.closing-card.c-left{left:10%}.closing-card.c-right{right:10%;top:45%;background:linear-gradient(130deg,#e9d7c0,#bc9d80);color:#6a2139}.no-webgl .ambient{background:radial-gradient(ellipse at 7% 30%,#12081033,transparent 70%)}
@media(min-width:1600px){.css-stage{width:31%;right:10%;top:16%}.css-board{max-height:76vh}.css-wheel-stage{max-width:680px;right:8%}}
@media(max-width:700px){.css-stage{width:56%;height:42%;right:17%;top:56%;perspective:800px}.css-board{max-height:41svh;border-radius:10px}.board-face{border-radius:9px}.board-face>img{border-radius:8px}.board-thickness{border-radius:10px}.css-die{width:38px;height:38px;left:-13%;top:72%}.die-face{padding:6px;gap:2px;border-radius:5px}.face-1{transform:translateZ(19px)}.face-2{transform:rotateY(90deg) translateZ(19px)}.face-3{transform:rotateX(90deg) translateZ(19px)}.face-4{transform:rotateX(-90deg) translateZ(19px)}.face-5{transform:rotateY(-90deg) translateZ(19px)}.face-6{transform:rotateY(180deg) translateZ(19px)}.css-card>div{font-size:9px;top:12px}.css-card>span{font-size:30px}.css-card>i{font-size:10px;bottom:9px}.float-card.two>div{font-size:5px;letter-spacing:.5px}.float-card.two>span{font-size:26px}.board-medal{width:30px;height:30px;font-size:17px;border-width:2px}.css-pawn{transform:translate(-50%,-75%) translateZ(14px) scale(.62) rotateX(-20deg)}.css-wheel-stage{width:73%;right:13%;top:57%;max-height:38svh;max-width:38svh}.css-hub{font-size:27px}.css-wheel-pin{font-size:15px;padding-top:3px}.css-orbit{width:93vw;height:93vw;top:53%;right:0}.orbit-two{width:104vw;height:104vw;top:50%;right:-5%}.css-aura{width:115%;right:-5%}.closing-card{width:85px;top:16%;opacity:.6}.closing-card.c-left{left:-7%}.closing-card.c-right{right:-7%;top:73%}.closing-card b{font-size:35px}.closing-card span{font-size:12px}}

.button .arrow{width:15px;height:15px;stroke:currentColor;stroke-width:1.25;fill:none}.button .dice-icon{width:21px;height:21px;stroke:currentColor;stroke-width:1.4;fill:none}.button .dice-icon circle{fill:currentColor;stroke:none}
@media(min-width:701px){.css-stage{width:30%;right:11%;top:16%;height:66%}.hero{min-height:100svh}.hero:lang(pt-BR) h1,.hero:lang(es) h1,.hero:lang(fr) h1{font-size:clamp(58px,6vw,96px)}}

@media(max-width:700px){.css-stage{top:62%;height:33%;width:49%;right:25%}.css-board{max-height:33svh}.float-card.two{right:-12%;width:24%}.scene-caption{bottom:39px}.hero:lang(fr) h1,.hero:lang(de) h1{font-size:clamp(44px,10.7vw,66px)}}

/* The app board stays in view while its two pawns travel through the introduction. */
.board-journey{position:relative;isolation:isolate;background:radial-gradient(ellipse at 73% 24%,#43132d 0,transparent 45%),#120810}
.journey-content{position:relative;z-index:1;pointer-events:none}.journey-content a,.journey-content button{pointer-events:auto}
.stage-track{position:absolute;inset:0 5.5% 0 auto;width:43%;pointer-events:none}
.journey-stage{position:sticky;top:clamp(90px,13vh,140px);height:min(77svh,765px);display:grid;place-items:center;perspective:1600px}
.journey-stage:before{content:"";position:absolute;inset:10% -4%;border:1px solid #dfa97224;border-radius:50%;transform:rotate(-18deg)}
.tabletop{height:min(67svh,640px);aspect-ratio:.58;position:relative;transform:rotateX(var(--board-x,16deg)) rotateY(var(--board-y,-13deg)) rotateZ(var(--board-z,-12deg));transform-style:preserve-3d;box-shadow:2px 3px 0 #b58251,4px 7px 0 #553043,6px 10px 0 #8a5738,9px 14px 0 #40192e,22px 42px 68px #000a;border:1px solid #ad784f;border-radius:7px;background:#360c24}
#appBoard{position:absolute;inset:0;overflow:hidden;border-radius:7px;transform:translateZ(2px)}
#appBoard .cam{position:absolute;inset:0;transform-origin:0 0}
#appBoard .lt,#appBoard .lp{position:absolute;inset:0}
#appBoard .pawn,#appBoard .pshadow,#appBoard .heart3d{position:absolute;pointer-events:none}
#appBoard .pshadow{border-radius:50%;background:#0008;filter:blur(3px)}
#appBoard .heart3d{z-index:550;filter:drop-shadow(1px 2px 4px #401127)}
.table-die{position:absolute;width:112px;height:112px;left:-86px;bottom:6%;transform:translateZ(25px) rotateZ(8deg);filter:drop-shadow(0 8px 20px #10030d88)}
.trail-meter{position:absolute;bottom:0;width:min(64%,290px);display:flex;align-items:center;gap:12px}
.trail-meter .avatar{width:21px;height:21px}.trail-line{height:2px;background:#e9ba7644;flex:1}.trail-line i{display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--gold),var(--pink));transform-origin:left;transform:scaleX(0)}
.board-journey .hero{min-height:100svh}.board-journey .board-section{min-height:90svh}
.trail-stop{min-height:64svh;padding:50px 8%;display:flex;align-items:center}
.trail-card{width:min(40%,365px);background:linear-gradient(131deg,#45152c,#251022 78%);border:1px solid #d9a57160;border-radius:15px;padding:30px;box-shadow:0 15px 38px #0005,inset 0 0 0 5px #e7bc7b0b;position:relative;transform:perspective(800px) translateY(24px) rotateX(10deg);opacity:.42;transition:transform .7s var(--ease),opacity .55s}
.trail-stop.revealed .trail-card{transform:none;opacity:1}
.trail-card .eyebrow{margin:0}.trail-card h2{font:400 clamp(27px,3vw,44px)/1.05 var(--serif);letter-spacing:-.04em;margin:12px 0 15px;max-width:94%}.trail-card>p:last-child{color:#d5bbcc;font-size:13px;line-height:1.7;margin:0}
.trail-icon{position:absolute;right:24px;top:21px;color:var(--gold);font:29px var(--serif)}
.section-break{min-height:140px;display:flex;align-items:center;justify-content:center;background:#100b10;border-block:1px solid #ebc48922;position:relative;padding:25px 6%;z-index:2}
.section-break>span{width:min(31%,305px);text-align:center;padding:2px 18px}.section-break>span+span{border-left:1px solid #e9be8526}
.section-break b{font:400 clamp(27px,3vw,43px)/1.1 var(--serif);color:#f4d5b8;display:block;letter-spacing:-.035em}.section-break small{color:#b9a2b1;display:block;margin-top:10px;font-size:10px;line-height:1.35}
.section-break.wheel-break{min-height:60px;padding:10px}.section-break .rule-mark{color:#eea4ba;font-size:18px}
.match-section{background:radial-gradient(ellipse at 27% 40%,#6d25518a,transparent 58%),linear-gradient(115deg,#321329,#220d20 70%);min-height:100svh}
.wheel-section{background:radial-gradient(ellipse at 70% 42%,#7a173788,transparent 56%),linear-gradient(110deg,#180913,#2d101d);gap:10%;justify-content:space-between}
.wheel-demo{width:min(49%,550px);position:relative;perspective:1100px}.wheel-demo:before{content:"";position:absolute;inset:-10%;border:1px solid #e7bc7b1b;border-radius:50%}
#appWheel{aspect-ratio:1;position:relative;transform:rotateX(15deg) rotateY(-11deg) rotateZ(-6deg);filter:drop-shadow(14px 26px 23px #0008);width:100%}
#appWheel>svg:first-child{width:100%;height:100%;display:block}
#appWheel .pointer{position:absolute;top:0;left:44.75%;width:10.5%;height:13%;overflow:visible;filter:drop-shadow(0 2px 2px #200313bb);transform-origin:50% 30%}
#appWheel .pointer.tick{transform:rotate(-9deg)}#appWheel .bulb.lit{fill:#ffe9b7;filter:drop-shadow(0 0 5px #f6cc70)}
.challenge-card{color:var(--ink);background:#341223;border:1px solid #e8ba7b85;border-radius:20px;max-width:min(720px,calc(100% - 28px));width:720px;max-height:calc(100dvh - 30px);padding:0;overflow:auto;box-shadow:0 24px 110px #000c;position:fixed;inset:0;margin:auto}
.challenge-card::backdrop{background:#10040cce;backdrop-filter:blur(7px)}
.challenge-card[open]{animation:challenge-in .5s var(--ease) both}
@keyframes challenge-in{from{opacity:0;transform:perspective(800px) translateY(30px) rotateX(10deg) scale(.95)}to{opacity:1;transform:none}}
.challenge-inner{position:relative;display:grid;grid-template-columns:40% 1fr;min-height:360px;background:radial-gradient(ellipse at 15% 41%,#9d235a,transparent 58%),linear-gradient(135deg,#52203b,#271021 70%);padding:24px;gap:20px;align-items:center}
.challenge-inner:before{content:"";position:absolute;inset:8px;border:1px solid #e7bc7b40;border-radius:13px;pointer-events:none}
.challenge-visual{width:100%;align-self:center;position:relative;display:grid;place-items:center}.challenge-visual img{width:100%;height:auto;max-height:330px;object-fit:contain;filter:drop-shadow(0 12px 13px #24061999)}
.challenge-copy{padding:18px 8px 18px 0}.challenge-copy .eyebrow{gap:8px}.challenge-copy h2{font:400 clamp(30px,4.2vw,53px)/1.02 var(--serif);letter-spacing:-.04em;margin:14px 0;color:#ffdbb4}.challenge-copy p{font:400 19px/1.5 var(--serif);margin:0 0 22px;color:#f0d9df}
.challenge-close{z-index:2;position:absolute;right:17px;top:17px;background:#251121;color:var(--ink);border:1px solid #e7bc7b55;border-radius:50%;width:35px;height:35px;font-size:23px;line-height:1}
.challenge-copy .button{min-height:43px;padding:12px 18px}.challenge-copy .button>span:last-child{font-size:12px}
body:has(.challenge-card[open]){overflow:hidden}
@media(max-width:700px){
  .stage-track{inset:450px 0 0;width:100%}
  .journey-stage{top:78px;height:min(37svh,335px)}
  .journey-stage:before{inset:-4% 16%}
  .tabletop{height:min(32svh,280px);aspect-ratio:.58}
  .table-die{width:60px;height:60px;left:-44px}
  .trail-meter{width:145px;bottom:-4px}
  .board-journey .hero{min-height:max(840px,106svh);padding-top:105px}
  .board-journey .hero .scroll-cue{bottom:22px}
  .trail-stop{min-height:max(585px,77svh);align-items:flex-end;padding:calc(39svh + 72px) 7% 45px}
  .trail-card{width:100%;max-width:420px;padding:23px}.trail-card h2{margin:10px 0 12px}
  .board-journey .board-section{min-height:max(720px,102svh);padding-top:calc(39svh + 90px)}
  .section-break{min-height:105px;padding:18px 2%}.section-break>span{width:33.33%;padding:0 7px}.section-break b{font-size:24px}.section-break small{font-size:8px}
  .wheel-section{display:flex;flex-direction:column;align-items:center;gap:23px;min-height:auto;padding-top:78px;padding-bottom:65px}.wheel-section .section-copy{align-self:flex-start}.wheel-demo{width:min(83%,380px);order:1}
  .challenge-inner{grid-template-columns:1fr;gap:0;padding:20px 24px;text-align:center}.challenge-visual img{max-height:218px;width:70%}.challenge-copy{padding:8px 0 10px}.challenge-copy .eyebrow{justify-content:center}.challenge-copy h2{margin:10px 0 13px}.challenge-copy p{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.trail-card{opacity:1;transform:none}.challenge-card[open]{animation:none}}

/* Perfect Match colour study */
.chapter.match-section {
  --match-red: var(--game-red);
  --match-line: #ff485b66;
  min-height: 0;
  padding-block: clamp(50px, 5vw, 78px);
  isolation: isolate;
  background: radial-gradient(ellipse 48% 88% at 26% 49%, #62091c 0%, #27070e 48%, transparent 84%), #080608;
}
.match-section .section-copy h2 { font-size: clamp(41px, 4.25vw, 66px); }
.match-section .section-copy em,
.match-section .eyebrow,
.match-section .reset,
.match-section .circle-icon { color: var(--match-red); }
.match-section .circle-icon { border-color: var(--match-line); }
.match-section .text-rule { background: var(--match-line); margin-block: 22px; }
.match-section .memory-back {
  background: radial-gradient(ellipse at 50% 0, #df153d, #7e0823 87%);
  border-color: #ff6571;
  box-shadow: 0 6px 0 #3b0616, 0 12px 25px #040105a0;
  color: #ffadad;
}
.match-section .memory-back svg { stroke: #ffb2b5; }
.match-section .memory-face::before { border-color: #ff889777; }
.match-section .memory-front {
  background: linear-gradient(145deg, #ff646f, #ec2446);
  color: #350411;
  border-color: #ff9ca2;
  box-shadow: 0 6px 0 #601020, 0 12px 25px #080205ae;
}
.match-section .memory-front small { color: #420617; }
.match-section .memory-card.matched .memory-front {
  background: linear-gradient(145deg, #ff8590, #ed354e);
  box-shadow: 0 6px 0 #6b0920, 0 0 25px #ff3c5c44;
}
.match-section .mini-label,
.match-section .match-bottom { color: #e7c7cf; }
.match-section .match-demo { margin-block: 0; }
.match-section .match-grid { position: relative; z-index: 1; }
.match-atmosphere { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.match-motif {
  color: #ff6a77;
  position: absolute;
  opacity: .72;
  width: 41px;
  height: 41px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px #ff2c536f);
  animation: match-float 5s ease-in-out infinite alternate;
}
.match-motif.halo { color: #ffd0d9; top: 3%; left: -11%; transform: rotate(-15deg); }
.match-motif.wine { color: #ff5360; top: 32%; right: -12%; transform: rotate(17deg); animation-delay: -2s; }
.match-motif.heart { bottom: 18%; left: -12%; width: 31px; animation-delay: -3.6s; }
.match-motif.flying-imp { top: 3%; right: -13%; width: 61px; height: 66px; object-fit: contain; filter: saturate(1.18) drop-shadow(0 0 12px #ab44ff78); animation-delay: -1s; }
.match-motif.star { width: auto; height: auto; font: 22px Georgia, serif; }
.match-motif.star-one { top: 15%; right: -6%; animation-delay: -3s; color: #ffd6d8; }
.match-motif.star-two { bottom: 9%; right: -10%; animation-delay: -1s; }
.match-motif.star-three { top: 31%; left: -7%; font-size: 14px; animation-delay: -4s; }
.match-motif.ember { width: 5px; height: 5px; border-radius: 50%; background: #ff5269; box-shadow: 0 0 11px #ff5269; }
.ember-one { top: 58%; right: -7%; animation-delay: -2s; }
.ember-two { top: 23%; left: -5%; animation-delay: -4s; }
.ember-three { bottom: 19%; right: -6%; }
@keyframes match-float {
  from { translate: 0 8px; opacity: .53; }
  to { translate: 4px -14px; opacity: .94; }
}
.challenge-card[data-game="match"] { border-color: #ff4c6566; background: #18080e; }
.challenge-card[data-game="match"] .challenge-inner {
  background: radial-gradient(ellipse at 20% 50%, #690e29, transparent 63%), #13080d;
}
.challenge-card[data-game="match"] .challenge-inner::before { border-color: #ff48532e; }
.challenge-card[data-game="match"] .challenge-visual img { max-height: 255px; filter: drop-shadow(0 7px 23px #ff174e50); }
.challenge-card[data-game="match"] .challenge-copy h2,
.challenge-card[data-game="match"] .eyebrow { color: #ff636e; }
.challenge-card[data-game="match"] .button { background: #ff4b59; color: #19040a; }
@media (max-width:700px) {
  .chapter.match-section { padding-block: 49px 36px; gap: 17px; }
  .match-section .section-copy h2 { font-size: clamp(36px, 9vw, 44px); }
  .match-section .match-demo { width: 86%; }
  .match-motif { width: 27px; height: 27px; }
  .match-motif.flying-imp { width: 39px; height: 47px; right: -10%; }
  .match-motif.halo { left: -9%; }
  .match-motif.wine { right: -9%; }
  .match-motif.heart { left: -9%; width: 24px; }
  .challenge-card[data-game="match"] .challenge-visual img { max-height: 188px; }
}
@media (prefers-reduced-motion: reduce) {
  .match-motif { animation: none; }
}
/* The game board uses the same black-to-burgundy treatment as the card faces. */
.chapter.match-section {
  background: radial-gradient(ellipse 47% 83% at 25% 48%, #3f0614 0%, transparent 78%), #050304;
  padding-block: clamp(44px, 4vw, 65px);
}
.match-section .match-demo {
  border: 1px solid #de38534d;
  border-radius: 24px;
  padding: 23px 25px 13px;
  background: radial-gradient(ellipse at 50% 0%, #9f112e 0%, #410817 49%, #15040e 92%);
  box-shadow: 0 20px 50px #0006;
}
:root {
  --game-red: #ff505c;
  --card-red-light: #df2445;
  --card-red-mid: #a60e2c;
  --card-red-dark: #66051b;
  --card-red-gradient: linear-gradient(155deg, var(--card-red-light), var(--card-red-mid) 55%, var(--card-red-dark));
}
.match-section .memory-back { background: var(--card-red-gradient); }
.match-section .match-bottom { margin-top: 19px; min-height: 26px; }
.match-section .match-grid { padding-top: 10px; }
.match-motif.flying-imp { opacity: 1; }
.challenge-card[data-game="match"] .challenge-inner {
  background: radial-gradient(ellipse at 22% 15%, #a21336 0%, #410a21 48%, #15050e 95%);
}
@media (max-width:700px) {
  .chapter.match-section { padding-block: 53px 33px; }
  .match-section .match-demo { padding: 16px 14px 10px; border-radius: 20px; }
}

/* The body sits behind the fabric, with only the gripping fingers above it. */
.moments {
  position: relative;
  z-index: 3;
  isolation: isolate;
  color: #422331;
  background: #faf1e8;
  scroll-margin-top: 210px;
}
.moments-edge {
  position: relative;
  height: 66px;
  background: #080608;
  pointer-events: none;
}
.cloth-stage {
  position: absolute;
  inset: -155px 0 -1px;
}
.cloth-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cloth-angel {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--angel-width, 0px);
  height: auto;
  transform: translate3d(var(--angel-left, 0px), var(--angel-top, 0px), 0);
}
.cloth-angel-behind { z-index: -1; }
.cloth-stage { isolation: isolate; }
.cloth-angel-hands {
  clip-path: polygon(21% 85%,38% 85%,38% 100%,21% 100%,21% 85%,62% 85%,79% 85%,79% 100%,62% 100%,62% 85%);
}
.moments-inner {
  position:relative;
  width: min(calc(100% - 2 * var(--content-gutter)), var(--content-width));
  margin-inline:auto;
  padding: 19px 0 67px;
}
.moments-heading { text-align:center; margin:0 auto 30px; }
.moments-heading h2 { margin:0; font: 400 clamp(40px,5vw,66px)/1.03 var(--serif); letter-spacing:-.05em; }
.moments-rule {display:flex;align-items:center;justify-content:center;gap:12px;color:#c76c85;margin-block:12px;font:19px var(--serif);}
.moments-rule::before,.moments-rule::after {content:''; width:62px;height:1px;background:#dcb2b9;}
.moments-heading p,.moments-album p {color:#755460;font-size:14px;line-height:1.6;}
.moments-events { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
.moments-events article {
  display:grid; justify-items:center; text-align:center; align-content:center;
  padding:20px 12px; min-height:144px; background:#fffaf7;
  border:1px solid #e8d5d3; border-radius:17px; box-shadow:0 7px 15px #62374613;
}
.moments-events svg {width:32px;height:32px;stroke:#974359;stroke-width:1.45;fill:#f4d7df;stroke-linecap:round;stroke-linejoin:round;}
.moments-events h3,.moments-album h3 {font:400 23px/1.1 var(--serif);margin:10px 0 6px;}
.moments-events p {font-size:12px;color:#76515d;margin:0;}
.moments-album {display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:29px;margin-top:clamp(56px, 6.5vw, 92px);}
.moments-album h3 {font-size:31px;letter-spacing:-.035em;}
.moments-album small {color:#885969;font-size:10px;}
.moments-photos {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.moments-photos img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;background:#efd3ca;border:7px solid #fffaf7;border-bottom-width:17px;border-radius:7px;box-shadow:0 7px 13px #62374628;}
.moments-photos img:first-child {transform:rotate(-5deg);}
.moments-photos img:last-child {transform:rotate(5deg);}
.challenge-visual { min-height: 235px; }
@media(max-width:700px){
  .moments-inner {padding:12px 0 44px;}
  .moments-edge {height:46px;}
  .moments-heading {margin-bottom:19px;}
  .moments-events {gap:7px;}
  .moments-events article {padding:11px 5px;min-height:128px;border-radius:11px;}
  .moments-events h3 {font-size:16px;}
  .moments-events p {font-size:10px;}
  .moments-events svg {width:25px;height:25px;}
  .moments-album {grid-template-columns:1fr;gap:14px;margin-top:48px;}
  .moments-photos {gap:8px;}
  .challenge-visual {min-height:188px;}
}
@media(max-width:700px){
  .moments { scroll-margin-top: 147px; }
}

.moments-decor {
  position: absolute;
  inset: 125px 0 0;
  overflow: hidden;
  pointer-events: none;
}
.moments-decor span {
  position: absolute;
  color: #c16a80;
  font-family: var(--serif);
  line-height: 1;
}
.moments-decor span:nth-child(1) { left: 2%; bottom: 9%; font-size: clamp(46px,8vw,115px); opacity: .26; transform: rotate(-17deg); }
.moments-decor span:nth-child(2) { left: 7%; bottom: 24%; font-size: 24px; opacity: .26; transform: rotate(19deg); }
.moments-decor span:nth-child(3) { right: 3%; bottom: 24%; font-size: 41px; color: #d36e85; text-shadow: 0 7px 22px #d8709e4d; transform: rotate(-18deg); }
.moments-decor span:nth-child(4) { right: 7%; bottom: 48%; font-size: 26px; opacity: .49; transform: rotate(13deg); }
.moments-flame { position: absolute; width: 36px; height: 46px; left: 8%; bottom: 6%; opacity: .83; filter: drop-shadow(0 2px 12px #e87f805c); }
.moments-inner { padding-bottom: 72px; }
.moments-events article { background: linear-gradient(155deg,#fffdfa,#fff5f3); }
.moments-events .romance-icon,
.moments-capsule .romance-icon {
  width: 38px;
  height: 38px;
  stroke: #994358;
  stroke-width: 1.55;
  fill: #f5dbe2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.romance-icon .icon-heart { fill: #df8297; }
.moments-events .moments-question { font-style: italic; }
.moments-capsule {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: start;
  gap: 9px;
  background: #fffbf590;
  border: 1px solid #e5c6ce;
  border-radius: 14px;
  padding: 12px 12px 11px 9px;
  margin: 14px 0 10px;
}
.moments-capsule h3 { font-size: 24px; margin: 0 0 4px; }
.moments-capsule p { font-size: 12px; margin: 0; }
.moments-photos { position: relative; }
.moments-photos img:not(.moments-gallery-angel) { position: relative; z-index: 1; }
.moments-photos img:nth-of-type(2) { transform: rotate(-5deg); }
.moments-photos .moments-gallery-angel {
  position: absolute;
  z-index: 2;
  width: clamp(69px,8vw,104px);
  height: auto;
  aspect-ratio: auto;
  right: -23px;
  top: -63px;
  border: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(13deg);
  filter: drop-shadow(0 7px 11px #75476533);
}
@media (max-width: 700px) {
  .moments-inner { padding-bottom: 84px; }
  .moments-events .romance-icon { width: 30px; height: 30px; }
  .moments-capsule .romance-icon { width: 32px; height: 32px; }
  .moments-photos { margin-top: 15px; }
  .moments-photos .moments-gallery-angel { top: -59px; right: -4px; width: 62px; }
  .moments-flame { width: 21px; left: 9%; bottom: 0; }
  .moments-decor span:nth-child(3) { right: 6%; bottom: 1%; font-size: 29px; }
  .moments-decor span:nth-child(2), .moments-decor span:nth-child(4) { opacity: .2; }
}

.moments-ornament-defs { position: absolute; }
.moments-ornament {
  position: absolute;
  width: var(--ornament-size, 23px);
  height: var(--ornament-size, 23px);
  color: #bd617b;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: var(--ornament-opacity, .62);
  transform: rotate(var(--ornament-turn, 0deg));
}
.moments-ornament .petal { fill: #edb9c6; }
.ornament-butterfly-left { --ornament-size: 39px; --ornament-turn: -23deg; left: 5.2%; top: 27%; }
.ornament-butterfly-right { --ornament-size: 37px; --ornament-turn: 21deg; right: 5.2%; bottom: 12%; }
.ornament-star-left { --ornament-size: 19px; left: 8%; top: 42%; }
.ornament-star-right { --ornament-size: 25px; --ornament-turn: 13deg; right: 7%; top: 25%; }
.ornament-star-small { --ornament-size: 14px; left: 12%; top: 15%; }
.ornament-heart-left { --ornament-size: 24px; --ornament-turn: 18deg; left: 4%; bottom: 37%; }
.ornament-heart-right { --ornament-size: 17px; --ornament-turn: -17deg; right: 10%; bottom: 5%; }
@media (max-width: 700px) {
  .moments-ornament { width: min(var(--ornament-size), 20px); height: min(var(--ornament-size), 20px); }
  .ornament-butterfly-left, .ornament-heart-left { left: 1%; }
  .ornament-star-left { left: 2%; }
  .ornament-butterfly-right, .ornament-star-right { right: 1%; }
  .ornament-star-small { left: 3%; top: 8%; }
  .ornament-heart-right { right: 22%; bottom: 2%; }
}
.ornament-rose-left { --ornament-size: 41px; --ornament-turn: -20deg; left: 9%; bottom: 22%; }
.ornament-rose-right { --ornament-size: 35px; --ornament-turn: 18deg; right: 4%; top: 40%; }
@media (max-width: 700px) {
  .ornament-rose-left { left: 1%; bottom: 19%; }
  .ornament-rose-right { right: 1%; }
}

/* A few ornaments sit inside the composition, anchored away from copy. */
.moments-rule { position: relative; width: 186px; margin-inline: auto; }
.ornament-title-star { --ornament-size: 15px; left: -26px; bottom: 5px; }
.ornament-title-butterfly { --ornament-size: 24px; --ornament-turn: 18deg; right: -34px; top: -7px; }
.moments-events article, .moments-capsule { position: relative; }
.moments-events .moments-ornament,
.moments-capsule .moments-ornament {
  width: var(--ornament-size);
  height: var(--ornament-size);
}
.ornament-card-heart { --ornament-size: 18px; --ornament-turn: -15deg; top: 11px; right: 14px; }
.ornament-card-rose { --ornament-size: 22px; --ornament-turn: 18deg; top: 8px; right: 13px; }
.ornament-card-star { --ornament-size: 18px; top: 11px; right: 14px; }
.ornament-capsule-star { --ornament-size: 13px; top: -7px; right: 12px; background: #fbf1ed; }
.ornament-album-rose { --ornament-size: 28px; --ornament-turn: -29deg; left: 6px; top: -32px; }
.ornament-album-heart { --ornament-size: 17px; --ornament-turn: 18deg; left: 49%; bottom: -28px; }
@media (max-width: 700px) {
  .ornament-card-heart, .ornament-card-star, .ornament-card-rose {
    --ornament-size: 12px;
    right: 5px;
    top: 5px;
  }
  .ornament-album-rose { --ornament-size: 19px; top: -21px; }
}

.chapter.wheel-section {
  z-index: 4;
  isolation: isolate;
  background: radial-gradient(ellipse at 67% 52%, #540919, #230610 48%, #0c0408 78%);
  padding-block: 90px 74px;
  min-height: 0;
  gap: 8%;
  scroll-margin-top: 121px;
}
.wheel-divider {
  position: absolute;
  inset: 0 0 auto;
  height: 68px;
  pointer-events: none;
}
.wheel-divider-edge {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}
.wheel-divider-mascot {
  position: absolute;
  left: 49%;
  bottom: 59%;
  width: clamp(170px, 23vw, 292px);
  translate: -50% 0;
}
.wheel-divider-mascot img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 5px #29071060);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wheel-divider-edge,
    .wheel-divider-mascot img {
      animation: 1s both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }
    .wheel-divider-edge { animation-name: divider-settle; transform-origin: top; }
    .wheel-divider-mascot img { animation-name: mascot-settle; }
  }
}
@keyframes divider-settle { from { transform: scaleY(.72); } to { transform: scaleY(1); } }
@keyframes mascot-settle { from { transform: translateY(-8px) rotate(-2deg); } to { transform: none; } }
.wheel-section .section-copy em,
.wheel-section .eyebrow { color: var(--game-red); }
.wheel-section .button.primary { background: var(--game-red); color: #220508; }
.wheel-section .button.primary:hover { background: #ff7888; }
.wheel-section .wheel-demo::before { border-color: #ff53672a; }
.wheel-section #appWheel .bulb.lit { fill: #ffd3dd; filter: drop-shadow(0 0 5px #ff5068); }
.wheel-side-imp {
  position: absolute;
  width: clamp(86px, 11vw, 148px);
  height: auto;
  bottom: 1%;
  right: -7%;
  transform: rotate(8deg);
  filter: drop-shadow(0 10px 14px #080204a0);
  pointer-events: none;
}
.challenge-card[data-game="wheel"] { border-color: #ff4c6566; background: #18080e; }
.challenge-card[data-game="wheel"] .challenge-inner { background: radial-gradient(ellipse at 22% 15%, #a21336 0%, #410a21 48%, #15050e 95%); }
.challenge-card[data-game="wheel"] .challenge-inner::before { border-color: #ff48532e; }
.challenge-card[data-game="wheel"] .challenge-copy h2,
.challenge-card[data-game="wheel"] .eyebrow { color: #ff636e; }
.challenge-card[data-game="wheel"] .button { background: #ff4b59; color: #19040a; }

/* Keep the color across the full chapter and bring the two columns inward. */
@media (min-width: 701px) {
  .chapter.match-section,
  .chapter.wheel-section {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, .99fr);
    padding-inline: max(var(--content-gutter), (100% - var(--content-width)) / 2);
    column-gap: clamp(72px, 12vw, 168px);
  }
  .chapter.wheel-section { grid-template-columns: minmax(0, .99fr) minmax(0, .88fr); }
  .match-section .match-demo,
  .wheel-section .wheel-demo,
  :is(.match-section, .wheel-section) .section-copy { width: 100%; max-width: none; }
}

.challenge-card.challenge-romantic { border-color: #be7895; background: #faf1e8; color: #422331; }
.challenge-card.challenge-romantic .challenge-inner {
  background: radial-gradient(ellipse at 17% 45%, #f1ccd5, transparent 64%), #faf1e8;
}
.challenge-card.challenge-romantic .challenge-inner::before { border-color: #d8a5b5; }
.challenge-card.challenge-romantic .challenge-copy h2 { color: #422331; }
.challenge-card.challenge-romantic .challenge-copy p { color: #65434f; }
.challenge-card.challenge-romantic .eyebrow { color: #884258; }
.challenge-card.challenge-romantic .age { border-color: #ad647a; }
.challenge-card.challenge-romantic .button { background: #88354f; color: #fff8f4; }
.challenge-card.challenge-romantic .challenge-close { background: #f6e0e4; color: #6c3046; border-color: #c98ca1; }
.challenge-card.challenge-romantic :is(button, a):focus-visible { outline-color: #88354f; }
.challenge-card.challenge-romantic .challenge-visual img { filter: drop-shadow(0 10px 15px #98516e4d); }
.challenge-ornaments { position: absolute; inset: 0; pointer-events: none; }
.challenge-ornaments svg:nth-child(1) { --ornament-size: 41px; --ornament-turn: -21deg; left: 5%; top: 9%; }
.challenge-ornaments svg:nth-child(2) { --ornament-size: 23px; --ornament-turn: 15deg; left: 34%; top: 14%; }
.challenge-ornaments svg:nth-child(3) { --ornament-size: 41px; --ornament-turn: -16deg; left: 5%; bottom: 11%; }
.challenge-ornaments svg:nth-child(4) { --ornament-size: 18px; left: 34%; bottom: 11%; }
.challenge-ornaments svg:nth-child(5) { --ornament-size: 25px; --ornament-turn: 17deg; right: 7%; bottom: 11%; }
.challenge-copy { position: relative; }

@media (max-width: 700px) {
  .chapter.wheel-section { padding-block: 78px 55px; gap: 22px; scroll-margin-top: 96px; }
  .wheel-divider { height: 54px; }
  .wheel-divider-edge { width: 165%; left: -32%; }
  .challenge-ornaments svg:nth-child(2), .challenge-ornaments svg:nth-child(4) { left: auto; right: 12%; }
  .challenge-ornaments svg:nth-child(3), .challenge-ornaments svg:nth-child(4) { bottom: auto; top: 36%; }
  .challenge-ornaments svg:nth-child(5) { bottom: 5%; }
  .wheel-side-imp { right: -9%; width: clamp(65px, 19vw, 98px); }
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}
.chapter.wheel-section {
  --divider-center: calc(max(8%, (100% - 990px) / 2) + 128px);
  --divider-width: clamp(230px, 31vw, 365px);
  background:
    radial-gradient(ellipse 64% 42% at 68% 50%, #540919, #230610 61%, transparent),
    linear-gradient(#130509, #14050b 68%, #24070f);
}
.wheel-divider-edge {
  width: var(--divider-width);
  left: var(--divider-center);
  translate: -50% 0;
}
.wheel-divider-mascot { left: var(--divider-center); width: clamp(163px, 20vw, 255px); }
.wheel-divider-mascot img { filter: hue-rotate(285deg) saturate(.88) drop-shadow(0 6px 7px #29071070); }

.mood-section {
  --mood-accent: #ff7996;
  --mood-glow: #c9245780;
  min-height: 0;
  padding: clamp(47px, 6vw, 84px) 20px clamp(58px, 7vw, 100px);
  background: linear-gradient(#24070f, #120309 28%, #000 87%);
}
.mood-section[data-temperature="0"] { --mood-accent: #f8bacd; --mood-glow: #a350776e; }
.mood-section[data-temperature="2"] { --mood-accent: #ff5368; --mood-glow: #cf152785; }
.mood-section h2 { margin-top: 0; }
.mood-section h2 em { color: var(--mood-accent); transition: color .35s; }
.mood-control { background: #11070c; border-color: #b1556f78; position: relative; z-index: 1; }
.mood-control button { color: #e2cbd2; }
.mood-control button[aria-pressed=true] { color: #250611; background: var(--mood-accent); box-shadow: 0 0 20px #ff536835; }
.mood-stage {
  position: relative;
  width: min(100%, 418px);
  height: clamp(168px, 25vw, 245px);
  margin: 14px auto 0;
  isolation: isolate;
}
.mood-aura {
  position: absolute;
  inset: 10% 0 -12%;
  background: radial-gradient(ellipse at 50% 58%, var(--mood-glow), transparent 67%);
  transition: background .4s;
}
.mood-stage img {
  position: absolute;
  bottom: 3%;
  left: 50%;
  height: 88%;
  width: 46%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px #0008);
  transition: translate .6s var(--ease), scale .6s var(--ease), rotate .6s var(--ease), opacity .3s;
}
.mood-angel { translate: -86% 0; rotate: -7deg; }
.mood-imp { translate: -14% 0; rotate: 8deg; }
[data-temperature="0"] .mood-angel,
[data-temperature="2"] .mood-imp { translate: -50% 0; rotate: 0deg; }
[data-temperature="0"] .mood-imp { translate: 8% 16px; scale: .75; opacity: 0; }
[data-temperature="2"] .mood-angel { translate: -108% 16px; scale: .75; opacity: 0; }
.mood-stage .moments-ornament {
  color: var(--mood-accent);
  --ornament-size: 24px;
  transition: opacity .4s, scale .45s;
}
.mood-heart { top: 33%; left: 13%; --ornament-turn: -23deg; }
.mood-star { top: 23%; right: 14%; }
.mood-rose { bottom: 12%; right: 11%; --ornament-turn: 22deg; }
[data-temperature="2"] .mood-stage :is(.mood-heart,.mood-rose) { opacity: 0; scale: .65; }
.mood-quote {
  color: #fff1ec;
  max-width: 560px;
  margin: 12px auto 0;
  min-height: 2.65em;
  font-size: clamp(19px, 2.15vw, 28px);
  line-height: 1.32;
}
.mood-section .boundaries { margin-top: 14px; color: #bd9fab; }
.mood-section .boundaries>span { color: var(--mood-accent); }

.site-footer {
  display: block;
  isolation: isolate;
  overflow: clip;
  padding: clamp(52px, 7vw, 105px) 7% 20px;
  background:
    linear-gradient(#000, transparent 112px),
    radial-gradient(ellipse 75% 106% at 22% 27%, #3e0917 0, #18050c 48%, #000 82%),
    #000;
}
.footer-grid {
  max-width: var(--content-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr minmax(320px, .82fr);
  align-items: start;
  gap: clamp(24px, 7vw, 100px);
}
.footer-copy .brand { color: #fff4ec; width: fit-content; }
.footer-copy h2 {
  font: 400 clamp(44px, 5.6vw, 80px)/1.01 var(--serif);
  margin: 26px 0 16px;
  letter-spacing: -.055em;
}
.footer-copy h2 em { color: #ff5668; }
.site-footer p { display: block; color: #d0b3be; font-size: 13px; line-height: 1.65; }
.footer-resources { display: grid; gap: 18px; min-width: 0; }
.footer-download {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #bb375170;
  border-radius: 16px;
  background: linear-gradient(135deg, #90162e, #4c0a20 60%, #220710);
}
.footer-download strong { color: #fff4ee; font-size: 16px; }
.footer-download p { margin: 4px 0 0; color: #f6d9e0; font-size: 12px; }
.footer-qr-slot {
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 1;
  flex: 0 0 68px;
  background: #f8e9e8;
  border-radius: 9px;
}
.footer-qr-slot svg { width: 34px; stroke: #74213d; stroke-width: 1.4; stroke-linecap: round; }
.store-icons { position: absolute; }
.store-row, .footer-menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.game-preview { min-width: 0; width: 100%; }
.game-preview .store-row { max-width: 440px; margin: 22px auto 0; }
.wheel-section .game-preview .store-row { margin-top: 48px; }
.store-row .store-badge {
  min-width: 0;
  justify-content: center;
  padding: 10px 8px;
  color: #fff4ee;
  border-color: #d65c704d;
  background: linear-gradient(150deg, #571326, #210a12);
}
.store-row .store-badge svg { flex-shrink: 0; color: #ff9eab; }
.store-row .store-badge small { color: #e4bac5; }
.wheel-section .store-badge {
  border-color: #d5697e59;
  background: linear-gradient(150deg, #66182b, #2d0b17);
}
.site-footer .store-badge { background: #14090e; }
.footer-menus h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; color: #ff8394; text-transform: uppercase; }
.footer-menus a { display: block; color: #e6cbd4; font-size: 13px; padding: 6px 0; }
.footer-menus a:hover { color: #fff5ef; text-decoration: underline; }
@media (max-width: 700px) {
  .match-section .game-preview { width: min(86%, 330px); }
  .match-section .game-preview .match-demo { width: 100%; }
  .wheel-section .game-preview { order: 1; width: min(83%, 380px); }
  .wheel-section .game-preview .wheel-demo { width: 100%; }
  .wheel-section .game-preview .store-row { margin-top: 36px; }
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ff536833;
  padding-top: 16px;
  font-size: 11px;
  color: #c1a3af;
}
@media (max-width: 700px) {
  .brand-icon { width: 30px; height: 30px; }
  .chapter.wheel-section { --divider-center: min(33%, 136px); --divider-width: min(250px, 65%); }
  .wheel-divider-mascot { width: clamp(125px, 45vw, 168px); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .mood-section * { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .mood-angel { animation: mood-float 3.8s ease-in-out infinite; }
  .mood-imp { animation: mood-float 3.8s .35s ease-in-out infinite reverse; }
}
@keyframes mood-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.board-journey {
  --journey-width: 1080px;
  --journey-edge: max(7%, (100% - var(--journey-width)) / 2);
  background: radial-gradient(ellipse 63% 50% at 70% 20%, #4a091a, #1f060c 49%, transparent 90%), #050304;
}
.board-journey .hero, .board-journey .trail-stop { padding-inline: var(--journey-edge); }
.board-journey .hero { min-height: 100svh; }
.board-journey .hero-copy { width: 46%; }
.board-journey .hero h1 { font-size: clamp(46px, 5.35vw, 87px); }
.board-journey .hero .eyebrow, .board-journey .hero h1 em { color: #ff6877; }
.board-journey .hero .button { background: #f94961; color: #210609; }
.board-journey .scroll-cue { left: var(--journey-edge); }
.stage-track { inset: 0 var(--journey-edge) 0 auto; width: min(49%, 540px); z-index: 2; }
.journey-stage { top: 78px; height: min(calc(100svh - 84px), 900px); }
.journey-stage::before { display: none; }
.tabletop {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  transform: rotateX(var(--board-x, 6deg)) rotateZ(var(--board-z, -4deg));
  background: none;
  border: 0;
  box-shadow: none;
}
#appBoard { inset: 0; overflow: visible; }
.trail-stop { min-height: 60svh; }
.trail-stop:last-child { padding-bottom: max(150px, 24svh); }
.trail-card {
  position: relative;
  width: min(45%, 396px);
  padding: 25px;
  background: radial-gradient(ellipse at 16% 5%, #a0173a, #430b22 58%, #1a0610);
  border-color: #f34b6380;
  box-shadow: 0 20px 48px #0007;
  opacity: 0;
  visibility: hidden;
  transition: transform .6s var(--ease), opacity .5s, visibility .5s;
}
.trail-stop.revealed .trail-card { visibility: visible; }
.trail-card .eyebrow { max-width: 73%; color: #ffa0ab; }
.trail-card h2 { max-width: 76%; }
.trail-mascot {
  position: absolute;
  width: 28%;
  height: min(105px, 51%);
  object-fit: contain;
  right: 9px;
  top: 13px;
}
.trail-romantic .trail-card {
  color: #422331;
  border-color: #d8a5b5;
  background: radial-gradient(ellipse at 93% 20%, #f1ccd5, transparent 66%), #faf1e8;
}
.trail-romantic .trail-card .eyebrow { color: #884258; }
.trail-romantic .trail-card > p:last-child { color: #65434f; }

.chapter.match-section {
  padding-top: clamp(90px, 8vw, 114px);
  scroll-margin-top: 25px;
  z-index: 3;
}
.match-leaning-imp {
  position: absolute;
  display: block;
  left: 50%;
  bottom: 100%;
  translate: -50% 1px;
  width: clamp(100px, 13vw, 160px);
  height: auto;
  filter: drop-shadow(0 3px 7px #0902058a);
  pointer-events: none;
}

.night-temperature {
  position: relative;
  background: radial-gradient(ellipse 63% 46% at 70% 19%, #590e24, transparent 88%),
    linear-gradient(#17060b, #230610 28%, #120409 56%, #000 94%);
}
.night-temperature .chapter.wheel-section, .night-temperature .mood-section { background: transparent; }
.wheel-divider-edge { inset: 0; width: 100%; height: 100%; translate: none; animation: none; }
.wheel-divider { top: -1px; }
.wheel-divider-mascot { bottom: auto; top: var(--divider-depth, 29px); translate: -50% -99%; }
.wheel-divider-mascot img { animation: none; }

.mood-stage :is(.mood-angel, .mood-duel, .mood-imp) {
  left: 50%;
  translate: -50% 0;
  rotate: 0deg;
  opacity: 0;
  scale: .86;
  filter: none;
  animation: none;
}
.mood-stage .mood-duel { width: 82%; }
[data-temperature="0"] .mood-stage .mood-angel,
[data-temperature="1"] .mood-stage .mood-duel,
[data-temperature="2"] .mood-stage .mood-imp {
  opacity: 1;
  scale: 1;
}
@media (prefers-reduced-motion: no-preference) {
  [data-temperature="0"] .mood-stage .mood-angel,
  [data-temperature="2"] .mood-stage .mood-imp { animation: mood-float 3.8s ease-in-out infinite; }
  [data-temperature="1"] .mood-stage .mood-duel { animation: mood-duel 2.5s ease-in-out infinite; }
}
@keyframes mood-duel {
  0%, 100% { transform: translateX(-3px) rotate(-2deg); }
  47% { transform: translateX(5px) rotate(2deg); }
  68% { transform: translateX(1px) rotate(-.5deg); }
}

@media (max-width: 700px) {
  .board-journey { --mobile-board-height: clamp(325px, 55svh, 510px); }
  .board-journey .hero { min-height: max(calc(465px + var(--mobile-board-height)), 110svh); padding-top: 115px; }
  .board-journey .hero-copy { width: 100%; }
  .board-journey .hero h1 { font-size: clamp(42px, 11vw, 68px); }
  .stage-track { inset: 425px 7% 0; width: auto; z-index: 0; }
  .journey-stage { top: 80px; height: var(--mobile-board-height); }
  .tabletop { width: 100%; height: 100%; }
  .trail-stop { min-height: 79svh; justify-content: center; align-items: flex-end; padding-top: calc(var(--mobile-board-height) + 94px); padding-bottom: 22px; }
  .trail-stop:last-child { padding-bottom: 110px; }
  .trail-card { width: 100%; padding: 16px 20px; }
  .trail-card h2 { font-size: 27px; margin-block: 8px 11px; }
  .trail-card > p:last-child { font-size: 12px; }
  .chapter.match-section { scroll-margin-top: 12px; }
  .match-section .match-demo { margin-top: 86px; }
}

.chapter.match-hero {
  background:
    radial-gradient(ellipse 58% 77% at 28% 47%, #580d24, #240610 48%, transparent 90%),
    linear-gradient(#100409, #050304 84%);
  min-height: min(100svh, 820px);
  padding-top: clamp(167px, 14.5vw, 218px);
  padding-bottom: clamp(76px, 8vw, 115px);
  scroll-margin-top: 0;
}
.match-hero h1 {
  margin: 20px 0 24px;
  font: 400 clamp(42px, 5.15vw, 74px)/1.02 var(--serif);
  letter-spacing: -.052em;
}
@media (max-width: 700px) {
  .chapter.match-hero { min-height: 0; padding-top: 103px; padding-bottom: clamp(163px, 32vw, 170px); }
  .match-hero h1 { margin: 13px 0 15px; font-size: clamp(34px, 9vw, 54px); }
  .match-hero .match-demo { margin-top: 88px; }
}


.footer-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.footer-atmosphere i {
  position: absolute;
  inset: 4% -12% -30%;
  background: radial-gradient(ellipse at 50% 50%, #7913297a, transparent 55%);
  opacity: .54;
}
.footer-atmosphere svg {
  position: absolute;
  width: 22px;
  height: 22px;
  color: #fc7184;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: .3;
}
.footer-atmosphere svg:nth-of-type(1) { left: 4%; top: 35%; }
.footer-atmosphere svg:nth-of-type(2) { left: 24%; bottom: 16%; width: 17px; }
.footer-atmosphere svg:nth-of-type(3) { right: 5%; top: 28%; width: 17px; }
.footer-atmosphere svg:nth-of-type(4) { right: 9%; bottom: 14%; width: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .footer-atmosphere i { animation: footer-glow 13s ease-in-out infinite alternate; }
  .footer-atmosphere svg { animation: footer-drift 6s ease-in-out infinite alternate; }
  .footer-atmosphere svg:nth-of-type(even) { animation-delay: -3s; }
}
@keyframes footer-glow {
  from { transform: translate(-25%, -5%); opacity: .42; }
  to { transform: translate(24%, 6%); opacity: .78; }
}
@keyframes footer-drift {
  from { transform: translateY(8px) rotate(-13deg); opacity: .25; }
  to { transform: translateY(-16px) rotate(12deg); opacity: .65; }
}

.footer-transition {
  position: absolute;
  inset: 0 0 auto;
  height: 68px;
  pointer-events: none;
}
.footer-spark {
  position: absolute;
  top: 5px;
  opacity: 0;
  width: 9px;
  height: 9px;
  margin-top: -4px;
}
.footer-spark-red {
  right: 100%;
  background: radial-gradient(circle, #ffe4e8 0 1px, #ff5268 2px, transparent 4.5px);
  filter: drop-shadow(0 0 5px #ff3b59);
}
.footer-spark-pink {
  left: 100%;
  background: radial-gradient(circle, #fff4f8 0 1px, #ffc2d5 2px, transparent 4.5px);
  filter: drop-shadow(0 0 5px #ffa4c2);
}
.footer-transition-heart {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  fill: none;
  stroke: #fff0f4;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px #ff4e79);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .footer-transition.is-playing .footer-spark-red { animation: footer-spark-red 1.24s cubic-bezier(.3,.65,.45,1) both; }
  .footer-transition.is-playing .footer-spark-pink { animation: footer-spark-pink 1.24s cubic-bezier(.3,.65,.45,1) both; }
  .footer-transition.is-playing .footer-transition-heart { animation: footer-heart-draw 1.65s 1.05s ease-out both; }
}
@keyframes footer-spark-red {
  15%, 82% { opacity: 1; }
  to { right: calc(50% - 4px); opacity: 0; }
}
@keyframes footer-spark-pink {
  15%, 82% { opacity: 1; }
  to { left: calc(50% - 4px); opacity: 0; }
}
@keyframes footer-heart-draw {
  0% { opacity: 0; stroke-dashoffset: 1; }
  16% { opacity: 1; }
  56%, 74% { opacity: 1; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

.legal-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 70% 460px at 24% 0%, #3b0d1a, transparent), #0b0609;
}
.legal-header, .legal-document {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}
.legal-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 25px;
  border-bottom: 1px solid #f07d9830;
}
.legal-header .brand { color: var(--ink); }
.legal-header > a:last-child { font-size: 13px; color: #f6b5c5; }
.legal-document { padding-block: clamp(38px, 8vw, 86px); }
.legal-document h1 {
  margin: 0 0 12px;
  font: 400 clamp(35px, 7vw, 66px)/1.05 var(--serif);
  letter-spacing: -.045em;
}
.legal-document h2 {
  margin: 32px 0 8px;
  font: 400 clamp(21px, 4vw, 28px)/1.25 var(--serif);
  letter-spacing: -.015em;
}
.legal-document p { margin: 12px 0; color: #e4cdd6; line-height: 1.75; }
.legal-document .legal-date { margin-bottom: 30px; font-size: 13px; color: #c4a1b0; }
.legal-document a { color: #f6b5c5; text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; }
.legal-related { margin-top: 36px; padding-top: 20px; border-top: 1px solid #f07d9830; }
