.site-contact-strip {
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 10001;
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    padding: 5px clamp(16px, 4vw, 46px);
    background: #e91d2b;
    color: #f5f7fc;
    font: 12px/1.4 Arial, Helvetica, sans-serif;
}

/* the strip stays pinned at the top while scrolling; the header sticks just below it */
.site-contact-strip + .site-header { top: 30px; }

.site-contact-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transform: translateX(5px);
}

.contact-strip-icon {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-contact-strip a:hover,
.site-contact-strip a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-contact-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.site-contact-social a {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    transform: none;
    transition: filter .2s ease, transform .2s ease;
}

.site-contact-social svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.site-contact-social .contact-instagram { fill: none; stroke: currentColor; stroke-width: 2; }
.site-contact-social .contact-instagram-dot { fill: currentColor; stroke: none; }

.site-contact-social a:hover,
.site-contact-social a:focus-visible {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9));
    transform: scale(1.12);
}

/* phones: number, email and the social icons all on one line (smaller text + icons) */
@media (max-width: 520px) {
    .site-contact-strip {
        min-height: 30px;
        flex-wrap: nowrap;
        gap: clamp(8px, 2.6vw, 14px);
        padding: 5px clamp(8px, 2.6vw, 12px);
        font-size: clamp(9.5px, 2.75vw, 11px);
    }
    .site-contact-strip a { gap: 4px; transform: none; }
    .site-contact-strip > a:hover,
    .site-contact-strip > a:focus-visible { transform: none; }   /* glow only, no slide */
    .contact-strip-icon { width: 12px; height: 12px; flex-basis: 12px; }
    .site-contact-strip + .site-header { top: 30px; }
    .site-contact-social { flex: 0 0 auto; margin-left: auto; gap: clamp(7px, 2.4vw, 12px); }
    .site-contact-social a,
    .site-contact-social svg { width: 13px; height: 13px; }
}

/* Full-bleed page shells; inner content containers retain their own sizing. */
html,
body {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

html {
    scroll-snap-type: none;   /* free scrolling: snapping pulled the page away from the footer */
    scroll-padding-top: 30px;
}

.site-contact-strip { scroll-snap-align: none; }


body {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body > main { flex: 1 0 auto; }

body > header,
body > main,
body > footer,
body > .site-contact-strip,
main > section,
main > footer,
#siteHeader {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

body > main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Same 30px breathing space above the footer as below the Our Products cards. */
main > section.dm-projects { margin-bottom: 0 !important; padding-bottom: 30px !important; }


/* hover: the item only glows - it brightens to white with a soft white glow, no sliding,
   underline or zoom. Number, email + social icons. */
.site-contact-strip a {
    color: rgba(255, 255, 255, .86);
    transition: color .2s ease, text-shadow .2s ease, filter .2s ease;
}
.site-contact-strip > a:hover,
.site-contact-strip > a:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);                 /* stays where it rests */
    text-shadow: 0 0 6px rgba(255, 255, 255, .85);
}
.site-contact-strip > a:hover .contact-strip-icon,
.site-contact-strip > a:focus-visible .contact-strip-icon { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)); }   /* the phone / mail icon glows too */
.site-contact-social a:hover,
.site-contact-social a:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: none;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95));
}


/* =========================================================
   Running announcement line in the top strip (werize.com style):
   a small "NEW" pill, then one line of text sliding right -> left
   in a seamless loop (the text is in the markup twice). Pauses on hover.
========================================================= */
.site-top-marquee {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    max-width: 820px;
    margin: 0 auto;
    align-items: center;
    gap: 8px;
}
.stm-badge {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 20px;
    background: #fff;
    color: #e91d2b;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.stm-track {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.stm-inner {
    display: flex;
    width: max-content;
    animation: stmRun 26s linear infinite;
}
.stm-inner p {
    margin: 0;
    padding-right: 50px;
    white-space: nowrap;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .92);
}
.site-top-marquee:hover .stm-inner { animation-play-state: paused; }
@keyframes stmRun {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .stm-inner { animation: none; }
    .stm-inner p:last-child { display: none; }
    .stm-track { -webkit-mask-image: none; mask-image: none; }
    .stm-inner p { white-space: normal; padding-right: 0; }
}

/* dark theme: orange pill as on the reference site, on the dark glass strip */
html[data-theme="dark"] .stm-badge { background: #ff8637; color: #fff; }
html[data-theme="dark"] .stm-inner p { color: rgba(245, 247, 252, .82); }

/* tablets + phones: the running line gets its own row on top, the contact row sits below
   (fixed heights so the sticky header can sit exactly under the strip) */
@media (max-width: 760px) {
    .site-contact-strip {
        flex-wrap: wrap;
        height: 52px;
        align-content: center;
        row-gap: 4px;
    }
    .site-top-marquee {
        order: -1;
        flex: 0 0 100%;
        max-width: none;
        height: 20px;
    }
    .site-contact-strip > a,
    .site-contact-social { height: 18px; }
    .site-contact-strip + .site-header { top: 52px; }
    html { scroll-padding-top: 52px; }
}
@media (max-width: 520px) {
    .site-contact-strip { height: 52px; min-height: 52px; flex-wrap: wrap; }
    .site-contact-strip + .site-header { top: 52px; }
    .stm-inner p { font-size: 11.5px; }
}
