/* =====================================================================
   Roach Solution v8 layout: nav, sections below the hero, footer.
   Dark editorial sections (charcoal + gold) after the white animated hero.
   Loaded after styles.css / enhancements.css / hero-breakdown.css.
   ===================================================================== */
:root {
    --sq-bg: #0c0c0e;
    --sq-bg-2: #131316;
    --sq-card: #1b1b1f;
    --sq-card-2: #24242a;
    --sq-line: rgba(255, 255, 255, 0.12);
    --sq-text: #f5f3ee;
    --sq-muted: #a9a59b;
    --sq-gold: #D4AF37;
    --sq-gold-hi: #e9c85a;
    --sq-gold-deep: #9c7a1c;
    --sq-ink: #141416;
    --sq-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --sq-body: 'Inter', system-ui, sans-serif;
    --sq-r: 24px;
}

/* ---------------- buttons ---------------- */
.sq-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    height: 46px; padding: 0 1.5rem; border-radius: 12px;
    font: 600 15px/1 var(--sq-head); letter-spacing: .01em; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.sq-btn::before {   /* sweep highlight on hover */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .6s ease;
}
.sq-btn:hover::before, .sq-btn:focus-visible::before { transform: translateX(120%); }
.sq-btn:hover, .sq-btn:focus-visible { transform: translateY(-2px); }
.sq-btn-gold { background: var(--sq-gold); border-color: var(--sq-gold-deep); color: var(--sq-ink); }
.sq-btn-gold:hover, .sq-btn-gold:focus-visible { background: var(--sq-gold-hi); box-shadow: 0 10px 28px rgba(212,175,55,.35); color: var(--sq-ink); }
.sq-btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: var(--sq-text); }
.sq-btn-ghost:hover, .sq-btn-ghost:focus-visible { border-color: var(--sq-gold); color: var(--sq-gold-hi); }

