/* ===========================================================
   Packed Apps — packedapps.ca
   2026 redesign: same orange/dark identity, professionalised.
   Palette: orange #FF781E accent, ink #10141B, slate body text
   Fonts:   Montserrat (headings/UI), Open Sans (body)
   Motif:   soft wave divider under the hero, echoed once
            at the top of the Solutions band.
   =========================================================== */

:root {
    --orange: #FF781E;
    --orange-dark: #E5620C;
    --orange-soft: #FFF3EA;

    --ink: #10141B;
    --ink-soft: #1B2230;
    --ink-line: rgba(255, 255, 255, .12);

    --heading: #10141B;
    --slate: #4A5568;
    --slate-light: #6B7280;

    --line: #E4E8EE;
    --bg-alt: #F6F8FA;

    --nav-h: 78px;
    --swoop: clamp(46px, 7vw, 104px);
    --swoop-echo: clamp(30px, 4.5vw, 66px);

    --shadow-sm: 0 1px 2px rgba(16, 20, 27, .05);
    --shadow-md: 0 10px 30px rgba(16, 20, 27, .07);
    --shadow-lg: 0 18px 48px rgba(16, 20, 27, .12);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    margin: 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--slate);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: "Montserrat", -apple-system, Arial, sans-serif;
    color: var(--heading);
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -.005em;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange); }

img { max-width: 100%; display: block; }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

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

/* -------- Buttons -------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 12.5px; font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 15px 32px;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    background: none;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 8px 20px rgba(255,120,30,.28); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; box-shadow: 0 12px 26px rgba(255,120,30,.34); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-light { background: #fff; color: var(--orange-dark); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-outline { background: transparent; color: var(--orange-dark); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }

/* -------- Navbar -------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(16, 20, 27, .30);
    backdrop-filter: saturate(140%) blur(6px);
    -webkit-backdrop-filter: saturate(140%) blur(6px);
    transition: background .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled,
.navbar.navbar--solid {
    background: rgba(16, 20, 27, .97);
    box-shadow: 0 1px 24px rgba(0,0,0,.28);
    border-bottom-color: var(--ink-line);
}
.navbar-container {
    max-width: 1240px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar-brand img { height: 42px; width: auto; }
.navbar-menu { display: flex; align-items: center; gap: 26px; }
.nav-link {
    font-family: "Montserrat", sans-serif;
    font-size: 12px; font-weight: 600; letter-spacing: .13em;
    color: rgba(255,255,255,.86); text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.35); }
.nav-link.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-cta { margin-left: 4px; padding: 11px 22px; font-size: 11.5px; }

.navbar-toggler {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
}
.navbar-toggler span { width: 24px; height: 2px; background: #fff; transition: .3s; border-radius: 2px; }

/* -------- Wave dividers (house motif) -------- */
.swoop {
    position: absolute; left: 0; width: 100%;
    display: block; pointer-events: none; z-index: 3;
}
.swoop--bottom { bottom: -1px; height: var(--swoop); }
.swoop--top    { top: -1px;    height: var(--swoop-echo); }

/* -------- Hero -------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--ink) url("../images/hero.jpg") center 28% / cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 40px) 0 calc(var(--swoop) + 48px);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,13,18,.72) 0%, rgba(10,13,18,.60) 45%, rgba(10,13,18,.82) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; width: 100%; max-width: 900px; }
.hero .eyebrow { color: var(--orange); }
.hero h1 {
    color: #fff; font-weight: 500;
    font-size: clamp(30px, 5.6vw, 60px);
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 22px;
    text-wrap: balance;
}
.hero-lede {
    color: rgba(255,255,255,.86);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.8;
    max-width: 660px;
    margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Compact hero for interior pages */
.hero--page {
    min-height: 0;
    padding: calc(var(--nav-h) + 78px) 0 calc(var(--swoop) + 66px);
    background-position: center 35%;
}
.hero--page h1 {
    letter-spacing: .1em;
    font-size: clamp(27px, 4.4vw, 46px);
    margin-bottom: 16px;
}

/* -------- Eyebrow label -------- */
.eyebrow {
    font-family: "Montserrat", sans-serif;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--orange-dark);
    margin: 0 0 14px;
    display: block;
}

