/* ==========================================================================
   Fresh Vend Qld — brand-guided stylesheet
   Colours: #9e1f63 (primary purple) · #fbb040 (accent gold)
   Fonts:   Arial Black (headers) · Rubik (body)
   ========================================================================== */

:root {
    --purple: #9f1f63; /* 2026-09-22: matched to logo bg exactly. Was #9e1f63. */
    --purple-dark: #9f1f63; /* 2026-09-22: flattened to match logo bg. Rollback: restore #7a1849 */
    --purple-tint: #f9f0f5;
    --gold: #fbb040;
    --gold-dark: #e89a20;
    --ink: #222;
    --ink-soft: #555;
    --line: #e8e0e5;
    --bg: #ffffff;
    --shadow: 0 6px 24px rgba(159, 31, 99, 0.10);
    --shadow-lg: 0 12px 40px rgba(159, 31, 99, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--purple);
}

/* Brand name emphasis — FRESHVEND word rendered in gold everywhere in copy.
   On light backgrounds we use the darker gold (#e89a20) for legibility;
   on dark/purple sections we use the bright brand gold. Text-shadow adds
   a subtle purple lift so the word "pops" without contrast issues. */
.brand {
    color: var(--gold-dark);
    font-weight: inherit;
}
.hero .brand,
.section--purple .brand,
.footer .brand {
    color: var(--gold);
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ==== NAV BADGES (in-header trust strip) ==== */
.nav__badges {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    padding-right: 4px;
}
.nav__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--purple);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.nav__badge-check {
    color: var(--gold);
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}
/* On narrower desktops, hide the third badge to keep everything on one row */
@media (max-width: 1100px) {
    .nav__badge:nth-child(3) { display: none; }
    .nav__badges { gap: 14px; }
}
@media (max-width: 900px) {
    .nav__badges { display: none; }
}

