@font-face {
    font-family: "Goodiso Impact";
    src: url("../fonts/impact-w01-2010.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.cart-nav { display: inline-flex; align-items: center; gap: 7px; }
.cart-count { display: inline-grid; min-width: 23px; height: 23px; padding: 0 6px; place-items: center; color: #fff; background: #9b3c53; border-radius: 99px; font-size: 11px; }

@font-face {
    font-family: "Goodiso Poppins";
    src: url("../fonts/poppins-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Goodiso Poppins";
    src: url("../fonts/poppins-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #1e1e1d;
    --cream: #efeee4;
    --mint: #cde7cc;
    --cloud: #c9feff;
    --purple: #afa1ff;
    --footer-pink: #d3a7bd;
    --orange: #ffce79;
    --green: #65ac62;
    --purple-ink: #5838ff;
    --body: "Goodiso Poppins", Poppins, Arial, sans-serif;
    --display: "Goodiso Impact", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--body);
    overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.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;
}

.mobile-header { display: none; }

.hero {
    position: relative;
    min-height: 1575px;
    overflow: hidden;
    background: #d0c6c9;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(58, 12, 21, .14);
}

.hero-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 55%;
}

.hero-center {
    position: absolute;
    z-index: 3;
    top: 48%;
    left: 50%;
    width: 370px;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero h1 {
    margin: 0;
    font: 400 160px/.78 var(--display);
    letter-spacing: -3px;
}

.hero-center .sticker-button { margin-top: 60px; }

.hero-tagline {
    position: absolute;
    z-index: 3;
    bottom: 95px;
    left: 24.2%;
    margin: 0;
    font-size: 20px;
}

.hero-candy {
    position: absolute;
    z-index: 2;
    object-fit: contain;
    animation: candy-breathe var(--breathe-time, 5s) ease-in-out infinite;
    transform: rotate(var(--base-rotation, 0deg));
}

.hero-candy--left-back { --base-rotation: -10deg; --breathe-time: 6s; width: 145px; left: 7%; top: 32%; }
.hero-candy--left { --base-rotation: -22deg; --breathe-time: 4s; width: 145px; left: 10%; top: 34%; filter: drop-shadow(0 10px 6px rgba(0,0,0,.24)); }
.hero-candy--right { --base-rotation: 19deg; --breathe-time: 5s; width: 120px; right: 14%; top: 34%; filter: drop-shadow(0 10px 6px rgba(0,0,0,.2)); }
.hero-candy--top { --base-rotation: 19deg; --breathe-time: 5s; width: 135px; right: 5%; top: 5%; }

.sticker-button,
.shadow-button {
    display: inline-flex;
    min-height: 48px;
    padding: 8px 34px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 10px;
    box-shadow: 5px 9px 0 #000;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease;
}

.sticker-button:hover,
.shadow-button:hover {
    transform: translate(2px, 3px);
    box-shadow: 3px 5px 0 #000;
}

.sticker-button--white { transform: rotate(10deg); }
.sticker-button--white:hover { transform: rotate(10deg) translate(2px, 3px); }

.story {
    position: relative;
    min-height: 2440px;
    padding-top: 225px;
    background: var(--cream);
    text-align: center;
}

.cloud-divider {
    position: absolute;
    z-index: 4;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100'%3E%3Cpath d='M0 100V60C0 27 27 0 60 0c25 0 46 15 55 37 12-15 30-24 50-24 41 0 75 34 75 75v12H0Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 240px 100%;
    -webkit-mask-repeat: repeat-x;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100'%3E%3Cpath d='M0 100V60C0 27 27 0 60 0c25 0 46 15 55 37 12-15 30-24 50-24 41 0 75 34 75 75v12H0Z' fill='black'/%3E%3C/svg%3E");
    mask-size: 240px 100%;
    mask-repeat: repeat-x;
}

.cloud-divider--blue {
    top: 2px;
    color: var(--cloud);
    transform: translateY(-99%);
}

.cloud-divider--cream {
    display: none;
}

.story-copy {
    width: min(900px, 80%);
    margin: 0 auto;
    font: 400 78px/.86 var(--display);
}

.sparkle {
    position: absolute;
    z-index: 5;
    font-family: Arial, sans-serif;
    -webkit-text-stroke: 1px var(--ink);
}

.sparkle--cyan { top: 115px; left: 26%; color: #03e8ee; font-size: 110px; }
.sparkle--gold { top: 780px; right: 25%; color: #ffc24f; font-size: 65px; }

.sticker-button--faq {
    --button-rotation: -24deg;
    position: absolute;
    z-index: 6;
    top: 120px;
    right: 11%;
    min-width: 125px;
    background: var(--purple);
    animation: button-swing 4s ease-in-out infinite;
}

.sticker-button--story {
    --button-rotation: 10deg;
    position: absolute;
    z-index: 6;
    top: 860px;
    left: 13%;
    background: #ffb52f;
    animation: button-swing 4s ease-in-out infinite;
}

.characters {
    position: absolute;
    top: 1025px;
    left: 50%;
    width: 700px;
    height: 620px;
    transform: translateX(-50%);
}

.character { position: absolute; object-fit: contain; }
.character--gold { width: 330px; left: 185px; top: 0; filter: sepia(.25) saturate(.8); }
.character--red { display: none; }

.story-products,
.feature-badge { display: none; }

.story h2,
.instagram h2 {
    font: 400 84px/.95 var(--display);
}

.story h2 {
    position: absolute;
    top: 1710px;
    left: 0;
    width: 100%;
    margin: 0;
}

.journey {
    min-height: 1630px;
    padding: 122px 6.25%;
    background: var(--ink);
}

.journey-card {
    width: 640px;
    min-height: 620px;
    padding: 45px;
    background: var(--cream);
    border-radius: 10px;
}

.journey-card img { display: none; }

.journey-card h2 {
    margin: 0 0 35px;
    font: 400 96px/.82 var(--display);
}

.mobile-heading { display: none; }

.journey-card p {
    max-width: 500px;
    margin: 0 0 35px;
    font-size: 17px;
    line-height: 1.45;
}

.flavors { background: var(--mint); }

.flavors-banner {
    position: relative;
    height: 345px;
    padding-top: 28px;
    text-align: center;
    overflow: hidden;
}

.flavors-banner p {
    margin: 0 0 10px;
    font-size: 42px;
}

.brand-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font: 400 76px/.9 var(--display);
}

.marquee-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    flex-wrap: nowrap;
    will-change: transform;
    backface-visibility: hidden;
}

.marquee-track span {
    display: block;
    flex: 0 0 auto;
    white-space: nowrap;
}

.marquee-track--brand { animation: marquee-seamless-left 5.833s linear infinite; }

.brand-marquee--white { color: #fff; }

.flavors-banner .shadow-button {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    min-width: 280px;
}

.flavors-photo {
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: center 58%;
}

.instagram {
    position: relative;
    min-height: 1220px;
    padding: 100px 8% 0;
    background: var(--cream);
    text-align: center;
}

.instagram h2 { margin: 0 0 75px; }

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1185px;
    margin: 0 auto;
}

.instagram-grid a {
    display: block;
    min-width: 0;
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

.instagram-grid img {
    width: 100%;
    height: 488px;
    object-fit: cover;
    object-position: top;
}

.instagram-button { margin-top: 67px; }

.how-marquee {
    position: absolute;
    bottom: 105px;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    font: 400 45px/1 var(--display);
}

.marquee-track--how { animation: marquee-seamless-right 11.5s linear infinite; }

.cloud-divider--footer {
    bottom: -1px;
    height: 54px;
    color: var(--mint);
}

footer {
    min-height: 570px;
    padding: 40px 3.45% 50px;
    background: var(--ink);
}

.footer-panel {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.35fr;
    grid-template-rows: auto 1fr;
    min-height: 470px;
    padding: 31px 30px;
    gap: 45px 55px;
    background: var(--purple);
    border-radius: 10px;
}

.footer-brand {
    font: 400 42px/1 var(--display);
}

.footer-brand a { text-decoration: none; }

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.55;
}

.footer-contact p { margin: 0; }
.footer-contact a { text-decoration: none; }

.newsletter {
    grid-column: 1 / 3;
    align-self: start;
    max-width: 720px;
}

.newsletter h2 {
    margin: 0 0 2px;
    font-size: 21px;
    line-height: 1.3;
}

.newsletter > p { margin: 0 0 45px; }

.email-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    grid-template-rows: auto 42px;
    column-gap: 24px;
    align-items: end;
}

.email-row label {
    grid-column: 1;
    font-size: 14px;
}

.email-row input {
    grid-column: 1;
    width: 100%;
    height: 42px;
    padding: 8px 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    outline-offset: 3px;
}

.email-row button {
    grid-column: 2;
    grid-row: 2;
    height: 41px;
    color: #fff;
    background: var(--ink);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.consent {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    font-size: 15px;
}

.consent input {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    background: transparent;
    border: 1px solid var(--ink);
}

.consent input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px var(--purple); }

.form-message { margin: 12px 0 0; font-size: 14px; }
.form-message--error { color: #7d0716; }
.form-message--success { color: #075b24; }

.copyright {
    position: absolute;
    right: 30px;
    bottom: 25px;
    margin: 0;
    font-size: 15px;
}

@keyframes candy-breathe {
    0%, 100% { transform: rotate(var(--base-rotation, 0deg)); }
    25%, 75% { transform: rotate(0deg); }
}

@keyframes button-swing {
    0%, 100% { transform: rotate(var(--button-rotation)); }
    25% { transform: rotate(calc(var(--button-rotation) + 5deg)); }
    75% { transform: rotate(calc(var(--button-rotation) - 5deg)); }
}

@keyframes marquee-seamless-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-seamless-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@keyframes character-fade { from { opacity: 0; } to { opacity: 1; } }

@keyframes character-bounce {
    0% { transform: translateY(-50px) scale(.82) rotate(var(--character-rotation, 0deg)); }
    30% { transform: translateY(0) scale(1.04) rotate(var(--character-rotation, 0deg)); }
    42% { transform: translateY(-17px) scale(.98) rotate(var(--character-rotation, 0deg)); }
    54%, 100% { transform: translateY(0) scale(1) rotate(var(--character-rotation, 0deg)); }
}

@keyframes character-wiggle {
    0%, 43%, 100% { transform: translateY(0) rotate(var(--character-rotation, 0deg)); }
    8% { transform: translateY(-25px) rotate(calc(var(--character-rotation, 0deg) + 25deg)); }
    15% { transform: translateY(0) rotate(calc(var(--character-rotation, 0deg) - 20deg)); }
    23% { transform: translateY(0) rotate(calc(var(--character-rotation, 0deg) + 15deg)); }
    31% { transform: translateY(0) rotate(calc(var(--character-rotation, 0deg) - 10deg)); }
}

@keyframes glide-in {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes product-pop {
    from { opacity: 0; transform: translate(-50%, 45px) scale(.88); }
    65% { opacity: 1; transform: translate(-50%, -8px) scale(1.03); }
    to { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes glide-in-tilted {
    from { opacity: 0; transform: translateY(-100%) rotate(-10deg); }
    to { opacity: 1; transform: translateY(0) rotate(-10deg); }
}

@keyframes glide-in-bubbly {
    from { opacity: 0; transform: translateY(-100%) rotate(18deg); }
    to { opacity: 1; transform: translateY(0) rotate(18deg); }
}

@keyframes glide-in-diamond {
    from { opacity: 0; transform: translateY(-100%) rotate(45deg); }
    to { opacity: 1; transform: translateY(0) rotate(45deg); }
}

/* Desktop layout --------------------------------------------------------- */
@media (min-width: 701px) {
    .mobile-header {
        position: absolute;
        z-index: 20;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        height: 104px;
        padding: 18px clamp(32px, 5vw, 76px);
        align-items: center;
        justify-content: space-between;
    }

    .brand-link {
        display: block;
        width: 190px;
        flex: 0 0 auto;
    }

    .brand-link img { width: 100%; }
    .menu-toggle, .menu-close { display: none; }

    .mobile-menu {
        display: flex;
        align-items: center;
        gap: clamp(28px, 3vw, 52px);
        color: #fff;
        font-size: 16px;
        font-weight: 700;
    }

    .mobile-menu > a,
    .mobile-menu summary { text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,.38); }
    .mobile-menu details { position: relative; }
    .mobile-menu summary { list-style: none; cursor: pointer; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary::after { content: "+"; margin-left: 8px; }
    .mobile-menu details[open] summary::after { content: "−"; }

    .mobile-submenu {
        position: absolute;
        top: calc(100% + 16px);
        left: 50%;
        display: flex;
        width: 210px;
        padding: 18px;
        flex-direction: column;
        gap: 10px;
        color: var(--ink);
        background: var(--mint);
        border: 1px solid var(--ink);
        border-radius: 8px;
        box-shadow: 5px 7px 0 #000;
        font-size: 14px;
        font-weight: 400;
        transform: translateX(-50%);
    }

    .mobile-submenu a { text-decoration: none; }

    .hero {
        min-height: clamp(800px, 72vw, 1020px);
    }

    .hero-center {
        top: 51%;
        width: 440px;
    }

    .hero h1 {
        color: #fff;
        font-size: clamp(112px, 10vw, 150px);
        text-shadow: 0 4px 24px rgba(57, 11, 23, .3);
    }

    .hero-center .sticker-button { margin-top: 42px; }
    .hero-tagline {
        bottom: 48px;
        left: 0;
        width: 100%;
        color: #fff;
        text-align: center;
        text-shadow: 0 2px 12px rgba(0,0,0,.45);
    }

    .story {
        min-height: 1160px;
        padding-top: 170px;
    }

    .story-copy {
        width: min(850px, 74%);
        font-size: clamp(56px, 5vw, 74px);
    }

    .sparkle--cyan { top: 85px; }
    .sparkle--gold { top: 510px; right: 19%; }
    .sticker-button--faq { top: 95px; }
    .sticker-button--story { top: 545px; left: 10%; }

    .characters {
        top: 570px;
        width: 560px;
        height: 350px;
    }

    .character--gold { width: 220px; left: 170px; }

    .story h2 {
        top: 790px;
        font-size: clamp(60px, 6vw, 82px);
    }

    .feature-badge {
        position: absolute;
        z-index: 7;
        top: 925px;
        display: flex;
        width: clamp(145px, 17vw, 205px);
        min-height: 112px;
        padding: 18px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--ink);
        border-radius: 18px;
        box-shadow: 6px 8px 0 var(--ink);
        font: 400 clamp(20px, 2vw, 27px)/.95 var(--display);
        text-align: center;
    }

    .feature-badge strong { display: block; margin-top: 8px; font: 700 25px/1 var(--body); }
    .feature-badge--made-cream strong { display: none; }
    .feature-badge--made-orange,
    .feature-badge--colors { display: none; }
    .feature-badge--made-cream { left: 8%; background: var(--footer-pink); }
    .feature-badge--bubbly { left: 31%; color: var(--green); background: var(--cloud); }
    .feature-badge--gelatin { left: 54%; color: #fff; background: var(--green); }
    .feature-badge--irresistible { left: 77%; background: var(--orange); }

    .journey {
        min-height: auto;
        padding: 96px clamp(42px, 6.25vw, 100px);
    }

    .journey-card {
        display: grid;
        width: min(1280px, 100%);
        min-height: 650px;
        margin: 0 auto;
        padding: 0;
        grid-template-columns: minmax(420px, .9fr) 1.1fr;
        overflow: hidden;
    }

    .journey-copy {
        display: flex;
        padding: clamp(45px, 5vw, 74px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .journey-card h2 { font-size: clamp(72px, 7vw, 100px); }
    .journey-card img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 650px;
        object-fit: cover;
        object-position: 50% 52%;
    }

    .instagram { min-height: 1080px; }
}

@media (max-width: 700px) {
    .mobile-header {
        position: absolute;
        z-index: 20;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        height: 110px;
        padding: 22px 24px;
        align-items: center;
        justify-content: space-between;
    }

    .brand-link {
        position: absolute;
        left: 50%;
        width: 160px;
        margin: 0;
        transform: translateX(-50%);
    }
    .brand-link img { width: 100%; }

    .menu-toggle {
        position: absolute;
        right: 24px;
        display: flex;
        width: 34px;
        height: 34px;
        padding: 4px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .menu-toggle span:not(.sr-only) {
        width: 100%;
        height: 2px;
        background: #fff;
        transition: transform .25s ease, opacity .25s ease;
    }

    .mobile-menu {
        position: fixed;
        z-index: 9999;
        inset: 0;
        display: none;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-width: 0;
        padding: 78px 24px 30px;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        background: var(--mint);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 20px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mobile-menu.is-open { display: flex; }
    .mobile-menu a { text-decoration: none; }

    .menu-is-open { overflow: hidden; }

    .menu-close {
        position: absolute;
        top: 23px;
        right: 31px;
        width: 30px;
        height: 30px;
        padding: 0;
        background: transparent;
        border: 0;
        font: 300 34px/1 Arial, sans-serif;
        cursor: pointer;
    }

    .mobile-menu details { width: min(250px, 85vw); text-align: center; }
    .mobile-menu summary { position: relative; list-style: none; cursor: pointer; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary::after { content: "⌄"; position: absolute; right: 8px; top: -3px; font-size: 18px; }
    .mobile-menu details[open] summary::after { transform: rotate(180deg); }
    .mobile-submenu { display: flex; padding-top: 20px; flex-direction: column; gap: 13px; font-size: 15px; }

    .hero {
        min-height: 645px;
    }

    .hero-background { object-position: 50% 57%; }

    .hero-center {
        top: 48%;
        width: 220px;
    }

    .hero h1 {
        color: #fff;
        font-size: 64px;
        line-height: .82;
        letter-spacing: -1px;
    }

    .hero-center .sticker-button { margin-top: 90px; }

    .hero-tagline {
        bottom: 145px;
        left: 0;
        width: 100%;
        text-align: center;
        color: #fff;
        font-size: 15px;
        white-space: nowrap;
    }

    .hero-candy--left-back { width: 80px; left: 8%; top: 59%; }
    .hero-candy--left { width: 80px; left: 14%; top: 27%; }
    .hero-candy--right { width: 83px; right: -7%; top: 41%; }
    .hero-candy--top { width: 80px; right: -5%; top: 18%; }

    .sticker-button,
    .shadow-button {
        min-height: 35px;
        padding: 6px 20px;
        border-radius: 5px;
        box-shadow: 3px 5px 0 #000;
        font-size: 14px;
    }

    .story {
        min-height: 1590px;
        padding-top: 120px;
        background: var(--orange);
    }

    .cloud-divider { height: 52px; }
    .cloud-divider {
        -webkit-mask-size: 120px 100%;
        mask-size: 120px 100%;
    }
    .cloud-divider--blue { color: var(--cloud); }

    .story::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 350px;
        background: var(--cloud);
    }

    .story-copy {
        position: relative;
        z-index: 2;
        width: 96%;
        margin: 0 auto;
        color: #1b9de7;
        font-size: 21px;
        line-height: .9;
    }

    .desktop-only { display: none; }
    .sparkle--cyan { top: 65px; left: 31%; font-size: 42px; }
    .sparkle--gold { top: 210px; right: 10%; font-size: 38px; }

    .sticker-button--faq { top: 65px; right: -4%; min-width: 70px; transform: rotate(-22deg); }
    .sticker-button--story { top: 220px; left: 13%; }

    .characters {
        top: 390px;
        width: 100%;
        height: 610px;
    }

    .character--gold {
        --character-rotation: -6deg;
        width: 250px;
        left: 26px;
        top: 15px;
    }

    .character--red {
        --character-rotation: 15deg;
        display: block;
        width: 205px;
        right: -20px;
        top: 80px;
    }

    .motion-character { opacity: 0; }
    .motion-character.is-visible {
        animation: character-fade .648s ease both, character-bounce 1.2s cubic-bezier(.2,.75,.3,1.25) both, character-wiggle 1.4s 1.2s linear infinite;
    }

    .story-products {
        position: absolute;
        z-index: 3;
        top: 650px;
        left: 50%;
        display: flex;
        width: 310px;
        height: 240px;
        align-items: flex-end;
        justify-content: center;
        transform: translateX(-50%);
        opacity: 0;
    }

    .story-products.is-visible { animation: product-pop .9s .12s ease-out forwards; }
    .story-products img { position: relative; width: 180px; max-width: none; filter: drop-shadow(0 10px 7px rgba(0,0,0,.13)); }
    .story-products img:first-child { z-index: 1; margin-right: -50px; transform: rotate(-10deg); }
    .story-products img:last-child { z-index: 2; transform: rotate(9deg); }

    .feature-badge {
        position: absolute;
        z-index: 7;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font: 400 20px/.88 var(--display);
        text-align: center;
        opacity: 0;
    }

    .feature-badge.is-visible { animation: glide-in 1.4s var(--delay, 0s) cubic-bezier(.16,.76,.25,1) forwards; }
    .feature-badge strong { display: block; margin-top: 9px; color: var(--ink); font: 700 27px/1 var(--body); }

    .feature-badge--made-orange,
    .feature-badge--made-cream {
        position: absolute;
        width: 118px;
        height: 118px;
        padding: 17px;
        flex-direction: column;
        background: var(--footer-pink);
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 118 118'%3E%3Cpath d='M59 0C68 0 72 10 78 13C86 9 97 11 102 18C107 26 100 35 103 42C112 45 118 51 118 60C118 69 108 73 105 80C109 88 106 99 99 104C91 109 82 102 75 105C72 113 66 118 57 118C48 118 44 108 37 105C29 109 18 106 13 99C8 91 15 82 12 75C4 72 0 66 0 57C0 48 10 44 13 37C9 29 12 18 19 13C27 8 36 15 43 12C46 4 52 0 59 0Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 118 118'%3E%3Cpath d='M59 0C68 0 72 10 78 13C86 9 97 11 102 18C107 26 100 35 103 42C112 45 118 51 118 60C118 69 108 73 105 80C109 88 106 99 99 104C91 109 82 102 75 105C72 113 66 118 57 118C48 118 44 108 37 105C29 109 18 106 13 99C8 91 15 82 12 75C4 72 0 66 0 57C0 48 10 44 13 37C9 29 12 18 19 13C27 8 36 15 43 12C46 4 52 0 59 0Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .feature-badge--made-orange span,
    .feature-badge--made-orange strong,
    .feature-badge--made-cream span,
    .feature-badge--made-cream strong { position: relative; z-index: 1; }

    .feature-badge--made-orange { top: 415px; left: 14px; }

    .feature-badge--colors {
        top: 770px;
        left: 124px;
        width: 145px;
        height: 130px;
        padding: 44px 20px 12px;
        color: var(--green);
        background: var(--mint);
        clip-path: polygon(50% 0, 100% 100%, 0 100%);
        transform: rotate(-10deg);
    }

    .feature-badge--colors.is-visible { animation-name: glide-in-tilted; }

    .story h2 {
        top: 1040px;
        bottom: auto;
    }

    .feature-badge--made-cream { top: 1180px; left: 8px; }

    .feature-badge--bubbly {
        top: 1185px;
        right: -10px;
        width: 165px;
        height: 75px;
        color: var(--green);
        background: var(--cloud);
        transform: rotate(18deg);
    }

    .feature-badge--bubbly.is-visible { animation-name: glide-in-bubbly; }

    .feature-badge--gelatin {
        top: 1410px;
        left: 80px;
        width: 120px;
        height: 120px;
        color: #fff;
        background: var(--green);
        border-radius: 50%;
    }

    .feature-badge--irresistible {
        top: 1418px;
        right: 42px;
        width: 102px;
        height: 102px;
        padding: 15px;
        color: var(--ink);
        background: var(--orange);
        transform: rotate(45deg);
    }

    .feature-badge--irresistible span { transform: rotate(-45deg); }
    .feature-badge--irresistible.is-visible { animation-name: glide-in-diamond; }

    .story h2 {
        z-index: 5;
        color: var(--green);
        font-size: 33px;
    }

    .cloud-divider--cream {
        display: block;
        bottom: 640px;
        height: 60px;
        color: var(--orange);
        transform: none;
    }

    .story::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 640px;
        background: var(--cream);
    }

    .journey {
        min-height: 790px;
        padding: 25px;
        background: var(--mint);
    }

    .journey-card {
        width: 100%;
        min-height: 740px;
        padding: 0;
        overflow: hidden;
        border-radius: 8px;
    }

    .journey-copy { padding: 28px 24px 32px; }

    .journey-card h2 {
        margin-bottom: 24px;
        color: var(--green);
        font-size: 43px;
        line-height: .84;
    }

    .desktop-heading { display: none; }
    .mobile-heading { display: block; }

    .journey-card p {
        margin-bottom: 28px;
        font-size: 13px;
        line-height: 1.45;
    }

    .journey-card img {
        display: block;
        width: 100%;
        height: 410px;
        object-fit: cover;
        object-position: 50% 48%;
    }

    .flavors-banner {
        height: 245px;
        padding-top: 35px;
    }

    .flavors-banner p { margin-bottom: 25px; font-size: 19px; }
    .brand-marquee { font-size: 32px; color: var(--green); }
    .flavors-banner .shadow-button { margin-top: 30px; min-width: 165px; background: #e9fbff; }

    .flavors-photo {
        height: 430px;
        object-position: 50% 54%;
    }

    .instagram {
        min-height: 1210px;
        padding: 80px clamp(20px, 8vw, 63px) 0;
        background: var(--mint);
    }

    .instagram h2 {
        margin-bottom: 55px;
        color: var(--green);
        font-size: clamp(36px, 10vw, 48px);
        white-space: normal;
        transform: none;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
    }

    .instagram-grid img {
        width: 100%;
        height: auto;
        aspect-ratio: 2 / 3;
        object-fit: cover;
        object-position: top;
    }
    .instagram-button { margin-top: 55px; background: var(--orange); }

    .how-marquee {
        bottom: 85px;
        color: var(--green);
        font-size: 35px;
    }

    .cloud-divider--footer { bottom: -1px; color: var(--cream); }

    footer {
        min-height: 780px;
        padding: 25px;
        background: var(--mint);
    }

    .footer-panel {
        display: block;
        min-height: 0;
        padding: 28px 20px;
        background: var(--footer-pink);
        border-radius: 5px;
    }

    .footer-brand { margin-bottom: 20px; font-size: 32px; }
    .footer-links, .footer-contact { margin-bottom: 24px; font-size: 14px; }
    .newsletter { margin-top: 28px; }
    .newsletter h2 { font-size: 17px; }
    .newsletter > p { margin-bottom: 42px; font-size: 14px; }

    .email-row {
        grid-template-columns: 1fr 95px;
        column-gap: 14px;
    }

    .email-row button { border-radius: 4px; }
    .consent { font-size: 11px; }
    .copyright { position: static; margin: 24px 0 0; font-size: 13px; }

    /* Keep the playful phone design, but give each section a clearer rhythm. */
    .hero { min-height: 620px; }
    .hero-center .sticker-button { margin-top: 68px; }
    .hero-tagline { bottom: 132px; }

    .story {
        min-height: 1280px;
        padding-top: 112px;
    }

    .story-copy {
        width: min(350px, 88%);
        font-size: clamp(18px, 5.2vw, 21px);
        line-height: .95;
    }

    .sticker-button--story { top: 255px; left: 9%; }
    .sparkle--gold { top: 250px; }

    .characters {
        top: 335px;
        height: 430px;
    }

    .character--gold { width: 225px; left: 4px; }
    .character--red { width: 185px; right: -8px; top: 72px; }

    .story-products {
        top: 565px;
        width: 285px;
        height: 225px;
    }

    .story-products img { width: 165px; }
    .feature-badge--made-orange,
    .feature-badge--colors { display: none; }

    .story h2 {
        top: 900px;
        padding-inline: 20px;
        font-size: clamp(29px, 8.5vw, 34px);
    }

    .cloud-divider--cream { bottom: 420px; }
    .story::after { height: 420px; }

    .feature-badge--made-cream,
    .feature-badge--bubbly,
    .feature-badge--gelatin,
    .feature-badge--irresistible {
        width: 40%;
        height: 105px;
        min-height: 105px;
        padding: 14px;
        border: 1px solid var(--ink);
        border-radius: 14px;
        box-shadow: 4px 6px 0 var(--ink);
        clip-path: none;
        -webkit-mask: none;
        mask: none;
        font-size: clamp(17px, 5vw, 20px);
        transform: none;
    }

    .feature-badge--made-cream,
    .feature-badge--bubbly { top: 985px; }
    .feature-badge--gelatin,
    .feature-badge--irresistible { top: 1125px; }
    .feature-badge--made-cream,
    .feature-badge--gelatin { left: 6%; right: auto; }
    .feature-badge--bubbly,
    .feature-badge--irresistible { right: 6%; left: auto; }
    .feature-badge--made-cream strong { display: none; }
    .feature-badge--irresistible span { transform: none; }

    .feature-badge--made-cream.is-visible,
    .feature-badge--bubbly.is-visible,
    .feature-badge--gelatin.is-visible,
    .feature-badge--irresistible.is-visible {
        animation-name: glide-in;
    }

    .journey {
        min-height: 0;
        padding: 18px;
    }

    .journey-card { min-height: 0; }
    .journey-copy { padding: 26px 22px 28px; }
    .journey-card h2 { font-size: clamp(37px, 11vw, 43px); }
    .journey-card img { height: 360px; }

    .flavors-banner {
        height: 215px;
        padding-top: 30px;
    }

    .flavors-banner p { margin-bottom: 20px; }
    .flavors-banner .shadow-button { margin-top: 25px; }
    .flavors-photo { height: 390px; }

    .instagram {
        min-height: 930px;
        padding-top: 62px;
    }

    .instagram h2 { margin-bottom: 38px; }
    .instagram-button { margin-top: 38px; }
    .how-marquee { bottom: 72px; }
}

@media (max-width: 430px) {
    .brand-link { width: 145px; }
    .menu-toggle { width: 28px; }
    .instagram-grid { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