/* -------- Breadcrumb -------- */
.crumb {
    font-family: "Montserrat", sans-serif;
    font-size: 11.5px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: rgba(255,255,255,.65);
    margin: 0 0 16px;
}
.crumb a { color: rgba(255,255,255,.65); }
.crumb a:hover { color: var(--orange); }
.crumb span { color: var(--orange); }

/* -------- Trust strip -------- */
.trust { background: #fff; padding: 40px 0 8px; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.trust-item { background: #fff; padding: 24px 22px; text-align: center; }
.trust-item strong {
    display: block;
    font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 600;
    color: var(--heading); letter-spacing: .04em; margin-bottom: 4px;
}
.trust-item span { font-size: 13.5px; color: var(--slate-light); line-height: 1.6; display: block; }

/* -------- Section base -------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 74px 0; }

.section-heading { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section-heading h2 {
    text-transform: uppercase; letter-spacing: .16em;
    font-size: clamp(23px, 3vw, 33px); font-weight: 600;
    margin-bottom: 16px;
}
.section-heading .subtitle {
    font-family: "Open Sans", sans-serif;
    color: var(--slate-light); font-size: 17px; margin: 0;
    line-height: 1.8;
}
.section-heading p { margin: 0 auto; }
.section-heading p + p { margin-top: 14px; }

.rule {
    width: 54px; height: 3px; background: var(--orange);
    border: 0; border-radius: 3px; margin: 0 auto 22px;
}
.rule--left { margin-left: 0; }

/* -------- About -------- */
.about { display: flex; flex-wrap: wrap; }
.about-image {
    flex: 1 1 50%; min-height: 500px;
    background: url("../images/about.jpg") center center / cover no-repeat;
}
.about-panel {
    flex: 1 1 50%;
    background: linear-gradient(150deg, var(--orange) 0%, var(--orange-dark) 100%);
    display: flex; align-items: center; padding: 84px 64px;
}
.about-inner { max-width: 520px; }
.about-panel .eyebrow { color: rgba(255,255,255,.75); }
.about-panel h2 {
    color: #fff; text-transform: uppercase; letter-spacing: .14em;
    font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px;
}
.about-panel .rule { background: rgba(255,255,255,.75); margin: 18px 0 24px; }
.about-panel p { color: rgba(255,255,255,.95); margin-bottom: 22px; }
.about-panel .btn { margin-top: 10px; }

/* -------- Services / capability cards -------- */
.facts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.fact {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 34px 28px; text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D8DEE6; }
.fact-icon {
    width: 48px; height: 48px; border-radius: 6px;
    background: var(--orange-soft); color: var(--orange-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 20px;
}
.fact h3 {
    text-transform: uppercase; letter-spacing: .08em;
    font-size: 14.5px; margin-bottom: 12px; line-height: 1.5;
}
.fact p { font-size: 14.5px; line-height: 1.75; margin: 0; }

.section-intro {
    max-width: 820px; margin: 0 auto 52px; text-align: center;
}

/* -------- Solutions (platform cards) -------- */
.solutions-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
}
.solution {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 36px 34px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    color: var(--slate);
}
.solution:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-lg);
    border-color: rgba(255,120,30,.4); color: var(--slate);
}
.solution-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.solution-icon {
    flex: 0 0 auto;
    width: 50px; height: 50px; border-radius: 8px;
    background: var(--ink); color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
}
.solution h3 {
    font-size: 19px; letter-spacing: .01em; margin: 0 0 4px;
    text-transform: none; font-weight: 600;
}
.solution .kicker {
    font-family: "Montserrat", sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--orange-dark);
}
.solution p { font-size: 15px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li {
    font-family: "Montserrat", sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: .07em;
    text-transform: uppercase;
    background: var(--bg-alt); border: 1px solid var(--line);
    color: var(--slate-light);
    padding: 6px 11px; border-radius: 999px;
}
.solution-more {
    margin-top: auto;
    font-family: "Montserrat", sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--orange-dark);
    display: inline-flex; align-items: center; gap: 9px;
}
.solution:hover .solution-more { color: var(--orange); }
.solution-more i { transition: transform .25s ease; }
.solution:hover .solution-more i { transform: translateX(4px); }

