/* quickstrike redesign styles. loaded after the old theme css so this one wins. */

/* Gotham - the brand typeface, self-hosted */
@font-face {
    font-family: 'Gotham'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../assets/fonts/Gotham-Book.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../assets/fonts/Gotham-Medium.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../assets/fonts/Gotham-Medium.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../assets/fonts/Gotham-Bold.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('../assets/fonts/Gotham-Black.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham'; font-style: normal; font-weight: 900; font-display: swap;
    src: url('../assets/fonts/Gotham-Black.otf') format('opentype');
}

:root {
    --qx-red: #E8232A;
    --qx-ink: #141414;
    --qx-gray: #6c6c6c;
    --qx-light: #9a9a9a;
    --hero-bg: #e9e9e9;
    --section-gray: #f3f3f3;
    --font-head: 'Gotham', 'Montserrat', 'Open Sans', sans-serif;
    --font-body: 'Gotham', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-h: 92px;
    --maxw: 1180px;
}

/* basics, on top of the old css + bootstrap */
.qx-home, .qx-nav, .qx-ontime, .qx-footer { box-sizing: border-box; }
.qx-home *, .qx-nav *, .qx-ontime *, .qx-footer * { box-sizing: border-box; }

body { font-family: var(--font-body); color: var(--qx-ink); background: #fff; }

/* the old theme drops a hard black text-shadow on every h2/h3 - kill it on our pages */
.qx-home h1, .qx-home h2, .qx-home h3,
.qx-page h1, .qx-page h2, .qx-page h3,
.qx-nav h1, .qx-nav h2, .qx-footer h1, .qx-footer h2 { text-shadow: none; }

.qx-home { padding-top: var(--nav-h); }
.qx-home img { max-width: 100%; display: block; }

/* nav */
.qx-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    background: #fff;
    transition: box-shadow .3s ease, height .3s ease;
}
.qx-nav.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }

.qx-nav__inner {
    max-width: none; height: 100%; margin: 0;
    padding: 0 34px 0 12px;
    display: flex; align-items: center; justify-content: space-between;
}
.qx-nav__brand { display: inline-flex; align-items: center; }
.qx-nav__brand img { height: 44px; width: auto; display: block; }

.qx-nav__title {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-head); font-weight: 700; font-size: 22px;
    letter-spacing: .04em; color: var(--qx-ink) !important;
    text-decoration: none; white-space: nowrap; pointer-events: auto;
}
/* bootstrap underlines links on hover, kill it on the wordmark */
.qx-nav__title:hover, .qx-nav__title:focus { text-decoration: none; }

.qx-nav__links { display: flex; align-items: center; gap: 34px; }
.qx-nav__links a {
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
    letter-spacing: .5px; color: var(--qx-ink) !important;
    text-decoration: none; position: relative; padding: 6px 0;
    transition: color .2s ease;
}
.qx-nav__links a::before {
    content: "+"; color: var(--qx-red); font-weight: 700; margin-right: 6px;
}
.qx-nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--qx-red); transition: width .25s ease;
}
.qx-nav__links a:hover { color: var(--qx-red) !important; }
.qx-nav__links a:hover::after { width: 100%; }

