/* Show only the five illustrated panels of the user's supplied storyboard.
   Existing yellow hero, text and sticker geometry remain unchanged. */
.sticker .medicine-animation{position:relative;width:100%;height:100%;overflow:hidden;border-radius:14px;background:#e3f0d4}
.sticker .medicine-frame{position:absolute;inset:0;background-image:url('/medicine-return-landscape.png');background-size:200% 300%;background-repeat:no-repeat;opacity:0;animation-duration:5s;animation-timing-function:steps(1,end);animation-iteration-count:infinite}
.sticker .medicine-frame-one{background-position:0 0;animation-name:medicine-one}
.sticker .medicine-frame-two{background-position:100% 0;animation-name:medicine-two}
.sticker .medicine-frame-three{background-position:0 50%;animation-name:medicine-three}
.sticker .medicine-frame-four{background-position:100% 50%;animation-name:medicine-four}
.sticker .medicine-frame-five{background-position:0 100%;animation-name:medicine-five}
@keyframes medicine-one{0%{opacity:1}20%,100%{opacity:0}}
@keyframes medicine-two{0%{opacity:0}20%{opacity:1}40%,100%{opacity:0}}
@keyframes medicine-three{0%,20%{opacity:0}40%{opacity:1}60%,100%{opacity:0}}
@keyframes medicine-four{0%,40%{opacity:0}60%{opacity:1}80%,100%{opacity:0}}
@keyframes medicine-five{0%,60%{opacity:0}80%,100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.sticker .medicine-frame{animation:none;display:none}.sticker .medicine-frame-five{display:block;opacity:1}}

/* Landscape artwork beside the welcome text; stack comfortably on phones. */
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:28px;padding:26px 28px}
.hero>div:first-child{min-width:0}
.hero .sticker{width:100%;height:auto;aspect-ratio:3/2;transform:none;border-radius:18px;box-shadow:4px 5px 0 #333730;min-width:0}
.hero .medicine-animation{border-radius:12px}
@media(max-width:700px){.hero{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px}.hero .sticker{width:100%;max-width:440px;justify-self:center;aspect-ratio:3/2;border-width:4px}.hero p:last-child{max-width:none}.hero h1{font-size:clamp(27px,6vw,36px)}}

/* Reporting stays first; medicine-return education follows the completed form. */
.hero{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:30px 32px}
.hero .sticker{width:165px;height:165px;aspect-ratio:auto;transform:rotate(8deg);border-radius:20px;box-shadow:5px 7px 0 #333730}
.report-explanation{font-size:14px;line-height:1.6;color:#4f5d50;margin:8px 4px 24px}
.return-education{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:24px;align-items:center;background:#e3f0d4;border:1.5px solid #9ead99;border-radius:16px;padding:24px;margin:0 0 24px}
.education-label{font-size:11px;font-weight:900;letter-spacing:1.3px;color:#166f58;margin:0 0 10px}
.return-copy h2{font-size:24px;line-height:1.25;margin:0 0 12px}
.return-copy>p:last-child{font-size:14px;line-height:1.7;margin:0;color:#354c3e}
.return-education .sticker{width:100%;height:auto;aspect-ratio:3/2;transform:none;min-width:0;box-shadow:3px 4px 0 #333730}
@media(max-width:700px){.hero{min-height:160px;padding:18px;margin-bottom:19px;gap:8px}.hero .sticker{width:92px;height:92px;border-width:3px}.hero h1{font-size:clamp(24px,6vw,34px)}.hero p:last-child{font-size:14px;max-width:220px}.return-education{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px}.return-copy h2{font-size:21px}.return-education .sticker{max-width:440px;justify-self:center}.report-explanation{font-size:13px}}
@media(max-width:370px){.hero .sticker{width:72px;height:72px}.hero h1{font-size:23px}}

/* Crop inside each storyboard cell to exclude gutters and adjacent artwork.
   One shared clock avoids separately animated layers showing together. */
.return-education .medicine-frame{display:none;animation:none}
.return-education .medicine-animation{background-image:url('/medicine-return-landscape.png');background-size:208% 330%;background-repeat:no-repeat;animation:medicine-sequence 5s steps(1,end) infinite;background-position:1% 1%;isolation:isolate;overflow:hidden}
@keyframes medicine-sequence{0%{background-position:1% 1%}20%{background-position:99% 1%}40%{background-position:1% 50%}60%{background-position:99% 50%}80%,100%{background-position:1% 99%}}
@media(prefers-reduced-motion:reduce){.return-education .medicine-animation{animation:none;background-position:1% 99%}}


.hero .medicine-check-icon{display:block;width:165px;height:165px;object-fit:contain;flex:none;background:transparent;border:0;box-shadow:none;transform:none}
@media(max-width:700px){.hero .medicine-check-icon{width:100px;height:100px}}
@media(max-width:370px){.hero .medicine-check-icon{width:78px;height:78px}}