/* ==== NAV ==== */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo { width: 72px; height: 72px; border-radius: 50%; }
.nav__brand-text {
    font-family: 'Arial Black', sans-serif;
    color: var(--purple);
    font-size: 18px; letter-spacing: 0.03em;
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
    color: var(--ink); font-weight: 500; font-size: 15px;
    text-decoration: none; padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.nav__links a:hover { color: var(--purple); border-bottom-color: var(--gold); text-decoration: none; }
.nav__cta {
    background: var(--gold); color: #fff !important;
    padding: 10px 18px; border-radius: 999px;
    font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover { background: var(--gold-dark); text-decoration: none; transform: translateY(-1px); }
.nav__burger {
    display: none; background: none; border: 0;
    flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
}
.nav__burger span { display: block; width: 26px; height: 3px; background: var(--purple); border-radius: 2px; }

/* ==== HERO ==== */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: #fff;
    padding: 60px 24px 80px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 100%, rgba(251,176,64,0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(251,176,64,0.10) 0%, transparent 40%);
    pointer-events: none;
}
.hero__inner {
    max-width: var(--wrap); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr;
    align-items: center; gap: 48px;
    position: relative; z-index: 1;
}
.hero__eyebrow {
    color: var(--gold); font-weight: 600; font-size: 14px;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.hero__title {
    color: #fff; font-size: clamp(32px, 5vw, 54px); line-height: 1.05;
    margin-bottom: 20px;
}
.hero__title .accent { color: var(--gold); display: inline-block; }
.hero__sub {
    font-size: 18px; opacity: 0.92; max-width: 560px;
    margin-bottom: 28px; line-height: 1.55;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__badges {
    list-style: none; display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 14px; opacity: 0.95;
}
.hero__badges li { color: #fff; }
.hero__logo-wrap { display: flex; justify-content: center; align-items: center; }
.hero__logo {
    width: 100%; max-width: 340px;
    /* filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); -- 2026-09-22 removed so logo blends with hero bg. Rollback: uncomment. */
    /* animation: floaty 4s ease-in-out infinite; -- 2026-09-22: removed bounce per request. Rollback: uncomment. */
}
@keyframes floaty {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==== BUTTONS ==== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--primary { background: var(--gold); color: #fff !important; box-shadow: 0 4px 16px rgba(251,176,64,0.4); }
.btn--primary:hover { background: var(--gold-dark); box-shadow: 0 6px 24px rgba(251,176,64,0.5); }
.btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--wide { width: 100%; padding: 16px 28px; font-size: 16px; }

/* ==== SECTIONS ==== */
.section { padding: 80px 24px; }
.section--tinted { background: var(--purple-tint); }
.section--purple {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: #fff;
}
.section__title {
    font-size: clamp(28px, 4vw, 42px);
    text-align: center;
    margin-bottom: 12px;
}
.section__title--left { text-align: left; }
.section__title--light { color: #fff; }
.section__sub {
    text-align: center; color: var(--ink-soft);
    font-size: 17px; margin-bottom: 48px;
    max-width: 640px; margin-left: auto; margin-right: auto;
}
.section__sub--light { color: rgba(255,255,255,0.85); }

/* ==== GRID + CARDS ==== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}
.card__icon {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 16px;
    display: inline-block;
}
.card h3 {
    font-size: 19px; color: var(--purple);
    margin-bottom: 10px;
}
.card p { color: var(--ink-soft); font-size: 15px; }

/* ==== MACHINE LIST (2×2 grid) ==== */
.machine-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.mcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 210px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.mcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}
.mcard__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    line-height: 1;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.10));
}
.mcard__body { flex: 1 1 auto; min-width: 0; text-align: center; }
.mcard__body h3 {
    font-size: 19px;
    color: var(--purple);
    margin-bottom: 8px;
    line-height: 1.2;
}
.mcard__body p { color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.mcard__hero {
    flex: 0 0 auto;
    width: auto;
    max-width: 130px;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
}
@media (max-width: 720px) {
    .machine-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .machine-list { grid-template-columns: 1fr; }
    .mcard { min-height: 170px; }
    .mcard__icon { font-size: 42px; height: 60px; }
    .mcard__hero { max-width: 110px; height: 150px; }
    .mcard__body h3 { font-size: 17px; }
    .mcard__body p { font-size: 14px; }
}

.machine-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    display: block;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.machine-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.machine-card__badge {
    font-size: 44px; line-height: 1;
    margin-bottom: 16px;
}
.machine-card__badge--combo {
    letter-spacing: 4px;
}
.machine-card__icon {
    float: right;
    width: 112px;
    height: 112px;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin: 0 0 8px 16px;
    pointer-events: none;
    user-select: none;
    shape-outside: margin-box;
}
.machine-card h3 { color: var(--purple); font-size: 22px; margin-bottom: 10px; }
.machine-card p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 720px) {
    .machine-card__icon { width: 88px; height: 88px; margin-left: 12px; }
}

/* ==== ABOUT ==== */
.container--split {
    max-width: var(--wrap); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 60px; align-items: center;
    padding: 0 24px;
}
.lead {
    font-size: 19px; color: var(--ink);
    margin-bottom: 18px; font-weight: 500;
}
.about__stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-top: 32px;
}
.about__stats > div {
    text-align: center;
    padding: 20px 12px;
    min-height: 120px;
    background: #fff; border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.about__stats strong {
    display: block;
    font-family: 'Arial Black', sans-serif;
    color: var(--purple); font-size: 28px; line-height: 1;
    margin-bottom: 6px;
}
.about__stats span {
    color: var(--ink-soft); font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.about__logo-wrap { text-align: center; }
.about__logo-wrap img {
    max-width: 320px; margin: 0 auto;
    filter: drop-shadow(0 12px 32px rgba(158,31,99,0.25));
}

/* ==== STEPS ==== */
.steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1000px; margin: 0 auto;
}
.step {
    text-align: center;
    padding: 24px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}
.step__num {
    width: 64px; height: 64px;
    background: var(--gold); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Arial Black', sans-serif;
    font-size: 28px;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(251,176,64,0.4);
}
.step h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.step p { color: rgba(255,255,255,0.9); font-size: 15px; }

/* ==== CONTACT ==== */
.contact-info {
    margin-top: 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 24px 28px;
}
.contact-info__row {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}
.contact-info__row:last-child { border-bottom: 0; }
.contact-info__label {
    font-weight: 600; color: var(--ink);
    min-width: 130px;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
}
.contact-form h3 { color: var(--purple); font-size: 22px; margin-bottom: 20px; }
.contact-form label {
    display: block;
    margin-bottom: 16px;
}
.contact-form label > span {
    display: block;
    font-size: 14px; font-weight: 600;
    color: var(--ink); margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit; font-size: 15px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--purple);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(158,31,99,0.10);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.contact-form__row label { margin-bottom: 16px; }
.contact-form__status {
    margin-top: 14px; padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px; text-align: center;
    display: none;
}
.contact-form__status.success { display: block; background: #e8f5e9; color: #2e7d32; }
.contact-form__status.error   { display: block; background: #ffebee; color: #c62828; }
.contact-form__status.loading { display: block; background: #fff3e0; color: #e65100; }
.contact-form__note {
    margin-top: 16px;
    font-size: 13px; color: var(--ink-soft); text-align: center;
}

/* honeypot — invisible to humans, catches bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==== FOOTER ==== */
.footer {
    background: var(--purple-dark);
    color: rgba(255,255,255,0.85);
    padding: 48px 24px 24px;
}
.footer__inner {
    max-width: var(--wrap); margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 32px; align-items: start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__logo { width: 64px; height: 64px; border-radius: 50%; }
.footer__brand strong {
    color: var(--gold); font-family: 'Arial Black', sans-serif;
    font-size: 18px; letter-spacing: 0.03em;
    display: block; margin-bottom: 4px;
}
.footer__brand p { font-size: 14px; line-height: 1.5; }
.footer__contact p { margin-bottom: 8px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.footer__icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--gold); }
.footer__contact a { color: var(--gold); text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.footer__legal { text-align: right; font-size: 13px; }
.footer__legal p { margin-bottom: 6px; opacity: 0.8; }

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__logo { max-width: 220px; margin: 24px auto 0; }
    .hero__cta { justify-content: center; }
    .hero__badges { justify-content: center; }
    .container--split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .about__logo-wrap img { max-width: 220px; }
    .contact-info__label { min-width: 100px; }

    /* Contact section — center the info + form on mobile so both boxes
       sit visually in the middle of the screen instead of feeling
       left-anchored from the desktop 2-col grid. */
    #contact .container--split { justify-items: center; }
    #contact .container--split > div { width: 100%; max-width: 480px; }
    .contact-info__row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }
    .contact-info__label { min-width: 0; }
    .contact-form { max-width: 480px; margin: 0 auto; }
    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .footer__brand { flex-direction: column; }
    .footer__legal { text-align: center; }
}
@media (max-width: 720px) {
    .nav__inner {
        padding: 8px 14px;
        gap: 8px;
    }
    .nav__brand-text { display: none; }
    .nav__brand { flex: 0 0 auto; }
    .nav__logo { width: 72px; height: 72px; }
    /* Push CTA + burger to the right */
    .nav__cta {
        margin-left: auto;
        padding: 9px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    .nav__cta svg { width: 15px; height: 15px; }
    .nav__links { display: none; }
    .nav__links.is-open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 16px 24px;
        border-top: 1px solid var(--line);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .nav__burger {
        display: flex;
        margin-left: 4px;
        padding: 6px;
    }
    .section { padding: 56px 20px; }
    .contact-form { padding: 24px; }
    .contact-form__row { grid-template-columns: 1fr; }
    .about__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==== CALL MODAL (desktop CALL NOW fallback) ==== */
.call-modal[hidden] { display: none; }
.call-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}
.call-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(122, 24, 73, 0.6);
    backdrop-filter: blur(4px);
}
.call-modal__box {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 32px 32px;
    max-width: 400px; width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--gold);
    animation: popIn 0.25s ease-out;
}
.call-modal__close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: 0;
    font-size: 32px; line-height: 1;
    color: var(--ink-soft); cursor: pointer;
    padding: 4px 10px;
}
.call-modal__close:hover { color: var(--purple); }
.call-modal__icon { font-size: 48px; margin-bottom: 12px; }
.call-modal__box h3 {
    color: var(--purple); font-size: 22px; margin-bottom: 20px;
}
.call-modal__num {
    font-family: 'Arial Black', sans-serif;
    font-size: 32px; color: var(--purple);
    margin-bottom: 20px; letter-spacing: 0.02em;
    user-select: all;
}
.call-modal__copy { min-width: 200px; }
.call-modal__copy.is-copied {
    background: #4caf50; box-shadow: 0 4px 16px rgba(76,175,80,0.4);
}
.call-modal__or {
    margin: 20px 0 14px;
    color: var(--ink-soft); font-size: 14px;
    position: relative;
}
.call-modal__or::before, .call-modal__or::after {
    content: ''; position: absolute; top: -10px;
    width: 40%; height: 1px; background: var(--line);
}
.call-modal__or::before { left: 0; }
.call-modal__or::after { right: 0; }
.call-modal__email, .call-modal__form {
    display: block; padding: 10px;
    color: var(--purple); text-decoration: none;
    font-weight: 500; font-size: 15px;
}
.call-modal__email:hover, .call-modal__form:hover { color: var(--gold-dark); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* QR code inside call modal */
.call-modal__qr {
    display: block;
    width: 180px; height: 180px;
    margin: 8px auto 8px;
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
}
.call-modal__qr-hint {
    font-size: 12px; color: var(--ink-soft);
    margin-top: -4px; margin-bottom: 4px;
    line-height: 1.4;
}

/* ==== PRODUCT PARADE (floating vending-item marquee) ==== */
.parade {
    background: linear-gradient(180deg, #fff 0%, var(--purple-tint) 100%);
    padding: 40px 0 50px;
    overflow: hidden;
    position: relative;
}
.parade__label {
    text-align: center;
    font-family: 'Rubik', sans-serif;
    color: var(--purple);
    font-weight: 600; font-size: 15px;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    opacity: 0.75;
}
.parade__track {
    display: flex;
    gap: 32px;
    width: max-content;
    padding: 20px 0 30px;
    animation: parade-scroll 60s linear infinite;
}
.parade__item {
    width: 88px; height: 88px;
    flex: 0 0 auto;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    border-radius: 12px;
    border: 1px solid #fff;
    box-shadow: 0 4px 12px rgba(158,31,99,0.18);
    animation: parade-float 5s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -0.4s);
    transition: transform 0.3s, box-shadow 0.3s;
}
.parade__item:hover {
    transform: scale(1.15) rotate(-3deg) !important;
    box-shadow: 0 12px 30px rgba(158,31,99,0.35);
    z-index: 5;
}
@keyframes parade-scroll {
    from { transform: translateX(0); }
    /* half the doubled list = one full unique cycle */
    to   { transform: translateX(-50%); }
}
@keyframes parade-float {
    0%,100% { transform: translateY(0) rotate(0deg); }
    25%     { transform: translateY(-4px) rotate(1deg); }
    50%     { transform: translateY(3px) rotate(-1deg); }
    75%     { transform: translateY(-3px) rotate(1deg); }
}
/* Respect users who prefer no motion — freeze scroll but keep horizontal layout (never stack vertically) */
@media (prefers-reduced-motion: reduce) {
    .parade         { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .parade__track  { animation: none; }
    .parade__item   { animation: none; }
}
@media (max-width: 720px) {
    .parade         { padding: 24px 16px 30px; overflow: visible; }
    .parade__label  { font-size: 13px; margin-bottom: 14px; }
    .parade__track  {
        animation: none;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 8px 0 12px;
    }
    .parade__item   {
        width: 38px; height: 38px;
        border-radius: 7px;
        padding: 2px;
        box-shadow: 0 2px 5px rgba(158,31,99,0.12);
        animation: none;
    }
}
/* Duplicate copies of the doubled list are hidden on mobile so grid isn't repeated */
@media (max-width: 720px) {
    .parade__track > .parade__item:nth-child(n+15) { display: none; }
}

/* ==== MACHINES HERO — 2 machine photos flanking the title ==== */
.machines-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 0 auto 32px;
    max-width: 1000px;
}
.machines-hero__img {
    width: 160px;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    flex: 0 0 auto;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 6px 16px rgba(158,31,99,0.20));
}
.machines-hero__title {
    text-align: center;
    flex: 1 1 auto;
}
.machines-hero__title .section__title { margin-bottom: 8px; }
.machines-hero__title .section__sub   { margin-top: 0; }
@media (max-width: 720px) {
    .machines-hero { gap: 12px; margin-bottom: 20px; }
    .machines-hero__img { width: 80px; max-height: 130px; }
    .machines-hero__title .section__title { font-size: 22px; }
    .machines-hero__title .section__sub   { font-size: 13px; }
}

/* ==== 2026-08-15: constrain machine images inside About cards ==== */
.card img {
    max-width: 110px !important;
    max-height: 140px !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 0 auto 8px;
    object-fit: contain;
}
