/* Yoodles skin: theme variables (same shape as templib/css/skin/skin-*.css) + brand styles.
   Colors come from the pack: noodle cream, the logo's orange-red, warm brown ink, flavor accents. */
:root {
    --color-primary: #f15a24;
    --color-secondry: #2a1a12;
    --color-hover: #d94a17;
    --rgba-primary-1: rgba(241,90,36,0.1);
    --rgba-primary-2: rgba(241,90,36,0.2);
    --rgba-primary-3: rgba(241,90,36,0.3);
    --rgba-primary-4: rgba(241,90,36,0.4);
    --rgba-primary-5: rgba(241,90,36,0.5);
    --rgba-primary-6: rgba(241,90,36,0.6);
    --rgba-primary-7: rgba(241,90,36,0.7);
    --rgba-primary-8: rgba(241,90,36,0.8);
    --rgba-primary-9: rgba(241,90,36,0.9);
    --text-sec: #2a1a12;

    --yd-red: #f15a24; /* logo orange */
    --yd-orange: #f7931e;
    --yd-yellow: #ffe11f; /* logo yellow */
    --yd-green: #3db54a;
    --yd-cream: #fff7e8;
    --yd-cream-2: #ffefd2;
    --yd-ink: #2a1a12;
    --yd-ink-soft: #5c4a3f;
    --yd-dark: #22160f;
    --yd-radius: 22px;
    --yd-font-display: "Baloo Bhaijaan 2", "Cairo", system-ui, sans-serif;
    --yd-font-body: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.yd { background: var(--yd-cream); color: var(--yd-ink); font-family: var(--yd-font-body); font-size: 16px; line-height: 1.75; }
.yd h1, .yd h2, .yd h3, .yd h4, .yd h5 { font-family: var(--yd-font-display); color: var(--yd-ink); font-weight: 800; letter-spacing: 0; }
.yd a { color: inherit; }
.yd a:focus-visible, .yd button:focus-visible { outline: 3px solid var(--yd-orange); outline-offset: 3px; border-radius: 8px; }
.yd section { position: relative; padding: 96px 0; }
.yd .container { position: relative; z-index: 1; max-width: 1140px; } /* fixed width leaves room at the sides for the noodle decorations */
.yd section[id] { scroll-margin-top: 80px; } /* sticky header height, so menu jumps don't hide headings */

/* ---------- wordmark (stand-in until the real logo file arrives) ---------- */
.yd-logo { display: inline-block; line-height: 0; background: var(--yd-red); border-radius: 16px; padding: 6px 12px; transform: rotate(-2deg); }
.yd-logo img { height: 50px; width: auto; display: block; }

/* ---------- header ---------- */
.yd-header { position: sticky; top: 0; z-index: 50; background: rgba(255,247,232,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px dashed rgba(241,90,36,.25); }
.yd-header .navbar { padding: 10px 0; }
.yd-nav .nav-link { font-family: var(--yd-font-display); font-weight: 700; font-size: 17px; color: var(--yd-ink) !important; padding: 8px 14px !important; border-radius: 999px; }
.yd-nav .nav-link:hover { background: var(--yd-cream-2); color: var(--yd-red) !important; }
.yd-header .zl { color: var(--yd-ink); --zl-thumb: var(--yd-orange); }
.yd-toggler { border: 2px solid var(--yd-ink); border-radius: 12px; padding: 6px 10px; background: transparent; font-size: 20px; line-height: 1; color: var(--yd-ink); }

/* ---------- buttons ---------- */
.yd-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--yd-font-display); font-weight: 800; font-size: 19px; padding: 12px 26px; border-radius: 999px; border: 3px solid var(--yd-ink); text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 4px 4px 0 var(--yd-ink); }
.yd-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--yd-ink); }
.yd-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--yd-ink); }
.yd-btn-primary { background: var(--yd-red); color: #fff !important; }
.yd-btn-light { background: #fff; color: var(--yd-ink) !important; }
.yd-btn-wa { background: #25d366; color: var(--yd-ink) !important; }
.yd-btn-dark { background: var(--yd-ink); color: #fff !important; }

/* ---------- section headings ---------- */
.yd-eyebrow { display: inline-block; font-family: var(--yd-font-display); font-weight: 700; font-size: 15px; color: var(--yd-ink); background: #fff; border: 2px solid var(--yd-red); padding: 3px 14px; border-radius: 999px; margin-bottom: 14px; transform: rotate(-2deg); }
.yd-title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.2; margin: 0 0 16px; }
.yd-lead { font-size: 18px; color: var(--yd-ink-soft); max-width: 720px; }
.yd-center { text-align: center; }
.yd-center .yd-lead { margin-inline: auto; }

/* ---------- hero ---------- */
.yd-hero { padding: 64px 0 104px !important; overflow: hidden; }
.yd-hero:has(.yd-strand) { padding-bottom: 210px !important; }
.yd-hero h1 { font-size: clamp(42px, 6.5vw, 82px); line-height: 1.05; margin: 0 0 18px; }
.yd-hero h1 .yd-rotator { display: grid; justify-items: start; align-items: center; perspective: 600px; } /* as tall as the tallest ending (2 lines with "We make"): no jumps */
.yd-rot-lead { display: block; color: var(--yd-ink); }
.yd-rot { position: relative; grid-area: 1 / 1; color: var(--c); transition: opacity .2s, transform .55s cubic-bezier(.2,1.4,.4,1); transform-origin: 50% 60%; }
.yd-rot.is-on { transition-delay: .22s; } /* the new ending flips in once the old one is gone */
.yd-rot:not(.is-on) { opacity: 0; transform: translateY(.45em) rotateX(-80deg); pointer-events: none; }
.yd-rot.is-out { transform: translateY(-.45em) rotateX(80deg); }
.yd-peek { position: absolute; z-index: -1; width: 22%; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.yd-peek-top { bottom: 84%; inset-inline-end: 22%; animation: yd-peek-up .8s cubic-bezier(.2,1.5,.4,1) 1.4s both, yd-char-idle 2.6s ease-in-out 2.4s infinite; }
@keyframes yd-peek-up { from { transform: translateY(70%); } to { transform: none; } }

.yd-hero p { font-size: 20px; color: var(--yd-ink-soft); margin-bottom: 28px; }
.yd-hero .yd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.yd-hero-media { position: relative; margin-top: 24px; }
.yd-hero-media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 32px; border: 4px solid var(--yd-ink); box-shadow: 10px 10px 0 var(--yd-ink); background: #fff; display: block; }
.yd-sticker { position: absolute; display: grid; place-items: center; text-align: center; width: 118px; height: 118px; border-radius: 50%; background: var(--yd-yellow); border: 3px solid var(--yd-ink); font-family: var(--yd-font-display); font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--yd-ink); transform: rotate(-12deg); top: -26px; inset-inline-end: -14px; box-shadow: 4px 4px 0 var(--yd-ink); }
.yd-sticker b { display: block; font-size: 40px; }
.yd-squiggle { position: absolute; z-index: 0; pointer-events: none; opacity: .9; }

/* wavy noodle edge between sections */
.yd-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; width: 100%; display: block; }

/* ---------- about / vision ---------- */
.yd-about { background: #fff; }
.yd-quote { font-family: var(--yd-font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--yd-red); border-inline-start: 6px solid var(--yd-yellow); padding-inline-start: 18px; margin: 24px 0; }
.yd-card { background: #fff; border: 3px solid var(--yd-ink); border-radius: var(--yd-radius); padding: 28px; height: 100%; box-shadow: 6px 6px 0 var(--yd-ink); }
.yd-card h3 { font-size: 24px; margin-bottom: 8px; }
.yd-card p { margin: 0; color: var(--yd-ink-soft); }
.yd-card .yd-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; color: #fff; margin-bottom: 16px; border: 3px solid var(--yd-ink); }
.yd-vm .yd-card { background: var(--yd-cream); }

/* ---------- values ---------- */
.yd-values .row > div { margin-bottom: 24px; }
.yd-values .yd-card { transition: transform .2s ease; }
.yd-values .yd-card:hover { transform: rotate(-1.5deg) translateY(-4px); }

/* ---------- quality strip ---------- */
.yd-quality { background: var(--yd-red); color: #fff; padding: 72px 0 !important; }
.yd-quality .yd-title, .yd-quality h3 { color: #fff; }
.yd-quality p { color: rgba(255,255,255,.92); font-size: 18px; }
.yd-badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.yd-badge { background: #fff; color: var(--yd-ink); border: 3px solid var(--yd-ink); border-radius: 18px; padding: 14px 20px; min-width: 150px; text-align: center; box-shadow: 4px 4px 0 var(--yd-ink); }
.yd-badge > i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 50%; background: var(--yd-yellow); border: 3px solid var(--yd-ink); font-size: 20px; color: var(--yd-ink); }
.yd-badge b { display: block; font-family: var(--yd-font-display); font-size: 22px; font-weight: 800; }
.yd-badge span { font-size: 13px; color: var(--yd-ink-soft); }
.yd a.yd-badge { color: var(--yd-ink); text-decoration: none; transition: translate .2s, box-shadow .2s; }
a.yd-badge:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--yd-ink); } /* translate, not transform: the entrance animation holds transform */

/* ---------- flavors ---------- */
.yd-flavors { background: var(--yd-cream); }
.yd-flavor-note { position: absolute; top: 12px; inset-inline-end: 10px; z-index: 1; background: var(--yd-yellow); color: var(--yd-ink); border: 2px solid var(--yd-ink); border-radius: 999px; padding: 1px 10px; font-size: 11px; font-weight: 800; transform: rotate(4deg); }
.yd-cta-line { font-family: var(--yd-font-display); font-weight: 800; font-size: 26px; text-align: center; margin-top: 40px; }
.yd-cta-line span { background: var(--yd-yellow); padding: 2px 14px; border-radius: 10px; }

/* ---------- kitchen ---------- */
.yd-kitchen { background: #fff; }
.yd-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 32px 0 10px; border: 0; }
.yd-tabs .nav-link { font-family: var(--yd-font-display); font-weight: 800; font-size: 18px; color: var(--yd-ink); background: var(--yd-cream); border: 3px solid var(--yd-ink) !important; border-radius: 999px !important; padding: 8px 24px; }
.yd-tabs .nav-link.active { background: var(--yd-orange); color: var(--yd-ink); box-shadow: 3px 3px 0 var(--yd-ink); }
.yd-meal-note { text-align: center; font-family: var(--yd-font-display); font-weight: 700; font-size: 20px; color: var(--yd-red); margin: 12px 0 28px; }
.yd-recipe { background: var(--yd-cream); border: 3px solid var(--yd-ink); border-radius: var(--yd-radius); padding: 24px; height: 100%; position: relative; }
.yd-recipe .yd-num { position: absolute; top: -18px; inset-inline-start: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--yd-yellow); border: 3px solid var(--yd-ink); display: grid; place-items: center; font-family: var(--yd-font-display); font-weight: 800; }
.yd-recipe h3 { font-size: 22px; margin: 8px 0 8px; }
.yd-recipe p { margin: 0; color: var(--yd-ink-soft); font-size: 15px; }
.yd-kitchen .tab-pane .row > div { margin-bottom: 32px; }

/* ---------- partners (serious) ---------- */
.yd-partners { background: var(--yd-dark); color: #f2e6d9; }
.yd-partners .yd-title, .yd-partners h3 { color: #fff; }
.yd-partners .yd-lead { color: #d9c9b8; }
.yd-partners .yd-eyebrow { background: transparent; color: var(--yd-yellow); border-color: var(--yd-yellow); }
.yd-why { list-style: none; padding: 0; margin: 24px 0 0; }
.yd-why li { position: relative; padding-inline-start: 38px; margin-bottom: 16px; }
.yd-why li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--yd-yellow); color: var(--yd-ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.yd-partners .col-lg-6 > .yd-panel { height: auto; }
.yd-panel { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: var(--yd-radius); padding: 26px; height: 100%; }
.yd-panel h3 { font-size: 22px; margin-bottom: 10px; }
.yd-panel p { color: #d9c9b8; margin: 0; }
.yd-cert { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.yd-cert:last-child { border-bottom: 0; }
a.yd-cert { color: inherit; text-decoration: none; }
a.yd-cert:hover b { text-decoration: underline; }
.yd-cert b { color: var(--yd-yellow); font-family: var(--yd-font-display); min-width: 110px; }
.yd-partner-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.yd-partners .yd-btn { box-shadow: 4px 4px 0 #000; border-color: #000; }

/* ---------- footer ---------- */
.yd-footer { background: var(--yd-red); color: #fff; padding: 48px 0 28px; }
.yd-footer a, .yd-footer a:visited, .yd-footer a:focus { color: #fff; text-decoration: none; } /* the template greys visited footer links (footer a:visited) */
.yd-footer a:hover { color: #fff; text-decoration: underline; } /* the template paints hovered footer links in the brand orange = this background */
.yd-footer .yd-logo { background: transparent; padding: 0; transform: none; }
.yd-footer .yd-logo img { height: 84px; }
.yd-footer-tag { margin: 6px 0 0; font-weight: 700; color: var(--yd-yellow); }
.yd-footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.yd-footer hr { border-color: rgba(255,255,255,.35); margin: 28px 0 18px; }
.yd-footer small { opacity: .85; display: block; padding-right: 80px; } /* keep clear of the WhatsApp button (always bottom-right) */

/* ---------- polish ---------- */
/* noodle-wave top edge in the section's own color, overlapping the section above */
.yd-wavy { position: relative; }
.yd-wavy::before { content: ""; position: absolute; left: 0; right: 0; top: -29px; height: 30px; background: inherit; pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30'%3E%3Cpath d='M0 30V16C15 2 45 2 60 16S105 30 120 16V30Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 30px;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30'%3E%3Cpath d='M0 30V16C15 2 45 2 60 16S105 30 120 16V30Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 30px; }

.yd-hero { background-image: radial-gradient(rgba(241,90,36,.13) 1.6px, transparent 1.8px); background-size: 22px 22px; }
.yd-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.yd-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; background: #fff; border: 2px solid var(--yd-ink); border-radius: 999px; padding: 3px 12px; }
.yd-trust i { color: var(--yd-red); font-size: 17px; }

.yd-btn-sm { font-size: 15px; padding: 7px 18px; border-width: 2px; box-shadow: 3px 3px 0 var(--yd-ink); }

/* framed photos */
.yd-photo { position: relative; padding: 0 12px 12px 0; }
.yd-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 28px; border: 4px solid var(--yd-ink); box-shadow: 12px 12px 0 var(--yd-yellow), 12px 12px 0 4px var(--yd-ink); transform: rotate(1.5deg); }
.yd-photo .yd-sticker { top: auto; bottom: -18px; inset-inline-end: auto; inset-inline-start: -14px; transform: rotate(8deg); }
.yd-sticker-brand { background: var(--yd-red); color: #fff; font-size: 17px; }
.yd-photo-round img { aspect-ratio: 1; border-radius: 50%; transform: none; box-shadow: 10px 10px 0 var(--yd-orange), 10px 10px 0 4px var(--yd-ink); }
.yd-photo-round .yd-sticker { bottom: auto; top: 0; inset-inline-start: auto; inset-inline-end: 0; }
.yd-vm { margin-top: 72px; }
.yd-vm .yd-quote { text-align: center; border: 0; padding: 0; max-width: 760px; margin: 0 auto 32px; }
.yd-vm .yd-quote::before, .yd-vm .yd-quote::after { content: "“"; color: var(--yd-yellow); font-size: 1.6em; line-height: 0; vertical-align: -.3em; }
.yd-vm .yd-quote::after { content: "”"; }

/* kitchen */
.yd-kitchen .yd-photo { max-width: 340px; margin: 0 auto; }
.yd-tabs .nav-link i { margin-inline-end: 6px; }
.yd-recipe { transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 0 0 var(--yd-ink); }
.yd-recipe:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--yd-ink); }

/* partners */
.yd-markets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.yd-markets span { color: #d9c9b8; font-weight: 600; margin-inline-end: 4px; }
.yd-markets b { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 4px 14px; color: #fff; font-weight: 600; }

/* ---------- noodle decorations (Views/Shared/_NoodleDecor.cshtml) ---------- */
/* --yd-dir points away from the page (toward the nearest screen edge), so the fork leaves the screen on either side and in RTL */
.yd-decor { position: absolute; z-index: 0; pointer-events: none; overflow: hidden; --yd-dir: 1; --yd-out: 270px; --yd-gutter: calc((100vw - 1140px) / 2 - 16px); }
.yd-decor svg { display: block; width: 100%; height: auto; overflow: visible; }
.yd-decor-end { inset-inline-end: 0; }
.yd-decor-start { inset-inline-start: 0; --yd-dir: -1; }
[dir="rtl"] .yd-decor-end { --yd-dir: -1; }
[dir="rtl"] .yd-decor-start { --yd-dir: 1; }
.yd-decor-fork { bottom: 34px; width: min(200px, var(--yd-gutter)); }
.yd-decor-chopsticks { top: 0; width: min(170px, var(--yd-gutter)); }
.yd-decor-slurp { top: 0; width: min(54px, var(--yd-gutter)); margin-inline: min(2vw, calc(var(--yd-gutter) - 54px)); }

.ydf-fork { transform-origin: 110px 290px; animation: ydf-fork 10s ease-in-out infinite; }
.ydf-noodles { animation: ydf-noodles 10s linear infinite; }
.ydf-strands { transform-origin: 110px 300px; animation: ydf-strands 10s ease-in-out infinite; }
.ydf-steam { animation: ydf-steam 3s ease-in-out infinite; }
.ydf-steam-2 { animation-delay: 1.5s; }
.ydc-all { animation: ydc-dip 8s ease-in-out infinite; }
.ydc-strands { transform-origin: 108px 240px; animation: ydc-sway 2.4s ease-in-out infinite alternate; }
.ydn-noodle { stroke-dasharray: 100; animation: ydn-slurp 7s ease-in-out infinite; }
.yd-sticker, .yd-squiggle { animation: yd-bob 3.6s ease-in-out infinite; }

/* fork: in from the screen edge -> dip and twirl in the bowl -> lift the noodles -> out of the screen */
@keyframes ydf-fork {
    0%, 4%, 88%, 100% { transform: translate(calc(var(--yd-dir) * var(--yd-out)), -140px) rotate(calc(var(--yd-dir) * 26deg)); }
    16%, 28% { transform: translate(0, 62px) rotate(0deg); }
    20% { transform: translate(0, 62px) rotate(-8deg); }
    24% { transform: translate(0, 62px) rotate(8deg); }
    48%, 58% { transform: translate(0, -105px) rotate(0deg); }
    66% { transform: translate(0, -125px) rotate(0deg); }
}
@keyframes ydf-noodles { 0%, 16% { opacity: 0; } 19%, 100% { opacity: 1; } }
/* strands stretch as the fork rises, so their ends stay in the bowl until they snap free */
@keyframes ydf-strands {
    0%, 28% { transform: scaleY(.165); }
    48% { transform: scaleY(1) skewX(0deg); }
    53% { transform: scaleY(1) skewX(5deg); }
    58% { transform: scaleY(1) skewX(-4deg); }
    66%, 100% { transform: scaleY(.6) skewX(0deg); }
}
@keyframes ydf-steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-16px); } }
@keyframes ydc-dip { 0%, 100% { transform: translateY(-420px); } 18%, 78% { transform: translateY(0); } 48% { transform: translateY(12px); } }
@keyframes ydc-sway { from { transform: skewX(-5deg); } to { transform: skewX(5deg); } }
@keyframes ydn-slurp { 0%, 100% { stroke-dashoffset: 100; } 35%, 62% { stroke-dashoffset: 0; } 84% { stroke-dashoffset: 100; } }
@keyframes yd-bob { 50% { translate: 0 -7px; } }

/* shortcut: the side decorations need free space beside the content, so they only show on screens 1300px+ wide; give them their own band if tablets/phones should show them */
@media (max-width: 1299px) { .yd-decor { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .yd-decor { display: none; }
    .yd-sticker, .yd-squiggle, .yd-pop, .yd-fly, .yd-ing, .yd-burst, .yd-stage .yd-hero-media, .yd-crunch-pack img, .yd-show-hint i, .yd-collage-char, .yd-world-chars img, .yd-peek, .yd-porthole-ring, .yd-porthole-pack { animation: none !important; }
    .yd-fly { transform: rotate(var(--r)); }
    .yd-hl path, .yd-draw path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- inner pages ---------- */
.yd-page-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.15; }
.yd-trust a { text-decoration: none; }
.yd-meal { margin-top: 56px; }
.yd-meal:first-child { margin-top: 0; }
.yd-meal-title { font-size: clamp(26px, 3vw, 36px); text-align: center; margin: 0; }
.yd-meal-title i { color: var(--yd-orange); margin-inline-end: 8px; }
.yd-meal .row > div { margin-bottom: 32px; }

.yd-nav .nav-link.active { background: var(--yd-yellow); }
.yd-why-light { margin-top: 18px; }
.yd-why-light li { color: var(--yd-ink-soft); font-size: 15px; margin-bottom: 10px; }
.yd-contact-card { display: block; text-decoration: none; transition: transform .2s ease; }
a.yd-contact-card:hover { transform: translateY(-4px) rotate(-1deg); }
.yd-contact-card p { font-weight: 700; color: var(--yd-ink); }
.yd-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.yd-form input, .yd-form textarea { width: 100%; border: 3px solid var(--yd-ink); border-radius: 14px; padding: 10px 14px; background: var(--yd-cream); font: inherit; }
.yd-form input:focus, .yd-form textarea:focus { outline: 3px solid var(--yd-orange); outline-offset: 1px; background: #fff; }
.yd-form .field-validation-error { color: #b42318; font-size: 14px; font-weight: 600; }
.yd-form .yd-hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; } /* hidden in place: an off-screen offset makes RTL pages scroll sideways */
.yd-alert { border: 3px solid var(--yd-ink); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-weight: 700; }
.yd-alert-ok { background: #dcf5df; }
.yd-alert-err { background: #fde2dc; }
.yd-map { height: 100%; min-height: 360px; border: 4px solid var(--yd-ink); border-radius: 28px; overflow: hidden; box-shadow: 10px 10px 0 var(--yd-red), 10px 10px 0 4px var(--yd-ink); }
.yd-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.yd-branch h3 { font-size: 22px; }
.yd-branch h3 i { color: var(--yd-red); }
.yd-branch-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-weight: 700; }
.yd-branch-links a { text-decoration: none; color: var(--yd-ink); border-bottom: 2px solid var(--yd-yellow); }

/* ---------- hero motion ---------- */
.yd-pop { display: inline-block; animation: yd-word .7s cubic-bezier(.2,1.5,.4,1) calc(.15s + var(--i) * .12s) both; }
.yd-hl { position: relative; display: inline-block; }
.yd-hl svg { position: absolute; left: 0; bottom: -.14em; width: 100%; height: .34em; overflow: visible; }
.yd-hl path, .yd-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: yd-drawline 1s ease-out 1s forwards; }
.yd-draw path { animation-duration: 1.6s; animation-delay: var(--dd, .2s); }

/* the stage: video in the middle, packs bursting out around it, all following the mouse (wwwroot/js/yoodles.js) */
.yd-stage { position: relative; padding: 13% 14% 15%; --flip: 1; }
[dir="rtl"] .yd-stage { --flip: -1; }
.yd-depth { translate: calc(var(--px, 0) * var(--d, 1) * 1px) calc(var(--py, 0) * var(--d, 1) * 1px); transition: translate .3s ease-out; }
.yd-stage .yd-hero-media { position: relative; z-index: 1; margin: 0; animation: yd-pop-in .8s cubic-bezier(.2,1.4,.4,1) .1s both; }
.yd-stage .yd-sticker { top: 34%; inset-inline-start: -46px; inset-inline-end: auto; z-index: 4; }
.yd-burst { position: absolute; inset: -6%; z-index: 0; border-radius: 50%; pointer-events: none;
    background: repeating-conic-gradient(rgba(255,225,31,.65) 0 9deg, rgba(255,225,31,0) 9deg 20deg);
    -webkit-mask: radial-gradient(closest-side, #000 50%, transparent); mask: radial-gradient(closest-side, #000 50%, transparent);
    animation: yd-spin 40s linear infinite; }
.yd-fly { position: absolute; z-index: 2; width: 30%; height: auto; pointer-events: none; filter: drop-shadow(5px 8px 0 rgba(42,26,18,.28));
    animation: yd-fly-in 1s cubic-bezier(.18,1.35,.4,1) var(--delay) both, yd-float var(--fdur, 3.4s) ease-in-out calc(var(--delay) + 1s) infinite alternate; }
.yd-fly-1 { top: 0; inset-inline-start: -4%; width: 26%; --fdur: 3.1s; }
.yd-fly-2 { top: 40%; inset-inline-end: -6%; width: 24%; --fdur: 3.7s; }
.yd-fly-3 { bottom: -2%; inset-inline-start: 2%; width: 25%; --fdur: 2.9s; }
.yd-fly-4 { bottom: -4%; inset-inline-end: 14%; width: 23%; --fdur: 3.5s; }
.yd-fly-5 { top: -2%; inset-inline-end: 4%; width: 21%; z-index: 1; --fdur: 4s; }
.yd-ing { position: absolute; z-index: 3; width: 9%; height: auto; pointer-events: none; animation: yd-pop-in .6s cubic-bezier(.2,1.5,.4,1) 1.2s both, yd-drift 4.5s ease-in-out 1.8s infinite alternate; }
.yd-ing-1 { top: 2%; inset-inline-start: 40%; }
.yd-ing-2 { bottom: 22%; inset-inline-end: -5%; animation-duration: .6s, 5.2s; }
.yd-ing-3 { top: 24%; inset-inline-end: 1%; width: 7%; animation-duration: .6s, 3.8s; }
.yd-ing-4 { bottom: 1%; inset-inline-start: 36%; animation-duration: .6s, 4.9s; }

/* the noodle strand at the bottom of the hero: a 2600px drawing centered and cut to the screen, so the words keep their size */
.yd-strand { position: absolute; left: 0; right: 0; bottom: 62px; height: 120px; z-index: 2; overflow: hidden; pointer-events: none; }
.yd-strand svg { position: absolute; top: 0; left: 50%; margin-left: -1300px; }
.yd-strand-edge { stroke: var(--yd-ink); stroke-width: 52; stroke-linecap: round; }
.yd-strand-body { stroke: #ffd45c; stroke-width: 44; stroke-linecap: round; } /* the noodle color of _NoodleDecor */
.yd-strand text { direction: ltr; font-family: var(--yd-font-display); font-weight: 800; font-size: 22px; fill: var(--yd-ink); }
.yd-strand-star { fill: var(--yd-red); }

/* noodle progress line under the header */
.yd-header::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; height: 5px; width: calc(var(--yd-scroll, 0) * 100%); background: repeating-linear-gradient(90deg, var(--yd-yellow) 0 14px, var(--yd-red) 14px 28px); border-start-end-radius: 4px; border-end-end-radius: 4px; }

/* scroll entrances: shorter and bouncier than the theme's defaults (animate.css, loaded earlier) */
.yd .animated { animation-duration: .8s; animation-timing-function: cubic-bezier(.22,1.25,.36,1); }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 48px, 0) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.6) rotate(-6deg); } to { opacity: 1; transform: none; } }

@keyframes yd-word { from { opacity: 0; transform: translateY(.6em) rotate(-8deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes yd-drawline { to { stroke-dashoffset: 0; } }
@keyframes yd-pop-in { from { opacity: 0; transform: scale(.5) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes yd-spin { to { transform: rotate(1turn); } }
@keyframes yd-fly-in { from { opacity: 0; transform: translate(calc(var(--fx) * var(--flip)), var(--fy)) rotate(calc(var(--r) * -4)) scale(.4); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes yd-float { from { transform: rotate(var(--r)) translateY(0); } to { transform: rotate(calc(var(--r) * .5)) translateY(-16px); } }
@keyframes yd-drift { from { transform: translateY(0) rotate(-12deg); } to { transform: translateY(-16px) rotate(16deg); } }
@keyframes yd-wiggle { 25% { transform: rotate(-4deg) scale(1.05); } 50% { transform: rotate(3deg) scale(1.05); } 75% { transform: rotate(-2deg) scale(1.05); } }

@media (max-width: 991px) { .yd-fly-5, .yd-ing-3 { display: none; } .yd-stage { margin-top: 8px; } }
@media (max-width: 575px) { .yd-strand text { font-size: 18px; } .yd-hero:has(.yd-strand) { padding-bottom: 200px !important; } .yd-strand { bottom: 40px; } .yd-stage .yd-sticker { inset-inline-start: -14px; } }

/* ---------- product show (Home #flavors): pinned while you scroll, one pack per slice ---------- */
.yd-show { position: relative; height: calc(var(--n) * 65vh + 100vh); background-color: var(--yd-cream); --bg: #f89d1e; --t: .5; }
.yd-show.is-ready { background-color: var(--bg); transition: background-color .8s ease; }
.yd-show-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-top: 88px; }
.yd-show.is-ready .yd-show-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 56%, rgba(255,255,255,.5), rgba(255,255,255,0) 58%); pointer-events: none; }
.yd-show-head { position: relative; z-index: 3; text-align: center; }
.yd-show-head .yd-title { margin-bottom: 0; transition: color .6s; }
.yd-show.is-ready:not(.is-light) .yd-show-head .yd-title { color: #fff; }
.yd-show-stage { position: absolute; inset: 0; }
.yd-show.is-ready .yd-show-item { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.yd-show-pack { position: absolute; left: 50%; top: 54%; width: min(42vw, 500px); height: auto; translate: -50% -50%; z-index: 2;
    opacity: 0; transform: perspective(1200px) rotateY(80deg) scale(.7);
    transition: transform .8s cubic-bezier(.2,.9,.2,1), opacity .5s; filter: drop-shadow(0 30px 40px rgba(0,0,0,.28)); }
.yd-show-item.is-past .yd-show-pack { transform: perspective(1200px) rotateY(-80deg) scale(.7); }
.yd-show-item.is-active .yd-show-pack { opacity: 1; transform: perspective(1200px) rotateY(calc((var(--t) - .5) * -40deg)) rotate(calc((var(--t) - .5) * 6deg)) scale(1); }
.yd-show-char { position: absolute; inset-inline-end: max(5%, calc((100vw - 1140px) / 2)); bottom: 9%; width: min(19vw, 240px); height: auto; z-index: 3;
    opacity: 0; transform: translateY(80px) scale(.4) rotate(-14deg); transition: transform .7s cubic-bezier(.2,1.6,.4,1) .15s, opacity .3s .15s; }
.yd-show-item.is-active .yd-show-char { opacity: 1; transform: none; animation: yd-char-idle 2.4s ease-in-out .9s infinite; }
.yd-show-word { position: absolute; left: 50%; top: 52%; translate: -50% -50%; z-index: 1; white-space: nowrap; pointer-events: none;
    font-family: var(--yd-font-display); font-weight: 800; font-size: clamp(80px, 15vw, 250px); line-height: .9;
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.6); opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .7s cubic-bezier(.2,.9,.2,1); }
.yd-show.is-light .yd-show-word { -webkit-text-stroke-color: rgba(42,26,18,.22); }
.yd-show-item.is-active .yd-show-word { opacity: 1; transform: none; }
.yd-show-info { position: absolute; inset-inline-start: max(16px, calc((100vw - 1140px) / 2)); bottom: 11%; z-index: 3; color: #fff;
    opacity: 0; transform: translateY(30px); transition: opacity .5s .1s, transform .6s .1s; }
.yd-show.is-light .yd-show-info { color: var(--yd-ink); }
.yd-show-item.is-active .yd-show-info { opacity: 1; transform: none; }
.yd-show-info small { display: block; font-weight: 700; opacity: .85; }
.yd-show-info h3 { color: inherit; font-size: clamp(30px, 4vw, 56px); line-height: 1.1; margin: 0; }
.yd-show-count { display: block; font-family: var(--yd-font-display); font-weight: 800; font-size: 22px; margin-bottom: 4px; }
.yd-show-count small { display: inline; opacity: .6; }
.yd-show-info .yd-flavor-note { position: static; display: inline-block; margin-top: 10px; font-size: 13px; }
.yd-show-dots { position: absolute; inset-inline-end: 22px; top: 50%; translate: 0 -50%; z-index: 4; display: flex; flex-direction: column; gap: 10px; }
.yd-show-dots button { width: 14px; height: 14px; padding: 0; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(42,26,18,.35); transition: transform .3s; cursor: pointer; }
.yd-show-dots button.is-active { transform: scale(1.6); box-shadow: 0 0 0 2px var(--yd-ink); }
.yd-show-hint { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; text-align: center; font-weight: 700; font-size: 14px; color: #fff; opacity: .85; margin: 0; }
.yd-show.is-light .yd-show-hint { color: var(--yd-ink); }
.yd-show-hint i { animation: yd-bob 1.6s ease-in-out infinite; }
/* no JS / reduced motion: a plain grid of packs */
.yd-show:not(.is-ready) { height: auto; padding: 96px 0; }
.yd-show:not(.is-ready) .yd-show-pin { position: static; height: auto; overflow: visible; padding: 0; }
.yd-show:not(.is-ready) .yd-show-stage { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; max-width: 1140px; margin: 32px auto 0; padding: 0 16px; }
.yd-show:not(.is-ready) .yd-show-item { position: relative; margin: 0; background: #fff; border: 3px solid var(--yd-ink); border-radius: var(--yd-radius); padding: 14px; text-align: center; }
.yd-show:not(.is-ready) .yd-show-pack, .yd-show:not(.is-ready) .yd-show-info { position: static; translate: none; transform: none; opacity: 1; width: 100%; color: var(--yd-ink); }
.yd-show:not(.is-ready) .yd-show-info h3 { font-size: 24px; } /* the 56px of the pinned show doesn't fit a grid card */
.yd-show:not(.is-ready) .yd-show-word, .yd-show:not(.is-ready) .yd-show-char, .yd-show:not(.is-ready) .yd-show-dots, .yd-show:not(.is-ready) .yd-show-hint, .yd-show:not(.is-ready) .yd-show-count { display: none; }
@keyframes yd-char-idle { 0%, 100% { translate: 0 0; rotate: 0deg; scale: 1 1; } 30% { translate: 0 -16px; rotate: 5deg; scale: .97 1.04; } 60% { translate: 0 0; rotate: -3deg; scale: 1.04 .96; } }

/* ---------- stop-motion: the scroll picks the frame ---------- */
.yd-stop { position: relative; height: 260vh; background: #f7bc22; } /* the frames' own yellow */
.yd-stop-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 70px; }
.yd-stop .yd-eyebrow { border-color: var(--yd-ink); }
.yd-stop-frames { position: relative; height: min(76vh, 660px); aspect-ratio: 785 / 1100; margin-inline: auto; border-radius: 32px; overflow: hidden; border: 4px solid var(--yd-ink); box-shadow: 12px 12px 0 var(--yd-ink); background: #f7bc22; }
.yd-stop-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.yd-stop-frames img.is-on { opacity: 1; }
.yd-stop-steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; }
.yd-stop-steps li { counter-increment: step; position: relative; padding-inline-start: 52px; margin-bottom: 14px; font-family: var(--yd-font-display); font-weight: 700; font-size: 22px; opacity: .45; transition: opacity .3s, transform .3s; }
.yd-stop-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--yd-ink); font-size: 18px; }
.yd-stop-steps li.is-on { opacity: 1; transform: translateX(calc(var(--yd-dir-x, 1) * 8px)); }
[dir="rtl"] .yd-stop-steps li.is-on { --yd-dir-x: -1; }
.yd-stop-steps li.is-on::before { background: var(--yd-red); color: #fff; }
.yd-stop-steps li.is-done { opacity: .8; }
.yd-stop-steps li.is-done::before { content: "✓"; background: var(--yd-green); color: #fff; }
.yd-stop:not(.is-ready) { height: auto; }
.yd-stop:not(.is-ready) .yd-stop-pin { position: static; height: auto; padding: 96px 0; }
.yd-stop:not(.is-ready) .yd-stop-frames img:last-child { opacity: 1; }
.yd-stop:not(.is-ready) .yd-stop-steps li { opacity: 1; }

/* ---------- Yoodles Crunch ---------- */
.yd-crunch { background: radial-gradient(circle at 50% 25%, #d8442a, #7a1d12 75%); color: #fff; overflow-x: clip; } /* the spinning ring's box grows when rotated */
.yd-crunch .yd-title, .yd-crunch .yd-lead { color: #fff; }
.yd-crunch .yd-eyebrow { background: var(--yd-yellow); border-color: var(--yd-ink); }
.yd-crunch-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.4vw, 34px); margin-top: 56px; }
.yd-porthole { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin-inline: auto; }
.yd-porthole-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; direction: ltr; animation: yd-spin 22s linear infinite; }
.yd-porthole-ring text { font-family: var(--yd-font-display); font-weight: 800; font-size: 15px; fill: var(--yd-yellow); }
.yd-porthole-frames { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; border: 6px solid var(--yd-yellow); background: #1d2742; box-shadow: 0 0 0 10px rgba(0,0,0,.16), 0 30px 60px rgba(0,0,0,.4); }
.yd-porthole-pack { position: absolute; width: 15%; height: auto; filter: drop-shadow(0 14px 16px rgba(0,0,0,.4)); animation: yd-bob 3s ease-in-out infinite; }
.yd-porthole-pack-1 { top: 4%; inset-inline-end: 0; rotate: 16deg; }
.yd-porthole-pack-2 { bottom: 2%; inset-inline-start: 2%; rotate: -14deg; animation-delay: -1.5s; }
.yd-crunch-pack { margin: 0; text-align: center; }
.yd-crunch-pack img { height: clamp(170px, 20vw, 280px); width: auto; filter: drop-shadow(0 20px 26px rgba(0,0,0,.4)); rotate: -4deg; transition: transform .4s cubic-bezier(.2,1.5,.4,1); animation: yd-bob 3.4s ease-in-out infinite; }
.yd-crunch-pack:nth-child(even) img { rotate: 4deg; animation-delay: -1.7s; }
.yd-crunch-pack:hover img { transform: translateY(-16px) scale(1.05); }
.yd-crunch-pack figcaption { margin-top: 12px; font-family: var(--yd-font-display); font-weight: 800; font-size: 18px; }

/* ---------- export map ---------- */
.yd-mapsec { background: var(--yd-dark); color: #f2e6d9; --xm-hit: var(--yd-red); --xm-pin: var(--yd-red); --xm-home: var(--yd-yellow); --xm-arc: var(--yd-yellow); --xm-chip-hover-text: var(--yd-ink); } /* colors for the shared export map */
.yd-mapsec .yd-title { color: #fff; }
.yd-mapsec .yd-eyebrow { background: transparent; color: var(--yd-yellow); border-color: var(--yd-yellow); }
.yd-map-stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 72px); margin-top: 18px; }
.yd-map-stats div { text-align: center; }
.yd-map-stats i { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid var(--yd-yellow); color: var(--yd-yellow); font-size: 20px; }
.yd-map-stats b { display: block; font-family: var(--yd-font-display); font-size: clamp(36px, 5vw, 56px); line-height: 1; color: var(--yd-yellow); }
.yd-map-stats span { font-weight: 600; color: #d9c9b8; }

/* ---------- About: lifestyle photo collage + numbers ---------- */
.yd-about-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.yd-about-stats div { position: relative; flex: 1 1 120px; background: var(--yd-cream); border: 3px solid var(--yd-ink); border-radius: 20px; padding: 12px 16px; box-shadow: 4px 4px 0 var(--yd-ink); }
.yd-about-stats b { display: block; font-family: var(--yd-font-display); font-size: 34px; line-height: 1.1; color: var(--yd-red); }
.yd-about-stats span { font-weight: 700; font-size: 14px; }
.yd-about-stats i { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--yd-yellow); border: 2px solid var(--yd-ink); font-size: 16px; color: var(--yd-ink); }
.yd-collage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; }
.yd-collage-1, .yd-collage-2, .yd-collage-3 { position: absolute; object-fit: cover; overflow: hidden; border: 4px solid var(--yd-ink); border-radius: 24px; background: var(--yd-cream); transition: transform .9s cubic-bezier(.2,1.3,.4,1), opacity .6s; }
.yd-collage-1 { top: 0; inset-inline-start: 0; width: 66%; aspect-ratio: 4 / 5; rotate: -3deg; box-shadow: 10px 10px 0 var(--yd-yellow), 10px 10px 0 4px var(--yd-ink); z-index: 1; }
.yd-collage-2 { bottom: 0; inset-inline-end: 0; width: 56%; aspect-ratio: 1 / 1; rotate: 4deg; box-shadow: 10px 10px 0 var(--yd-red), 10px 10px 0 4px var(--yd-ink); z-index: 2; }
.yd-collage-3 { top: 4%; inset-inline-end: 2%; width: 36%; aspect-ratio: 3 / 4; rotate: 7deg; box-shadow: 8px 8px 0 var(--yd-orange), 8px 8px 0 4px var(--yd-ink); }
.yd-collage-char { position: absolute; bottom: -4%; inset-inline-start: 4%; width: 30%; z-index: 3; animation: yd-char-idle 2.6s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(0,0,0,.25)); }
.yd-collage .yd-sticker { top: 46%; inset-inline-start: 40%; bottom: auto; inset-inline-end: auto; z-index: 4; transform: rotate(-8deg); }
.yd-collage.is-armed > :is(.yd-collage-1, .yd-collage-2, .yd-collage-3) { opacity: 0; transform: translateY(60px) scale(.85); }
.yd-collage.is-armed.is-in > :is(.yd-collage-1, .yd-collage-2, .yd-collage-3) { opacity: 1; transform: none; }
.yd-collage.is-in .yd-collage-2 { transition-delay: .15s; }
.yd-collage.is-in .yd-collage-3 { transition-delay: .3s; }
.yd-collage > :is(.yd-collage-1, .yd-collage-2, .yd-collage-3):hover { transform: scale(1.04); z-index: 5; }
.yd-flipbook img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.yd-flipbook img.is-on { opacity: 1; }

/* ---------- reels (Yoodles World page + home teaser) ---------- */
.yd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.yd-chips button { font-family: var(--yd-font-display); font-weight: 700; font-size: 16px; color: var(--yd-ink); background: #fff; border: 3px solid var(--yd-ink); border-radius: 999px; padding: 6px 18px; box-shadow: 3px 3px 0 var(--yd-ink); cursor: pointer; transition: transform .2s, background .2s; }
.yd-chips button:hover { transform: translateY(-2px); }
.yd-chips button[aria-pressed="true"] { background: var(--yd-red); color: #fff; }
.yd-reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 22px; }
.yd-reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 4px solid var(--yd-ink); box-shadow: 8px 8px 0 var(--yd-ink); background: var(--yd-ink); color: #fff !important; rotate: -1.2deg; transition: transform .35s cubic-bezier(.2,1.4,.4,1), rotate .35s; }
.yd-reel:nth-child(even) { rotate: 1.2deg; }
.yd-reel:hover, .yd-reel:focus-visible { rotate: 0deg; transform: translateY(-8px); }
.yd-reel video, .yd-reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yd-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(20,10,5,.78)); pointer-events: none; }
.yd-reel-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--yd-yellow); color: var(--yd-ink); border: 3px solid var(--yd-ink); font-size: 20px; z-index: 1; transition: opacity .3s, scale .3s; }
.yd-reel-play i { margin-inline-start: 4px; }
[dir="rtl"] .yd-reel-play i { margin: 0 4px 0 0; }
.yd-reel:hover .yd-reel-play { opacity: 0; scale: .6; }
.yd-reel-tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; background: #fff; color: var(--yd-ink); border: 2px solid var(--yd-ink); border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 700; }
.yd-reel-title { position: absolute; bottom: 14px; inset-inline: 14px; z-index: 1; font-family: var(--yd-font-display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.yd-reels-teaser { background: var(--yd-dark); color: #f2e6d9; overflow: hidden; }
.yd-reels-teaser .yd-title { color: #fff; }
.yd-reels-teaser .yd-eyebrow { background: var(--yd-yellow); border-color: var(--yd-ink); }
.yd-reels-teaser .yd-reel-grid { grid-template-columns: repeat(4, 1fr); }
.yd-reels-teaser .yd-reel { box-shadow: 8px 8px 0 var(--yd-red); border-color: #fff; }
.yd-reels-teaser .yd-reel:nth-child(2), .yd-reels-teaser .yd-reel:nth-child(4) { margin-top: 40px; }

/* ---------- Yoodles World page ---------- */
.yd-world-hero { text-align: center; }
.yd-world-hero h1 { font-size: clamp(40px, 6vw, 76px); }
.yd-world-hero p { max-width: 640px; margin-inline: auto; }
.yd-world-chars { position: absolute; inset: 0; pointer-events: none; }
.yd-world-chars img { position: absolute; width: clamp(80px, 11vw, 150px); animation: yd-char-idle 2.8s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0,0,0,.2)); }
.yd-world-chars img:nth-child(1) { top: 16%; inset-inline-start: 4%; rotate: -8deg; }
.yd-world-chars img:nth-child(2) { bottom: 8%; inset-inline-start: 12%; animation-delay: -.7s; }
.yd-world-chars img:nth-child(3) { top: 14%; inset-inline-end: 5%; rotate: 8deg; animation-delay: -1.4s; }
.yd-world-chars img:nth-child(4) { bottom: 6%; inset-inline-end: 13%; animation-delay: -2.1s; }
.yd-photo-wall { columns: 3 260px; column-gap: 18px; }
.yd-photo-wall a { display: block; margin-bottom: 18px; break-inside: avoid; border-radius: 22px; overflow: hidden; border: 4px solid var(--yd-ink); box-shadow: 6px 6px 0 var(--yd-ink); }
.yd-photo-wall img { display: block; width: 100%; height: auto; transition: transform .6s; }
.yd-photo-wall a:hover img { transform: scale(1.06); }

/* ---------- lightbox ---------- */
.yd-lightbox { border: 0; padding: 56px 72px; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.yd-lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 18px; }
.yd-lightbox::backdrop { background: rgba(20,12,8,.9); backdrop-filter: blur(6px); }
.yd-lightbox figure { margin: 0; text-align: center; }
.yd-lightbox-media video, .yd-lightbox-media img { display: block; max-width: min(86vw, 1100px); max-height: calc(100vh - 140px); border-radius: 22px; background: #000; margin-inline: auto; }
.yd-lightbox-media iframe { display: block; width: min(86vw, 1100px); height: calc(100vh - 140px); border: 0; border-radius: 22px; background: #fff; }
.yd-lightbox-cap { color: #fff; font-family: var(--yd-font-display); font-weight: 700; font-size: 18px; margin-top: 12px; }
.yd-lightbox-nav, .yd-lightbox-close { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--yd-ink); background: var(--yd-yellow); color: var(--yd-ink); font-size: 20px; display: grid; place-items: center; flex: none; cursor: pointer; }
.yd-lightbox-close { position: fixed; top: 18px; inset-inline-end: 18px; background: #fff; }
[dir="rtl"] .yd-lightbox-nav i, [dir="rtl"] .yd-btn .fa-arrow-right { transform: scaleX(-1); }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
    /* finger-sized tap targets */
    .yd-footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
    .yd-footer-links { gap: 2px 20px; }
    .yd-trust a { display: inline-flex; align-items: center; min-height: 36px; }
    .yd-show-dots button { position: relative; }
    .yd-show-dots button::after { content: ""; position: absolute; inset: -8px -4px; }
    /* About numbers: three in one row */
    .yd-about-stats { gap: 8px; flex-wrap: nowrap; }
    .yd-about-stats div { flex: 1 1 0; min-width: 0; padding: 10px 6px; text-align: center; box-shadow: 3px 3px 0 var(--yd-ink); }
    .yd-about-stats i { position: static; margin: 0 auto 4px; width: 28px; height: 28px; font-size: 14px; }
    .yd-about-stats b { font-size: 26px; }
    .yd-about-stats span { display: block; font-size: 12px; line-height: 1.3; }
    /* Crunch packs: all five in one row, captions wrap under them */
    .yd-crunch-row { flex-wrap: nowrap; gap: 6px; margin-top: 36px; }
    .yd-crunch-pack { flex: 1 1 0; min-width: 0; }
    .yd-crunch-pack img { width: 100%; max-width: 62px; height: auto; }
    .yd-crunch-pack figcaption { font-size: 12px; line-height: 1.3; }
    .yd-reels-teaser .yd-reel-grid { grid-template-columns: repeat(2, 1fr); }
    .yd-reels-teaser .yd-reel:nth-child(4) { margin-top: 0; }
    .yd-reel-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
    .yd-reel { border-radius: 18px; box-shadow: 5px 5px 0 var(--yd-ink); }
    .yd-reel-title { font-size: 15px; }
    .yd-reel-play { width: 48px; height: 48px; font-size: 16px; }
    .yd-world-chars img:nth-child(n+3) { display: none; }
    .yd-world-chars img { width: 54px; top: 6px !important; bottom: auto !important; }
    .yd-world-chars img:nth-child(1) { inset-inline-start: 4%; }
    .yd-world-chars img:nth-child(2) { inset-inline-start: auto; inset-inline-end: 4%; }
    .yd-photo-wall { columns: 2; column-gap: 10px; }
    .yd-photo-wall a { margin-bottom: 10px; border-width: 3px; border-radius: 14px; box-shadow: 4px 4px 0 var(--yd-ink); }
    .yd-lightbox { padding: 64px 8px 80px; }
    .yd-lightbox-nav { position: fixed; bottom: 16px; }
    .yd-lightbox-nav[data-prev] { inset-inline-start: calc(50% - 66px); }
    .yd-lightbox-nav[data-next] { inset-inline-end: calc(50% - 66px); }
    .yd-lightbox-media video, .yd-lightbox-media img { max-width: 94vw; max-height: calc(100vh - 170px); }
    .yd-lightbox-media iframe { width: 94vw; height: calc(100vh - 170px); }
    .yd-show-pack { width: 76vw; top: 50%; }
    .yd-show-char { width: 28vw; bottom: 11%; inset-inline-end: 6%; }
    .yd-show-info { bottom: 9%; }
    .yd-show-word { font-size: 22vw; top: 46%; }
    .yd-show-dots { inset-inline-end: 8px; gap: 9px; }
    .yd-show-dots button { width: 11px; height: 11px; }
    .yd-show-hint { display: none; }
    .yd-stop-pin { align-items: flex-start; padding-top: 84px; }
    .yd-stop .yd-title { font-size: 28px; }
    .yd-stop-steps { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
    .yd-stop-steps li { font-size: 16px; margin: 0; padding-inline-start: 36px; }
    .yd-stop-steps li::before { width: 28px; height: 28px; font-size: 14px; }
    .yd-stop-frames { height: 48vh; border-radius: 22px; box-shadow: 8px 8px 0 var(--yd-ink); }
}
@media (max-width: 991px) {
    .yd section { padding: 72px 0; }
    .yd-nav { padding: 12px 0; }
}
@media (max-width: 575px) {
    .yd-sticker { width: 92px; height: 92px; font-size: 16px; top: -20px; inset-inline-end: -6px; }
    .yd-sticker b { font-size: 30px; }
    .yd-btn { font-size: 16px; padding: 10px 20px; }
}
@media (max-width: 991px) { .yd-photo { margin-top: 12px; } .yd-vm { margin-top: 56px; } }
@media (prefers-reduced-motion: reduce) {
    .yd-values .yd-card, .yd-btn, .yd-recipe { transition: none; }
    .yd-values .yd-card:hover, .yd-recipe:hover { transform: none; }
}

/* ---------- preloader (_YoodlesLayout): chopsticks lift noodles out of a steaming bowl; when the page has loaded, the screen is
   slurped into the bowl. While it shows, the page's entrance animations wait (.yd-loading, set by the layout's inline script) ---------- */
.yd-loader { position: fixed; inset: 0; z-index: 100005; /* above the assistant */ display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--yd-red);
    clip-path: circle(150% at 50% calc(50% - 16px)); transition: clip-path .8s cubic-bezier(.7,0,.3,1), visibility 0s .8s;
    animation: yd-loader-out 0s 8s forwards; /* without JS it still goes after 8s (the inline script's cap) */ }
.yd-loader.is-done { clip-path: circle(0 at 50% calc(50% - 16px)); visibility: hidden; } /* the circle closes on the bowl */
.yd-loader svg { width: 150px; overflow: visible; }
.yd-loader path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.yd-loader .yd-loader-bowl { fill: #fff; }
.yd-loader-foot { stroke: #fff; stroke-width: 8; }
.yd-loader-band { stroke: var(--yd-orange); stroke-width: 6; }
.yd-loader-pile, .yd-loader-noodles { stroke: var(--yd-yellow); stroke-width: 5; }
.yd-loader-sticks { stroke: var(--yd-ink); stroke-width: 5; }
.yd-loader-lift { animation: yd-lift 1.1s ease-in-out infinite; }
.yd-loader-pile { animation: yd-pile 1.1s ease-in-out infinite; }
.yd-loader-steam path { stroke: #fff; stroke-width: 4; opacity: 0; animation: yd-steam 1.8s ease-in-out infinite; }
.yd-loader-steam path:nth-child(2) { animation-delay: .6s; }
.yd-loader-steam path:nth-child(3) { animation-delay: 1.2s; }
.yd .yd-loader img { width: 170px; height: auto; animation: yd-loader-pop .6s cubic-bezier(.3,1.6,.5,1) .15s both; }
.yd-loading main *, .yd-loading main *::before, .yd-loading main *::after { animation-play-state: paused !important; }
@keyframes yd-lift { 50% { transform: translateY(-14px); } }
@keyframes yd-pile { 50% { transform: translateX(-6px); } }
@keyframes yd-steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes yd-loader-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes yd-loader-out { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .yd-loader { display: none; } }