/* ---------------- navigation (brand: charcoal + gold) ---------------- */
.navbar.sq-nav {
    background: rgba(12, 12, 14, .82);
    backdrop-filter: saturate(1.4) blur(18px);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    border-bottom: 1px solid rgba(212, 175, 55, .18);
    box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
    transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.navbar.sq-nav.scrolled {
    background: rgba(12, 12, 14, .94);
    border-bottom-color: rgba(212, 175, 55, .28);
    box-shadow:
        0 1px 0 rgba(255,255,255,.04) inset,
        0 12px 40px rgba(0,0,0,.35);
}
.sq-nav .nav-container {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
    max-width: 1600px; margin: 0 auto; box-sizing: border-box;
    height: var(--sq-nav-h); padding: 0 clamp(16px, 1.6vw, 28px);
    transition: height .35s ease;
}
.sq-nav.scrolled .nav-container { height: var(--sq-nav-h-s); }
:root { --sq-nav-h: 76px; --sq-nav-h-s: 62px; }

/* logo */
.sq-nav .nav-logo {
    display: inline-flex; align-items: center; gap: 11px; justify-self: start;
    text-decoration: none; width: auto; opacity: 1; transform: none; pointer-events: auto;
}
.sq-nav .nav-mark {
    height: 42px; width: auto; display: block;
    transition: height .35s ease, transform .35s ease, filter .35s ease;
    filter: drop-shadow(0 4px 12px rgba(212,175,55,.28));
}
.sq-nav.scrolled .nav-mark { height: 34px; }
.sq-nav .nav-logo:hover .nav-mark { transform: rotate(-6deg) scale(1.04); }
.sq-nav .nav-word {
    font: 600 15px/1 var(--sq-head);
    letter-spacing: .16em;
    color: #f5f3ee;
    white-space: nowrap;
}
.sq-nav .nav-word b {
    font-weight: 700;
    color: var(--sq-gold);
    text-shadow: 0 0 18px rgba(212,175,55,.25);
}

/* links: dark inset pill */
.sq-nav .nav-menu {
    justify-self: center; display: flex; align-items: center; gap: 3px; margin: 0; padding: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(212,175,55,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.sq-nav .nav-item { margin: 0; }
.sq-nav .nav-link {
    display: block; padding: 9px 15px; border-radius: 999px;
    font: 500 13.5px/1 var(--sq-body);
    color: #b8b4aa;
    letter-spacing: .01em;
    text-transform: none;
    transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.sq-nav .nav-link::after { display: none; }
.sq-nav .nav-link:hover {
    color: #f5f3ee;
    background: rgba(212,175,55,.12);
}
.sq-nav .nav-link.active {
    color: #141416;
    background: linear-gradient(135deg, #f0d56a 0%, #D4AF37 55%, #c49a2a 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        0 4px 14px rgba(212,175,55,.28);
}
.sq-nav .nav-link:focus-visible { outline: 2px solid var(--sq-gold); outline-offset: 2px; }

/* right side */
.sq-nav .nav-controls { position: static; justify-self: end; display: flex; align-items: center; gap: 10px; margin: 0; }
.sq-nav .sq-nav-cta-m { display: none; }

/* Let’s Talk — nav CTA */
.sq-nav .sq-nav-cta-btn {
    height: 44px;
    padding: 0 8px 0 18px;
    gap: 12px;
    border-radius: 999px;
    font: 600 13.5px/1 var(--sq-head);
    letter-spacing: .06em;
    text-transform: none;
    color: #141416;
    background:
        linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #f0d56a 0%, #D4AF37 48%, #b89020 100%);
    border: 1px solid rgba(156, 122, 28, .55);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.4),
        0 1px 2px rgba(0,0,0,.2),
        0 8px 22px rgba(212,175,55,.38);
}
.sq-nav .sq-nav-cta-btn::before {
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55) 50%, transparent 75%);
}
.sq-nav .sq-nav-cta-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(20,20,22,.16);
    color: #141416;
    font-size: 11px;
    transition: transform .28s cubic-bezier(.2,.7,.2,1), background-color .25s ease, color .25s ease;
}
.sq-nav .sq-nav-cta-btn:hover,
.sq-nav .sq-nav-cta-btn:focus-visible {
    transform: translateY(-2px);
    background:
        linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #f6e08a 0%, #e9c85a 48%, #D4AF37 100%);
    border-color: rgba(156, 122, 28, .7);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.5),
        0 2px 4px rgba(0,0,0,.2),
        0 14px 32px rgba(212,175,55,.48);
    color: #141416;
}
.sq-nav .sq-nav-cta-btn:hover i,
.sq-nav .sq-nav-cta-btn:focus-visible i {
    background: #141416;
    color: var(--sq-gold-hi);
    transform: translateX(2px);
}
.sq-nav .sq-nav-cta-btn:active {
    transform: translateY(0);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 4px 14px rgba(212,175,55,.28);
}
.sq-nav .hamburger {
    display: none; position: static; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 12px; cursor: pointer;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(212,175,55,.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.sq-nav .hamburger .bar { width: 20px; height: 2px; border-radius: 2px; background: var(--sq-gold); margin: 0; transition: transform .3s ease, opacity .2s ease; }
.sq-nav .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sq-nav .hamburger.active .bar:nth-child(2) { opacity: 0; }
.sq-nav .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
    .sq-nav .nav-word { display: none; }
    .sq-nav .nav-link { padding: 9px 12px; font-size: 13px; }
}
@media (max-width: 968px) {
    :root { --sq-nav-h: 64px; --sq-nav-h-s: 58px; }
    .sq-nav .nav-container { grid-template-columns: 1fr auto; }
    .sq-nav .nav-word { display: inline; font-size: 13.5px; letter-spacing: .12em; }
    .sq-nav .nav-mark { height: 36px; }
    .sq-nav.scrolled .nav-mark { height: 32px; }
    .sq-nav .hamburger { display: flex; }
    .sq-nav .nav-menu {
        position: fixed; left: 0; right: 0; top: var(--sq-nav-h); width: auto; height: auto; justify-self: stretch;
        max-height: calc(100vh - var(--sq-nav-h)); overflow: auto;
        flex-direction: column; align-items: stretch; gap: 4px; text-align: left;
        margin: 0; padding: 14px 16px 22px; border-radius: 0 0 22px 22px; border: 0;
        background: #121214;
        border-top: 1px solid rgba(212,175,55,.18);
        box-shadow: 0 28px 56px rgba(0,0,0,.5);
        opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none;
        transition: opacity .28s ease, transform .32s cubic-bezier(.2,.7,.2,1), visibility 0s linear .32s;
        z-index: 999;
    }
    .sq-nav.scrolled .nav-menu { top: var(--sq-nav-h-s); }
    .sq-nav .nav-menu.active {
        left: 0; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
        transition: opacity .28s ease, transform .32s cubic-bezier(.2,.7,.2,1), visibility 0s;
    }
    .sq-nav .nav-menu .nav-item { margin: 0; }
    .sq-nav .nav-link {
        padding: 15px 16px; border-radius: 14px; font-size: 17px;
        display: flex; justify-content: space-between; color: #d8d4ca;
    }
    .sq-nav .nav-link.active {
        color: #141416;
        box-shadow: inset 3px 0 0 var(--sq-gold-deep), 0 6px 18px rgba(212,175,55,.2);
    }
    .sq-nav .sq-nav-cta-m { display: block; margin-top: 10px !important; }
    .sq-nav .sq-nav-cta-m .sq-nav-cta-btn {
        width: 100%;
        height: 52px;
        padding: 0 12px 0 20px;
        border-radius: 16px;
        font-size: 15.5px;
        letter-spacing: .05em;
        justify-content: space-between;
    }
    .sq-nav .sq-nav-cta-m .sq-nav-cta-btn i {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}
@media (max-width: 520px) {
    .sq-nav .sq-nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .sq-nav .nav-container, .sq-nav .nav-mark, .sq-nav .nav-menu { transition: none !important; }
}

/* ---------------- hero text band, matched to the new look ---------------- */
.hb-band .hb-headline { font-family: var(--sq-head); letter-spacing: -0.02em; font-weight: 500; }
.hb-cta { border-radius: 12px; font-family: var(--sq-head); }
.hb-cta-primary { border: 1px solid var(--sq-gold-deep); }
.hb-band .service-tag { border-radius: 10px; }

/* ---------------- shared section scaffolding ---------------- */
main.sq {
    display: block; background: var(--sq-bg); color: var(--sq-text);
    font-family: var(--sq-body);
    margin: 0 calc(50% - 50vw);     /* full-bleed past any body margin */
    overflow-x: clip;               /* clip, not hidden: keeps position:sticky panels working */
}
main.sq section { padding: 0; }
main.sq h2, main.sq h3, main.sq h4 { color: var(--sq-text); }
.sq-section { padding: clamp(64px, 9vw, 120px) 0 !important; position: relative; }
.sq-wrap { width: min(1280px, 100% - 2 * clamp(20px, 4vw, 56px)); margin: 0 auto; }
.sq-narrow { width: min(1040px, 100% - 40px); }
.sq-center { text-align: center; }
.sq-label {
    font: 500 14px/1.2 var(--sq-head); letter-spacing: .08em; text-transform: uppercase;
    color: var(--sq-gold); margin: 0 0 1.25rem;
}
.sq-h2 {
    font: 400 clamp(32px, 4.4vw, 60px)/1.12 var(--sq-head); letter-spacing: -0.02em;
    margin: 0 0 clamp(36px, 5vw, 64px);
}
.sq-h3 { font: 500 clamp(22px, 2.1vw, 30px)/1.2 var(--sq-head); margin: 0 0 .6rem; letter-spacing: -0.01em; }
.sq-lead { color: #d9d6ce; font-size: 15.5px; line-height: 1.6; margin: 0 0 1.25rem; }
.sq-right { text-align: right; }
.sq-split { display: grid; grid-template-columns: minmax(160px, 22%) 1fr; gap: 2rem; align-items: start; }
.sq-split .sq-label { margin-top: .9em; }
.sq-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.sq-head-row .sq-h2 { margin-bottom: 2.25rem; }

/* reveal on scroll (js/site-v8.js adds .is-in) */
.sq-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.sq-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- media band ---------------- */
.sq-media { padding: clamp(56px, 7vw, 96px) 0 0 !important; display: flex; justify-content: center; perspective: 1400px; }
.sq-media-frame {
    position: relative; width: min(760px, 88vw); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
    border: 1px solid rgba(212,175,55,.35); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.03);
    transform: rotateX(8deg) rotateZ(-1.5deg);
}
.sq-js .sq-media-frame[data-reveal] { transform: translateY(28px) rotateX(18deg) rotateZ(-1.5deg); }
.sq-js .sq-media-frame[data-reveal].is-in { transform: rotateX(6deg) rotateZ(-1.5deg); }
.sq-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sq-media-tag {
    position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px;
    background: rgba(12,12,14,.75); backdrop-filter: blur(6px); color: #fff; font: 500 13px/1 var(--sq-body);
    padding: 9px 13px; border-radius: 10px; border: 1px solid var(--sq-line);
}
.sq-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 0 4px rgba(58,208,122,.2); }

/* ---------------- featured solutions (product cards) ---------------- */
.sq-featured .sq-h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.sq-products { display: flex; flex-direction: column; gap: 28px; margin-bottom: 48px; }
.sq-product {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 32px);
    background: var(--sq-card); border: 1px solid var(--sq-line); border-radius: var(--sq-r);
    padding: clamp(18px, 1.8vw, 24px);
    transition: border-color .35s ease, box-shadow .35s ease;
}
.sq-product:hover { border-color: rgba(212,175,55,.45); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.sq-product-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 4px; }
.sq-badge {
    display: inline-grid; place-items: center; min-width: 46px; height: 40px; padding: 0 8px; border-radius: 10px;
    background: var(--sq-card-2); border: 1px solid rgba(255,255,255,.18); color: var(--sq-gold-hi);
    font: 600 14px/1 var(--sq-head); letter-spacing: .04em; margin-bottom: 1.1rem;
}
.sq-acc { list-style: none; margin: 0 0 1.25rem; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.sq-acc li { background: var(--sq-card-2); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; overflow: hidden; }
.sq-acc-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: none; border: 0; color: var(--sq-text); font: 500 14.5px/1.3 var(--sq-body); padding: 11px 12px; cursor: pointer; text-align: left;
}
.sq-acc-q i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: 10px; transition: transform .3s ease, background .3s ease, color .3s ease; flex: none; }
.sq-acc-q:hover i, .sq-acc li.open .sq-acc-q i { background: var(--sq-gold); color: var(--sq-ink); border-color: var(--sq-gold); }
.sq-acc li.open .sq-acc-q i { transform: rotate(180deg); }
.sq-acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.sq-acc-a > p { overflow: hidden; margin: 0; padding: 0 12px; color: var(--sq-muted); font-size: 14px; line-height: 1.55; }
.sq-acc li.open .sq-acc-a { grid-template-rows: 1fr; }
.sq-acc li.open .sq-acc-a > p { padding-bottom: 12px; }
.sq-note { font: 600 14.5px/1.4 var(--sq-body); margin: auto 0 1.1rem; padding-top: .25rem; }
.sq-product-media { border-radius: 16px; overflow: hidden; min-height: 300px; background: #0f0f12; }
.sq-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sq-product:hover .sq-product-media img { transform: scale(1.05); }

/* ---------------- capabilities (stacking panels) ---------------- */
.sq-caps { padding-bottom: 0 !important; }
.sq-panels { display: flex; flex-direction: column; }
.sq-panel {
    position: sticky; top: calc(var(--sq-nav-h) + 16px + var(--i) * 18px);
    display: grid; grid-template-columns: 1fr minmax(240px, 30%); gap: 2rem; align-items: start;
    min-height: 340px; padding: clamp(28px, 3.4vw, 48px) clamp(24px, 8vw, 120px);
    border-radius: var(--sq-r) var(--sq-r) 0 0; color: var(--sq-text);
    border: 1px solid rgba(255,255,255,.08); border-bottom: 0;
    box-shadow: 0 -18px 40px rgba(0,0,0,.45);
}
.sq-panel:nth-child(1) { background: #141418; }
.sq-panel:nth-child(2) { background: #1a1a20; }
.sq-panel:nth-child(3) { background: #212128; }
.sq-panel:nth-child(4) { background: #282830; border-radius: var(--sq-r); border-bottom: 1px solid rgba(255,255,255,.08); }
.sq-panel h3 { color: var(--sq-text) !important; font: 500 clamp(26px, 2.6vw, 38px)/1.15 var(--sq-head); margin: 0 0 1rem; letter-spacing: -0.01em; }
.sq-panel ul { margin: 0; padding: 0; list-style: none; font: 500 15.5px/1.7 var(--sq-body); color: #d7d4cc; }
.sq-panel li::before { content: '→ '; color: var(--sq-gold); opacity: 1; }
.sq-panel-img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.sq-panel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- partners marquee ---------------- */
.sq-partners { display: none !important; }
.sq-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sq-marquee-track { display: flex; gap: 56px; width: max-content; animation: sq-marquee 32s linear infinite; padding: 8px 0; }
.sq-marquee:hover .sq-marquee-track { animation-play-state: paused; }
.sq-logo-ph {
    display: grid; place-items: center; width: 150px; height: 52px; border-radius: 10px;
    border: 1px dashed rgba(255,255,255,.25); color: #77746c; font: 500 12px/1 var(--sq-head); letter-spacing: .08em; text-transform: uppercase;
    filter: grayscale(1); transition: color .3s, border-color .3s;
}
.sq-logo-ph:hover { color: var(--sq-gold); border-color: var(--sq-gold); }
@keyframes sq-marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------------- testimonials ---------------- */
.sq-testi { overflow: hidden; }
.sq-testi .sq-split { margin-bottom: clamp(28px, 4vw, 44px); }
.sq-testi-rail {
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
}
.sq-testi-track { position: relative; }
.sq-tpanel {
    box-sizing: border-box; width: 100%;
    display: grid; grid-template-columns: 1.25fr minmax(210px, 34%); gap: clamp(20px, 2.4vw, 36px); align-items: center;
    min-height: 340px; padding: clamp(28px, 3vw, 42px) clamp(28px, 3vw, 44px);
    border-radius: var(--sq-r); color: var(--sq-text);
    border: 1px solid rgba(212,175,55,.22);
    box-shadow: 0 28px 70px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.04);
}
.sq-testi.sq-book .sq-testi-rail { padding-bottom: 32px; }
.sq-testi.sq-book .sq-tpanel {
    position: absolute; left: 0; top: 0;
    opacity: 0;
    pointer-events: none;
    transition: transform .85s cubic-bezier(.2,.7,.2,1), opacity .85s ease;
}
.sq-testi.sq-book .sq-tpanel.is-current { opacity: 1; pointer-events: auto; transform: none; }
.sq-testi.sq-book .sq-tpanel.is-next { opacity: 1; transform: translate(14px, 12px); }
.sq-testi.sq-book .sq-tpanel.is-back { opacity: 1; transform: translate(26px, 22px); }
.sq-testi.sq-book .sq-tpanel.is-current.is-leaving {
    opacity: 0;
    transform: translateY(-56px);
    pointer-events: none;
    transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.sq-testi.sq-book .sq-tpanel.is-next.is-arriving { transform: none; }
.sq-tpanel:nth-child(6n+1) { background: #141418; }
.sq-tpanel:nth-child(6n+2) { background: #1a1a20; }
.sq-tpanel:nth-child(6n+3) { background: #212128; }
.sq-tpanel:nth-child(6n+4) { background: #282830; }
.sq-tpanel:nth-child(6n+5) { background: #1a1a20; }
.sq-tpanel:nth-child(6n+6) { background: #212128; }
.sq-tpanel-idx { display: flex; align-items: center; gap: 12px; margin: 0 0 1rem; font: 500 13px/1 var(--sq-head); letter-spacing: .14em; color: var(--sq-gold); }
.sq-tpanel-idx::after { content: ""; width: 42px; height: 1px; background: var(--sq-gold); }
.sq-tpanel h3 { color: var(--sq-text) !important; font: 500 clamp(26px, 2.4vw, 36px)/1.15 var(--sq-head); margin: 0 0 .85rem; letter-spacing: -0.01em; }
.sq-tpanel blockquote { margin: 0 0 1.25rem; max-width: 28em; font: 400 18px/1.55 var(--sq-head); color: #e4e1d8; }
.sq-tpanel a { color: #d7d4cc; text-decoration: none; font: 500 15.5px/1.4 var(--sq-body); }
.sq-tpanel a::before { content: '→ '; color: var(--sq-gold); }
.sq-tpanel a:hover { color: #fff; }
.sq-tpanel-img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.sq-tpanel-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.sq-tpanel.is-current:hover .sq-tpanel-img img { transform: scale(1.05); }
.sq-tpanel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 8px; }
.sq-tpanel-dots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px;
    background: rgba(255,255,255,.22); cursor: pointer;
    transition: width .35s cubic-bezier(.2,.7,.2,1), background .35s ease;
}
.sq-tpanel-dots button.is-on { width: 26px; background: var(--sq-gold); }
.sq-tpanel-dots button:hover { background: var(--sq-gold-hi); }

/* ---------------- story ---------------- */
.sq-statement { font: 400 clamp(26px, 3.2vw, 44px)/1.3 var(--sq-head); text-align: center; letter-spacing: -0.01em; margin: 0 0 2.5rem; }
.sq-story-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 3rem; }
.sq-story-values span { border: 1px solid var(--sq-line); border-radius: 999px; padding: 9px 16px; font: 500 14px/1 var(--sq-body); color: #dcd9d0; }
.sq-timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sq-line); margin-bottom: 3rem; }
.sq-timeline > div { padding: 24px 22px 0; border-left: 1px solid var(--sq-line); }
.sq-timeline > div:first-child { border-left: 0; }
.sq-timeline b { font: 600 13px/1 var(--sq-head); color: var(--sq-gold); letter-spacing: .06em; }
.sq-timeline h4 { font: 500 19px/1.3 var(--sq-head); margin: .6rem 0 .4rem; }
.sq-timeline p { margin: 0; color: var(--sq-muted); font-size: 14.5px; line-height: 1.55; }

/* ---------------- cards (team / insights) ---------------- */
.sq-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.sq-card {
    display: block; text-decoration: none; color: inherit; background: #2a2b2f; border-radius: 20px; padding: 10px 10px 20px;
    transition: transform .35s ease, background .35s ease;
}
.sq-card:hover { transform: translateY(-6px); background: #313238; }
.sq-card-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 16px; background: #1b1b1f; }
.sq-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.sq-card:hover .sq-card-img img { transform: scale(1.06); }
.sq-card h3 { font: 500 19px/1.3 var(--sq-head); margin: 0 6px .35rem; }
.sq-meta { margin: 0 6px .8rem; color: var(--sq-muted); font-size: 13.5px; }
.sq-meta i { margin-right: 6px; }
.sq-mail { margin: 0 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--sq-gold-hi); font-size: 13.5px; text-decoration: none; word-break: break-all; }
.sq-mail:hover { text-decoration: underline; }
.sq-ph-img { display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.2); background: repeating-linear-gradient(135deg, #1b1b1f 0 14px, #202026 14px 28px); }
.sq-ph-img span { color: #6f6c65; font: 500 12px/1 var(--sq-head); letter-spacing: .1em; text-transform: uppercase; }
.sq-team .sq-card-img { aspect-ratio: 1 / 1; }

/* ---------------- process ---------------- */
.sq-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sq-line); }
.sq-step { padding: 28px 24px 8px; border-left: 1px solid var(--sq-line); position: relative; }
.sq-step:first-child { border-left: 0; padding-left: 0; }
.sq-step span { font: 500 44px/1 var(--sq-head); color: transparent; -webkit-text-stroke: 1px var(--sq-gold); display: block; margin-bottom: 1.25rem; }
.sq-step h3 { font: 500 20px/1.25 var(--sq-head); margin: 0 0 .6rem; }
.sq-step p { color: var(--sq-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---------------- next step (replaces the insights placeholders) ---------------- */
.sq-start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.sq-start-card {
    display: flex; flex-direction: column; box-sizing: border-box;
    padding: clamp(26px, 2.6vw, 36px); border-radius: var(--sq-r); color: var(--sq-text);
    border: 1px solid rgba(212,175,55,.22);
    box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.04);
    transition: border-color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.sq-start-card:nth-child(1) { background: #141418; }
.sq-start-card:nth-child(2) { background: #1a1a20; }
.sq-start-card:nth-child(3) { background: #212128; }
.sq-start-card:hover { border-color: rgba(212,175,55,.55); transform: translateY(-6px); }
.sq-start-idx { display: flex; align-items: center; gap: 12px; margin: 0 0 1.35rem; font: 500 13px/1 var(--sq-head); letter-spacing: .14em; color: var(--sq-gold); }
.sq-start-idx::after { content: ""; width: 42px; height: 1px; background: var(--sq-gold); }
.sq-start-card h3 { font: 500 clamp(22px, 2vw, 28px)/1.2 var(--sq-head); margin: 0 0 .75rem; letter-spacing: -0.01em; }
.sq-start-card p:last-child { margin: 0; color: #d7d4cc; font-size: 15.5px; line-height: 1.6; max-width: 26em; }

/* ---------------- FAQ (reuses .faq-item JS) ---------------- */
.sq-faq .faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--sq-line); width: 100%; max-width: none; margin: 0; gap: 0; }
.sq-faq .faq-item { border: 0; border-bottom: 1px solid var(--sq-line); background: none; box-shadow: none; border-radius: 0; margin: 0; padding: 0; width: 100%; }
.sq-faq .faq-item:hover { transform: none; box-shadow: none; border-color: var(--sq-line); }
.sq-faq .faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 24px 0; cursor: pointer; background: none; border: 0; }
.sq-faq .faq-question:hover h4 { color: var(--sq-gold-hi); }
.sq-faq .faq-question h4 { font: 400 clamp(18px, 1.7vw, 24px)/1.35 var(--sq-head); margin: 0; color: var(--sq-text); }
.sq-faq .faq-question i { color: var(--sq-gold); transition: transform .3s ease; flex: none; }
.sq-faq .faq-item.active .faq-question i { transform: rotate(180deg); }
.sq-faq .faq-question:hover { background: none; }
.sq-faq .faq-answer { display: block; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; padding: 0; background: none; }
.sq-faq .faq-item.active .faq-answer { max-height: 320px; padding: 0 0 24px; }
.sq-faq .faq-answer p { color: var(--sq-muted); margin: 0; max-width: 60em; line-height: 1.65; }

/* ---------------- CTA band ---------------- */
.sq-cta { padding: clamp(80px, 11vw, 150px) 20px !important; text-align: center; position: relative; overflow: hidden; }
.sq-cta h2 { position: relative; font: 400 clamp(28px, 3.6vw, 50px)/1.2 var(--sq-head); max-width: 20em; margin: 0 auto 2rem; letter-spacing: -0.01em; }
.sq-cta .sq-btn { position: relative; }
.sq-cta-glow {
    position: absolute; left: 50%; top: 55%; width: 640px; height: 340px; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(212,175,55,.38), rgba(212,175,55,0)); filter: blur(10px);
    animation: sq-pulse 6s ease-in-out infinite;
}
@keyframes sq-pulse { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .75; } }

/* ---------------- contact ---------------- */
.sq-contact { background: var(--sq-bg-2); border-top: 1px solid var(--sq-line); }
.sq-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.sq-contact .sq-h2 { margin-bottom: 1.25rem; }
.sq-contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 18px; }
.sq-contact-list li { display: flex; gap: 14px; align-items: flex-start; color: #dcd9d0; font-size: 15px; line-height: 1.5; }
.sq-contact-list i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--sq-card-2); color: var(--sq-gold); flex: none; }
.sq-contact-list a { color: inherit; text-decoration: none; margin-top: 9px; }
.sq-contact-list span { margin-top: 9px; }
.sq-contact-stack { display: flex; flex-direction: column; gap: 4px; margin-top: 9px; }
.sq-contact-stack a { margin-top: 0; }
.sq-contact-list a:hover { color: var(--sq-gold-hi); }
.sq-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    background: var(--sq-card); border: 1px solid var(--sq-line); border-radius: var(--sq-r); padding: clamp(20px, 2.6vw, 34px);
    box-shadow: none; margin: 0;
}
.sq-form .form-group { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.sq-form .form-group.full-width { grid-column: 1 / -1; }
.sq-form label { font: 500 13px/1 var(--sq-body); color: var(--sq-muted); }
.sq-form input, .sq-form textarea {
    width: 100%; box-sizing: border-box; background: #121215; border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
    color: var(--sq-text); font: 400 15px/1.4 var(--sq-body); padding: 13px 14px; transition: border-color .25s, box-shadow .25s;
}
.sq-form input::placeholder, .sq-form textarea::placeholder { color: #6d6a63; }
.sq-form input:focus, .sq-form textarea:focus { outline: none; border-color: var(--sq-gold); box-shadow: 0 0 0 3px rgba(212,175,55,.2); }
.sq-form textarea { resize: vertical; min-height: 130px; }
.sq-form .contact-submit-btn { grid-column: 1 / -1; justify-self: start; width: auto; margin: 0; }

/* ---------------- footer ---------------- */
.sq-footer {
    position: relative; overflow: hidden; background: var(--sq-bg); color: var(--sq-text);
    margin: 0 calc(50% - 50vw); border-top: 1px solid var(--sq-line); font-family: var(--sq-body);
}
.sq-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; border-bottom: 1px solid var(--sq-line); position: relative; z-index: 1; }
.sq-foot-news { padding: 28px clamp(20px, 4vw, 56px); }
.sq-foot-news > p { font: 500 14px/1.3 var(--sq-body); margin: 0 0 14px; }
.sq-news { display: flex; gap: 10px; align-items: center; max-width: 420px; }
.sq-news input { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); color: var(--sq-text); padding: 10px 2px; font: 400 14px/1 var(--sq-body); }
.sq-news input:focus { outline: none; border-color: var(--sq-gold); }
.sq-news .sq-btn { height: 40px; font-size: 14px; }
.sq-foot-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sq-foot-links a { color: var(--sq-muted); text-decoration: none; font-size: 14px; }
.sq-foot-links a:hover { color: var(--sq-gold-hi); }
.sq-foot-cells { border-left: 1px solid var(--sq-line); border-right: 1px solid var(--sq-line); display: flex; flex-direction: column; }
.sq-foot-cells > div { padding: 20px 24px; border-bottom: 1px solid var(--sq-line); font-size: 14px; line-height: 1.5; color: #dcd9d0; flex: 1; }
.sq-foot-cells > div:last-child { border-bottom: 0; }
.sq-foot-cells a { color: inherit; text-decoration: none; }
.sq-foot-cells a:hover { color: var(--sq-gold-hi); }
.sq-foot-social { padding: 20px clamp(20px, 2vw, 24px); display: flex; flex-direction: column; gap: 10px; }
.sq-foot-social a {
    display: flex; justify-content: space-between; align-items: center; color: var(--sq-text); text-decoration: none; font-size: 14px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 10px 12px; max-width: 260px; transition: border-color .25s, color .25s, background .25s;
}
.sq-foot-social a i { font-size: 11px; color: var(--sq-gold); transition: transform .25s; }
.sq-foot-social a:hover { border-color: var(--sq-gold); background: rgba(212,175,55,.08); }
.sq-foot-social a:hover i { transform: translate(2px, -2px); }
.sq-wordmark {
    position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
    padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) 0;
}
.sq-wordmark img { height: clamp(70px, 11vw, 170px); width: auto; flex: none; opacity: .9; }
.sq-wordmark span {
    font: 700 clamp(40px, 7.2vw, 124px)/0.9 var(--sq-head); letter-spacing: -0.04em; white-space: nowrap;
    background: linear-gradient(180deg, rgba(212,175,55,.95), rgba(212,175,55,.05) 92%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sq-foot-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 26px clamp(20px, 4vw, 56px) 30px; font-size: 13px; color: var(--sq-muted); }
.sq-foot-bottom p { margin: 0; }
.sq-foot-bottom div { display: flex; gap: 22px; }
.sq-foot-bottom a { color: var(--sq-text); text-decoration: none; }
.sq-foot-bottom a:hover { color: var(--sq-gold-hi); }
.sq-foot-glow { position: absolute; left: 55%; bottom: -220px; width: 720px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212,175,55,.28), transparent); pointer-events: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
    .sq-product { grid-template-columns: 1fr; }
    .sq-product-media { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
    .sq-steps { grid-template-columns: 1fr 1fr; }
    .sq-step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
    .sq-split { grid-template-columns: 1fr; gap: 0; }
    .sq-split .sq-label { margin-top: 0; }
    .sq-head-row { flex-direction: column; gap: 0; }
    .sq-right { text-align: left; }
    .sq-panel { grid-template-columns: 1fr; min-height: 0; padding: 26px 22px; top: calc(var(--sq-nav-h) + 10px + var(--i) * 12px); }
    .sq-panel-img, .sq-tpanel-img { display: none; }
    .sq-testi-rail { width: min(980px, calc(100% - 32px)); }
    .sq-tpanel { grid-template-columns: 1fr; min-height: 0; padding: 24px 22px; }
    .sq-testi.sq-book .sq-tpanel.is-next,
    .sq-testi.sq-book .sq-tpanel.is-back { transform: none; }
    .sq-cards, .sq-start-grid { grid-template-columns: 1fr; }
    .sq-timeline { grid-template-columns: 1fr; }
    .sq-timeline > div { border-left: 0; border-bottom: 1px solid var(--sq-line); padding: 20px 0; }
    .sq-contact-grid { grid-template-columns: 1fr; }
    .sq-form { grid-template-columns: 1fr; }
    .sq-foot-grid { grid-template-columns: 1fr; }
    .sq-foot-cells { border-left: 0; border-right: 0; border-top: 1px solid var(--sq-line); }
    .sq-foot-social { border-top: 1px solid var(--sq-line); }
    .sq-foot-social a { max-width: none; }
    .sq-media-frame { transform: none !important; }
}
@media (max-width: 560px) {
    .sq-steps { grid-template-columns: 1fr; }
    .sq-step { border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--sq-line); padding-bottom: 24px; }
    .sq-wordmark span { font-size: clamp(22px, 7.4vw, 44px); }
    .sq-wordmark img { height: 56px; }
    .sq-btn { height: 44px; }
}

/* ---------------- reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
    .sq-js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .sq-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .sq-marquee-track [aria-hidden="true"] { display: none; }
    .sq-testi.sq-book .sq-tpanel { transition: none !important; transform: none !important; }
    .sq-cta-glow { animation: none; }
    .sq-btn, .sq-btn::before, .sq-card, .sq-start-card, .sq-quote, .sq-product-media img, .sq-card-img img { transition: none !important; }
    .sq-media-frame { transform: none !important; }
}

/* =====================================================================
   v12: Our Work: 18 single-site panels, sticky "fold over" stack
   ===================================================================== */
.sq-work { margin: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.sq-work-head .sq-h2 { margin-bottom: .9rem; }
.sq-work-lead { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); color: var(--sq-muted); }
.sq-work-stack { display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }
.sq-work-panel {
    position: sticky; top: calc(var(--sq-nav-h-s) + 12px + var(--i) * 5px);   /* earlier panel edges peek above */
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: stretch;
    text-decoration: none; color: var(--sq-text);
    background: linear-gradient(180deg, #1e1e22, #161619); border: 1px solid var(--sq-line); border-radius: var(--sq-r);
    padding: clamp(14px, 1.4vw, 20px); box-shadow: 0 -14px 36px rgba(0,0,0,.5);
    transform-origin: 50% 0; transform: scale(var(--sq-s, 1)); filter: brightness(var(--sq-b, 1));
    will-change: transform, filter;
    transition: border-color .3s ease;
}
.sq-work-panel:hover { border-color: rgba(212,175,55,.5); }
.sq-work-panel:focus-visible { outline: 2px solid var(--sq-gold); outline-offset: 3px; }
.sq-site-frame { border-radius: 14px; overflow: hidden; background: #0f0f12; border: 1px solid rgba(255,255,255,.08); align-self: start; }
.sq-site-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #2d2d33; }
.sq-site-bar i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sq-site-bar i:nth-child(1) { background: #e0675d; } .sq-site-bar i:nth-child(2) { background: #e3b341; } .sq-site-bar i:nth-child(3) { background: #5cc06c; }
.sq-site-bar span { margin-left: 10px; flex: 1; min-width: 0; max-width: 420px; height: 18px; border-radius: 6px; background: #1f1f24; color: #a5a29a; font: 500 11.5px/18px var(--sq-body); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq-site-frame img {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
    max-height: calc(80vh - 150px);    /* keeps each panel within ~80vh (1366x657, 1440x900) */
    transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.sq-work-panel:hover .sq-site-frame img { transform: scale(1.03); }
.sq-site-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(6px, 1.4vw, 22px) clamp(4px, 1vw, 14px) 6px 0; min-width: 0; }
.sq-site-idx { font: 500 13px/1 var(--sq-head); letter-spacing: .1em; color: var(--sq-gold); }
.sq-site-tag { font: 600 11.5px/1 var(--sq-head); letter-spacing: .06em; text-transform: uppercase; color: var(--sq-gold-hi); background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.3); padding: 6px 10px; border-radius: 999px; }
.sq-site-body h3 { font: 500 clamp(24px, 2.4vw, 36px)/1.15 var(--sq-head); letter-spacing: -0.01em; margin: 4px 0 0; color: var(--sq-text); }
.sq-site-body p { margin: 0; color: #cfccc4; font-size: 15.5px; line-height: 1.55; max-width: 26em; }
.sq-site-foot { margin-top: auto; width: 100%; padding-top: 18px; border-top: 1px solid var(--sq-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sq-site-domain { font: 500 14px/1.2 var(--sq-body); color: #dcd9d0; min-width: 0; overflow-wrap: anywhere; }
.sq-site-domain i { color: var(--sq-gold); margin-right: 6px; }
.sq-site-visit { box-sizing: border-box; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--sq-gold); border: 1px solid var(--sq-gold-deep); color: var(--sq-ink); font: 600 14.5px/1 var(--sq-head); transition: background .25s ease, box-shadow .25s ease; }
.sq-site-visit i { font-size: 11px; transition: transform .25s ease; }
.sq-work-panel:hover .sq-site-visit { background: var(--sq-gold-hi); box-shadow: 0 10px 26px rgba(212,175,55,.3); }
.sq-work-panel:hover .sq-site-visit i { transform: translate(2px, -2px); }
/* the capability panels get the same fold-over dimming (js/site-v8.js) */
.sq-panel { transform-origin: 50% 0; transform: scale(var(--sq-s, 1)); filter: brightness(var(--sq-b, 1)); }

/* small screens / short viewports: no stacking, a plain list of single cards */
@media (max-width: 860px), (max-height: 600px) {
    .sq-work-panel { position: static; transform: none; filter: none; box-shadow: none; grid-template-columns: 1fr; gap: 14px; }
    .sq-site-frame img { max-height: none; }
    .sq-site-body { padding: 4px 6px 4px; gap: 10px; }
    .sq-site-body h3 { font-size: 22px; }
    .sq-site-body p { font-size: 14.5px; }
    .sq-site-foot { padding-top: 14px; }
}
@media (max-width: 420px) {
    .sq-site-visit { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .sq-work-panel, .sq-panel { position: static !important; transform: none !important; filter: none !important; }
    .sq-work-panel, .sq-site-frame img { transition: none !important; }
}

/* =====================================================================
   v14: Featured Solutions intro (two columns) + stacked solution cards
   ===================================================================== */
.sq-featured { padding-top: clamp(72px, 9vw, 120px) !important; }
.sq-intro {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px);
    align-items: center; margin-bottom: clamp(56px, 7vw, 96px);
}
.sq-intro-copy .sq-h2 { margin-bottom: 1.25rem; max-width: 12em; }
.sq-intro-copy .sq-lead { max-width: 34em; color: #d4d1c9; font-size: 16.5px; margin-bottom: 1.6rem; }
.sq-chips { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sq-chips li {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
    border: 1px solid var(--sq-line); background: rgba(255,255,255,.03); color: #e6e3db; font: 500 14px/1 var(--sq-body);
    transition: border-color .25s ease, background .25s ease;
}
.sq-chips li i { color: var(--sq-gold); font-size: 13px; }
.sq-chips li:hover { border-color: rgba(212,175,55,.5); background: rgba(212,175,55,.08); }
.sq-intro-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sq-intro-media { position: relative; perspective: 1400px; padding: 0 0 46px 0; }
.sq-intro-frame {
    position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3;
    border: 1px solid rgba(212,175,55,.35); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.03);
    transform: rotateX(var(--tilt, 0deg)) rotateZ(calc(var(--tilt, 0deg) * -0.18)); transform-origin: 50% 100%;
    will-change: transform;
}
.sq-intro-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sq-intro-frame .sq-media-tag { left: 16px; top: 16px; bottom: auto; }
.sq-intro-stats {
    position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 0; display: flex; gap: 0;
    background: rgba(24,24,28,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212,175,55,.35); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.5); overflow: hidden;
}
.sq-intro-stats div { display: flex; flex-direction: column; gap: 6px; padding: 16px 22px; border-left: 1px solid var(--sq-line); }
.sq-intro-stats div:first-child { border-left: 0; }
.sq-intro-stats b { font: 500 28px/1 var(--sq-head); color: var(--sq-gold-hi); letter-spacing: -0.01em; }
.sq-intro-stats span { font: 500 12px/1.2 var(--sq-body); color: var(--sq-muted); white-space: nowrap; }

/* solution cards: same fold-over stack as Our Work / Capabilities */
.sq-products { gap: 18px; }
.sq-product {
    position: sticky; top: calc(var(--sq-nav-h-s) + 12px + var(--i) * 6px);
    background: linear-gradient(180deg, #1e1e22, #18181b);
    box-shadow: 0 -14px 36px rgba(0,0,0,.5);
    transform-origin: 50% 0; transform: scale(var(--sq-s, 1)); filter: brightness(var(--sq-b, 1));
    will-change: transform, filter;
    max-height: calc(100vh - var(--sq-nav-h-s) - 48px);
}
.sq-product-idx { position: absolute; top: clamp(18px, 1.8vw, 24px); right: clamp(18px, 1.8vw, 24px); z-index: 2; font: 500 13px/1 var(--sq-head); letter-spacing: .1em; color: var(--sq-gold); background: rgba(12,12,14,.7); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--sq-line); }
.sq-product-copy .sq-badge { margin-bottom: .8rem; }
.sq-product-copy .sq-lead { font-size: 14.5px; margin-bottom: 1rem; }
.sq-product-copy .sq-acc { margin-bottom: 1rem; gap: 6px; }
.sq-product-copy .sq-acc-q { padding: 9px 12px; }
.sq-product-copy .sq-note { margin-bottom: .9rem; }
.sq-product-media { min-height: 0; max-height: min(460px, calc(80vh - 90px)); }

@media (max-width: 1100px) {
    .sq-intro { grid-template-columns: 1fr; }
    .sq-intro-copy .sq-h2 { max-width: none; }
    .sq-intro-media { max-width: 720px; }
    .sq-intro-stats { left: 12px; }
}
/* small screens / short viewports: no stacking */
@media (max-width: 1100px), (max-height: 600px) {
    .sq-product { position: relative; transform: none; filter: none; box-shadow: none; max-height: none; }
    .sq-product-media { max-height: none; }
}
@media (max-width: 560px) {
    .sq-intro-media { padding-bottom: 0; }
    .sq-intro-stats { position: relative; left: 0; margin-top: 14px; width: 100%; }
    .sq-intro-stats div { flex: 1; padding: 14px 12px; }
    .sq-intro-stats b { font-size: 22px; }
    .sq-intro-stats span { white-space: normal; font-size: 11.5px; }
    .sq-intro-ctas .sq-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .sq-product { position: relative !important; transform: none !important; filter: none !important; }
    .sq-intro-frame { transform: none !important; }
}
/* v14: compact solution cards on short desktop screens (e.g. 1366x657) */
@media (min-width: 1101px) and (max-height: 780px) {
    .sq-product { padding: 16px; gap: 22px; }
    .sq-product-copy .sq-badge { height: 32px; margin-bottom: .55rem; }
    .sq-product-copy .sq-h3 { font-size: 24px; margin-bottom: .4rem; }
    .sq-product-copy .sq-lead { font-size: 14px; line-height: 1.5; margin-bottom: .7rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .sq-product-copy .sq-acc { margin-bottom: .8rem; }
    .sq-product-copy .sq-acc-q { padding: 8px 12px; font-size: 14px; }
    .sq-product-copy .sq-note { display: none; }
    .sq-product-copy .sq-btn { height: 42px; margin-top: auto; }
}