/* hamburger (mobile only) */
.qx-nav__toggle {
    display: none; border: 0; background: none; cursor: pointer;
    width: 38px; height: 32px; padding: 6px; position: relative;
}
.qx-nav__toggle span {
    display: block; height: 2.5px; width: 100%; background: var(--qx-ink);
    border-radius: 2px; margin: 4px 0; transition: transform .3s ease, opacity .3s ease;
}
.qx-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.qx-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qx-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* hero - the brand image banner */
.qx-hero { background: #fff; }
.qx-hero__img { display: block; width: 100%; height: auto; }

/* mission / tagline */
.qx-mission { text-align: center; padding: 96px 24px; }

/* logo starts as the full wordmark then shrinks down into just the Q */
.qx-mission__logo {
    position: relative; height: 130px; margin: 0 auto 12px;
}
.qx-mission__full, .qx-mission__mark {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); height: auto;
}
.qx-mission__full { width: 230px; opacity: 1; }     /* wordmark first */
.qx-mission__mark { width: 170px; opacity: 0; }      /* Q comes in after */
.qx-mission.is-visible .qx-mission__full { animation: qx-logo-out 2s ease forwards; }
.qx-mission.is-visible .qx-mission__mark { animation: qx-logo-in .8s ease 1.55s forwards; }
@keyframes qx-logo-out {
    0%, 50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100%    { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
}
@keyframes qx-logo-in {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.qx-mission__tagline {
    max-width: 1040px; margin: 0 auto; color: var(--qx-ink);
    font-family: var(--font-body); font-weight: 400;
    font-size: clamp(15px, 1.5vw, 20px); line-height: 1.7;
    text-wrap: balance; text-wrap: pretty;
}
/* words fade in one at a time. kept as plain inline text so the line wrapping
   matches across browsers (inline-block was wrapping differently in safari) */
.qx-mission__tagline .qx-w {
    opacity: 0; transition: opacity .55s ease;
}
.qx-mission.is-visible .qx-mission__tagline .qx-w { opacity: 1; }
/* manual 2-line break for the tagline. on tablet/desktop; phones wrap naturally */
.qx-tagbreak { display: none; }
@media (min-width: 900px) { .qx-tagbreak { display: inline; } }

/* the two explore cards */
.qx-features { padding: 44px 24px 90px; }
.qx-features__grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.qx-feature { text-align: center; }
.qx-feature__media {
    overflow: hidden; border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.qx-feature__media img {
    width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.qx-feature:hover .qx-feature__media img { transform: scale(1.06); }

/* explore buttons */
.qx-btn {
    display: inline-block; margin-top: 30px;
    font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
    letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none;
    color: var(--qx-ink) !important;
    padding: 15px 40px; border: 1.5px solid var(--qx-ink); background: transparent;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.qx-btn:hover, .qx-btn:focus {
    background: #000; border-color: #000; color: #fff !important; text-decoration: none !important;
}

/* customer reviews */
.qx-testimonials { background: var(--section-gray); padding: 78px 24px 86px; }
.qx-testimonials__title {
    text-align: center; font-family: var(--font-head); font-weight: 700; text-shadow: none;
    font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .14em; text-transform: uppercase;
    color: var(--qx-ink); margin: 0 0 44px;
}

/* the review cards slide across on their own, js does the scrolling */
.qx-marquee {
    overflow: hidden; position: relative; cursor: grab;
}
.qx-marquee.is-grabbing { cursor: grabbing; }
.qx-marquee__track { display: flex; width: max-content; will-change: transform; }
.qx-marquee__slide { flex: 0 0 auto; width: 420px; margin-right: 26px; }
.qx-marquee__slide img {
    width: 100%; height: auto; border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08); background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
    pointer-events: none;
}
.qx-marquee__slide:hover img { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.14); }

/* on time every time block */
.qx-ontime { background: #fff; text-align: center; padding: 70px 24px 50px; }
.qx-ontime__stack p { margin: 3px 0; font-family: var(--font-head); opacity: 0; }
.qx-ontime__alt {
    color: #d2d2d2; font-weight: 700; letter-spacing: .04em;
    font-size: clamp(14px, 1.4vw, 18px);
}
.qx-ontime__main {
    color: var(--qx-ink); font-weight: 700; letter-spacing: .04em;
    font-size: clamp(18px, 2vw, 25px);
}
/* lines rise in one-by-one when the block scrolls into view */
.qx-ontime.is-visible .qx-ontime__stack p { animation: qx-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.qx-ontime.is-visible .qx-ontime__stack p:nth-child(1) { animation-delay: .05s; }
.qx-ontime.is-visible .qx-ontime__stack p:nth-child(2) { animation-delay: .18s; }
.qx-ontime.is-visible .qx-ontime__stack p:nth-child(3) { animation-delay: .31s; }
.qx-ontime.is-visible .qx-ontime__stack p:nth-child(4) { animation-delay: .44s; }
.qx-ontime.is-visible .qx-ontime__stack p:nth-child(5) { animation-delay: .57s; }
/* give the english line a little pop. needs to be more specific to beat the rule above */
.qx-ontime.is-visible .qx-ontime__stack p.qx-ontime__main {
    animation: qx-pop .75s cubic-bezier(.2,.9,.3,1.25) .18s both;
}
@keyframes qx-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes qx-pop { 0% { opacity: 0; transform: scale(.86); } 60% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

/* footer */
.qx-footer { background: #fff; padding: 28px 48px 30px 34px; }
.qx-footer__main {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
    padding-bottom: 26px;
}
.qx-footer__word {
    font-family: var(--font-head); font-weight: 700; font-size: 24px;
    letter-spacing: .02em; color: var(--qx-ink); display: block;
}
.qx-footer__mission {
    max-width: 440px; margin: 14px 0 0; color: #333;
    font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 1.65;
    text-wrap: balance; text-wrap: pretty;
}
.qx-footer__links { display: flex; gap: 30px; flex-shrink: 0; padding-top: 6px; }
.qx-footer__links a {
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
    color: var(--qx-ink) !important; text-decoration: none; transition: color .2s ease;
}
.qx-footer__links a::before { content: "+"; color: var(--qx-red); font-weight: 700; margin-right: 6px; }
.qx-footer__links a:hover { color: var(--qx-red) !important; }

/* black bar at the very bottom */
.qx-footer__bottom { background: #000; }
.qx-footer__bar {
    padding: 18px 48px 18px 34px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,.7);
}
.qx-footer__legal a {
    color: #fff !important; text-decoration: none; margin-left: 26px;
    transition: color .2s ease;
}
.qx-footer__legal a:hover { color: var(--qx-red) !important; }

/* scroll reveal */
[data-reveal] {
    opacity: 0; transform: translateY(34px);
    transition: opacity .85s ease, transform .85s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .16s; }
[data-reveal-delay="2"] { transition-delay: .32s; }

/* mobile / tablet */
@media (max-width: 768px) {
    :root { --nav-h: 74px; }
    .qx-nav__brand img { height: 36px; }
    .qx-nav__title { font-size: 17px; }
    .qx-nav__toggle { display: block; }
    .qx-nav__links {
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: #fff; padding: 0 28px;
        max-height: 0; overflow: hidden; box-shadow: 0 12px 18px rgba(0,0,0,.08);
        transition: max-height .35s ease, padding .35s ease;
    }
    .qx-nav__links.is-open { max-height: 280px; padding: 10px 28px 22px; }
    .qx-nav__links a { width: 100%; padding: 13px 0; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
    .qx-nav__links a::after { display: none; }

    .qx-mission { padding: 64px 22px; }
    .qx-features__grid { grid-template-columns: 1fr; gap: 34px; }
    .qx-feature__media img { aspect-ratio: 16 / 11; }

    .qx-marquee__slide { width: 300px; margin-right: 18px; }

    .qx-footer__main { flex-direction: column; gap: 22px; }
    .qx-footer__bar { flex-direction: column; gap: 12px; text-align: center; }
    .qx-footer__legal a { margin: 0 13px; }
}

/* tech + factories pages (they share this) */
.qx-page { padding-top: var(--nav-h); }

/* history / brand wall */
.qx-history__head { text-align: center; padding: 70px 24px 8px; }
/* same size as the homepage heading so the two pages match */
.qx-history__title {
    font-family: var(--font-head); font-weight: 700; color: var(--qx-ink);
    font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .14em; margin: 0;
    text-transform: uppercase;
}
.qx-history__title span { color: var(--qx-red); }

/* matches the breathing room under the homepage heading */
.qx-brandgrid { padding: 96px 24px 90px; }
.qx-brandgrid__inner {
    max-width: 1040px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(6, 1fr);
    column-gap: 24px; row-gap: 44px; align-items: center;
}
.qx-brand {
    display: flex; align-items: center; justify-content: center;
    min-height: 70px; padding: 6px;
}
/* sized to match the proportions on kaylee's mockup */
.qx-brand img {
    max-width: 67%; max-height: 44px; width: auto; height: auto;
    object-fit: contain; display: block;
    transition: transform .25s ease, opacity .25s ease;
}
.qx-brand img:hover { transform: scale(1.06); }

/* brand logo slider on the homepage */
.qx-brands { background: #fff; padding: 150px 0 116px; text-align: center; overflow: hidden; }
.qx-brands__title {
    font-family: var(--font-head); font-weight: 700; color: var(--qx-ink);
    font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .14em;
    text-transform: uppercase; margin: 0 0 104px;
}
.qx-brands__title span { color: var(--qx-red); }
.qx-marquee__brand {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    height: 64px; margin-right: 88px;
}
.qx-marquee__brand img {
    max-height: 52px; max-width: 160px; width: auto; height: auto;
    object-fit: contain; display: block; pointer-events: none;
}
.qx-brands__cta { margin-top: 92px; }

@media (max-width: 640px) {
    .qx-brands { padding: 104px 0 84px; }
    .qx-brands__title { margin: 0 0 68px; }
    .qx-marquee__brand { height: 52px; margin-right: 56px; }
    .qx-marquee__brand img { max-height: 42px; max-width: 120px; }
    .qx-brands__cta { margin-top: 64px; }
}

@media (max-width: 980px) {
    .qx-brandgrid__inner { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
}
@media (max-width: 640px) {
    .qx-brandgrid__inner { grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: 34px; }
    .qx-brand { min-height: 78px; }
    .qx-brand img { max-height: 58px; }
}
@media (max-width: 400px) {
    .qx-brandgrid__inner { grid-template-columns: repeat(2, 1fr); }
}

/* dark banner hero with the logo sitting bottom-left */
.qx-phero {
    position: relative; overflow: hidden;
    min-height: clamp(360px, 34vw, 540px);
    background: #33373d center / cover no-repeat;
    display: flex; align-items: flex-end;
}
.qx-phero--tech { background-image: url('../assets/tech-hero.jpg'); }
.qx-phero--factories { background-image: url('../assets/factories-hero.jpg'); }
.qx-phero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(18,20,23,.55), rgba(18,20,23,.12));
}
.qx-phero__inner {
    position: relative; z-index: 1; width: 100%;
    padding: 0 24px 40px 48px;
}
/* white hero logo (Q TECH / Q FACTORIES) sitting on the dark hero */
.qx-phero__logo { display: block; width: clamp(260px, 40vw, 520px); height: auto; }
/* factories word is longer so give it more width */
.qx-phero--factories .qx-phero__logo { width: clamp(330px, 56vw, 820px); }
.qx-phero__tagline {
    margin: 16px 0 0; color: rgba(255,255,255,.9);
    font-family: var(--font-body); font-weight: 400;
    font-size: 13px; line-height: 1.6; max-width: 600px;
}
.qx-rows { background: #fff; padding: 64px 24px 84px; }
.qx-row {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; align-items: flex-start; gap: 56px; padding: 38px 0;
}
.qx-row__text, .qx-row__media { flex: 1 1 0; min-width: 0; }
.qx-row__text { text-align: left; }
.qx-row__title {
    font-family: var(--font-head); font-weight: 700; text-align: left; text-shadow: none;
    font-size: clamp(20px, 2vw, 27px); color: var(--qx-ink); margin: 0 0 20px;
}
.qx-row__list { list-style: none; margin: 0; padding: 0 0 0 14px; }
.qx-row__list li {
    margin-bottom: 11px; color: #383838; font-size: 14px; line-height: 1.6;
}
.qx-row__list li strong { color: var(--qx-ink); font-weight: 700; }
/* certification badge strip under a factory title */
.qx-row__audits { display: block; height: 46px; width: auto; max-width: 100%; margin: 2px 0 12px; }
/* the Product Line / Manufacturing Capabilities headings */
.qx-row__sub {
    font-family: var(--font-head); font-weight: 700; font-size: 14px; text-align: left;
    color: var(--qx-ink); margin: 20px 0 11px;
}
.qx-row__media img,
.qx-row__media video {
    width: 100%; height: auto; border-radius: 4px; display: block;
    box-shadow: 0 12px 30px rgba(0,0,0,.13);
}
.qx-row__ph {
    aspect-ratio: 4 / 3; background: #dcdcdc; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: #8c8c8c; font-family: var(--font-head); font-size: 13px; padding: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.qx-row--reverse { flex-direction: row-reverse; }

/* slide the text and photo in from opposite sides */
.qx-row[data-reveal] { transform: none; }
.qx-row__text { opacity: 0; transform: translateX(-38px); transition: opacity .8s ease, transform .8s ease; }
.qx-row__media { opacity: 0; transform: translateX(38px); transition: opacity .8s ease, transform .8s ease; }
.qx-row.is-visible .qx-row__text, .qx-row.is-visible .qx-row__media { opacity: 1; transform: none; }
.qx-row--reverse .qx-row__text { transform: translateX(38px); }
.qx-row--reverse .qx-row__media { transform: translateX(-38px); }

@media (max-width: 768px) {
    .qx-phero { min-height: clamp(260px, 60vw, 400px); }
    .qx-phero__inner { padding: 0 22px 26px; }
    /* logos shrink to fit the phone; tagline wraps under them */
    .qx-phero__logo { width: min(100%, 360px); }
    .qx-phero--factories .qx-phero__logo { width: 100%; }
    .qx-rows { padding: 40px 22px 56px; }
    .qx-row__audits { height: auto; width: 100%; max-width: 360px; }
    .qx-row, .qx-row--reverse { flex-direction: column; align-items: stretch; gap: 26px; padding: 26px 0; }
    .qx-row__text, .qx-row--reverse .qx-row__text,
    .qx-row__media, .qx-row--reverse .qx-row__media { transform: translateY(28px); }
    .qx-row.is-visible .qx-row__text, .qx-row.is-visible .qx-row__media { transform: none; }
}

/* contact page */
.qx-contact { background: #fff; }
.qx-contact__head { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 10px; }
.qx-contact__title {
    font-family: var(--font-head); font-weight: 700; text-align: center; text-shadow: none;
    font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.01em; line-height: 1.1;
    color: var(--qx-ink); margin: 0;
}

.qx-contact__formwrap { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px 48px; }
.qx-form { max-width: 720px; margin: 0 auto; }
.qx-form__group { margin-bottom: 20px; }
.qx-form__row { display: flex; gap: 22px; }
.qx-form__row > * { flex: 1 1 0; min-width: 0; }
.qx-form__label {
    display: block; font-family: var(--font-head); font-weight: 700;
    font-size: 13px; color: var(--qx-ink); margin: 0 0 8px;
}
.qx-input {
    width: 100%; box-sizing: border-box; background: #f3f3f3;
    border: 1px solid #e6e6e6; border-radius: 4px; padding: 13px 14px;
    font-family: var(--font-body); font-size: 14px; color: var(--qx-ink);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.qx-input::placeholder { color: #b6b6b6; }
.qx-input:focus { outline: none; border-color: var(--qx-red); box-shadow: 0 0 0 3px rgba(237,28,36,.12); background: #fff; }
.qx-textarea { resize: vertical; min-height: 130px; }
.qx-form__hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.qx-submit {
    display: block; width: fit-content; margin: 6px auto 0; border: 0; cursor: pointer;
    background: var(--qx-ink); color: #fff; border-radius: 4px;
    font-family: var(--font-head); font-weight: 700; letter-spacing: .08em;
    font-size: 13px; padding: 14px 40px; transition: background .2s ease, transform .2s ease;
}
.qx-submit:hover { background: var(--qx-red); transform: translateY(-1px); }
.qx-form__status { margin: 16px 0 0; font-size: 14px; font-weight: 700; text-align: center; }
.qx-form__status.is-success { color: #1a8a3a; }
.qx-form__status.is-error { color: var(--qx-red); }

.qx-contact__info {
    max-width: var(--maxw); margin: 0 auto; padding: 28px 24px 58px;
    display: flex; gap: 30px; text-align: center;
}
.qx-info { flex: 1 1 0; }
.qx-info__icon { height: 30px; width: auto; margin: 0 auto 14px; display: block; opacity: .85; }
.qx-info__title {
    font-family: var(--font-head); font-weight: 700; text-align: center;
    font-size: 16px; color: var(--qx-ink); margin: 0 0 8px;
}
.qx-info__text { font-size: 13px; color: #555; line-height: 1.7; margin: 0; }
.qx-info__text a { color: inherit; text-decoration: none; transition: color .2s ease; }
.qx-info__text a:hover { color: var(--qx-red); }

.qx-letter {
    max-width: var(--maxw); margin: 0 auto 72px; min-height: 470px;
    display: flex; align-items: stretch; background: #f1f1f1;
}
/* pin the photo so it fills its side without stretching the whole box */
.qx-letter__media { flex: 0 0 36%; position: relative; overflow: hidden; min-height: 470px; }
.qx-letter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.qx-letter__text {
    flex: 1 1 0; padding: 46px 54px;
    display: flex; flex-direction: column; justify-content: center;
}
.qx-letter__text p { color: #2c2c2c; font-size: 15px; line-height: 1.75; margin: 0 0 16px; text-align: center; }
.qx-letter__close { text-align: center !important; margin: 0 0 4px !important; }
.qx-letter__sign { text-align: center !important; margin-top: 18px !important; color: #555 !important; }

@media (max-width: 768px) {
    .qx-contact__head { padding: 40px 22px 6px; }
    .qx-contact__title { font-size: clamp(23px, 6.4vw, 34px); line-height: 1.15; overflow-wrap: anywhere; }
    .qx-contact__formwrap { padding: 18px 22px 40px; }
    .qx-contact__info { flex-direction: column; gap: 34px; padding: 24px 22px 44px; }
    .qx-form { max-width: 100%; }
    .qx-form__row { flex-direction: column; gap: 18px; }
    .qx-form__row > *, .qx-form__group, .qx-input, .qx-textarea { min-width: 0; max-width: 100%; }
    .qx-letter { flex-direction: column; margin: 0 22px 56px; min-height: 0; }
    .qx-letter__media { flex-basis: auto; min-height: 0; height: auto; aspect-ratio: 4 / 5; }
    .qx-letter__text { padding: 28px 26px; }
}

/* login page (welcome + the live clocks) */
.qx-login { background: #fff; }
.qx-login__wrap {
    min-height: calc(100vh - var(--nav-h) - 80px);
    display: flex; align-items: center; justify-content: center; padding: 50px 24px;
}
.qx-login__inner { width: 100%; max-width: 400px; }

.qx-login__brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 28px; }
.qx-login__mark { height: 30px; width: auto; display: block; }
.qx-login__welcome {
    font-family: var(--font-head); font-weight: 700; text-shadow: none;
    font-size: 26px; letter-spacing: .03em; color: var(--qx-ink);
}

.qx-login__field { position: relative; margin-bottom: 18px; }
.qx-login__field input {
    width: 100%; box-sizing: border-box; border: 1.5px solid #2a2a2a; border-radius: 6px;
    padding: 15px 14px; font-size: 14px; background: #fff; color: var(--qx-ink); font-family: var(--font-body);
    transition: border-color .2s ease;
}
.qx-login__field input:focus { outline: none; border-color: var(--qx-red); }
.qx-login__field label {
    position: absolute; top: -8px; left: 12px; background: #fff; padding: 0 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2a2a2a;
}
.qx-login__field label::before { content: "* "; color: var(--qx-red); }

.qx-login__remember {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #333; font-weight: 600; margin: 2px 0 18px;
}
.qx-login__remember input { width: 16px; height: 16px; accent-color: var(--qx-red); }
.qx-login__btn { width: 100%; text-align: center; }

.qx-clocks { display: flex; gap: 48px; margin-top: 56px; }
.qx-clock { display: flex; flex-direction: column; }
.qx-clock__day { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--qx-ink); }
.qx-clock__time {
    font-family: var(--font-head); font-weight: 800; line-height: 1.05;
    font-size: clamp(22px, 3vw, 31px); color: var(--qx-ink); margin: 3px 0 5px;
}
.qx-clock__loc { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #c2c2c2; }

/* privacy policy page */
.qx-legal { background: #fff; }
.qx-legal__inner { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.qx-legal__title {
    font-family: var(--font-head); font-weight: 700; text-shadow: none;
    font-size: clamp(28px, 4vw, 44px); color: var(--qx-ink); margin: 0 0 6px;
}
.qx-legal__updated { color: #999; font-size: 13px; margin: 0 0 32px; }
.qx-legal__h {
    font-family: var(--font-head); font-weight: 700; text-align: left; text-shadow: none;
    font-size: 18px; color: var(--qx-ink); margin: 30px 0 10px;
}
.qx-legal p { color: #3a3a3a; font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.qx-legal__contact { color: var(--qx-ink); font-weight: 600; }
.qx-legal a { color: var(--qx-red); text-decoration: none; }
.qx-legal a:hover { text-decoration: underline; }

/* kill the animations if someone has reduced motion turned on */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .qx-ontime__stack p { opacity: 1 !important; animation: none !important; }
    .qx-mission__tagline .qx-w { opacity: 1 !important; transform: none !important; }
    .qx-mission__full { display: none !important; }
    .qx-mission__mark { opacity: 1 !important; transform: translate(-50%, -50%) !important; animation: none !important; }
    .qx-hero__watermark { animation: none !important; }
    .qx-feature__media img, .qx-marquee__track, .qx-marquee__slide img { transition: none !important; }
    .qx-hero__watermark { transform: rotate(-18deg) !important; }
    .qx-row__text, .qx-row__media { opacity: 1 !important; transform: none !important; }
}
