
#joyPieInThirty .jp-chef{display:flex;align-items:center;gap:18px;text-align:left;background:#fffdf7;border-radius:12px;padding:18px 20px;max-width:420px;margin:24px auto}
#joyPieInThirty .jp-chef>svg{width:36px;height:36px;flex-shrink:0;color:#94722e}
#joyPieInThirty .jp-chef p{font-size:15px;margin:10px 0}

#joyPieInThirty{padding:12px 0;font-family:Arial,sans-serif;color:#17374b}
#joyPieInThirty *{box-sizing:border-box}
#joyPieInThirty .jp-film{background:#f9f5eb;border-radius:20px;overflow:hidden;max-width:680px;margin:auto;border:1px solid #d0c39d}
#joyPieInThirty header{background:#13344a;color:#fff7e9;padding:20px 24px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
#joyPieInThirty header>span{letter-spacing:2px;font-size:15px;font-weight:700}
#joyPieInThirty header small{font-size:12px;color:#ecdcac}
#joyPieInThirty .jp-scenes{padding:26px 24px;min-height:425px;display:grid;place-items:center;background:radial-gradient(ellipse at 100% 100%,#cee2dc 0,transparent 55%),#f9f5eb}
#joyPieInThirty section{text-align:center;width:100%;max-width:490px}
#joyPieInThirty [hidden]{display:none!important}
#joyPieInThirty h2{font-family:Georgia,serif;font-size:clamp(25px,5.4vw,36px);font-weight:400;line-height:1.18;margin:14px 0 20px;color:#17374b}
#joyPieInThirty p{font-size:16px;line-height:1.5;margin:16px 0;color:#37586a}
#joyPieInThirty .jp-eyebrow{color:#756029;font-size:12px;letter-spacing:1.6px;font-weight:700}
#joyPieInThirty .jp-brand-pie{width:136px;height:136px;border-radius:50%;margin:0 auto 20px;background-image:url('assets/joy-pie-approved-v2.jpg');background-size:142.5% 142.5%;background-position:50% 12.032%;background-repeat:no-repeat}
#joyPieInThirty .jp-brand-pie.jp-logo-bounce{animation:jp-logo-landing 1.2s both;transform-origin:center bottom}
@keyframes jp-logo-landing{0%{opacity:0;transform:translateY(-65px) scale(.8)}40%{opacity:1;transform:translateY(0) scale(1.08,.9)}60%{transform:translateY(-22px) scale(.97,1.04)}78%{transform:translateY(0) scale(1.03,.97)}90%{transform:translateY(-7px) scale(1)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){#joyPieInThirty .jp-brand-pie.jp-logo-bounce{animation:none}}
#joyPieInThirty .jp-brand-small{width:100px;height:100px;margin-bottom:18px}
#joyPieInThirty .jp-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:26px auto}
#joyPieInThirty .jp-options>span{padding:12px 16px;background:#eee9dc;border-radius:24px;font-size:14px;color:#4c626a}
#joyPieInThirty .jp-options .jp-picked{background:#173f53;color:#fff5dc;box-shadow:0 0 0 3px #d6b467}
#joyPieInThirty .jp-choice{display:flex;align-items:center;justify-content:center;gap:12px;margin:32px 0;color:#234f58}
#joyPieInThirty .jp-answer{padding:25px 20px;background:#fffdf7;border-radius:12px;border-bottom:3px solid #c5a75e;margin:30px auto;text-align:left;max-width:370px}
#joyPieInThirty .jp-answer>span{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#6a7169}
#joyPieInThirty .jp-answer p{font-family:Georgia,serif;font-size:26px;color:#17374b;margin:14px 0 2px}
#joyPieInThirty .jp-personal-card{max-width:260px;margin:0 auto;padding:23px 20px 0;background:#173c52;color:#fff8e8;border:2px solid #d7ba77;border-radius:14px;box-shadow:0 10px 25px #14374922}
#joyPieInThirty .jp-personal-card>span{font-size:10px;letter-spacing:1.5px;color:#e4cf97}
#joyPieInThirty .jp-personal-card>svg{display:block;margin:20px auto;color:#e4cf97;width:30px;height:30px}
#joyPieInThirty .jp-personal-card h3{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:16px 0;color:#fff8e8}
#joyPieInThirty .jp-personal-card p{font-size:16px;color:#fff8e8}
#joyPieInThirty .jp-personal-card footer{border-top:1px solid #d7ba7766;padding:14px 0;font-size:10px;letter-spacing:1px;color:#e4cf97}
#joyPieInThirty .jp-action{display:flex;align-items:center;gap:16px;text-align:left;background:#fffdf7;border-radius:12px;border-left:5px solid #6d9790;padding:22px 20px;margin:28px auto;max-width:390px}
#joyPieInThirty .jp-action svg{flex-shrink:0;color:#46776b}
#joyPieInThirty .jp-action strong{font-size:17px;display:block;margin-bottom:8px}
#joyPieInThirty .jp-action span{font-size:15px;line-height:1.5;display:block}
#joyPieInThirty .jp-cta{display:inline-flex;gap:16px;align-items:center;padding:16px 25px;background:#173f53;color:#fff8e8;border:2px solid #d6b467;border-radius:30px;text-decoration:none;font-weight:700;margin:12px 0 0}
#joyPieInThirty .jp-expectation{font-size:12px;margin-top:12px}
#joyPieInThirty .jp-example{font-size:10px;letter-spacing:1px;text-align:center;color:#6b6d61;padding:12px 15px;background:#eee9dd}
#joyPieInThirty .jp-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#13344a;padding:16px 20px 10px;color:#f9f5eb}
#joyPieInThirty button{border:1px solid #a9bbb9;background:#13344a;color:#fff8e8;border-radius:8px;padding:10px 14px;min-height:44px;font:inherit;font-size:13px}
#joyPieInThirty button[data-play]{background:#e4cc91;color:#18374b;border-color:#e4cc91}
#joyPieInThirty output{font-size:12px;margin-left:auto;font-variant-numeric:tabular-nums}
#joyPieInThirty .jp-scrub{display:block;background:#13344a;padding:0 20px 17px;font-size:0}
#joyPieInThirty input{width:100%;accent-color:#e4cc91;min-height:24px}
#joyPieInThirty .jp-enter{animation:jp-arrive .55s ease-out both}
@keyframes jp-arrive{from{opacity:.25;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#joyPieInThirty .jp-enter{animation:none}}
@media(max-width:420px){#joyPieInThirty .jp-scenes{padding:24px 15px;min-height:450px}#joyPieInThirty header{padding:18px}#joyPieInThirty .jp-controls{padding:14px 12px 8px;gap:8px}#joyPieInThirty button{padding:10px}#joyPieInThirty output{margin-left:0}#joyPieInThirty .jp-options>span{padding:11px 12px}}

.landing .homeRecipeDemo{max-width:780px;margin:0 auto 30px;text-align:center;scroll-margin-top:24px}
#joyPieInThirty>h2{font-family:Georgia,serif;font-size:clamp(24px,3.6vw,32px);margin:10px 0 20px}
#joyPieInThirty>.eyebrow{font-size:12px;letter-spacing:.08em}
#joyPieInThirty .jp-film{max-width:640px}
#joyPieInThirty .jp-scenes{min-height:430px}
#joyPieInThirty .jp-example{margin:0}
#joyPieInThirty .jp-create{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;margin-top:20px;padding:14px 26px;border:2px solid #d7b66b;border-radius:30px;font-size:18px}
#joyPieInThirty>.jp-expectation{font-size:13px;margin:10px auto 0;max-width:480px}
#joyPieInThirty button,#joyPieInThirty input{cursor:pointer}
#joyPieInThirty .jp-create{background:#102f45;color:#fff8e8}
.homeQuickDemoLink{display:block;width:fit-content;margin:12px auto 0;color:#102f45;font-weight:700;text-underline-offset:4px}
.homeApproachDetails{max-width:100%;margin:0 auto 28px;color:#102f45}
.homeApproachDetails>summary{padding:16px 20px;border:1px solid #d7b66b;border-radius:12px;background:#fffdf8;cursor:pointer;font-size:18px;font-weight:700}
.homeApproachDetails[open]>summary{margin-bottom:20px}
#joyPieInThirty .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:420px){#joyPieInThirty .jp-scenes{padding:22px 14px;min-height:460px}#joyPieInThirty .jp-chef{padding:12px 16px}#joyPieInThirty .jp-chef p{font-size:14px}#joyPieInThirty .jp-options{margin:14px auto}#joyPieInThirty .jp-answer{margin:20px auto}}

#joyPieInThirty .jp-tangible-scene h2{font-size:clamp(27px,4.5vw,34px);margin:10px 0 22px}
#joyPieInThirty .jp-toolkit{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:410px;margin:0 auto}
#joyPieInThirty .jp-toolkit figure{margin:0;min-width:0}
#joyPieInThirty .jp-poster-fan,#joyPieInThirty .jp-card-fan{position:relative;height:150px;max-width:170px;margin:0 auto 10px}
#joyPieInThirty .jp-toolkit img{position:absolute;display:block;object-fit:contain;border:1px solid #c5a160;border-radius:3px;box-shadow:0 6px 12px #102f4526;background:#f7f2e8}
#joyPieInThirty .jp-poster-fan img{width:96px;height:128px;top:10px;left:calc(50% - 48px)}
#joyPieInThirty .jp-poster-fan .jp-guide-left{transform:translateX(-28px) rotate(-12deg)}
#joyPieInThirty .jp-poster-fan .jp-guide-right{transform:translateX(28px) rotate(12deg)}
#joyPieInThirty .jp-poster-fan .jp-recipe-front{top:17px}
#joyPieInThirty .jp-card-fan img{width:91px;height:130px;left:calc(50% - 45px);top:10px}
#joyPieInThirty .jp-card-fan .jp-card-back{transform:translateX(22px) rotate(10deg)}
#joyPieInThirty .jp-card-fan .jp-card-front{transform:translateX(-14px) rotate(-7deg)}
#joyPieInThirty .jp-toolkit figcaption{font-size:14px;line-height:1.4;color:#17374b}
#joyPieInThirty .jp-toolkit figcaption strong{font-size:13px;font-weight:400}
#joyPieInThirty .jp-tool-rhythm{font-size:15px;font-weight:700;margin:20px 0 8px}
#joyPieInThirty .jp-tool-note{font-size:11px;margin:0;color:#52656b}
@media(max-width:380px){#joyPieInThirty .jp-toolkit{gap:8px}#joyPieInThirty .jp-poster-fan img{width:78px;height:104px;left:calc(50% - 39px)}#joyPieInThirty .jp-card-fan img{width:77px;height:110px;left:calc(50% - 38px)}#joyPieInThirty .jp-poster-fan .jp-guide-left{transform:translateX(-20px) rotate(-12deg)}#joyPieInThirty .jp-poster-fan .jp-guide-right{transform:translateX(20px) rotate(12deg)}#joyPieInThirty .jp-poster-fan,#joyPieInThirty .jp-card-fan{height:130px}#joyPieInThirty .jp-card-fan .jp-card-back{transform:translateX(15px) rotate(10deg)}#joyPieInThirty .jp-card-fan .jp-card-front{transform:translateX(-9px) rotate(-7deg)}}

#joyPieInThirty .jp-toolkit .jp-recipe-open{display:block;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit}
#joyPieInThirty .jp-enlarge-label{display:inline-block;font-size:11px;text-decoration:underline;text-underline-offset:3px;margin-top:5px}
#joyPieInThirty .jp-recipe-expanded{padding:24px 16px;background:#f9f5eb;text-align:center;animation:jp-recipe-reveal .65s ease-out}
#joyPieInThirty .jp-recipe-expanded h3{font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.25;margin:0 0 8px;color:#17374b}
#joyPieInThirty .jp-recipe-expanded p{font-size:14px;margin:0 0 20px}
#joyPieInThirty .jp-recipe-expanded>img{display:block;width:100%;height:auto;max-width:590px;margin:0 auto 20px;border:1px solid #c5a160;box-shadow:0 8px 20px #102f4520}
#joyPieInThirty .jp-recipe-expanded button{background:#13344a;color:#fff8e8;padding:12px 18px}
@keyframes jp-recipe-reveal{from{opacity:.5;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#joyPieInThirty .jp-recipe-expanded{animation:none}}

/* Use the same full-width content area as the opening video. */
#joyPieInThirty.homeRecipeDemo{max-width:none;width:100%;padding:24px;border:1px solid transparent}
#joyPieInThirty .jp-film{width:100%;max-width:none}
#joyPieInThirty .jp-poster-fan .jp-recipe-front{position:absolute;display:block;object-fit:contain;width:96px;height:128px;left:calc(50% - 48px);top:17px;border:1px solid #c5a160;border-radius:3px;box-shadow:0 6px 12px #102f4526;background:#f7f2e8}
#joyPieInThirty .jp-recipe-front>svg{display:block;width:100%;height:100%}
#joyPieInThirty .jp-alex-recipe{width:100%;max-width:800px;margin:0 auto 20px;border:1px solid #c5a160;box-shadow:0 8px 20px #102f4520}
#joyPieInThirty .jp-alex-recipe>svg{display:block;width:100%;height:auto}
@media(min-width:900px){
 #joyPieInThirty .jp-tangible-scene{max-width:860px}
 #joyPieInThirty .jp-toolkit{max-width:620px;gap:42px}
 #joyPieInThirty .jp-poster-fan,#joyPieInThirty .jp-card-fan{height:218px;max-width:240px}
 #joyPieInThirty .jp-poster-fan img,#joyPieInThirty .jp-poster-fan .jp-recipe-front{width:144px;height:192px;left:calc(50% - 72px)}
 #joyPieInThirty .jp-poster-fan .jp-guide-left{transform:translateX(-38px) rotate(-12deg)}
 #joyPieInThirty .jp-poster-fan .jp-guide-right{transform:translateX(38px) rotate(12deg)}
 #joyPieInThirty .jp-card-fan img{width:134px;height:192px;left:calc(50% - 67px)}
 #joyPieInThirty .jp-card-fan .jp-card-back{transform:translateX(30px) rotate(10deg)}
 #joyPieInThirty .jp-card-fan .jp-card-front{transform:translateX(-20px) rotate(-7deg)}
 #joyPieInThirty .jp-toolkit figcaption{font-size:16px}
 #joyPieInThirty .jp-toolkit figcaption strong{font-size:15px}
}
@media(max-width:600px){#joyPieInThirty.homeRecipeDemo{padding:18px}}
@media(max-width:380px){#joyPieInThirty .jp-poster-fan .jp-recipe-front{width:78px;height:104px;left:calc(50% - 39px)}}

/* The six Joy Pie colors carry the opening into the rest of the story. */
#joyPieInThirty .jp-scenes{position:relative;isolation:isolate;overflow:hidden;padding-bottom:36px}
#joyPieInThirty .jp-scenes::after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;background:linear-gradient(90deg,#d6222d 0 16.66%,#d88a00 16.66% 33.33%,#570776 33.33% 50%,#00357b 50% 66.66%,#026630 66.66% 83.33%,#c21b67 83.33%);z-index:2;pointer-events:none}
#joyPieInThirty .jp-scenes>section{position:relative;z-index:1}
#joyPieInThirty .jp-scenes.jp-opening{background:radial-gradient(ellipse at 8% 20%,#b00b6d88,transparent 45%),radial-gradient(ellipse at 92% 15%,#d88a0066,transparent 42%),radial-gradient(ellipse at 85% 95%,#036cb088,transparent 52%),linear-gradient(135deg,#172a55,#102f45 52%,#143d57)}
#joyPieInThirty .jp-opening [data-scene="0"]{max-width:680px;padding:14px 0}
#joyPieInThirty .jp-opening .jp-brand-pie{width:176px;height:176px;margin-bottom:28px;box-shadow:0 0 0 5px #e8c976,0 0 18px 8px #ffd97799,0 0 48px 18px #edb94466,0 0 88px 28px #dca72b33,0 16px 40px #0005}
#joyPieInThirty .jp-opening .jp-eyebrow{display:inline-block;color:#ffdfa0;background:#183044cc;border:1px solid #e6c57988;border-radius:30px;padding:8px 16px;font-size:12px;letter-spacing:1.5px}
#joyPieInThirty .jp-opening h2{color:#fff8e8;font-size:clamp(29px,4.2vw,44px);text-shadow:0 3px 15px #06182b66;margin:12px 0 18px}
#joyPieInThirty .jp-opening p{color:#f8ead2;font-size:17px}
#joyPieInThirty .jp-scenes[data-scene="1"]{background:radial-gradient(ellipse at 0 0,#c21b6726,transparent 55%),#f9f5eb}
#joyPieInThirty .jp-scenes[data-scene="2"]{background:radial-gradient(ellipse at 100% 100%,#d88a0033,transparent 60%),#f9f5eb}
#joyPieInThirty .jp-scenes[data-scene="3"]{background:radial-gradient(ellipse at 15% 80%,#57077626,transparent 58%),#f9f5eb}
#joyPieInThirty .jp-scenes[data-scene="4"]{background:radial-gradient(ellipse at 95% 15%,#0266302b,transparent 58%),#f9f5eb}
#joyPieInThirty .jp-scenes[data-scene="5"]{background:radial-gradient(ellipse at 50% 100%,#00357b2b,transparent 65%),#f9f5eb}
#joyPieInThirty .jp-choice{color:#a51d62}
#joyPieInThirty .jp-options .jp-picked{background:#a61e64;box-shadow:0 0 0 3px #d6b467;color:#fff8e8}
#joyPieInThirty .jp-answer{border-bottom-color:#d88a00}
#joyPieInThirty .jp-personal-card{border-color:#d9b35e;box-shadow:8px 9px 0 #57077622,0 12px 30px #14374922}
#joyPieInThirty .jp-action{border-left-color:#168459}
@media(max-width:420px){#joyPieInThirty .jp-opening .jp-brand-pie{width:154px;height:154px}#joyPieInThirty .jp-opening p{font-size:16px}#joyPieInThirty .jp-opening .jp-eyebrow{font-size:11px;padding:8px 12px}}

/* Keep the opening palette throughout the full animation and recipe reveal. */
#joyPieInThirty{--jp-story-background:radial-gradient(ellipse at 8% 20%,#b00b6d88,transparent 45%),radial-gradient(ellipse at 92% 15%,#d88a0066,transparent 42%),radial-gradient(ellipse at 85% 95%,#036cb088,transparent 52%),linear-gradient(135deg,#172a55,#102f45 52%,#143d57)}
#joyPieInThirty .jp-scenes[data-scene],#joyPieInThirty .jp-scenes.jp-opening,#joyPieInThirty .jp-recipe-expanded{background:var(--jp-story-background)}
#joyPieInThirty .jp-scenes>section>h2,#joyPieInThirty .jp-recipe-expanded>h3{color:#fff8e8;text-shadow:0 3px 15px #06182b66}
#joyPieInThirty .jp-scenes>section>p,#joyPieInThirty .jp-recipe-expanded>p{color:#f8ead2}
#joyPieInThirty .jp-scenes>section>.jp-eyebrow{color:#ffdfa0}
#joyPieInThirty .jp-scenes .jp-toolkit figcaption,#joyPieInThirty .jp-scenes .jp-choice{color:#fff8e8}
#joyPieInThirty .jp-pilot-note{font-size:12px;color:#52656b;margin:5px 0 0}
#joyPieInThirty .jp-create{max-width:100%;text-align:center;white-space:normal}
#joyPieInThirty .jp-ready-path{max-width:520px;margin:22px auto 0}
#joyPieInThirty .jp-ready-button{display:inline-block;max-width:100%;padding:12px 18px;border:1px solid #b89148;border-radius:10px;background:#fffdf8;color:#102f45;text-decoration:none;font-size:15px;font-weight:600;line-height:1.5}
#joyPieInThirty .jp-ready-button:hover{background:#eee6d5}
#joyPieInThirty .jp-ready-path p{font-size:13px;color:#52656b;margin:8px auto 0;max-width:420px}

/* Reserve one stage for every slide and the recipe reveal, preventing page jumps. */
#joyPieInThirty .jp-film{--jp-stage-height:660px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--jp-stage-height) auto auto}
#joyPieInThirty .jp-scenes,#joyPieInThirty .jp-recipe-expanded{grid-column:1;grid-row:1;height:100%;min-height:0;min-width:0;max-height:100%;margin:0}
#joyPieInThirty .jp-scenes{overflow:auto;align-items:safe center;scrollbar-gutter:stable both-edges}
#joyPieInThirty .jp-controls{grid-column:1;grid-row:2;display:grid;grid-template-columns:150px 90px minmax(0,1fr);grid-template-rows:52px;align-items:center}
#joyPieInThirty .jp-controls button{height:52px;padding:8px 10px;line-height:1.3}
#joyPieInThirty .jp-controls output{white-space:nowrap;line-height:18px;margin:0;justify-self:end}
#joyPieInThirty .jp-scrub{grid-column:1;grid-row:3;margin:0}
#joyPieInThirty .jp-recipe-expanded{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;overflow:hidden;animation:none}
#joyPieInThirty .jp-recipe-expanded h3,#joyPieInThirty .jp-recipe-expanded p{margin:0}
#joyPieInThirty .jp-recipe-expanded .jp-alex-recipe{height:100%;min-height:0;overflow:auto;margin:0 auto;scrollbar-gutter:stable}
#joyPieInThirty .jp-recipe-expanded button{justify-self:center;margin:0}
@media(max-width:600px){#joyPieInThirty .jp-film{--jp-stage-height:680px}#joyPieInThirty .jp-controls{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:52px 18px;gap:8px;padding:12px 14px 8px}#joyPieInThirty .jp-controls output{grid-column:1/-1}}
@media(max-width:380px){#joyPieInThirty .jp-film{--jp-stage-height:720px}}