/* -------- Interior page content -------- */
.prose { font-size: 16.5px; }
.prose h2 {
    text-transform: uppercase; letter-spacing: .13em;
    font-size: clamp(21px, 2.4vw, 27px);
    margin: 52px 0 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 32px 0 10px; }
.prose .rule { margin: 16px 0 24px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 22px; }
.prose ul li {
    position: relative; padding-left: 30px; margin-bottom: 13px;
}
.prose ul li::before {
    content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px;
    color: var(--orange); font-size: 15px;
}
.prose .lede {
    font-size: 18.5px; line-height: 1.8; color: var(--heading);
    font-weight: 400; margin-bottom: 30px;
}

.panel {
    background: var(--bg-alt); border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    border-radius: 4px; padding: 26px 30px; margin: 30px 0;
}
.panel h3 { margin-top: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.panel p:last-child { margin-bottom: 0; }

.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 26px 0 8px; }
.usecase {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 24px 26px; box-shadow: var(--shadow-sm);
}
.usecase h4 {
    font-size: 14px; text-transform: uppercase; letter-spacing: .09em;
    margin-bottom: 8px;
}
.usecase p { font-size: 14.5px; margin: 0; }

/* -------- Related platforms strip -------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a {
    display: block; background: #fff; border: 1px solid var(--line);
    border-radius: 6px; padding: 22px 24px; color: var(--slate);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(255,120,30,.4); color: var(--slate); }
.related strong {
    display: block; font-family: "Montserrat", sans-serif; font-size: 14.5px;
    color: var(--heading); margin-bottom: 5px; font-weight: 600;
}
.related span { font-size: 13.5px; color: var(--slate-light); }

/* -------- CTA band -------- */
.cta-band {
    background: var(--ink); color: #fff; text-align: center;
    padding: 72px 0;
}
.cta-band h2 {
    color: #fff; text-transform: uppercase; letter-spacing: .14em;
    font-size: clamp(21px, 2.6vw, 30px); margin-bottom: 16px;
}
.cta-band p { color: rgba(255,255,255,.72); max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------- Testimonials -------- */
.testimonials {
    position: relative; color: #fff; text-align: center;
    background: var(--ink) url("../images/hero.jpg") center center / cover no-repeat fixed;
    padding: 92px 0;
}
.testimonials-overlay { position: absolute; inset: 0; background: rgba(11,14,20,.88); }
.testimonials .section-heading,
.testimonial-carousel { position: relative; z-index: 2; }
.testimonials .section-heading { margin-bottom: 12px; }
.testimonials .section-heading h2 { color: #fff; }
.testimonials .section-heading .subtitle { color: rgba(255,255,255,.6); }
.testimonial-carousel { max-width: 820px; margin: 24px auto 0; padding: 0 24px; }
.testimonial-track { position: relative; min-height: 210px; }
.testimonial {
    margin: 0; opacity: 0; visibility: hidden;
    position: absolute; inset: 0;
    transition: opacity .6s ease;
}
.testimonial.active { opacity: 1; visibility: visible; position: relative; }
.testimonial p { font-size: 19px; line-height: 1.9; color: rgba(255,255,255,.92); }
.testimonial cite {
    display: block; margin-top: 22px; font-style: normal;
    font-family: "Montserrat", sans-serif; font-size: 13px;
    letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
}
.testimonial-quote { color: var(--orange); font-size: 30px; margin-bottom: 12px; display: block; }
.testimonial-dots { margin-top: 30px; display: flex; gap: 10px; justify-content: center; }
.testimonial-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
    background: rgba(255,255,255,.32); cursor: pointer; transition: background .2s, transform .2s;
}
.testimonial-dots button.active { background: var(--orange); transform: scale(1.2); }

/* -------- Tech support -------- */
.media-text {
    display: grid; grid-template-columns: 44% auto; gap: 52px; align-items: center;
    max-width: 1040px; margin: 0 auto;
}
.media-text-media img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-md); }
.media-text-content { text-align: left; }
.media-text-content h2 {
    text-transform: uppercase; letter-spacing: .14em;
    font-size: clamp(21px, 2.5vw, 29px); margin-bottom: 4px;
}

/* -------- Contact -------- */
.contact { background: var(--bg-alt); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px;
    max-width: 1040px; margin: 0 auto;
    align-items: start;
}
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li { margin-bottom: 28px; }
.contact-info h3 {
    text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
    margin-bottom: 6px; color: var(--slate-light); font-weight: 700;
}
.contact-info h3 i { color: var(--orange); margin-right: 8px; }
.contact-info p { margin: 0; font-size: 16.5px; color: var(--heading); }
.contact-info p a { color: var(--heading); }
.contact-info p a:hover { color: var(--orange-dark); }

.contact-form-wrap {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row { display: flex; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.form-col { flex: 1 1 45%; }
.form-col.full { flex: 1 1 100%; }
#contactForm input, #contactForm textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #D6DBE2; border-radius: 4px;
    background: #fff; font-family: "Open Sans", sans-serif; font-size: 15.5px; color: var(--heading);
    transition: border-color .2s ease, box-shadow .2s ease;
}
#contactForm input::placeholder, #contactForm textarea::placeholder { color: #9AA3AF; }
#contactForm input:focus, #contactForm textarea:focus {
    outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,120,30,.14);
}
#contactForm textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { text-align: right; margin-top: 20px; }
.cf-turnstile { margin: 6px 0 4px; }

.form-alert { display: none; padding: 14px 18px; margin-bottom: 18px; font-size: 14.5px; border-radius: 4px; }
.form-alert.show { display: block; }
.form-alert.success { background: #E7F6EC; color: #1B7E3C; border: 1px solid #B7DFC2; }
.form-alert.error { background: #FDECEA; color: #C0392B; border: 1px solid #F5C6C0; }

/* -------- Footer -------- */
.footer { background: var(--ink); padding: 56px 0 30px; color: rgba(255,255,255,.62); }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
    padding-bottom: 34px; border-bottom: 1px solid var(--ink-line);
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,.55); margin: 0; max-width: 340px; }
.footer h4 {
    color: #fff; font-size: 12px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; font-size: 14.5px; }
.footer a { color: rgba(255,255,255,.62); }
.footer a:hover { color: var(--orange); }
.footer .copyright {
    margin: 26px 0 0; text-align: center;
    font-family: "Montserrat", sans-serif; font-size: 12px;
    letter-spacing: .08em; color: rgba(255,255,255,.42);
}

/* -------- Back to top -------- */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 900;
    width: 46px; height: 46px; border-radius: 5px;
    background: var(--orange); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 19px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s, background .2s;
    box-shadow: 0 8px 22px rgba(255,120,30,.34);
}
.back-to-top:hover { background: var(--orange-dark); color: #fff; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* -------- Responsive -------- */
@media (max-width: 1100px) {
    .navbar-menu { gap: 18px; }
    .nav-link { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 991px) {
    .facts { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: 1fr; }
    .related { grid-template-columns: 1fr; }
    .about-panel { padding: 64px 44px; }
    .media-text { grid-template-columns: 1fr; gap: 34px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .navbar-toggler { display: flex; }
    .navbar-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #12161D; padding: 8px 0 16px;
        display: none;
        border-top: 1px solid var(--ink-line);
        max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu .nav-link { padding: 14px 26px; width: 100%; border-bottom: 0; }
    .navbar-menu .nav-link.active { border-bottom: 0; }
    .nav-cta { margin: 12px 26px 0; width: auto; align-self: stretch; justify-content: center; }
}
@media (max-width: 767px) {
    body { font-size: 15.5px; }
    .section { padding: 68px 0; }
    .section--tight { padding: 56px 0; }
    .about-image { flex-basis: 100%; min-height: 300px; }
    .about-panel { flex-basis: 100%; padding: 52px 28px; }
    .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .contact-form-wrap { padding: 26px 22px; }
    .usecases { grid-template-columns: 1fr; }
    .testimonials { background-attachment: scroll; padding: 68px 0; }
    .hero { min-height: 92vh; }
    .hero--page { padding: calc(var(--nav-h) + 54px) 0 calc(var(--swoop) + 44px); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
    /* Responsive guard: shrink the wave so it can never cross a headline or face */
    :root { --swoop: 38px; --swoop-echo: 26px; }
}
@media (max-width: 479px) {
    .facts, .trust-grid { grid-template-columns: 1fr; }
    .form-col { flex-basis: 100%; }
    .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

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