/* ============================================================
   Krung Travel â€” cinematic Bangkok landing page
   ============================================================ */

:root {
    --ink: #0d2340;
    --muted: #44586f;
    --light: #7a8ca0;
    --orange: #005bac;
    --star: #f7c325;
    --heart: #ff4d5e;
    --peach: #fff;
    --ease: cubic-bezier(.65, 0, .35, 1);
    --out: cubic-bezier(.16, 1, .3, 1);
    --pad: clamp(20px, 9.5vw, 170px);
    --m: clamp(10px, 1.1vw, 16px);      /* gap between viewport edge and hero frame */
    --frame-r: 30px;                    /* hero frame corner radius */
    --r: 26px;                          /* inverted (cut-out) corner radius */
    --inset: clamp(16px, min(2.4vw, 3.6vh), 36px);  /* inner padding of the frame */
    --nav-h: clamp(68px, 10vh, 84px);
    /* One standard, highly readable font across the whole site */
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background: #fff;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background-color: #fff;
    overflow-x: hidden;
    overflow-x: clip;   /* clip (not a scroll container) keeps position: sticky working */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ico {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.ico-fill { width: 1em; height: 1em; fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- cursor */
body.has-cursor,
body.has-cursor * { cursor: none !important; }

.cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 50%;
    background: rgba(0, 59, 120, .55);
    border: 0 solid rgba(0, 40, 85, .9);
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: width .25s var(--out), height .25s var(--out), margin .25s var(--out),
                background-color .25s var(--out), border-width .25s var(--out), opacity .2s;
}

.cursor.on { opacity: 1; }
.cursor.hover { width: 38px; height: 38px; margin: -19px 0 0 -19px; background: rgba(0, 59, 120, .35); }
.cursor.down { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; border-width: 5px; }

body.rec .cursor { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
body.rec .cursor.hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
body.rec .cursor.down { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-width: 7px; }

/* ---------------------------------------------------------------- nav */
/* Over the hero the header sits straight on the photo: white logo and white menu
   text with a soft dark shadow (a dark shade at the top of each slide keeps it
   legible). Once the page scrolls it becomes a solid light bar with dark text. */
.nav {
    position: fixed;
    top: var(--m);
    left: var(--m);
    right: var(--m);
    height: var(--nav-h);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    z-index: 60;
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 1px 6px rgba(0, 20, 50, .45);
    border-radius: var(--frame-r) var(--frame-r) 0 0;
    border: 1px solid transparent;
    transition: background-color .45s, box-shadow .45s, color .45s, border-color .45s,
                border-radius .45s var(--out), height .45s var(--out), top .45s var(--out),
                left .45s var(--out), right .45s var(--out);
}

/* Scrolled: a slim, centred floating pill of white frosted glass */
.nav.solid {
    top: 14px;
    left: max(16px, calc(50% - 600px));
    right: max(16px, calc(50% - 600px));
    height: 66px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, .8);
    color: var(--ink);
    text-shadow: none;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    box-shadow: 0 12px 40px rgba(0, 40, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.nav.solid .nav-left { padding-left: 22px; }
.nav.solid .nav-right { padding-right: 9px; }
.nav.solid .logo { height: 38px; }
.nav.solid .nav-links { font-size: 15px; }
.nav.solid .phone-btn {
    padding: 5px 18px 5px 5px;
    font-size: 15px;
    box-shadow: none;
    background: #005bac;
    color: #fff;
    border-color: transparent;
}
.nav.solid .phone-btn .phone-ico { width: 38px; height: 38px; background: rgba(255, 255, 255, .2); color: #fff; }
.nav.solid .phone-btn span { color: #fff; }
.nav.solid .nav-links a { text-shadow: none; }
.nav.solid .phone-btn:hover { background: #00488a; }

.nav-left,
.nav-right {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-left { padding-left: var(--inset); }
.nav-right { padding-right: var(--inset); }

.logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: clamp(42px, 6.2vh, 52px);
    transition: transform .35s var(--out), height .45s var(--out);
}

.logo:hover { transform: translateY(-1px); }

/* White logo over the photo, blue logo on the solid bar */
.logo-light { filter: drop-shadow(0 1px 6px rgba(0, 20, 50, .4)); transition: opacity .45s; }
.logo-dark { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .45s; }
.nav.solid .logo-light { opacity: 0; }
.nav.solid .logo-dark { opacity: 1; }

.logo-img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}

.nav-links {
    align-self: center;
    display: flex;
    gap: clamp(24px, 2.8vw, 42px);
    font-size: 15.5px;
    font-weight: 600;
}


/* Hover: a soft frosted pill grows in behind the link (no underline) */
.nav-links a {
    position: relative;
    z-index: 0;
    padding: 8px 16px;
    margin: 0 -16px;   /* keeps the visual spacing between links unchanged */
    border-radius: 999px;
    color: inherit;
    white-space: nowrap;
    transition: color .25s;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 255, 255, .2);
    opacity: 0;
    transform: scale(.82);
    transition: opacity .3s var(--out), transform .4s var(--out), background-color .3s;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::before { opacity: 1; transform: scale(1); }

/* Current page keeps a lighter pill */
.nav-links a[aria-current="page"]::before { opacity: .7; transform: scale(1); }

/* On the solid scrolled bar the pill is a pale brand blue */
.nav.solid .nav-links a::before { background: rgba(0, 91, 172, .1); }
.nav.solid .nav-links a:hover,
.nav.solid .nav-links a[aria-current="page"] { color: #005bac; }

/* Call button: frosted-white pill, navy number, brand-blue icon circle */
.phone-btn {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px 7px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 10px 30px rgba(0, 40, 90, .16);
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    text-shadow: none;
    transition: background-color .3s, transform .35s var(--out), box-shadow .35s var(--out);
}

.phone-btn .phone-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #005bac;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 15px;
    transition: background-color .3s, transform .35s var(--out);
}

.phone-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 40, 90, .22);
}

.phone-btn:hover .phone-ico {
    background: #00488a;
    transform: rotate(-12deg);
}

/* On the solid bar, give the pill a white fill so it still stands out */

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;   /* exactly the visible screen, even with mobile browser bars */
    min-height: 460px;
}

/* The rounded frame: everything in the hero lives inside it */
.stage {
    position: absolute;
    inset: var(--m);
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
    /* Bottom-left sits under the title cut-out, so it stays square (a rounded clip
       there left a faint anti-aliased line). The other corners are rounded. */
    border-radius: var(--frame-r) var(--frame-r) var(--frame-r) 0;
    /* Warm sunset tone shown while the photo is still downloading */
    background: linear-gradient(170deg, #12355f 0%, #3f74ad 45%, #9cc4e8 100%);
}

.slides {
    position: absolute;
    inset: 0;
    z-index: 1;
    will-change: transform;
}

.slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.slide.is-live { visibility: visible; z-index: 1; }
.slide.is-in { visibility: visible; z-index: 2; }

/* Small overscan only (room for the gentle parallax/wipe drift), no base zoom,
   so as much of each banner as possible stays in view */
.slide-photo {
    position: absolute;
    inset: -1.5%;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1);
    will-change: transform;
}

.slide-tint {
    position: absolute;
    inset: 0;
    /* Dark shade behind the header so the white logo and menu stay legible */
    background: linear-gradient(180deg, rgba(4, 22, 48, .62) 0%, rgba(4, 22, 48, .34) 12%, rgba(4, 22, 48, .08) 24%, transparent 36%);
}

/* Mist band riding the wipe edge */
.mist {
    position: absolute;
    top: -6%;
    bottom: -6%;
    left: 0;
    width: 34vw;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(ellipse 50% 62% at 50% 50%, rgba(228, 240, 255, .75) 0%, rgba(228, 240, 255, .35) 45%, rgba(228, 240, 255, 0) 100%);
    filter: blur(10px);
    will-change: transform, opacity;
}

/* ---------------------------------------------------------------- clouds */
.clouds-bottom {
    position: absolute;
    left: -4%;
    right: -4%;
    pointer-events: none;
    will-change: transform;
}

.clouds-bottom {
    bottom: -10%;
    height: 52%;
    z-index: 7;
    opacity: .5;
    transform-origin: 50% 100%;
}

.cloud {
    position: absolute;
    inset: 0;
    background-image: var(--cloud);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
}

.cloud.front { animation: driftFront 26s ease-in-out infinite alternate; }

.cloud.back {
    opacity: .5;
    animation: driftBack 34s ease-in-out infinite alternate;
}

@keyframes driftFront {
    from { transform: translateX(-2.5%); }
    to   { transform: translateX(2.5%); }
}

@keyframes driftBack {
    from { transform: scaleX(-1) translate(-3%, 0); }
    to   { transform: scaleX(-1) translate(3%, -4%); }
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    z-index: 8;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(219, 233, 246, 0) 0%, rgba(219, 233, 246, .18) 55%, rgba(219, 233, 246, .42) 100%);
}

/* ---------------------------------------------------------------- frame cut-outs
   Each cut-out is a block in the page colour. Its "inverted" rounded corners are
   small squares filled with a radial gradient: page colour outside the circle,
   transparent inside, so the photo appears to curve into the cut-out. */
.notch { position: absolute; z-index: 12; }

.notch {
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.notch-tag,
.notch-title {
    position: relative;
    background: var(--peach);
    border-top-right-radius: var(--r);
}

.notch-tag::before,
.notch-tag::after,
.notch-title::after {
    content: '';
    position: absolute;
    width: var(--r);
    height: var(--r);
    background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - .5px), var(--peach) var(--r));
    pointer-events: none;
}

/* Curve where the frame's left edge meets the top of the cut-out */
.notch-tag::before { left: 0; bottom: 100%; }

/* Curves on the right of each step */
.notch-tag::after,
.notch-title::after { left: 100%; bottom: 0; }

.notch-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 6px var(--inset);
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.tag-pill {
    border: 1.4px solid rgba(13, 35, 64, .22);
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(255, 255, 255, .55);
}

.notch-title {
    padding: 6px clamp(24px, 3vw, 46px) var(--inset) var(--inset);
}

/* All slide titles share one grid cell, so the cut-out is sized to the widest */
.titles {
    display: grid;
    font-weight: 500;
    font-size: clamp(32px, min(5vw, 9.2vh), 86px);
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--ink);
}

.title {
    grid-area: 1 / 1;
    visibility: hidden;
    white-space: nowrap;
}

.title.is-live { visibility: visible; z-index: 1; }
.title.is-in { visibility: visible; z-index: 2; background: var(--peach); }

.title .line { display: block; }

.title .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .04em 0 .08em;
    margin-right: .24em;
}

.title .w:last-child { margin-right: 0; }

.title .w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.15s var(--out) var(--d, 0ms);
}

body.ready .title .w > span { transform: none; }

/* ---------------------------------------------------------------- glass caption card */
/* Horizontal card: white-framed product photo on the left, glass text panel on the right */
.glass {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 11;
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.4vw, 20px);
    width: clamp(380px, 31vw, 470px);
    padding: 12px clamp(18px, 1.8vw, 26px) 12px 12px;
    border-radius: 22px;
    color: #fff;
    /* See-through glass with a light navy tint so white text stays readable */
    background: rgba(8, 30, 62, .26);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 16px 40px rgba(0, 30, 70, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* White photo frame with the product name underneath */
.cap-media {
    flex-shrink: 0;
    width: clamp(112px, 9vw, 138px);
    margin: 0;
    padding: 6px 6px 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 30, 70, .2);
}

.cap-media-img {
    display: block;
    aspect-ratio: 1 / 0.86;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
}

.cap-media-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: opacity .35s ease, transform .6s var(--out);
}

.cap-media-img img.swap { opacity: 0; transform: scale(.94); }

.cap-media figcaption {
    padding: 7px 4px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity .35s ease;
}

.cap-text {
    min-width: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .4s var(--ease);
}

.glass.show .cap-text { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--out); }

.cap-text h2 {
    font-weight: 600;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 20, 50, .35);
}

.cap-text p {
    font-size: clamp(12.5px, .92vw, 13.5px);
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 1px 6px rgba(0, 20, 50, .35);
}

/* ---------------------------------------------------------------- stats strip */
.stats {
    position: relative;
    z-index: 2;
    padding: clamp(40px, 5vw, 70px) var(--pad) clamp(30px, 4vw, 60px);
    /* White, with a short fade from the page colour under the hero frame */
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Scroll reveal matches the reference: start 40px lower and invisible, rise in
   over 0.45s (ease .44,0,.56,1), blocks staggered 0 / .1 / .12 / .14s */
.stat {
    padding: 8px clamp(24px, 3.4vw, 60px);
    border-left: 1px solid rgba(13, 35, 64, .14);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .45s cubic-bezier(.44, 0, .56, 1), transform .45s cubic-bezier(.44, 0, .56, 1);
}

.stat:first-child { padding-left: 0; border-left: 0; }

.stats.in .stat { opacity: 1; transform: none; }
.stats.in .stat:nth-child(2) { transition-delay: .1s; }
.stats.in .stat:nth-child(3) { transition-delay: .12s; }
.stats.in .stat:nth-child(4) { transition-delay: .14s; }

.stat-num {
    font-size: clamp(32px, 3.4vw, 50px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    margin-bottom: 16px;
}

.stat-label {
    max-width: 220px;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.55;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .stat { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
    .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; row-gap: 44px; }
    .stat { padding-left: 0; border-left: 0; }
}

/* ---------------------------------------------------------------- services */
.services {
    position: relative;
    z-index: 2;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(50px, 7vw, 100px) var(--pad) clamp(80px, 10vw, 140px);
    /* Starts on the white of the stats, picks up a soft sky tint behind the heading
       (so the white clouds read), and ends on the page colour */
    background: linear-gradient(180deg, #fff 0%, #e6f1fa 14%, #d2e5f4 36%, #d6e7f5 62%, #ebf4fb 84%, #fff 100%);
}

/* Wispy clouds across the upper part of the section, behind the heading and card tops
   (white-on-black image, screen-blended so only the clouds show) */
.svc-clouds {
    position: absolute;
    left: -10%;
    right: -10%;
    top: -4%;
    height: 78%;
    z-index: 0;
    pointer-events: none;
    /* Starts hidden and low; the script rises/fades it in as the section scrolls up */
    opacity: 0;
    transform: translateY(80px) scale(1.08);
    transform-origin: 50% 100%;
    will-change: opacity, transform;
}

.svc-clouds .cloud {
    background-size: 115% auto;
    background-position: center 62%;
    /* soft fade top and bottom, so the clouds float with no edges */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 100%);
}

/* Photo clouds stay faint: texture around the soft puffs */
.svc-clouds .cloud.front { opacity: .55; }

/* Soft, scattered cloud puffs: blurred white ellipses that drift slowly.
   Each one is a cluster of 3 overlapping blobs for a natural, lumpy outline. */
.puff {
    position: absolute;
    display: block;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 0 40% / 55% 70% no-repeat,
        radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)) 45% 0 / 60% 90% no-repeat,
        radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)) 100% 55% / 55% 70% no-repeat;
    opacity: .85;
    animation: puffDrift 38s ease-in-out infinite alternate;
}

.p1 { left: 8%;  top: 30%; width: 26%; height: 16%; animation-duration: 42s; }
.p2 { left: 30%; top: 22%; width: 20%; height: 12%; opacity: .6; animation-duration: 36s; animation-delay: -8s; }
.p3 { left: 52%; top: 26%; width: 28%; height: 15%; animation-duration: 46s; animation-delay: -14s; }
.p4 { left: 74%; top: 18%; width: 22%; height: 13%; opacity: .7; animation-duration: 40s; animation-delay: -4s; }
.p5 { left: -4%; top: 52%; width: 30%; height: 18%; animation-duration: 50s; animation-delay: -20s; }
.p6 { left: 22%; top: 46%; width: 22%; height: 12%; opacity: .55; animation-duration: 34s; animation-delay: -10s; }
.p7 { left: 60%; top: 48%; width: 26%; height: 14%; opacity: .65; animation-duration: 44s; animation-delay: -18s; }
.p8 { left: 84%; top: 40%; width: 24%; height: 16%; animation-duration: 48s; animation-delay: -6s; }

@keyframes puffDrift {
    from { transform: translateX(-5%); }
    to   { transform: translateX(5%); }
}

/* Second, mirrored layer drifting the other way: thinner, wispier */
.svc-clouds .cloud.back {
    opacity: .4;
    background-position: center 40%;
    animation: svcDriftBack 40s ease-in-out infinite alternate;
}

.svc-clouds .cloud.front { animation: svcDriftFront 32s ease-in-out infinite alternate; }

@keyframes svcDriftFront {
    from { transform: translateX(-3%); }
    to   { transform: translateX(3%); }
}

@keyframes svcDriftBack {
    from { transform: scaleX(-1) translateX(-4%); }
    to   { transform: scaleX(-1) translateX(4%); }
}

.svc-inner { position: relative; z-index: 1; }

.svc-head {
    max-width: 900px;
    margin: 0 auto clamp(44px, 5vw, 70px);
    text-align: center;
}

.svc-pill {
    display: inline-block;
    padding: 9px 22px;
    margin-bottom: 26px;
    border-radius: 999px;
    border: 1px solid rgba(13, 35, 64, .18);
    background: rgba(255, 255, 255, .45);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.svc-head h2 {
    font-size: clamp(34px, 4.4vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--ink);
}

/* Same scroll reveal as the stats: rise 40px over .45s, staggered */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .45s cubic-bezier(.44, 0, .56, 1), transform .45s cubic-bezier(.44, 0, .56, 1);
}

.reveal-up.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- product slider
   A continuous, slow marquee: two identical sets side by side, the track moves
   left by exactly one set (-50%) and loops, so the motion never jumps. */
.prod-marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0 calc(-1 * var(--pad));   /* full screen width, no clipped edge inside the margins */
    padding: 16px 0 30px;
}

.prod-track {
    display: flex;
    width: max-content;
    animation: prodSlide 60s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.prod-marquee:hover .prod-track,
.prod-marquee:focus-within .prod-track { animation-play-state: paused; }

@keyframes prodSlide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.prod-set {
    display: flex;
    gap: clamp(16px, 1.8vw, 26px);
    padding-right: clamp(16px, 1.8vw, 26px);   /* same as the gap, so the seam is invisible */
    list-style: none;
}

/* Card: inset photo tile on top, big title, short description (like the reference) */
.prod-card { flex: 0 0 auto; width: clamp(260px, 21vw, 320px); }

.prod-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px 8px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 40, 90, .10);
    color: var(--ink);
    transition: transform .45s var(--out), box-shadow .45s var(--out);
}

.prod-card a:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(0, 40, 90, .16);
}

.prod-photo {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;   /* wide, shorter photo tile */
    margin-bottom: 16px;
    border-radius: 14px;
    /* faint tone so the white product shots read as a photo tile */
    background: #fff;
    border: 1px solid #e8eff7;
    overflow: hidden;
}

.prod-photo img {
    width: 76%;
    height: 76%;
    object-fit: contain;
    transition: transform .8s var(--out);
}

.prod-card a:hover .prod-photo img { transform: scale(1.06); }

.prod-name {
    padding: 0 14px;
    margin-bottom: 8px;
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
}

.prod-text {
    padding: 0 14px;
    font-size: clamp(13px, .95vw, 14.5px);
    line-height: 1.55;
    color: var(--muted);
}
/* ---------------------------------------------------------------- testimonials
   Reuses the sky/clouds of .services and the sliding row of .prod-marquee */
.tst {
    /* follows the products section: starts and ends on the page colour */
    background: linear-gradient(180deg, #fff 0%, #e6f1fa 14%, #d2e5f4 36%, #d6e7f5 62%, #ebf4fb 84%, #fff 100%);
    padding-top: clamp(40px, 5vw, 70px);
    padding-bottom: clamp(50px, 6vw, 80px);
}

/* Compact version of this section */
.tst .svc-head { margin-bottom: clamp(26px, 3vw, 40px); }
.tst .svc-pill { margin-bottom: 16px; padding: 7px 18px; font-size: 14px; }
.tst .svc-head h2 { font-size: clamp(26px, 3vw, 42px); }
.tst .prod-marquee { padding: 8px 0 18px; }

.tst .tst-card { width: clamp(260px, 22vw, 320px); }
.tst .tst-card figure { height: clamp(250px, 19vw, 270px); padding: 22px; border-radius: 20px; }
.tst .tst-top { margin-bottom: 12px; }
.tst .tst-stars .star { width: 14px; height: 14px; }
.tst .tst-google { font-size: 11.5px; padding: 4px 10px 4px 6px; }
.tst .g-logo { width: 14px; height: 14px; }
.tst .tst-card blockquote { margin-bottom: 16px; }
.tst .tst-head { font-size: clamp(16px, 1.25vw, 18px); margin-bottom: 8px; }
.tst .tst-quote { font-size: 13.5px; line-height: 1.55; }
.tst .tst-avatar { width: 40px; height: 40px; }
.tst .tst-author { gap: 11px; }
.tst .tst-name { font-size: 14.5px; }
.tst .tst-role { font-size: 12px; }

.tst-marquee .prod-track { animation-duration: 75s; }

/* Every card the same width and height; author pinned to the bottom */
.tst-card { flex: 0 0 auto; display: flex; width: clamp(300px, 28vw, 400px); }

.tst-card figure {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: clamp(340px, 27vw, 370px);
    margin: 0;
    padding: clamp(26px, 2.4vw, 36px);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 40, 90, .10);
    transition: transform .45s var(--out), box-shadow .45s var(--out);
}

.tst-card figure:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(0, 40, 90, .16);
}

.tst-card blockquote { margin: 0 0 28px; }

.tst-head {
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--ink);
}

.tst-quote {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.6;
    color: #2b3d55;
}

.tst-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.tst-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #e3eefa;
    box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 40, 90, .15);
}

/* Rating row: 5 gold stars + Google badge */
.tst-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.tst-stars { display: inline-flex; gap: 3px; }
.tst-stars .star { width: 17px; height: 17px; fill: #fbbc05; stroke: none; }

.tst-google {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 8px;
    border-radius: 999px;
    background: #f3f6fa;
    font-size: 12.5px;
    font-weight: 600;
    color: #3c4b5f;
}

.g-logo { width: 17px; height: 17px; }

.tst-name {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}

.tst-role {
    display: block;
    font-size: 13.5px;
    color: var(--muted);
}

.prod-cta { text-align: center; margin-top: clamp(26px, 3vw, 40px); }

.prod-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background: #005bac;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(0, 91, 172, .28);
    transition: background-color .3s, transform .35s var(--out);
}

.prod-all .ico { font-size: 16px; transition: transform .3s var(--out); }
.prod-all:hover { background: #00488a; transform: translateY(-2px); }
.prod-all:hover .ico { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1; transform: none; transition: none; }
    .svc-clouds .cloud { animation: none; }
    .svc-clouds { opacity: 1; transform: none; }
    .puff { animation: none; }
    /* No auto-sliding: let visitors swipe/scroll the row themselves */
    .prod-track { animation: none; }
    .prod-marquee { overflow-x: auto; }
    .prod-set[aria-hidden="true"] { display: none; }
}

/* ---------------------------------------------------------------- closing CTA + footer
   One rounded panel: photo CTA on top that fades into the deep navy footer. */
.closing {
    position: relative;
    z-index: 2;
    margin: 0 var(--m) var(--m);
    border-radius: clamp(28px, 3vw, 44px);
    overflow: hidden;
    isolation: isolate;
    background: #0d2350;
    color: #fff;
}

.cta {
    position: relative;
    min-height: clamp(560px, 82vh, 820px);
    display: grid;
    place-items: center;
    padding: clamp(90px, 10vw, 140px) var(--pad) clamp(150px, 16vw, 230px);
    text-align: center;
}

.cta-photo {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center 55%;
}

/* Darken for legibility, then melt into the footer navy */
.cta-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 18, 40, .55) 0%, rgba(6, 18, 40, .35) 40%, rgba(13, 35, 80, .55) 70%, #0d2350 100%);
}

.cta-content { max-width: 960px; }

.cta-pill {
    display: inline-block;
    padding: 9px 22px;
    margin-bottom: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
    font-size: 15px;
    font-weight: 500;
}

.cta h2 {
    margin-bottom: clamp(30px, 3.4vw, 46px);
    font-size: clamp(34px, 4.6vw, 68px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 10, 30, .35);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 16.5px;
    font-weight: 600;
    transition: transform .35s var(--out), box-shadow .35s var(--out), background-color .3s;
}

.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 10, 30, .3); }
.cta-btn-light { background: #fff; color: var(--ink); }
.cta-btn-blue  { background: #9fcdf0; color: #0d2350; }
.cta-btn-blue:hover { background: #b7daf5; }

/* Footer */
.site-foot {
    position: relative;
    padding: clamp(10px, 2vw, 30px) var(--pad) 0;
    overflow: hidden;
}

.foot-clouds {
    position: absolute;
    left: -10%;
    right: -10%;
    top: 10%;
    bottom: -10%;
    z-index: 0;
    opacity: .14;
    pointer-events: none;
}

.foot-grid,
.foot-bottom,
.foot-wordmark { position: relative; z-index: 1; }

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 60px);
    padding-bottom: clamp(50px, 6vw, 80px);
}

.foot-logo { display: inline-block; margin-bottom: 30px; }
.foot-logo img { height: 46px; width: auto; }

.foot-phone {
    display: block;
    margin-bottom: 16px;
    font-size: 21px;
    font-weight: 500;
    color: #9fcdf0;
}

.foot-contact,
.foot-about {
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}

.foot-contact { margin-bottom: 22px; }
.foot-contact a:hover { color: #fff; text-decoration: underline; }
.foot-about { max-width: 340px; }

.foot-col h3 {
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 600;
    color: #9fcdf0;
}

.foot-col ul { list-style: none; }
.foot-col li + li { margin-top: 12px; }

.foot-col a {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .86);
    transition: color .25s;
}

.foot-col a:hover { color: #fff; }

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 14.5px;
    color: rgba(255, 255, 255, .7);
}

.foot-legal { display: flex; align-items: center; gap: 14px; }
.foot-legal span { width: 1px; height: 16px; background: rgba(255, 255, 255, .25); }
.foot-legal a:hover { color: #fff; }

/* Huge faint brand name sitting on the bottom edge */
.foot-wordmark {
    margin-top: clamp(10px, 2vw, 30px);
    font-size: clamp(54px, 11.2vw, 200px);
    font-weight: 600;
    line-height: .78;
    letter-spacing: -.05em;
    white-space: nowrap;
    text-align: center;
    color: rgba(255, 255, 255, .07);
    transform: translateY(14%);
    user-select: none;
}

@media (max-width: 900px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom { flex-direction: column; align-items: flex-start; }
    .cta-btn { width: 100%; justify-content: center; }
}

/* Off-screen sections stop animating (saves GPU while scrolling elsewhere) */
.is-off .prod-track,
.is-off .cloud,
.is-off .puff { animation-play-state: paused !important; }

.puff { will-change: transform; filter: blur(14px); }   /* own GPU layer: blurred once, then only moved */
.svc-clouds, .clouds-bottom { contain: paint; }

/* ---------------------------------------------------------------- about
   A large statement whose words light up as you scroll (--p set by the script),
   then a wide photo band that opens out to full width (--bp) with the promise,
   service pillars and a short timeline. */
.about {
    position: relative;
    z-index: 2;
    padding: clamp(50px, 6vw, 90px) var(--pad) clamp(40px, 5vw, 70px);
    background: #fff;
}

.ab-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: var(--wrap, 1400px);
    margin: 0 auto clamp(26px, 3vw, 40px);
}

.ab-top .eyebrow { margin: 0; }

.ab-since { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }

.ab-since b {
    padding: 6px 13px;
    border-radius: 999px;
    background: #0a1d40;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}

/* statement: words go from faint to solid as you scroll through it */
.ab-statement {
    max-width: var(--wrap, 1400px);
    margin: 0 auto clamp(44px, 5.5vw, 80px);
    font-size: clamp(26px, 3.3vw, 50px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -.03em;
    color: var(--ink);
}

.ab-statement .w {
    opacity: clamp(.13, calc(var(--p, 0) * (var(--n) + 6) - var(--i)), 1);
    transition: opacity .2s linear;
}

.ab-statement .hl { color: #005bac; }

/* our promise: kinetic outline words + arch photo windows
   --kp (0..1) slides the words sideways, --pp (-1..1) drifts the arches; both set by the script. */
.pr {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 calc(var(--m) - var(--pad));
    padding: clamp(64px, 7vw, 110px) calc(var(--pad) - var(--m)) clamp(56px, 6vw, 96px);
    border-radius: clamp(28px, 3vw, 44px);
    background: linear-gradient(180deg, #fff 0%, #e6f1fa 14%, #d2e5f4 36%, #d6e7f5 62%, #ebf4fb 84%, #fff 100%);
}

/* giant outlined words, two rows sliding in opposite directions */
.pr-type {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 34%;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1vw, 16px);
    pointer-events: none;
    user-select: none;
}

.pr-row {
    white-space: nowrap;
    font-size: clamp(64px, 8.6vw, 148px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 91, 172, .14);
    will-change: transform;
}

.pr-row.r1 { transform: translateX(calc(var(--kp, .5) * -30%)); }
.pr-row.r2 { transform: translateX(calc(-30% + var(--kp, .5) * 30%)); }

.pr-head { max-width: 760px; margin: 0 auto clamp(44px, 5vw, 72px); text-align: center; }

.pr-title {
    font-size: clamp(32px, 3.8vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--ink);
}

.pr-sub {
    max-width: 520px;
    margin: 18px auto 0;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
    color: var(--muted);
}

/* arches */
.pr-arches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 40px);
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
    list-style: none;
}

.pr-arch.reveal-up { opacity: 1; transform: none; }
.pr-arch:nth-child(2) { margin-top: clamp(36px, 5vw, 84px); }

/* drift: outer arches rise, the middle one sinks, as the block scrolls past */
.pr-arch { translate: 0 calc(var(--pp, 0) * var(--dir, 1) * 30px); transition: translate .6s var(--out); }

.pr-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    isolation: isolate;
    border-radius: 999px 999px 28px 28px;
    background: #0a1d40;
    box-shadow: 0 30px 60px rgba(0, 40, 90, .18);
    /* entrance: a circle grows from the bottom centre */
    clip-path: circle(0% at 50% 100%);
    transition: clip-path 1.5s var(--out);
    transition-delay: calc(.1s + var(--i) * .16s);
}

.pr-arch.in .pr-frame { clip-path: circle(150% at 50% 100%); }

.pr-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: .6;   /* kept quiet under the navy */
    filter: saturate(.7);
    transform: scale(1.3);
    transition: transform 1.8s var(--out), opacity .6s, filter .6s;
}

.pr-arch.in .pr-img { transform: scale(1.04); }
.pr-arch:hover .pr-img { opacity: .85; filter: saturate(1); transform: scale(1.1); }

.pr-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 29, 64, .1) 30%, rgba(10, 29, 64, .92) 100%);
}

.pr-no {
    position: absolute;
    top: 30px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}

.pr-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(16px, 2vw, 26px) clamp(22px, 2.4vw, 30px);
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s, transform .9s var(--out);
    transition-delay: calc(.7s + var(--i) * .16s);
}

.pr-arch.in .pr-cap { opacity: 1; transform: none; }

.pr-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #005bac;
    box-shadow: 0 0 0 6px rgba(0, 91, 172, .25);
    font-size: 21px;
    transition: transform .5s var(--out);
}

.pr-arch:hover .pr-ico { transform: translateY(-4px) rotate(-8deg); }

.pr-cap strong { font-size: clamp(16px, 1.35vw, 19px); font-weight: 600; letter-spacing: -.015em; }
.pr-cap span:last-child { max-width: 240px; margin-top: 5px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .74); }

@media (max-width: 760px) {
    .pr-arches { grid-template-columns: 1fr; max-width: 360px; gap: 22px; }
    .pr-arch:nth-child(2) { margin-top: 0; }
    .pr-arch { translate: none; }
    .pr-frame { aspect-ratio: 1 / 1.1; }
    .pr-type { top: 18%; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-frame { clip-path: none; transition: none; }
    .pr-img { transform: none; }
    .pr-cap { opacity: 1; transform: none; transition: none; }
    .pr-row.r1, .pr-row.r2 { transform: none; }
    .pr-arch { translate: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-statement .w { opacity: 1; }
}

/* ================================================================ motion sections
   Brand partners, departments explorer, why-choose bento and stacked projects.
   Shared pieces first: word-by-word headings, eyebrow pill, cursor spotlight. */

/* Headings reveal word by word: each word rises out of a soft blur */
.split.reveal-up { opacity: 1; transform: none; }

.split .sw {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(.35em);
    transition: opacity .6s ease, filter .6s ease, transform .8s var(--out);
    transition-delay: calc(var(--i) * 55ms);
}

.split.in .sw { opacity: 1; filter: blur(0); transform: none; }

/* Small pill above headings, with a live "ping" dot */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 16px 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(0, 91, 172, .14);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 40, 90, .06);
    font-size: 13.5px;
    font-weight: 600;
    color: #005bac;
}

.eyebrow-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #005bac; }

.eyebrow-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: ping 1.8s var(--out) infinite;
}

@keyframes ping {
    from { transform: scale(1); opacity: .7; }
    to   { transform: scale(3.2); opacity: 0; }
}

.eyebrow-dark { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); box-shadow: none; color: #bfe0ff; }
.eyebrow-dark .eyebrow-dot { background: #5fb0ff; }

.sec-head { max-width: 820px; margin: 0 auto clamp(36px, 4.5vw, 60px); text-align: center; }

.sec-title {
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: var(--ink);
}

/* ---------------------------------------------------------------- brand partners */
.brands {
    position: relative;
    z-index: 2;
    padding: clamp(60px, 7vw, 100px) var(--pad) clamp(30px, 4vw, 56px);
    background: #fff;
}

.brands-inner { max-width: var(--wrap, 1400px); margin: 0 auto; text-align: center; }

.brands-title {
    max-width: 620px;
    margin: 0 auto clamp(28px, 3vw, 40px);
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.025em;
}

/* One framed strip; light beams run along its top and bottom edges */
.brands-strip {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(13, 35, 64, .09);
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 40, 90, .06);
}

.brands-strip::before,
.brands-strip::after {
    content: '';
    position: absolute;
    z-index: 2;
    left: 0;
    width: 28%;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(0, 91, 172, 0), #005bac, rgba(0, 91, 172, 0));
    animation: beam 6s ease-in-out infinite;
    pointer-events: none;
}

.brands-strip::before { top: 0; }
.brands-strip::after  { bottom: 0; animation-direction: reverse; animation-delay: -3s; }

@keyframes beam {
    from { transform: translateX(-100%); }
    to   { transform: translateX(360%); }
}

/* hairline grid: 1px gaps over a tinted background */
.brands-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: rgba(13, 35, 64, .08);
    list-style: none;
}

.brand {
    position: relative;
    display: grid;
    place-items: center;
    height: 112px;
    padding: 18px 26px;
    background: #fff;
    overflow: hidden;
}

/* cursor spotlight */
.brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 91, 172, .1), rgba(0, 91, 172, 0) 70%);
    opacity: 0;
    transition: opacity .35s;
}

.brand:hover::before { opacity: 1; }

.brand img {
    position: relative;
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .4s, opacity .4s, transform .6s var(--out);
}

.brand:hover img { filter: none; opacity: 1; transform: scale(1.07); }

/* logos blur in one after another once the strip is revealed */
.brands-strip .brand { opacity: 0; filter: blur(6px); transform: translateY(14px); transition: opacity .6s, filter .6s, transform .8s var(--out); transition-delay: calc(.15s + var(--i) * 90ms); }
.brands-strip.in .brand { opacity: 1; filter: none; transform: none; }

/* ---------------------------------------------------------------- featured equipment: clean product row
   One calm row of equal cards that runs off the right edge; arrows / drag / swipe scroll it,
   a thin line below shows how far along you are. */
.fe {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: clamp(60px, 7vw, 110px) var(--pad) clamp(56px, 6vw, 90px);
    background: linear-gradient(180deg, #fff 0%, #e6f1fa 14%, #d2e5f4 36%, #d6e7f5 62%, #ebf4fb 84%, #fff 100%);
}

.fe-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--wrap, 1400px);
    margin: 0 auto clamp(30px, 3.5vw, 48px);
}

.fe-side { display: flex; align-items: flex-end; gap: 28px; }
.fe-side p { max-width: 300px; font-size: 15px; line-height: 1.65; color: var(--muted); }

.fe-nav { display: flex; gap: 10px; flex-shrink: 0; }

.fe-btn {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(13, 35, 64, .14);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}

.fe-btn[data-dir="-1"] .ico { transform: rotate(180deg); }
.fe-btn:hover:not(:disabled) { background: #005bac; border-color: #005bac; color: #fff; }
.fe-btn:disabled { opacity: .35; cursor: default; }
.fe-btn:focus-visible { outline: 2px solid #005bac; outline-offset: 3px; }

/* the row: starts in line with the content, runs to the screen edge */
.fe-row {
    --lead: calc(var(--pad) + max(0px, (100vw - 2 * var(--pad) - 1200px) / 2));
    margin: 0 calc(-1 * var(--pad));
    padding: 6px 0 24px var(--lead);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--lead);
    scrollbar-width: none;
    outline: none;
    cursor: grab;
}

.fe-row::-webkit-scrollbar { display: none; }
.fe-row.dragging { cursor: grabbing; scroll-snap-type: none; }
.fe-row.dragging .fe-card { pointer-events: none; }

.fe-list { display: flex; gap: clamp(16px, 1.8vw, 26px); width: max-content; padding-right: var(--pad); list-style: none; }

.fe-item {
    width: clamp(250px, 22vw, 300px);
    scroll-snap-align: start;
    /* entrance: cards rise one after another */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s, transform .9s var(--out);
    transition-delay: calc(var(--i) * 90ms);
}

.fe-row.in .fe-item { opacity: 1; transform: none; }
.fe-row.reveal-up { opacity: 1; transform: none; }

.fe-card { display: block; color: inherit; text-decoration: none; }

.fe-photo {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 24px;
    background: #f3f6fa;
    transition: background-color .4s;
}

.fe-photo img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .8s var(--out);
}

.fe-go {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #005bac;
    color: #fff;
    font-size: 17px;
    opacity: 0;
    transform: translateY(10px) scale(.8);
    transition: opacity .35s, transform .5s var(--out);
}

.fe-card:hover .fe-photo { background: #e8f0f9; }
.fe-card:hover .fe-photo img { transform: scale(1.06); }
.fe-card:hover .fe-go,
.fe-card:focus-visible .fe-go { opacity: 1; transform: none; }
.fe-card:focus-visible .fe-photo { outline: 2px solid #005bac; outline-offset: 3px; }

.fe-cat {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #005bac;
}

.fe-name { display: block; margin-bottom: 6px; font-size: clamp(18px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.02em; }
.fe-text { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); }

.fe-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: var(--wrap, 1400px);
    margin: clamp(18px, 2vw, 28px) auto 0;
}

.fe-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    color: #005bac;
    text-decoration: none;
}

.fe-all .ico { transition: transform .3s var(--out); }
.fe-all:hover .ico { transform: translateX(4px); }

@media (max-width: 900px) {
    .fe-head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .fe-side { width: 100%; justify-content: space-between; }
}

@media (max-width: 560px) {
    .fe-side p { display: none; }
    .fe-item { width: 74vw; }
    .fe-btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .fe-item { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- departments: big list + image
   Large department names on the left; the active one (hover / focus / tap) slides in, turns
   ink and opens its details. On the right a photo frame stays in view; the active department's
   photo wipes up over the previous one, with its featured product on a small card. */
.depts {
    position: relative;
    z-index: 2;
    padding: clamp(60px, 7vw, 110px) var(--pad) clamp(60px, 7vw, 110px);
    background: #fff;
}

.dl-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--wrap, 1400px);
    margin: 0 auto clamp(30px, 4vw, 56px);
}

.dl-title { max-width: 620px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; color: var(--ink); }
.dl-intro { max-width: 380px; padding-bottom: 6px; font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.7; color: var(--muted); }

.dl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 90px);
    align-items: start;
    max-width: var(--wrap, 1400px);
    margin: 0 auto;
}

/* list */
.dl-list { list-style: none; border-top: 1px solid rgba(13, 35, 64, .12); }

.dl-row { position: relative; border-bottom: 1px solid rgba(13, 35, 64, .12); }

/* blue rule sweeps under the active row */
.dl-row::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #005bac;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s var(--out);
}

.dl-row.is-active::after { transform: scaleX(1); }

.dl-link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 46px;
    align-items: start;
    gap: 12px;
    padding: clamp(18px, 2vw, 26px) 0;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.dl-link:focus-visible .dl-name { text-decoration: underline; text-underline-offset: 6px; }

.dl-num {
    padding-top: .9em;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--light);
    transition: color .4s;
}

.dl-name {
    display: block;
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: #9fb0c3;
    transition: color .45s, transform .7s var(--out);
}

.dl-row.is-active .dl-num { color: #005bac; }
.dl-row.is-active .dl-name { color: var(--ink); transform: translateX(12px); }

/* details open smoothly under the active name */
.dl-sub {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .6s var(--out), opacity .35s;
}

.dl-sub > span { overflow: hidden; display: block; padding-left: 12px; }
.dl-row.is-active .dl-sub { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .7s var(--out), opacity .5s .1s; }

.dl-mthumb { display: none; }
.dl-text { display: block; max-width: 460px; padding-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.dl-items { display: block; padding-top: 8px; font-size: 13px; font-weight: 600; color: #005bac; }

.dl-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: .25em;
    border-radius: 50%;
    border: 1px solid rgba(13, 35, 64, .14);
    color: var(--ink);
    font-size: 17px;
    transform: rotate(-45deg) scale(.85);
    opacity: .5;
    transition: background-color .35s, border-color .35s, color .35s, transform .6s var(--out), opacity .35s;
}

.dl-row.is-active .dl-arrow { opacity: 1; background: #005bac; border-color: #005bac; color: #fff; transform: rotate(-45deg); }
.dl-link:hover .dl-arrow { transform: rotate(0); }

/* photo frame */
.dl-view {
    position: sticky;
    top: 110px;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 140px);
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
    background: #e9eff6;
    box-shadow: 0 30px 70px rgba(0, 30, 70, .14);
}

/* each photo waits below the frame; the active one wipes up over the previous ("was") one */
.dl-pic {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    clip-path: inset(100% 0 0 0);
    transform: scale(1.15);
    transition: clip-path .9s var(--out), transform 1.6s var(--out);
}

.dl-pic.was { z-index: 1; clip-path: inset(0); transform: scale(1); transition: none; }
.dl-pic.is-active { z-index: 2; clip-path: inset(0); transform: scale(1); }

.dl-view::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(10, 29, 64, 0) 55%, rgba(10, 29, 64, .55) 100%);
    pointer-events: none;
}

/* featured product card */
.dl-chips { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 18px; display: grid; }

.dl-chip {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 10px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 34px rgba(0, 20, 50, .2);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .4s;
}

.dl-chip.is-active { opacity: 1; transform: none; transition: opacity .5s .35s, transform .8s .35s var(--out); }
.dl-chip small { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #005bac; }
.dl-chip-img { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 52px; border-radius: 12px; background: #f3f6fa; }
.dl-chip-img img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }

@media (max-width: 900px) {
    .dl-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .dl-grid { grid-template-columns: 1fr; }
    .dl-view { display: none; }
    .dl-link { grid-template-columns: 36px minmax(0, 1fr) 40px; }
    .dl-arrow { width: 38px; height: 38px; }
    .dl-mthumb {
        display: block;
        height: 190px;
        margin-top: 14px;
        border-radius: 18px;
        background-size: cover;
        background-position: center;
    }
    .dl-row.is-active .dl-name { transform: none; }
    .dl-sub > span { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dl-pic { transition: none; transform: none; }
}

/* ---------------------------------------------------------------- why choose us: editorial
   Restrained, brochure-like: a strong heading, one wide photo, six reasons as text columns
   divided by thin rules. Motion stays quiet: rules draw in, text fades up, photo drifts. */
.why-wrap { position: relative; z-index: 2; padding: 0 var(--m); background: #fff; }

.why {
    position: relative;
    padding: clamp(64px, 7vw, 110px) calc(var(--pad) - var(--m)) clamp(60px, 6.5vw, 100px);
    border-radius: clamp(28px, 3vw, 44px);
    background: #fff;
    color: var(--ink);
}

.wz-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 90px);
    align-items: end;
    max-width: var(--wrap, 1400px);
    margin: 0 auto clamp(36px, 4vw, 56px);
}

.wz-title {
    font-size: clamp(34px, 4.4vw, 64px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.wz-note p { margin-bottom: 18px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--muted); }

.wz-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 15px;
    font-weight: 600;
    color: #005bac;
    text-decoration: none;
}

.wz-link .ico { transition: transform .3s var(--out); }
.wz-link:hover .ico { transform: translateX(4px); }

/* one wide photo; it drifts slightly as you scroll (--wzp set by the script) */
.wz-photo {
    position: relative;
    max-width: var(--wrap, 1400px);
    height: clamp(260px, 32vw, 460px);
    margin: 0 auto clamp(44px, 5vw, 72px);
    overflow: hidden;
    border-radius: 20px;
    background: #e9eff6;
}

.wz-img {
    position: absolute;
    inset: -10% 0;
    background-size: cover;
    background-position: center 35%;
    transform: translateY(calc(var(--wzp, 0) * 6%));
    transition: transform .4s ease-out;
}

.wz-photo figcaption {
    position: absolute;
    left: 24px;
    bottom: 20px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
}

/* reasons: three columns, thin rule above each */
.wz-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 64px);
    max-width: var(--wrap, 1400px);
    margin: 0 auto;
    list-style: none;
}

.wz-item { position: relative; padding-top: 22px; }

.wz-item::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(13, 35, 64, .14);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s var(--out) .1s;
}

.wz-item.in::before { transform: scaleX(1); }

.wz-num {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #005bac;
}

.wz-item h3 { margin-bottom: 8px; font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.wz-item p { max-width: 340px; font-size: 15px; line-height: 1.65; color: var(--muted); }

@media (max-width: 900px) {
    .wz-head { grid-template-columns: 1fr; gap: 18px; }
    .wz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .wz-list { grid-template-columns: 1fr; gap: 30px; }
    .wz-photo figcaption { left: 14px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .wz-img { transform: none; }
    .wz-item::before { transform: none; }
}

/* why choose us: motion layer ------------------------------------------------ */

/* heading: each line slides up from behind a mask */
.wz-title.reveal-up { opacity: 1; transform: none; }
.wz-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.wz-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--out); }
.wz-line:nth-child(2) > span { transition-delay: .12s; }
.wz-title.in .wz-line > span { transform: none; }

/* photo: opens from a smaller window to full width as it scrolls in (--wzr 0..1) */
.wz-photo {
    clip-path: inset(calc((1 - var(--wzr, 1)) * 9%) calc((1 - var(--wzr, 1)) * 14%) round 20px);
    will-change: clip-path;
}

.wz-img {
    transform: translateY(calc(var(--wzp, 0) * 6%)) scale(calc(1.2 - var(--wzr, 1) * .2));
    transition: none;
}

.wz-photo figcaption {
    opacity: clamp(0, calc((var(--wzr, 1) - .75) * 4), 1);
    transform: translateY(calc((1 - var(--wzr, 1)) * 24px));
}

/* reasons: hovering one lifts it, the others step back */
.wz-item.done { transition: opacity .4s; }
.wz-list:hover .wz-item.done:not(:hover) { opacity: .4; }

.wz-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: #005bac;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s var(--out);
}

.wz-item:hover::after { transform: scaleX(1); }

.wz-item h3,
.wz-item p { transition: color .3s, transform .6s var(--out); }
.wz-item p { transition-delay: 0s, .04s; }
.wz-item:hover h3 { color: #005bac; transform: translateX(8px); }
.wz-item:hover p { transform: translateX(8px); }

.wz-arrow {
    position: absolute;
    top: 20px;
    right: 0;
    color: #005bac;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-12px) rotate(-45deg);
    transition: opacity .35s, transform .6s var(--out);
}

.wz-item:hover .wz-arrow { opacity: 1; transform: rotate(-45deg); }

/* floating photo that follows the cursor (positioned by the script) */
.wz-float {
    position: fixed;
    z-index: 60;
    left: 0;
    top: 0;
    width: 280px;
    height: 190px;
    overflow: hidden;
    border-radius: 16px;
    background: #dbe9f6;
    box-shadow: 0 30px 60px rgba(0, 30, 70, .25);
    pointer-events: none;
    opacity: 0;
    scale: .6;
    transition: opacity .3s, scale .5s var(--out);
    will-change: transform;
}

.wz-float.on { opacity: 1; scale: 1; }

.wz-float-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity .45s, transform .9s var(--out);
}

.wz-float-img.on { opacity: 1; transform: none; }

@media (hover: none), (max-width: 900px) {
    .wz-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wz-line > span { transform: none; transition: none; }
    .wz-photo { clip-path: none; }
    .wz-img { transform: none; }
    .wz-float { display: none; }
}

/* ---------------------------------------------------------------- hospital projects: project index
   Left: a pinned column (heading, numbered list, actions). Right: two columns of tall photos
   drifting at different speeds (--pjp set by the script). The list and the photos highlight
   each other on hover; the list also follows whichever photo is in view. */
.pj {
    position: relative;
    z-index: 2;
    padding: clamp(70px, 8vw, 120px) var(--pad) clamp(70px, 8vw, 120px);
    background: #fff;
}

.pj-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
    gap: clamp(40px, 6vw, 110px);
    max-width: var(--wrap, 1400px);
    margin: 0 auto;
}

.pj-side {
    position: sticky;
    top: 110px;
    align-self: start;
}

.pj-kicker { margin-bottom: 18px; font-size: 14px; font-weight: 600; color: #005bac; }

.pj-title {
    margin-bottom: 20px;
    font-size: clamp(32px, 3.8vw, 56px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.04em;
    color: var(--ink);
}

.pj-intro { max-width: 420px; margin-bottom: 34px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--muted); }

/* numbered list */
.pj-index { margin-bottom: 36px; list-style: none; border-top: 1px solid rgba(13, 35, 64, .1); }

.pj-index li {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(13, 35, 64, .1);
    cursor: pointer;
    color: var(--light);
    transition: color .35s;
}

/* a blue line sweeps under the current project */
.pj-index li::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: #005bac;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--out);
}

.pj-n { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pj-t { font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; letter-spacing: -.015em; transition: transform .5s var(--out); }

.pj-index li.cur,
.pj-index li.on { color: var(--ink); }
.pj-index li.cur .pj-n,
.pj-index li.on .pj-n { color: #005bac; }
.pj-index li.cur::after,
.pj-index li.on::after { transform: scaleX(1); }
.pj-index li.on .pj-t { transform: translateX(8px); }

.pj-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; }

/* photo columns */
.pj-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    align-items: start;
}

.pj-col { display: flex; flex-direction: column; gap: clamp(30px, 3.4vw, 50px); will-change: transform; }
.pj-col-a { transform: translateY(calc(var(--pjp, 0) * 50px)); }
.pj-col-b { margin-top: clamp(80px, 10vw, 160px); transform: translateY(calc(var(--pjp, 0) * -50px)); }

.pj-card { display: block; color: inherit; text-decoration: none; transition: opacity .45s; }

/* hovering one card (or its list item) softly fades the rest */
.pj.has-on .pj-card:not(.on) { opacity: .4; }

.pj-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 22px;
    background: #e9eff6;
    /* entrance: uncovers from the top */
    clip-path: inset(0 0 100% 0 round 22px);
    transition: clip-path 1.2s var(--out);
}

.pj-card.in .pj-photo { clip-path: inset(0 round 22px); }

.pj-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .92;
    transform: scale(1.25);
    transition: transform 1.6s var(--out), opacity .5s;
}

.pj-card.in .pj-img { transform: scale(1.02); }
.pj-card:hover .pj-img,
.pj-card.on .pj-img { transform: scale(1.08); opacity: 1; }

.pj-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    color: #005bac;
}

.pj-go {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #005bac;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transform: scale(.6) rotate(-45deg);
    transition: opacity .35s, transform .6s var(--out);
}

.pj-card:hover .pj-go,
.pj-card.on .pj-go { opacity: 1; transform: rotate(-45deg); }

.pj-name { display: block; margin-bottom: 6px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.pj-card:hover .pj-name,
.pj-card.on .pj-name { color: #005bac; }
.pj-scope { display: block; font-size: 13.5px; color: var(--muted); }

@media (max-width: 900px) {
    .pj-grid { grid-template-columns: 1fr; }
    .pj-side { position: static; }
    .pj-index { display: none; }
    .pj-col-a, .pj-col-b { transform: none; }
    .pj-col-b { margin-top: 60px; }
}

@media (max-width: 560px) {
    .pj-cols { grid-template-columns: 1fr; }
    .pj-col-b { margin-top: 0; }
    .pj-col { gap: 30px; }
    .pj-cols { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .pj-photo { clip-path: none; transition: none; }
    .pj-img { transform: none; }
    .pj-col-a, .pj-col-b { transform: none; }
}

/* ---------------------------------------------------------------- motion sections: responsive */
@media (max-width: 760px) {
    .brands-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand:last-child { grid-column: span 2; }
}

/* animations only while each section is on screen */
.is-off .brands-strip::before, .is-off .brands-strip::after,
.is-off .eyebrow-dot::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .split .sw, .brands-strip .brand { opacity: 1; filter: none; transform: none; transition: none; }
    .brands-strip::before, .brands-strip::after, .eyebrow-dot::after { animation: none; display: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
    .nav-links { gap: 28px; }
    .tag-text { display: none; }
}

/* Short screens: keep the whole framed hero in one view */
@media (max-height: 600px) {
    .tag-text { display: none; }
}

@media (max-height: 500px) {
    .glass { display: none; }
}

@media (max-width: 1000px) {
    .nav-links { display: none; }

    .glass { width: 340px; }
    .cap-media { width: 98px; }
}

@media (max-width: 640px) {
    .phone-btn { font-size: 13.5px; }

    .logo { height: 36px; }

    :root { --frame-r: 22px; --r: 20px; }

    .titles { font-size: 11.5vw; }
    .notch-tag { padding-top: 12px; font-size: 12px; }
    .tag-pill { padding: 5px 12px; }

    .glass { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cloud.front,
    .cloud.back { animation: none; }
}

/* ---------------------------------------------------------------- cloudy sections
   White page, with a soft blue sky and drifting clouds behind the heading of a few sections
   (same cloud layer as testimonials; it rises and fades in as the section scrolls up). */
.cloudy { isolation: isolate; }
.fe > *:not(.svc-clouds),
.pr > *:not(.svc-clouds):not(.pr-type) { position: relative; z-index: 1; }
.pr .svc-clouds { top: -2%; height: 70%; }

/* ---------------------------------------------------------------- client stories: spotlight
   One large review at a time; its words drift in when it changes. Reviewer avatars below:
   the active one opens into a pill with name and role, and a ring around it counts down
   (CSS animation, paused on hover / off screen) to the next review. */
.st {
    position: relative;
    z-index: 2;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(70px, 8vw, 120px) var(--pad) clamp(70px, 8vw, 110px);
    background: #fff;
    text-align: center;
}

/* a very large, faint quotation mark behind the quote */
.st::before {
    content: '\201C';
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -38%);
    font-size: clamp(260px, 30vw, 440px);
    font-weight: 700;
    line-height: 1;
    color: #f0f5fb;
    pointer-events: none;
    z-index: -1;
}

.st-head { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 50px); }
.st-kicker { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: #005bac; }
.st-title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; color: var(--ink); }

.st-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 50px);
    max-width: 1100px;
    margin: 0 auto;
}

.st-stage.reveal-up { opacity: 1; transform: none; }

.st-arrow {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(13, 35, 64, .14);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 19px;
    cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--out);
}

.st-arrow[data-dir="-1"] .ico { transform: rotate(180deg); }
.st-arrow:hover { background: #005bac; border-color: #005bac; color: #fff; transform: scale(1.06); }
.st-arrow:focus-visible { outline: 2px solid #005bac; outline-offset: 3px; }

.st-quotes { display: grid; min-height: clamp(220px, 20vw, 280px); align-items: center; }

.st-q { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s .5s; }
.st-q.is-active { visibility: visible; transition: none; }

.st-meta-top,
.st-headline { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.st-q.is-active .st-meta-top,
.st-q.is-active .st-headline { opacity: 1; transform: none; transition: opacity .6s .1s, transform .8s .1s var(--out); }

.st-meta-top { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.st-stars { display: flex; gap: 2px; color: var(--star); }
.st-stars .star { width: 16px; height: 16px; fill: currentColor; stroke: none; }

.st-google {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 7px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(13, 35, 64, .1);
    font-size: 12px;
    font-weight: 600;
    color: #3c4043;
}

.st-google .g-logo { width: 15px; height: 15px; }

.st-headline { margin-bottom: 12px; font-size: 15px; font-weight: 600; color: #005bac; }

/* the quote: each word drifts up out of a soft blur, in order */
.st-big {
    max-width: 880px;
    margin: 0 auto;
    font-size: clamp(22px, 2.6vw, 38px);
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: -.025em;
    color: var(--ink);
}

.sw2 {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(.3em);
    transition: opacity .3s, filter .3s, transform .3s;
}

.st-q.is-active .sw2 {
    opacity: 1;
    filter: blur(0);
    transform: none;
    transition: opacity .6s, filter .6s, transform .8s var(--out);
    transition-delay: calc(.15s + var(--i) * 28ms);
}

/* reviewers */
.st-people {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(34px, 4vw, 56px);
}

.st-person {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 5px;
    border: 1px solid rgba(13, 35, 64, .1);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .3s, box-shadow .3s, gap .5s var(--out);
}

.st-person:hover { border-color: rgba(0, 91, 172, .3); }
.st-person:focus-visible { outline: 2px solid #005bac; outline-offset: 2px; }
.st-person.is-active { gap: 12px; border-color: rgba(0, 91, 172, .2); box-shadow: 0 14px 30px rgba(0, 40, 90, .1); }

.st-av { position: relative; flex-shrink: 0; width: 46px; height: 46px; }
.st-av img { position: absolute; inset: 4px; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #eef4fb; opacity: .6; transition: opacity .3s; }
.st-person.is-active .st-av img,
.st-person:hover .st-av img { opacity: 1; }

/* countdown ring */
.st-av svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.st-av circle { fill: none; stroke: #005bac; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; }
.st-person.is-active circle { animation: stRing 7s linear forwards; }
.st-stage:hover ~ .st-people .st-person.is-active circle,
.st-people:hover .st-person.is-active circle,
.is-off .st-person.is-active circle { animation-play-state: paused; }

@keyframes stRing { to { stroke-dashoffset: 0; } }

/* name + role open out only on the active reviewer */
.st-who {
    display: grid;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width .6s var(--out), opacity .3s, padding .6s var(--out);
}

.st-person.is-active .st-who { max-width: 260px; padding-right: 16px; opacity: 1; transition: max-width .7s var(--out), opacity .5s .15s, padding .7s var(--out); }
.st-who b { font-size: 14px; font-weight: 600; }
.st-who small { font-size: 12px; color: var(--muted); }

@media (max-width: 700px) {
    .st-stage { grid-template-columns: 1fr; }
    .st-arrow { display: none; }
    .st-person.is-active .st-who { max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    .sw2 { opacity: 1; filter: none; transform: none; transition: none; }
    .st-person.is-active circle { animation: none; stroke-dashoffset: 0; }
}


/* ---------------------------------------------------------------- footer wordmark animation
   Giant "S&T Healthcare" across the bottom of the footer. Letters rise out of a mask one by one
   when the footer comes into view (.in), the whole word drifts up as you reach the very bottom
   (--fwp 0..1, set by footer.js), and letters lift + light up under the cursor. */
.foot-wordmark {
    position: relative;
    z-index: 1;
    margin: clamp(10px, 2vw, 30px) calc(-1 * var(--pad)) 0;
    padding: 0 2vw;
    overflow: hidden;
    color: inherit;
    transform: translateY(calc((1 - var(--fwp, 1)) * 18%));
    transition: transform .2s linear;
}

.fw-inner {
    display: flex;
    justify-content: center;
    padding-top: .16em;
    font-size: clamp(54px, 12.6vw, 230px);
    font-weight: 700;
    line-height: .86;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.fw-sp { width: .22em; }

.fw-l {
    display: inline-block;
    padding-bottom: .04em;
    background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(105%) rotate(6deg);
    transform-origin: 0 100%;
    transition:
        transform 1.1s var(--out) calc(var(--i) * 45ms),
        background-color .3s;
    cursor: default;
}

.foot-wordmark.in .fw-l { transform: none; }

/* hover: the letter under the cursor lifts and lights up; neighbours follow a little */
.foot-wordmark.done .fw-l { transition: transform .5s var(--out), filter .4s; }
.fw-l.hot {
    transform: translateY(-14%) !important;
    background-image: linear-gradient(180deg, #bfe0ff 0%, #5fb0ff 100%);
    filter: drop-shadow(0 10px 30px rgba(95, 176, 255, .45));
}
.fw-l.warm {
    transform: translateY(-6%) !important;
    background-image: linear-gradient(180deg, rgba(191, 224, 255, .7) 0%, rgba(95, 176, 255, .25) 100%);
}

/* a slow light sweep across the word */
.foot-wordmark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: fwSweep 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fwSweep {
    0%, 30%   { transform: translateX(-100%); }
    70%, 100% { transform: translateX(100%); }
}

.is-off .foot-wordmark::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .foot-wordmark { transform: none; }
    .fw-l { transform: none; transition: none; }
    .foot-wordmark::after { animation: none; display: none; }
}

/* ---------------------------------------------------------------- featured equipment: "best sellers" style
   Title left + dark "See all" pill right; a row of large portrait cards, name underneath,
   round arrow appears in the centre of the photo on hover. */
.fe { background: #fff; padding-top: clamp(70px, 8vw, 110px); padding-bottom: clamp(70px, 8vw, 110px); }
.fe .fe-head { align-items: center; margin-bottom: clamp(26px, 3vw, 40px); }

.fe-title {
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 500;
    letter-spacing: -.035em;
    color: var(--ink);
}

.fe-see {
    flex-shrink: 0;
    padding: 14px 28px;
    border-radius: 999px;
    background: #0d2340;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background-color .3s, transform .4s var(--out);
}

.fe-see:hover { background: #005bac; transform: translateY(-2px); }

.fe .fe-item { width: clamp(260px, calc((min(100vw, 1200px + 2 * var(--pad)) - 2 * var(--pad) - 3 * 24px) / 4), 330px); }
.fe .fe-list { gap: 24px; }

.fe .fe-photo {
    aspect-ratio: 43 / 50;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(170deg, #f3f6fa 0%, #e4ebf3 100%);
}

.fe .fe-photo img { width: 74%; height: 74%; transition: transform 1s var(--out); }
.fe .fe-card:hover .fe-photo { background: linear-gradient(170deg, #eef3f9 0%, #dde6f0 100%); }
.fe .fe-card:hover .fe-photo img { transform: scale(1.06); }

/* round arrow in the centre of the photo on hover */
.fe .fe-go {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    background: #fff;
    color: var(--ink);
    font-size: 20px;
    box-shadow: 0 12px 30px rgba(0, 30, 70, .18);
    transform: scale(.6);
}

.fe .fe-card:hover .fe-go,
.fe .fe-card:focus-visible .fe-go { opacity: 1; transform: none; }

.fe .fe-name {
    margin-bottom: 4px;
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ink);
}

.fe .fe-cat {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--light);
}

@media (max-width: 560px) {
    .fe .fe-item { width: 72vw; }
    .fe-see { padding: 11px 20px; font-size: 14px; }
}

/* ---------------------------------------------------------------- eyebrow icon
   The little dot before eyebrow labels is replaced by a small stethoscope (brand blue) that
   swings gently, with a soft heartbeat glow behind it. The label text is unchanged. */
.eyebrow-dot,
.pg-dot {
    --steth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 12 0V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 12 0v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E");
    position: relative;
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* the icon itself */
.eyebrow-dot::before,
.pg-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #005bac;
    -webkit-mask: var(--steth) center / contain no-repeat;
    mask: var(--steth) center / contain no-repeat;
    transform-origin: 30% 10%;
    animation: stethSwing 3s ease-in-out infinite;
}

/* soft heartbeat glow (replaces the old blinking ping) */
.eyebrow-dot::after,
.pg-dot::after {
    content: '';
    position: absolute;
    inset: -5px !important;
    border-radius: 50%;
    background: rgba(0, 91, 172, .16) !important;
    transform: scale(.6);
    opacity: 0;
    animation: stethBeat 3s ease-out infinite !important;
}

.eyebrow-dark .eyebrow-dot::before { background: #8cc4f5; }
.eyebrow-dark .eyebrow-dot::after { background: rgba(140, 196, 245, .2) !important; }

@keyframes stethSwing {
    0%, 100% { transform: rotate(-10deg); }
    50%      { transform: rotate(10deg); }
}

/* two quick beats, then rest, like a heartbeat */
@keyframes stethBeat {
    0%        { transform: scale(.6); opacity: 0; }
    8%        { transform: scale(1.15); opacity: 1; }
    16%       { transform: scale(.8); opacity: .4; }
    24%       { transform: scale(1.3); opacity: .8; }
    45%, 100% { transform: scale(1.6); opacity: 0; }
}

.is-off .eyebrow-dot::before, .is-off .eyebrow-dot::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    .eyebrow-dot::before, .pg-dot::before { animation: none; transform: none; }
    .eyebrow-dot::after, .pg-dot::after { animation: none !important; opacity: 0; }
}

/* labels without a dot get the same stethoscope icon in front */
.pg-kicker, .pj-kicker, .st-kicker {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
}

.pg-kicker::before, .pj-kicker::before, .st-kicker::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: #005bac;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 12 0V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 12 0v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 12 0V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 12 0v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
    transform-origin: 30% 10%;
    animation: stethSwing 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pg-kicker::before, .pj-kicker::before, .st-kicker::before { animation: none; }
}

/* ---------------------------------------------------------------- eyebrow icon: hospital cross
   Overrides the stethoscope above: a rounded medical cross in brand blue beside each eyebrow
   label, softly fading in and out (with a faint glow) like a hospital sign. */
.eyebrow-dot, .pg-dot,
.pg-kicker::before, .pj-kicker::before, .st-kicker::before {
    --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 2.5h5a1 1 0 0 1 1 1v5h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1h5v-5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.eyebrow-dot, .pg-dot { width: 14px !important; height: 14px !important; }

.eyebrow-dot::before, .pg-dot::before,
.pg-kicker::before, .pj-kicker::before, .st-kicker::before {
    -webkit-mask: var(--cross) center / contain no-repeat !important;
    mask: var(--cross) center / contain no-repeat !important;
    transform: none;
    animation: crossFade 2.4s ease-in-out infinite !important;
}

.pg-kicker::before, .pj-kicker::before, .st-kicker::before { width: 14px; height: 14px; }

/* faint glow that breathes with the cross */
.eyebrow-dot::after, .pg-dot::after {
    inset: -4px !important;
    background: rgba(0, 91, 172, .18) !important;
    filter: blur(3px);
    animation: crossGlow 2.4s ease-in-out infinite !important;
}

@keyframes crossFade {
    0%, 100% { opacity: .25; transform: scale(.88); }
    50%      { opacity: 1;   transform: scale(1); }
}

@keyframes crossGlow {
    0%, 100% { opacity: 0;  transform: scale(.7); }
    50%      { opacity: 1;  transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
    .eyebrow-dot::before, .pg-dot::before, .pg-kicker::before, .pj-kicker::before, .st-kicker::before { animation: none !important; opacity: 1; }
    .eyebrow-dot::after, .pg-dot::after { animation: none !important; opacity: 0; }
}

/* ---------------------------------------------------------------- eyebrow labels: no border, bolder
   Plain label (no pill, border, background or shadow) in bold brand blue, cross icon beside it. */
.eyebrow,
.pj-kicker,
.st-kicker,
.pg-kicker {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    color: #005bac !important;
}

.eyebrow { gap: 9px; }
.eyebrow-dark { color: #9fd0ff !important; }

/* no glow around the eyebrow cross: just the cross fading in and out */
.eyebrow-dot::after, .pg-dot::after { content: none !important; display: none !important; animation: none !important; }

/* eyebrow cross: clear show / hide loop (visible, quickly hides, stays hidden, quickly shows) */
.eyebrow-dot::before, .pg-dot::before,
.pg-kicker::before, .pj-kicker::before, .st-kicker::before {
    animation: crossBlink 1.6s ease-in-out infinite !important;
}

@keyframes crossBlink {
    0%, 45%   { opacity: 1; transform: scale(1); }
    55%, 90%  { opacity: 0; transform: scale(.6); }
    100%      { opacity: 1; transform: scale(1); }
}

/* eyebrow cross: calm "breathing" pulse — always visible, gently swells and softens every ~3s */
.eyebrow-dot::before, .pg-dot::before,
.pg-kicker::before, .pj-kicker::before, .st-kicker::before {
    animation: crossBreathe 3.2s ease-in-out infinite !important;
}

@keyframes crossBreathe {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: .55; transform: scale(.82); }
}

/* ---------------------------------------------------------------- our promise arches: clear photos, brand finish
   Photos shown at full strength; only the bottom fades into S&T blue for the caption.
   Numbers removed; white ring on the arch, white icon badge with blue icon, blue hover lift. */
.pr-no { display: none; }

.pr-frame {
    background: #005bac;
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(0, 91, 172, .18), 0 30px 60px rgba(0, 60, 130, .22);
    transition: clip-path 1.5s var(--out), transform .6s var(--out), box-shadow .5s;
}

.pr-img { opacity: 1; filter: none; }
.pr-arch:hover .pr-img { opacity: 1; filter: none; transform: scale(1.08); }

/* brand-blue fade only behind the caption */
.pr-frame::after {
    background: linear-gradient(180deg,
        rgba(0, 91, 172, 0) 0%,
        rgba(0, 91, 172, 0) 42%,
        rgba(0, 74, 143, .78) 74%,
        rgba(0, 58, 115, .96) 100%);
}

.pr-arch:hover .pr-frame { transform: translateY(-8px); box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(0, 91, 172, .3), 0 40px 80px rgba(0, 60, 130, .3); }

.pr-ico {
    background: #fff;
    color: #005bac;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 10px 24px rgba(0, 30, 70, .25);
}

.pr-arch:hover .pr-ico { transform: translateY(-4px) scale(1.05); }
.pr-cap strong { font-size: clamp(17px, 1.45vw, 20px); }
.pr-cap span:last-child { color: rgba(255, 255, 255, .9); }

/* our promise arches: no white ring, lighter overlay, soft professional shadow */
.pr-frame,
.pr-arch:hover .pr-frame {
    box-shadow: 0 24px 50px rgba(0, 40, 90, .14) !important;
}

.pr-arch:hover .pr-frame { box-shadow: 0 34px 70px rgba(0, 40, 90, .2) !important; }

/* subtle navy-to-clear fade, only enough to keep the caption readable */
.pr-frame::after {
    background: linear-gradient(180deg,
        rgba(8, 28, 60, 0) 0%,
        rgba(8, 28, 60, 0) 55%,
        rgba(8, 28, 60, .45) 80%,
        rgba(8, 28, 60, .7) 100%) !important;
}

.pr-cap { text-shadow: 0 1px 12px rgba(0, 15, 40, .35); }
.pr-ico { box-shadow: 0 8px 20px rgba(0, 20, 50, .2) !important; }


/* ---------------------------------------------------------------- departments list: neat alignment
   Header and intro sit on one baseline; number, name and arrow line up on the first line of every
   row; names no longer shift sideways; the photo frame matches the list height. */
.dl-head { align-items: flex-end; margin-bottom: clamp(36px, 4vw, 56px); }
.dl-head .dl-intro { padding-bottom: 10px; }

.dl-grid { align-items: stretch; gap: clamp(36px, 5vw, 80px); }

.dl-link {
    --line: calc(clamp(26px, 3vw, 44px) * 1.1);
    grid-template-columns: 56px minmax(0, 1fr) 44px;
    gap: 0 18px;
    padding: 22px 0;
}

/* number and arrow centred on the first line of the name */
.dl-num { padding-top: 0; line-height: var(--line); }
.dl-arrow { margin-top: calc((var(--line) - 44px) / 2); }

/* no sideways shift: every name keeps the same left edge */
.dl-row.is-active .dl-name { transform: none; }
.dl-sub > span { padding-left: 0; }

.dl-text { padding-top: 12px; }
.dl-items { padding-top: 10px; }

/* photo frame fills the list height and stays in view */
.dl-view { align-self: start; aspect-ratio: auto; height: min(640px, calc(100vh - 160px)); }
.dl-pic { background-position: center; }

@media (max-width: 900px) {
    .dl-head { align-items: flex-start; }
    .dl-link { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 0 12px; }
    .dl-arrow { margin-top: calc((var(--line) - 38px) / 2); }
}

/* ---------------------------------------------------------------- hide header on scroll down, show on scroll up */
.nav { translate: 0 0; }
.nav.nav-hidden { translate: 0 calc(-100% - 30px); }
.nav.nav-anim { transition: translate .45s cubic-bezier(.16, 1, .3, 1), background-color .45s, box-shadow .45s, color .45s, border-color .45s, border-radius .45s, height .45s, top .45s, left .45s, right .45s, max-width .45s; }

/* ---------------------------------------------------------------- departments: tidy + fits one screen
   No equipment line and no blue underline; sizes follow the screen height so heading, list and
   photo all fit in one view on desktop. */
.dl-items { display: none !important; }
.dl-row::after { display: none !important; }

@media (min-width: 901px) {
    .depts {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: clamp(90px, 11vh, 120px) !important;
        padding-bottom: clamp(30px, 5vh, 60px) !important;
    }
    .dl-head, .dl-grid { width: 100%; }
    .dl-head { margin-bottom: clamp(18px, 3.4vh, 40px) !important; }
    .dl-title { font-size: clamp(30px, min(3.6vw, 5.6vh), 52px); }

    .dl-link {
        --line: calc(clamp(22px, min(2.6vw, 4.4vh), 40px) * 1.1);
        padding: clamp(10px, 1.7vh, 20px) 0 !important;
    }
    .dl-name { font-size: clamp(22px, min(2.6vw, 4.4vh), 40px); }
    .dl-text { padding-top: 6px !important; font-size: clamp(13.5px, 1.8vh, 15px); }

    /* photo matches the list height */
    .dl-view { height: auto !important; align-self: stretch; max-height: none; position: relative; top: auto; }
}

/* ---------------------------------------------------------------- departments: aligned two-column grid
   Header uses the same columns as the list + photo below, so the heading lines up with the list
   and the intro lines up with the photo, both resting on one baseline. Tighter rows so the whole
   section fits a single screen on wide-but-short displays too. */
@media (min-width: 901px) {
    .dl-head,
    .dl-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        column-gap: clamp(36px, 5vw, 80px);
        max-width: var(--wrap, 1400px);
        margin-left: auto;
        margin-right: auto;
    }
    .dl-head { align-items: end; }
    .dl-head .dl-title { max-width: none; font-size: clamp(28px, min(3.2vw, 5vh), 48px); line-height: 1.08; }
    .dl-head .dl-intro { max-width: 460px; padding-bottom: 6px; font-size: 15.5px; line-height: 1.65; }

    .dl-link {
        --line: calc(clamp(20px, min(2.3vw, 3.7vh), 36px) * 1.1);
        grid-template-columns: 48px minmax(0, 1fr) 40px;
        padding: clamp(8px, 1.3vh, 16px) 0 !important;
    }
    .dl-name { font-size: clamp(20px, min(2.3vw, 3.7vh), 36px); }
    .dl-num { font-size: 13px; }
    .dl-arrow { width: 40px; height: 40px; margin-top: calc((var(--line) - 40px) / 2); }
    .dl-text { font-size: 14.5px; padding-top: 4px !important; }

    .dl-view { border-radius: 24px; }
}

/* departments: every arrow the same size and position; only colour changes when active */
.dl-arrow,
.dl-row.is-active .dl-arrow {
    width: 40px !important;
    height: 40px !important;
    transform: rotate(-45deg) !important;
    opacity: 1 !important;
}
.dl-arrow { border-color: rgba(13, 35, 64, .14) !important; color: var(--light) !important; }
.dl-row.is-active .dl-arrow { border-color: #005bac !important; background: #005bac !important; color: #fff !important; }
.dl-link:hover .dl-arrow { transform: rotate(0deg) !important; }

/* departments: arrows centred vertically in their row, clear of the divider lines */
.dl-link { align-items: center !important; }
.dl-arrow { margin-top: 0 !important; align-self: center !important; }
.dl-num { align-self: center !important; line-height: 1 !important; }
.dl-row.is-active .dl-num { align-self: start !important; line-height: var(--line) !important; }

/* departments: breathing room above and below each arrow */
@media (min-width: 901px) { .dl-link { padding: clamp(12px, 1.6vh, 18px) 0 !important; } .dl-arrow, .dl-row.is-active .dl-arrow { width: 38px !important; height: 38px !important; } }

/* departments: featured product card swaps cleanly (old one vanishes in place, new one fades up after) */
.dl-chip { visibility: hidden; opacity: 0; transform: none; transition: opacity .15s, visibility 0s .15s; }
.dl-chip.is-active {
    visibility: visible;
    opacity: 1;
    animation: dlChipIn .6s cubic-bezier(.16, 1, .3, 1) .2s both;
    transition: none;
}
@keyframes dlChipIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.dl-chip-img { overflow: hidden; background: #f3f6fa; }
.dl-chip-img img { width: 82%; height: 82%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .dl-chip.is-active { animation: none; } }

/* ---------------------------------------------------------------- our promise: calm editorial header
   Plain white panel (no sky, clouds or sliding outline words); heading left, short note right,
   aligned to the arch row below — same rhythm as the other sections. */
.pr { background: #fff !important; padding-top: clamp(50px, 6vw, 90px); }
.pr-type, .pr .svc-clouds { display: none !important; }

.pr-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(24px, 4vw, 70px);
    max-width: 1080px;
    margin: 0 auto clamp(40px, 5vw, 64px) !important;
    text-align: left !important;
}

.pr-head .eyebrow { margin-bottom: 14px; }
.pr-title { font-size: clamp(32px, 3.8vw, 54px) !important; font-weight: 600; line-height: 1.06; letter-spacing: -.04em; }
.pr-sub { max-width: 400px !important; margin: 0 !important; padding-bottom: 8px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--muted); }

@media (max-width: 760px) {
    .pr-head { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------------------------------------------------------------- our promise arches: looping machinery animations
   GIF-like loops built from the S&T product shots (sharp, light, on-brand) instead of photos. */
.pr-frame { background: linear-gradient(170deg, #f4f8fd 0%, #dfeaf6 55%, #0b3a75 100%) !important; }
.pr-frame::after { background: linear-gradient(180deg, rgba(8, 28, 60, 0) 52%, rgba(8, 28, 60, .55) 78%, rgba(8, 28, 60, .85) 100%) !important; }

.pr-anim { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pr-anim img { position: absolute; object-fit: contain; mix-blend-mode: multiply; }

/* soft spotlight behind each machine */
.pr-anim::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 34%;
    width: 80%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0));
}

.pa-badge {
    position: absolute;
    top: 22%;
    right: 10%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 40, 90, .14);
    font-size: 11.5px;
    font-weight: 600;
    color: #005bac;
    animation: paBob 3s ease-in-out infinite;
}
.pa-badge .ico { font-size: 13px; }
.pa-badge.alt { top: auto; bottom: 46%; right: auto; left: 10%; }

@keyframes paBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* 1. Sales & supply: three machines slide in and out in turn */
.pa-floor { position: absolute; left: 50%; top: 52%; width: 56%; height: 16px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 40, 90, .22), transparent); }
.pa-cycle { left: 18%; top: 14%; width: 64%; height: 40%; opacity: 0; animation: paCycle 9s infinite; }
.pa-cycle.c2 { animation-delay: 3s; }
.pa-cycle.c3 { animation-delay: 6s; }

@keyframes paCycle {
    0%        { opacity: 0; transform: translateX(40%) scale(.9); }
    6%, 30%   { opacity: 1; transform: none; }
    36%, 100% { opacity: 0; transform: translateX(-40%) scale(.9); }
}

/* 2. Installation & training: machine with rotating tool, scan line and progress bar */
.pa-ring { position: absolute; left: 50%; top: 34%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(0, 91, 172, .35); animation: sealTurn 14s linear infinite; }
.pa-machine { left: 22%; top: 12%; width: 56%; height: 44%; }
.pa-gear { position: absolute; top: 18%; right: 14%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #005bac; color: #fff; font-size: 19px; box-shadow: 0 8px 20px rgba(0, 60, 130, .3); animation: paTwist 2.4s ease-in-out infinite; }
@keyframes paTwist { 0%, 100% { transform: rotate(-25deg); } 50% { transform: rotate(25deg); } }

.pa-scan { position: absolute; left: 20%; right: 20%; top: 12%; height: 2px; background: linear-gradient(90deg, transparent, #2f8fff, transparent); box-shadow: 0 0 12px #2f8fff; animation: paScan 2.6s ease-in-out infinite; }
@keyframes paScan { 0%, 100% { top: 13%; opacity: 0; } 15%, 85% { opacity: 1; } 50% { top: 54%; } }

.pa-progress { position: absolute; left: 16%; right: 16%; top: 58%; display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: #0d2340; }
.pa-progress b { font-weight: 600; letter-spacing: .04em; }
.pa-progress i { display: block; height: 5px; border-radius: 5px; background: rgba(0, 91, 172, .15); overflow: hidden; }
.pa-progress em { display: block; height: 100%; background: #005bac; border-radius: 5px; animation: paFill 3.2s ease-in-out infinite; }
@keyframes paFill { 0% { width: 0; } 80%, 100% { width: 100%; } }

/* 3. Service & support: monitor with running ECG trace and live readings */
.pa-monitor {
    position: absolute;
    left: 14%;
    right: 14%;
    top: 16%;
    height: 34%;
    padding: 12px;
    border-radius: 12px;
    background: #0a1a33;
    border: 6px solid #dfe6ee;
    box-shadow: 0 18px 40px rgba(0, 30, 70, .25);
    overflow: hidden;
}

.pa-ecg { position: absolute; left: 0; top: 18%; width: 200%; height: 52%; animation: paRun 2.4s linear infinite; }
.pa-ecg path { fill: none; stroke: #3cff9a; stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 3px #3cff9a); }
@keyframes paRun { to { transform: translateX(-50%); } }

.pa-bpm, .pa-spo2 { position: absolute; bottom: 8px; font-size: 10px; color: rgba(255, 255, 255, .7); }
.pa-bpm { left: 10px; }
.pa-spo2 { right: 10px; }
.pa-bpm b { font-size: 18px; color: #3cff9a; animation: paBeat 1.2s ease-in-out infinite; }
.pa-spo2 b { font-size: 18px; color: #54c7ff; }
@keyframes paBeat { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.pa-pulse { position: absolute; left: 50%; top: 33%; width: 30%; aspect-ratio: 1; margin-left: -15%; transform: translateY(-50%); border-radius: 50%; border: 2px solid rgba(0, 91, 172, .35); animation: paPing 2.4s ease-out infinite; }
.pa-pulse.d2 { animation-delay: 1.2s; }
@keyframes paPing { from { transform: translateY(-50%) scale(1.4); opacity: 1; } to { transform: translateY(-50%) scale(3); opacity: 0; } }

.is-off .pr-anim *, .is-off .pr-anim::before { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    .pr-anim * { animation: none !important; }
    .pa-cycle.c1 { opacity: 1; }
    .pa-progress em { width: 70%; }
}
/* arches: white upper stage so product shots blend in, brand-navy lower part for the caption */
.pr-frame { background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #7f9fc4 72%, #0b3a75 100%) !important; }
.pr-anim::before { display: none; }
.pr-frame::after { background: linear-gradient(180deg, rgba(8, 28, 60, 0) 58%, rgba(8, 28, 60, .5) 80%, rgba(8, 28, 60, .8) 100%) !important; }

/* ---------------------------------------------------------------- promise arches: vector machine animations */
.pr-anim svg { position: absolute; overflow: visible; }
.pa-svg { filter: drop-shadow(0 14px 18px rgba(0, 40, 90, .14)); }
.pa-cycle.pa-svg { left: 12%; top: 10%; width: 76%; height: 44%; }
.pa-machine.pa-svg { left: 22%; top: 8%; width: 56%; height: 48%; }

/* monitor: heartbeat scrolls across the screen, LED blinks */
.pa-wave { animation: paWave 2s linear infinite; }
@keyframes paWave { to { transform: translateX(-44px); } }
.pa-led { animation: paLed 1s steps(2) infinite; }
@keyframes paLed { 50% { opacity: .2; } }

/* ventilator: breathing waveform swells, tube pulses */
.pa-breath { transform-origin: 100px 40px; animation: paBreath 3s ease-in-out infinite; }
@keyframes paBreath { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.pa-tube { stroke-dasharray: 8 6; animation: paFlow 1.2s linear infinite; }
@keyframes paFlow { to { stroke-dashoffset: -28; } }

/* defibrillator: trace redraws, shock button glows */
.pa-wave2, .pa-wave3 { stroke-dasharray: 90; animation: paDraw 2s linear infinite; }
@keyframes paDraw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -90; } }
.pa-shock { transform-box: fill-box; transform-origin: center; animation: paShock 1.6s ease-in-out infinite; }
@keyframes paShock { 0%, 100% { transform: scale(1); filter: none; } 50% { transform: scale(1.12); filter: drop-shadow(0 0 6px #e85a4f); } }

/* anaesthesia: vaporiser levels move, knob turns while calibrating */
.pa-vap { transform-box: fill-box; transform-origin: bottom; animation: paLevel 3.2s ease-in-out infinite; }
.pa-vap.d2 { animation-delay: -1.6s; }
@keyframes paLevel { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.pa-knob { transform-origin: 96px 68px; animation: paKnob 3.2s ease-in-out infinite; }
@keyframes paKnob { 0%, 100% { transform: rotate(-60deg); } 50% { transform: rotate(60deg); } }

@media (prefers-reduced-motion: reduce) {
    .pa-wave, .pa-led, .pa-breath, .pa-tube, .pa-wave2, .pa-wave3, .pa-shock, .pa-vap, .pa-knob { animation: none !important; }
}

.pa-badge svg, .pr-cap svg, .pa-gear svg { position: static !important; }

/* ---------------------------------------------------------------- promise cards: clean rectangles (no arch / door shape)
   Equal cards in one straight row, modest corners, no staggered middle card or drift. */
.pr-frame { border-radius: 20px !important; aspect-ratio: 4 / 4.6; }
.pr-arch.in .pr-frame { clip-path: inset(0 round 20px) !important; }
.pr-frame { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.2s var(--out), transform .6s var(--out), box-shadow .5s; }
.pr-arch:nth-child(2) { margin-top: 0 !important; }
.pr-arch { translate: none !important; }
.pr-arches { align-items: stretch; }
/* promise cards: visible card shape on white page + room for the scene */
.pr-frame {
    aspect-ratio: 4 / 5.2 !important;
    background: linear-gradient(180deg, #f2f7fc 0%, #e8f1fa 50%, #7f9fc4 72%, #0b3a75 100%) !important;
    box-shadow: 0 0 0 1px rgba(0, 91, 172, .08), 0 24px 50px rgba(0, 40, 90, .12) !important;
}

/* ---------------------------------------------------------------- promise cards v2: illustration on top, caption on white below */
.pr-frame {
    display: flex !important;
    flex-direction: column;
    aspect-ratio: auto !important;
    background: #fff !important;
    border: 1px solid rgba(13, 35, 64, .08);
    box-shadow: 0 20px 44px rgba(0, 40, 90, .08) !important;
}
.pr-frame::after { display: none !important; }
.pr-arch:hover .pr-frame { box-shadow: 0 30px 60px rgba(0, 40, 90, .14) !important; }

.pr-anim {
    position: relative !important;
    inset: auto !important;
    z-index: 0 !important;
    height: auto;
    aspect-ratio: 320 / 200;
    background: linear-gradient(180deg, #f3f8fd 0%, #e9f2fb 100%);
    border-bottom: 1px solid rgba(13, 35, 64, .06);
}
.pr-anim::before { display: none !important; }
.pr-anim .ps { position: absolute; inset: 6% 4%; width: 92%; height: 88%; overflow: visible; }

.pr-cap {
    position: static !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 22px 24px 26px !important;
    color: var(--ink) !important;
    text-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
}
.pr-cap .pr-ico { margin-bottom: 14px; background: #e6f0fa !important; color: #005bac !important; box-shadow: none !important; width: 42px; height: 42px; font-size: 19px; }
.pr-arch:hover .pr-cap .pr-ico { background: #005bac !important; color: #fff !important; }
.pr-cap strong { color: var(--ink) !important; font-size: 19px !important; }
.pr-cap span:last-child { max-width: none !important; color: var(--muted) !important; font-size: 14.5px !important; }

/* 1. supply: van drives warehouse -> hospital, tick pops on arrival */
.ps-van { animation: psDrive 5s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes psDrive {
    0%   { transform: translate(84px, 130px); opacity: 0; }
    8%   { opacity: 1; }
    62%  { transform: translate(176px, 130px); opacity: 1; }
    72%, 100% { transform: translate(180px, 130px); opacity: 0; }
}
.ps-lane { animation: psLane 1s linear infinite; }
@keyframes psLane { to { stroke-dashoffset: -16; } }
.ps-ok { transform-box: fill-box; transform-origin: center; animation: psOk 5s ease-out infinite; }
@keyframes psOk {
    0%, 62%   { opacity: 0; scale: .4; }
    70%, 92%  { opacity: 1; scale: 1; }
    100%      { opacity: 0; scale: 1; }
}

/* 2. installation: gears turn, checklist ticks one by one */
.pi-gear { animation: piSpin 6s linear infinite; }
.pi-gear2 { animation: piSpin 4s linear infinite reverse; }
@keyframes piSpin { from { rotate: 0deg; } to { rotate: 360deg; } }
.pi-gear, .pi-gear2 { transform-box: fill-box; transform-origin: center; }
.pi-tick { stroke-dasharray: 16; stroke-dashoffset: 16; animation: piTick 6s ease-out infinite; }
.pi-row.r2 .pi-tick { animation-delay: .8s; }
.pi-row.r3 .pi-tick { animation-delay: 1.6s; }
.pi-row.r4 .pi-tick { animation-delay: 2.4s; }
@keyframes piTick {
    0%        { stroke-dashoffset: 16; }
    8%, 80%   { stroke-dashoffset: 0; }
    90%, 100% { stroke-dashoffset: 16; }
}

/* 3. service: clock hand sweeps, ticket steps light up to "Resolved" */
.pv-hand { animation: piSpin 4s linear infinite; transform-origin: 0 0; }
.pv-line { transform-box: fill-box; transform-origin: top; animation: pvLine 6s ease-in-out infinite; }
@keyframes pvLine { 0% { scale: 1 0; } 55%, 85% { scale: 1 1; } 100% { scale: 1 0; } }
.pv-step { opacity: .25; animation: pvStep 6s ease-in-out infinite; }
.pv-step.s2 { animation-delay: 1.4s; }
.pv-step.s3 { animation-delay: 2.8s; }
@keyframes pvStep { 0% { opacity: .25; } 8%, 70% { opacity: 1; } 85%, 100% { opacity: .25; } }

.is-off .pr-anim * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    .pr-anim * { animation: none !important; }
    .ps-van { transform: translate(176px, 130px); }
    .pi-tick { stroke-dashoffset: 0; }
    .pv-step { opacity: 1; }
}

.pi-gear, .pi-gear2 { transform-box: view-box !important; transform-origin: 0 0 !important; }

/* supply scene (realistic): truck drives in with spinning wheels, clouds drift, sign glows */
.pr-anim .ps { inset: 0; width: 100%; height: 100%; }
.ps-van { animation: psDrive2 6s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes psDrive2 {
    0%        { transform: translate(-90px, 124px); }
    55%       { transform: translate(134px, 124px); }
    75%       { transform: translate(134px, 124px); opacity: 1; }
    85%, 100% { transform: translate(150px, 124px); opacity: 0; }
}
.ps-spin { transform-box: fill-box; transform-origin: center; animation: psWheel .6s linear infinite; }
@keyframes psWheel { to { rotate: 360deg; } }
.ps-lane { animation: psLane2 1.2s linear infinite; }
@keyframes psLane2 { to { stroke-dashoffset: -22; } }
.ps-cloud { animation: psCloud 18s linear infinite; }
.ps-cloud.c2 { animation-duration: 26s; animation-delay: -10s; }
@keyframes psCloud { from { transform: translateX(-120px); } to { transform: translateX(260px); } }
.ps-sign { animation: psGlow 2s ease-in-out infinite; }
@keyframes psGlow { 50% { filter: drop-shadow(0 0 5px rgba(47, 143, 255, .9)); } }
.ps-light { animation: paLed 1s steps(2) infinite; }
.ps-ok { animation: psOk2 6s ease-out infinite; }
@keyframes psOk2 { 0%, 55% { opacity: 0; transform: translate(246px, 14px); } 62%, 85% { opacity: 1; transform: translate(246px, 8px); } 95%, 100% { opacity: 0; transform: translate(246px, 8px); } }
@media (prefers-reduced-motion: reduce) { .ps-van { transform: translate(134px, 124px); } .ps-ok { opacity: 1; } }

/* installation scene: engineer works, monitor calibrates then goes live, nurse nods, "Ready" pops */
.pi-arm { transform-origin: 108px 120px; animation: piWork 1.1s ease-in-out infinite; }
@keyframes piWork { 0%, 100% { rotate: 0deg; } 50% { rotate: -9deg; } }
.pi-bar { transform-box: fill-box; transform-origin: left; animation: piCal 7s ease-in-out infinite; }
@keyframes piCal { 0% { scale: 0 1; } 45%, 100% { scale: 1 1; } }
.pi-boot { animation: piBoot 7s steps(1) infinite; }
@keyframes piBoot { 0% { opacity: 1; } 48%, 100% { opacity: 0; } }
.pi-screen { opacity: 0; animation: piLive 7s ease infinite; }
@keyframes piLive { 0%, 48% { opacity: 0; } 54%, 96% { opacity: 1; } 100% { opacity: 0; } }
.pi-ecg { stroke-dasharray: 70; animation: paDraw 1.8s linear infinite; }
.pi-nurse { transform-origin: 228px 178px; animation: piNod 3.5s ease-in-out infinite; }
@keyframes piNod { 0%, 100% { rotate: 0deg; } 50% { rotate: 1.5deg; } }
.pi-ready { opacity: 0; animation: piReady 7s ease-out infinite; }
@keyframes piReady { 0%, 55% { opacity: 0; transform: translateY(6px); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pi-boot { opacity: 0; } .pi-screen, .pi-ready { opacity: 1; } }

/* installation scene v2: arm pivots at the shoulder */
.pi-arm { transform-origin: 108px 106px !important; }
.pi-ecg { stroke-dasharray: 60; }
.pi-nurse { transform-origin: 236px 180px !important; }

/* service scene: agent talks (mouth + voice waves), steam rises, ticket steps progress, clock ticks */
.pv-hand { transform-origin: 0 0; transform-box: view-box; }
.sv-wave path { opacity: 0; animation: svWave 1.4s ease-out infinite; }
.sv-wave .w2 { animation-delay: .3s; }
@keyframes svWave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.sv-talk { transform-box: fill-box; transform-origin: center; animation: svTalk .5s ease-in-out infinite alternate; }
@keyframes svTalk { to { scale: 1 1.8; } }
.sv-steam { animation: svSteam 2.4s ease-in-out infinite; }
@keyframes svSteam { 0% { opacity: 0; translate: 0 2px; } 40% { opacity: .9; } 100% { opacity: 0; translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .sv-wave path { opacity: 1; } }

/* installation extras: plug pushes into the socket with a spark, then the monitor powers up */
.pi-plug { animation: piPlug 7s ease-in-out infinite; }
@keyframes piPlug { 0%, 6% { transform: translateY(10px); } 14%, 100% { transform: none; } }
.pi-spark { opacity: 0; animation: piSpark 7s ease-out infinite; }
@keyframes piSpark { 0%, 13% { opacity: 0; } 15% { opacity: 1; } 24%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pi-plug { transform: none; } }

/* engineer tightening the monitor bracket: wrench and bolt turn together */
.pi-wrench { transform-origin: 133px 99px; animation: piWrench 1.2s ease-in-out infinite; }
@keyframes piWrench { 0%, 100% { rotate: -18deg; } 50% { rotate: 18deg; } }
.pi-bolt { transform-box: fill-box; transform-origin: center; animation: piSpin 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .pi-wrench, .pi-bolt { animation: none; } }



/* ---------------------------------------------------------------- our promise: three cards
   Each commitment is its own card: the animated scene on top, icon + number, title,
   short blue lead and a supporting line below. */
.prc {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    max-width: var(--wrap, 1400px);
    margin: 0 auto;
}
.prc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(13, 35, 64, .09);
    background: #fff;
    transition: border-color .4s, box-shadow .6s var(--out), transform .6s var(--out);
}
.prc-card:hover { border-color: rgba(0, 91, 172, .25); box-shadow: 0 34px 64px -36px rgba(0, 40, 90, .38); transform: translateY(-6px); }

.prc-scene { position: relative; aspect-ratio: 320 / 200; overflow: hidden; background: #eaf2fb; }
.prc-scene .pr-anim { position: absolute !important; inset: 0 !important; height: 100%; aspect-ratio: auto; border: 0; background: none; border-radius: 0; }

/* calmer loops, same timing as the old story */

.prc-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.2vw, 30px); }
.prc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.prc-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #e6f0fa;
    color: #005bac;
    transition: background-color .35s, color .35s;
}
.prc-ico .ico { width: 22px; height: 22px; }
.prc-card:hover .prc-ico { background: #005bac; color: #fff; }
.prc-no { font-size: 14px; font-weight: 600; color: var(--light); font-variant-numeric: tabular-nums; }
.prc-body h4 { margin-bottom: 10px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.prc-lead { margin-bottom: 12px; font-size: 15.5px; font-weight: 500; line-height: 1.5; color: #005bac; }
.prc-more { font-size: 14.5px; line-height: 1.7; color: var(--muted); }

@media (max-width: 1000px) {
    .prc { grid-template-columns: 1fr 1fr; }
    .prc-card:last-child { grid-column: 1 / -1; flex-direction: row; }
    .prc-card:last-child .prc-scene { flex: 0 0 55%; align-self: center; }
}
@media (max-width: 680px) {
    .prc { grid-template-columns: 1fr; }
    .prc-card:last-child { flex-direction: column; }
    .prc-card:last-child .prc-scene { flex: none; }
}

/* our promise: heading spans the same width as the cards */
.pr-head { max-width: var(--wrap, 1400px) !important; }
.pr-sub { justify-self: end; }
/* ---------------------------------------------------------------- our promise cards: enhanced
   Soft lift, blue accent bar that sweeps in on hover, gentle scene zoom, arrow connectors
   between the steps (01 → 02 → 03), a large faint step number and "what you get" chips. */
.prc { gap: clamp(22px, 2.4vw, 36px); }
.prc-card {
    position: relative;
    overflow: visible;
    border-color: rgba(13, 35, 64, .08);
    box-shadow: 0 1px 2px rgba(13, 35, 64, .04), 0 24px 48px -36px rgba(0, 40, 90, .30);
}
.prc-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: -1px;
    right: -1px;
    top: -1px;
    height: 3px;
    background: linear-gradient(90deg, #005bac, #3d9bff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s var(--out);
}
.prc-card:hover::before { transform: none; }
.prc-card:hover { box-shadow: 0 2px 4px rgba(13, 35, 64, .04), 0 40px 70px -40px rgba(0, 40, 90, .45); }

.prc-scene .pr-anim { transition: transform 1.4s var(--out); }
.prc-card:hover .prc-scene .pr-anim { transform: scale(1.04); }
.prc-scene::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(10, 30, 60, .10));
    pointer-events: none;
}

/* connector between cards, centred on the scene's right edge */
.prc-join {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 320 / 200;
    pointer-events: none;
}
.prc-join > span {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #005bac;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .6), 0 10px 24px rgba(0, 40, 90, .18);
    transform: translate(calc(50% + clamp(22px, 2.4vw, 36px) / 2), -50%);
}
.prc-join .ico { width: 18px; height: 18px; animation: prcNudge 2.4s ease-in-out infinite; }
@keyframes prcNudge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }

/* body */
.prc-body { position: relative; overflow: hidden; }
.prc-body > *:not(.prc-big) { position: relative; z-index: 1; }
.prc-big {
    position: absolute;
    right: -6px;
    bottom: -26px;
    font-size: 132px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 91, 172, .12);
    pointer-events: none;
    transition: -webkit-text-stroke-color .5s, transform .8s var(--out);
}
.prc-card:hover .prc-big { -webkit-text-stroke-color: rgba(0, 91, 172, .28); transform: translateY(-6px); }
.prc-no { padding: 4px 10px; border-radius: 999px; background: #f1f6fb; font-size: 12.5px; color: #005bac; }
.prc-no::before { content: "Step "; }

.prc-more { margin-bottom: 18px; }
.prc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.prc-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid rgba(13, 35, 64, .08); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.prc-chips .ico { width: 13px; height: 13px; color: #1f9d55; stroke-width: 2.6; }

@media (max-width: 1000px) {
    .prc-join { display: none; }
    .prc-card:last-child { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .prc-join .ico { animation: none; }
}

/* ---------------------------------------------------------------- our promise cards: elegant, minimal
   Scene on top; below only a small step number, the title and one short line. */
.prc-body { padding: clamp(24px, 2.4vw, 32px) clamp(24px, 2.4vw, 32px) clamp(28px, 2.8vw, 36px); }
.prc-no {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 0;
    background: none;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    color: #005bac;
}
.prc-no::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.prc-body h4 { margin-bottom: 10px; font-size: clamp(21px, 1.75vw, 25px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.prc-lead { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--muted); }
/* ---------------------------------------------------------------- featured equipment: product arc
   Full-screen section in the active product's colour. Products sit on white cards along a 3D arc;
   the script sets --u (frame unit), --cx / --cy (arc centre) and moves every card each frame.
   Layout is drawn on a 1440 x 900 frame scaled to the viewport. */
.fc {
    --ink2: #0d2340;
    position: relative;
    z-index: 3;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    background: var(--flav, #a9b8e6);
    color: var(--ink2);
    --frame-x: calc((100% - 1440 * var(--u, 1px)) / 2);
}

.fc-reveal { position: absolute; inset: 0; background: var(--rv, transparent); pointer-events: none; }
.fc-reveal:not(.is-on) { display: none; }

.fc-rings {
    position: absolute;
    left: var(--cx, 50%);
    top: var(--cy, 45%);
    width: calc(2200 * var(--u, 1px));
    aspect-ratio: 1;
    translate: -50% -50%;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, .03) calc(40 * var(--u, 1px)), rgba(255, 255, 255, .16) calc(80 * var(--u, 1px)));
    -webkit-mask-image: radial-gradient(circle, #000 0 22%, rgba(0, 0, 0, .55) 34%, transparent 52%);
    mask-image: radial-gradient(circle, #000 0 22%, rgba(0, 0, 0, .55) 34%, transparent 52%);
    pointer-events: none;
    opacity: 0;
    scale: .85;
    transition: opacity 1.1s ease-out, scale 1.1s ease-out;
}
.fc.is-in .fc-rings { opacity: 1; scale: 1; }

/* heading */
.fc-head {
    position: absolute;
    z-index: 6;
    top: max(100px, calc(112 * var(--u, 1px)));
    left: max(var(--pad), calc(var(--frame-x) + 64 * var(--u, 1px)));
    right: max(var(--pad), calc(var(--frame-x) + 64 * var(--u, 1px)));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    pointer-events: none;
}
.fc-head .eyebrow { margin-bottom: 10px; color: var(--ink2); }
.fc-head .eyebrow-dot { background: var(--ink2); }
.fc-h2 { font-size: max(26px, calc(44 * var(--u, 1px))); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; color: var(--ink2); }
.fc-all { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink2); text-decoration: none; pointer-events: auto; }
.fc-all .ico { width: 15px; height: 15px; transition: transform .4s var(--out); }
.fc-all:hover .ico { transform: translateX(4px); }

/* arc */
.fc-arc {
    position: absolute;
    inset: 0;
    z-index: 2;
    perspective: 1600px;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.fc.is-dragging .fc-arc, .fc.is-dragging .fc-item { cursor: grabbing; }
.fc-item {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    cursor: pointer;
    outline: none;
}
.fc-card {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 40px 70px -34px rgba(25, 20, 50, .42), 0 2px 6px rgba(25, 20, 50, .06);
    transition: box-shadow .4s;
}
.fc-card img { width: 84%; height: 80%; object-fit: contain; pointer-events: none; }
.fc-shadow {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -9%;
    height: 14%;
    background: radial-gradient(closest-side, rgba(30, 18, 40, .32), transparent);
    pointer-events: none;
}
.fc-item.is-center:hover .fc-card { box-shadow: 0 46px 80px -34px rgba(25, 20, 50, .5), 0 0 0 3px rgba(255, 255, 255, .7); }
.fc-item:focus-visible .fc-card { box-shadow: 0 0 0 3px var(--ink2); }

/* outline counter (under the cards) */
.fc-count {
    position: absolute;
    z-index: 1;
    right: calc(var(--frame-x) + 28 * var(--u, 1px));
    top: calc(var(--cy, 45%) + 150 * var(--u, 1px));
    font-size: calc(200 * var(--u, 1px));
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9);
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}
.fc-count span { display: block; }

/* round next button */
.fc-next {
    position: absolute;
    z-index: 6;
    left: var(--cx, 50%);
    top: calc(var(--cy, 45%) + 214 * var(--u, 1px));
    display: grid;
    place-items: center;
    width: max(44px, calc(52 * var(--u, 1px)));
    height: max(44px, calc(52 * var(--u, 1px)));
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink2);
    box-shadow: 0 6px 20px rgba(40, 28, 60, .12);
    translate: -50% -50%;
    cursor: pointer;
    transition: scale .3s var(--out), box-shadow .3s;
}
.fc-next svg { width: 18px; height: 18px; transition: translate .3s var(--out); }
.fc-next:hover { scale: 1.08; box-shadow: 0 10px 26px rgba(40, 28, 60, .18); }
.fc-next:hover svg { translate: 2px 0; }
.fc-next:active { scale: .94; }
.fc-next:focus-visible { outline: 2px solid var(--ink2); outline-offset: 3px; }

/* autoplay toggle */
.fc-auto {
    position: absolute;
    z-index: 6;
    left: max(var(--pad), calc(var(--frame-x) + 64 * var(--u, 1px)));
    top: calc(var(--cy, 45%) + 268 * var(--u, 1px));
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink2);
    cursor: pointer;
}
.fc-auto-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 26px; height: 26px; border: 1.3px solid currentColor; border-radius: 50%; }
.fc-auto-ring i { width: 2.5px; height: 9px; border-radius: 2px; background: currentColor; }
.fc-auto.is-paused .fc-auto-ring i { display: none; }
.fc-auto.is-paused .fc-auto-ring::before { content: ""; margin-left: 2px; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.fc-auto:focus-visible { outline: 2px solid var(--ink2); outline-offset: 4px; border-radius: 4px; }

/* name, caption, actions */
.fc-info {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    top: calc(var(--cy, 45%) + 250 * var(--u, 1px));
    padding: 0 18px;
    text-align: center;
    pointer-events: none;
}
.fc-info a { pointer-events: auto; }
.fc-title { display: grid; justify-items: center; margin: 0; font-size: calc(78 * var(--u, 1px)); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; color: var(--ink2); }
.fc-tw { grid-area: 1 / 1; }
.fc-word { display: inline-block; white-space: nowrap; }
.fc-ch { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .015em .12em; margin-bottom: -.12em; }
.fc-ch > span { display: inline-block; }
.fc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: calc(14 * var(--u, 1px)); font-size: max(14px, calc(16 * var(--u, 1px))); color: rgba(13, 35, 64, .78); }
.fc-cat { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.fc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: max(14px, calc(20 * var(--u, 1px))); }
.fc-quote, .fc-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}
.fc-quote { background: var(--ink2); color: #fff; }
.fc-quote:hover { background: #005bac; }
.fc-details { background: rgba(255, 255, 255, .85); color: var(--ink2); }
.fc-details .ico { width: 15px; height: 15px; transition: transform .4s var(--out); }
.fc-details:hover { background: #fff; }
.fc-details:hover .ico { transform: translateX(3px); }

/* entrance */
.fc-next, .fc-count, .fc-auto, .fc-info { opacity: 0; transition: opacity .6s ease, scale .3s var(--out), box-shadow .3s; }
.fc.is-in .fc-next { opacity: 1; transition-delay: .5s, 0s, 0s; }
.fc.is-in .fc-count { opacity: 1; transition-delay: .62s; }
.fc.is-in .fc-auto { opacity: 1; transition-delay: .74s; }
.fc.is-in .fc-info { opacity: 1; transition-delay: .4s; }

/* phones */
@media (max-width: 819px) {
    .fc { min-height: 600px; }
    .fc-head { top: 78px; left: 18px; right: 18px; }
    .fc-all { display: none; }
    .fc-count { top: calc(var(--cy, 42%) + 150 * var(--u, 1px)); right: 16px; font-size: 56px; }
    .fc-auto { top: calc(var(--cy, 42%) + 160 * var(--u, 1px)); left: 18px; }
    .fc-next { top: calc(var(--cy, 42%) + 218 * var(--u, 1px)); }
    .fc-info { top: calc(var(--cy, 42%) + 262 * var(--u, 1px)); }
    .fc-quote, .fc-details { height: 42px; padding: 0 16px; font-size: 14px; }
}
/* desktop width but short */
@media (min-width: 820px) and (max-height: 600px) {
    .fc-head { top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    .fc-rings, .fc-next, .fc-count, .fc-auto, .fc-info { transition: none; }
}

/* ---------------------------------------------------------------- featured equipment: brand blue, straight cards
   One brand colour (logo blue #005bac) with a soft depth gradient; white type; cards stand
   straight on one line with a clean shadow. */
.fc {
    --ink2: #fff;
    background:
        radial-gradient(70% 60% at 50% 42%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #0063ba 0%, #005bac 45%, #004c91 100%) !important;
}
.fc-reveal { display: none !important; }
.fc-rings { opacity: 0; }
.fc.is-in .fc-rings { opacity: .55; }

.fc-head .eyebrow { color: #cfe5ff !important; }
.fc-head .eyebrow-dot { background: #cfe5ff !important; }

.fc-card {
    border-radius: 16px;
    box-shadow: 0 34px 60px -30px rgba(0, 22, 55, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}
.fc-card img { width: 80%; height: 76%; }
.fc-shadow { background: radial-gradient(closest-side, rgba(0, 20, 50, .38), transparent); }
.fc-item.is-center:hover .fc-card { box-shadow: 0 40px 70px -30px rgba(0, 22, 55, .6), 0 0 0 3px rgba(255, 255, 255, .55); }

.fc-count { -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45); }

.fc-next { color: #005bac; box-shadow: 0 8px 24px rgba(0, 22, 55, .3); }

.fc-meta { color: rgba(255, 255, 255, .82); }
.fc-cat { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }

.fc-quote { background: #fff; color: #005bac; }
.fc-quote:hover { background: #e3f0ff; }
.fc-details { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.fc-details:hover { background: rgba(255, 255, 255, .22); }

/* featured equipment: simple "01 — 09" counter under the cards (no arrow, autoplay toggle or big outline number) */
.fc-count {
    left: var(--cx, 50%);
    right: auto;
    top: calc(var(--cy, 45%) + 214 * var(--u, 1px));
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    translate: -50% -50%;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .6);
    -webkit-text-stroke: 0;
}
.fc-count span { display: inline-block; color: #fff; }
.fc-count i { display: block; width: 44px; height: 1.5px; background: rgba(255, 255, 255, .35); }
@media (max-width: 819px) {
    .fc-count { top: calc(var(--cy, 42%) + 214 * var(--u, 1px)); right: auto; font-size: 12.5px; }
}
/* ---------------------------------------------------------------- featured equipment: white background, blue circles
   White section; faint brand-blue rings behind the centre card and a soft blue ripple that
   expands from the centre on every product change. Dark ink type, brand-blue buttons. */
.fc {
    --ink2: #0d2340;
    background:
        radial-gradient(60% 55% at 50% 42%, rgba(0, 91, 172, .07) 0%, rgba(0, 91, 172, 0) 70%),
        #fff !important;
}
.fc-rings {
    background: repeating-radial-gradient(circle, rgba(0, 91, 172, .07) 0, rgba(0, 91, 172, .01) calc(40 * var(--u, 1px)), rgba(0, 91, 172, .07) calc(80 * var(--u, 1px))) !important;
}
.fc.is-in .fc-rings { opacity: 1; }

.fc-ripple {
    position: absolute;
    left: var(--cx, 50%);
    top: var(--cy, 45%);
    width: calc(900 * var(--u, 1px));
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 91, 172, 0) 52%, rgba(0, 91, 172, .22) 64%, rgba(0, 91, 172, 0) 72%);
    opacity: 0;
    pointer-events: none;
}
.fc-ripple.is-go { animation: fcRipple 1.1s cubic-bezier(.22, 1, .36, 1); }
@keyframes fcRipple {
    0% { scale: .25; opacity: 0; }
    15% { opacity: 1; }
    100% { scale: 1.9; opacity: 0; }
}

.fc-head .eyebrow { color: #005bac !important; }
.fc-head .eyebrow-dot { background: #005bac !important; }
.fc-all { color: #005bac; }

.fc-card {
    box-shadow: 0 30px 60px -32px rgba(0, 40, 90, .35), 0 0 0 1px rgba(13, 35, 64, .07) !important;
}
.fc-item.is-center:hover .fc-card { box-shadow: 0 36px 70px -32px rgba(0, 40, 90, .42), 0 0 0 2px rgba(0, 91, 172, .35) !important; }
.fc-shadow { background: radial-gradient(closest-side, rgba(0, 40, 90, .18), transparent) !important; }

.fc-meta { color: var(--muted) !important; }
.fc-quote { background: #005bac !important; color: #fff !important; }
.fc-quote:hover { background: #0d2340 !important; }
.fc-details { background: #fff !important; border: 1px solid rgba(0, 91, 172, .3) !important; color: #005bac !important; }
.fc-details:hover { background: #eef5fc !important; }
.fc-item:focus-visible .fc-card { box-shadow: 0 0 0 3px #005bac !important; }

@media (prefers-reduced-motion: reduce) { .fc-ripple { display: none; } }
/* featured equipment: milder background circles */
.fc {
    background:
        radial-gradient(55% 50% at 50% 42%, rgba(0, 91, 172, .035) 0%, rgba(0, 91, 172, 0) 70%),
        #fff !important;
}
.fc-rings { background: repeating-radial-gradient(circle, rgba(0, 91, 172, .035) 0, rgba(0, 91, 172, 0) calc(40 * var(--u, 1px)), rgba(0, 91, 172, .035) calc(80 * var(--u, 1px))) !important; }
.fc-ripple { background: radial-gradient(circle, rgba(0, 91, 172, 0) 55%, rgba(0, 91, 172, .10) 64%, rgba(0, 91, 172, 0) 71%) !important; }
/* featured equipment: rings and ripple fade out fully inside the section (no visible band at the edges) */
.fc-rings {
    width: calc(820 * var(--u, 1px)) !important;
    -webkit-mask-image: radial-gradient(circle, #000 0 18%, rgba(0, 0, 0, .5) 32%, transparent 48%) !important;
    mask-image: radial-gradient(circle, #000 0 18%, rgba(0, 0, 0, .5) 32%, transparent 48%) !important;
}
.fc { background: #fff !important; }
@keyframes fcRipple {
    0% { scale: .25; opacity: 0; }
    15% { opacity: 1; }
    100% { scale: 1.15; opacity: 0; }
}
/* featured equipment: info sits under the taller centre card */
.fc-info { top: calc(var(--cy, 45%) + 234 * var(--u, 1px)); }
@media (max-width: 819px) { .fc-info { top: calc(var(--cy, 42%) + 236 * var(--u, 1px)); } }

/* featured equipment: product details at the top right (desktop); catalogue link under the cards */
.fc-all {
    position: absolute;
    z-index: 6;
    left: var(--cx, 50%);
    top: calc(var(--cy, 50%) + 236 * var(--u, 1px));
    translate: -50% 0;
    padding: 0;
}
@media (min-width: 820px) {
    .fc-info {
        top: max(100px, calc(112 * var(--u, 1px)));
        left: auto;
        right: max(var(--pad), calc(var(--frame-x) + 64 * var(--u, 1px)));
        width: min(520px, calc(470 * var(--u, 1px) + 40px));
        padding: 0;
        text-align: right;
    }
    .fc-title { justify-items: end; line-height: 1.04; }
    .fc-tw { text-align: right; }
    .fc-meta { justify-content: flex-end; margin-top: 10px; }
    .fc-actions { justify-content: flex-end; margin-top: 18px; }
}
/* featured equipment: slim side margins (heading, details) on every screen width */
@media (min-width: 820px) {
    .fc-head { left: clamp(20px, 4vw, 80px); right: clamp(20px, 4vw, 80px); }
    .fc-info { right: clamp(20px, 4vw, 80px); }
}
/* featured equipment: catalogue link follows the card size */
.fc-all { top: calc(var(--cy, 50%) + 192 * var(--su, 1px) + 44px); }

/* featured equipment: whole machine always visible inside its card (never cropped) */
.fc-card img {
    position: absolute;
    left: 11%;
    top: 11%;
    width: 78% !important;
    height: 78% !important;
    object-fit: contain;
    object-position: center;
}
/* featured equipment: keep the eyebrow's medical cross (not a filled square) */
.fc-head .eyebrow-dot { background: transparent !important; }
.fc-head .eyebrow-dot::before { background: #005bac !important; }

/* featured equipment: heading and details sit a little lower */
.fc-head { top: max(132px, calc(150 * var(--u, 1px))) !important; }
@media (min-width: 820px) { .fc-info { top: max(128px, calc(146 * var(--u, 1px))); } }
@media (max-width: 819px) { .fc-head { top: 92px !important; } }

/* featured equipment: soft brand-blue clouds that rise in at random spots on entry, then drift */
.fc-clouds { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fc-cloud {
    position: absolute;
    aspect-ratio: 2.4;
    background:
        radial-gradient(closest-side, rgba(0, 91, 172, .10), rgba(0, 91, 172, 0)) 0 45% / 55% 72% no-repeat,
        radial-gradient(closest-side, rgba(0, 91, 172, .09), rgba(0, 91, 172, 0)) 46% 0 / 58% 92% no-repeat,
        radial-gradient(closest-side, rgba(0, 91, 172, .08), rgba(0, 91, 172, 0)) 100% 55% / 55% 72% no-repeat;
    filter: blur(14px);
    opacity: 0;
    transform: translateY(60px) scale(.82);
    transition: opacity 1.6s ease var(--d, 0s), transform 2.2s cubic-bezier(.16, 1, .3, 1) var(--d, 0s);
}
.fc-clouds.is-on .fc-cloud {
    opacity: var(--o, .8);
    transform: none;
    animation: fcCloudDrift var(--t, 30s) ease-in-out var(--d, 0s) infinite alternate;
}
@keyframes fcCloudDrift {
    from { translate: 0 0; }
    to   { translate: var(--dx, 4%) -6px; }
}
.is-off .fc-cloud { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .fc-cloud { transition: none; transform: none; }
    .fc-clouds.is-on .fc-cloud { animation: none; }
}

/* ---------------------------------------------------------------- our promise: monochrome isometric line-art scenes
   Black outlines, white faces, hatched / dotted shading. One clear moving story per card. */
.prc-scene { background: #fff !important; }
.li { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }

/* 1. supply: parcel rides the road into the hospital, a check pops on arrival, the pin bobs */
.li-parcel { animation: liParcel 6s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes liParcel {
    0%   { transform: translate(0, 0); opacity: 0; }
    6%   { opacity: 1; }
    58%  { transform: translate(72.7px, 42px); opacity: 1; }
    70%  { transform: translate(72.7px, 42px); opacity: 0; }
    100% { transform: translate(0, 0); opacity: 0; }
}
.li-pop { animation: liPop 6s ease-out infinite; }
@keyframes liPop {
    0%, 56% { transform: scale(0); opacity: 0; }
    62%     { transform: scale(1.15); opacity: 1; }
    66%     { transform: scale(1); }
    90%     { transform: scale(1); opacity: 1; }
    96%, 100% { transform: scale(0); opacity: 0; }
}
.li-bob { animation: liBob 2.6s ease-in-out infinite; }
@keyframes liBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* 2. installation: gears turn, ECG trace runs, wrench tightens, checklist ticks off */
.li-spin, .li-spin-r { transform-box: view-box; transform-origin: 0 0; animation: liSpin 6s linear infinite; }
.li-spin-r { animation-direction: reverse; animation-duration: 4.2s; }
@keyframes liSpin { to { transform: rotate(360deg); } }
.li-ecg { stroke-dasharray: 60; animation: liEcg 2.2s linear infinite; }
@keyframes liEcg { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -60; } }
.li-wrench { transform-box: view-box; transform-origin: 0 0; animation: liWrench 1.6s ease-in-out infinite; }
@keyframes liWrench { 0%, 100% { transform: rotate(-28deg); } 50% { transform: rotate(18deg); } }
.li-tick { stroke-dasharray: 8; stroke-dashoffset: 8; animation: liTick 6s ease-out infinite; }
.li-tick.t2 { animation-delay: .8s; } .li-tick.t3 { animation-delay: 1.6s; } .li-tick.t4 { animation-delay: 2.4s; }
@keyframes liTick { 0%, 10% { stroke-dashoffset: 8; } 18%, 85% { stroke-dashoffset: 0; } 95%, 100% { stroke-dashoffset: 8; } }

/* 3. service: ticket steps fill in, progress bar grows, chat bubbles pop, clock runs, steam rises */
.li-step { animation: liStep 6s steps(1) infinite; }
.li-step.s2 { animation-delay: 1.2s; } .li-step.s3 { animation-delay: 2.4s; }
@keyframes liStep { 0%, 15% { fill: #fff; } 16%, 88% { fill: #16181d; } 89%, 100% { fill: #fff; } }
.li-bar { transform-box: fill-box; transform-origin: left center; animation: liBar 6s ease-in-out infinite; }
@keyframes liBar { 0% { transform: scaleX(0); } 60%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.li-msg { opacity: 0; animation: liMsg 6s ease-out infinite; }
.li-msg.m2 { animation-delay: 1s; } .li-msg.m3 { animation-delay: 2s; }
@keyframes liMsg { 0%, 4% { opacity: 0; } 10%, 82% { opacity: 1; } 90%, 100% { opacity: 0; } }
.li-dot { animation: liDot 1s ease-in-out infinite; }
.li-dot.d2 { animation-delay: .15s; } .li-dot.d3 { animation-delay: .3s; }
@keyframes liDot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.li-hand { animation: liSpin 4s linear infinite; }
.li-steam { animation: liSteam 3s ease-in-out infinite; }
@keyframes liSteam { 0% { opacity: 0; transform: translateY(3px); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-5px); } }

.is-off .li * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    .li * { animation: none !important; }
    .li-msg, .li-pop { opacity: 1; transform: none; }
    .li-tick { stroke-dashoffset: 0; }
}

.prc-scene::after { display: none !important; }

/* ---------------------------------------------------------------- why choose us: two columns + fanned reason cards
   Left: light / bold / light heading, short lead, pill link and a figures box.
   Right: tilted cards in brand-blue tints (title, line, navy arrow, blue-toned photo). */
.wc {
    position: relative;
    z-index: 2;
    padding: clamp(70px, 8vw, 120px) var(--pad);
    background: linear-gradient(180deg, #fff 0%, #f4f8fd 30%, #f4f8fd 75%, #fff 100%);
    overflow: hidden;
}
.wc-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    max-width: var(--wrap, 1400px);
    margin: 0 auto;
}

.wc-copy .eyebrow { margin-bottom: 18px; }
.wc-title { margin-bottom: 22px; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.04em; color: var(--ink); }
.wc-title span { display: block; }
.wc-l { font-weight: 300; }
.wc-b { font-weight: 700; color: #005bac; }
.wc-lead { max-width: 440px; margin-bottom: 30px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--muted); }

.wc-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 380px);
    padding: 6px 22px 6px 6px;
    border-radius: 999px;
    background: #e9eff6;
    font-size: 14.5px;
    color: var(--muted);
    text-decoration: none;
    transition: background-color .3s, box-shadow .3s;
}
.wc-pill-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #0d2340; color: #fff; transition: background-color .3s; }
.wc-pill-ico .ico { width: 17px; height: 17px; }
.wc-pill:hover { background: #fff; box-shadow: 0 0 0 1px rgba(0, 91, 172, .25), 0 12px 30px -16px rgba(0, 40, 90, .3); }
.wc-pill:hover .wc-pill-ico { background: #005bac; }

.wc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 440px);
    margin: clamp(40px, 5vw, 70px) 0 0;
    padding: 16px 8px;
    border: 1px solid rgba(13, 35, 64, .14);
    border-radius: 18px;
    background: #fff;
}
.wc-stats div { padding: 0 12px; text-align: center; border-left: 1px solid rgba(13, 35, 64, .1); }
.wc-stats div:first-child { border-left: 0; }
.wc-stats dt { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.wc-stats dd { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

/* the fan of cards */
.wc-stack { position: relative; height: clamp(440px, 46vw, 600px); }
.wc-card {
    position: absolute;
    left: 40%;
    top: 30%;
    display: flex;
    flex-direction: column;
    width: clamp(220px, 21vw, 300px);
    aspect-ratio: .78;
    overflow: hidden;
    border-radius: 26px;
    background: var(--tint, #d6e7f8);
    box-shadow: 0 30px 60px -36px rgba(0, 40, 90, .45);
    transition: transform .9s cubic-bezier(.65, 0, .35, 1), left .9s cubic-bezier(.65, 0, .35, 1), top .9s cubic-bezier(.65, 0, .35, 1), opacity .6s ease;
    cursor: default;
}
.wc-card[data-pos="0"] { left: 40%; top: 30%; transform: rotate(0deg); cursor: pointer; }
.wc-card[data-pos="1"] { left: 4%;  top: 18%; transform: rotate(-11deg); }
.wc-card[data-pos="2"] { left: 26%; top: 0;   transform: rotate(10deg); }
.wc-card[data-pos="3"] { left: 26%; top: 0;   transform: rotate(10deg) scale(.92); opacity: 0; }

.wc-card-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 20px 0 22px; }
.wc-card h3 { margin-bottom: 6px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.wc-card p { max-width: 190px; font-size: 13px; line-height: 1.5; color: rgba(13, 35, 64, .72); }
.wc-next {
    display: grid;
    place-items: center;
    flex: none;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #0d2340;
    color: #fff;
    cursor: pointer;
    transition: background-color .3s, transform .5s var(--out);
}
.wc-next .ico { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .5s var(--out); }
.wc-card[data-pos="0"]:hover .wc-next { background: #005bac; }
.wc-card[data-pos="0"]:hover .wc-next .ico { transform: rotate(0deg); }
.wc-next:focus-visible { outline: 2px solid #005bac; outline-offset: 3px; }

/* photo toned to the card's blue */
.wc-photo {
    position: relative;
    flex: 1;
    margin: 16px 0 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(1) contrast(1.05);
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}

@media (max-width: 960px) {
    .wc-inner { grid-template-columns: 1fr; }
    .wc-stack { height: clamp(420px, 92vw, 560px); max-width: 560px; width: 100%; margin: 0 auto; }
    .wc-card { width: clamp(210px, 46vw, 290px); }
}
@media (max-width: 560px) {
    .wc-card[data-pos="0"] { left: 30%; top: 30%; }
    .wc-card[data-pos="1"] { left: 0; top: 16%; }
    .wc-card[data-pos="2"] { left: 18%; top: 0; }
    .wc-card p { font-size: 12px; }
    .wc-next { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .wc-card { transition: none; } }

/* featured equipment: no card shadows; a soft light sweep shimmers across each card */
.fc-shadow { display: none !important; }
.fc-card { box-shadow: 0 0 0 1px rgba(13, 35, 64, .08) !important; }
.fc-item.is-center:hover .fc-card { box-shadow: 0 0 0 1.5px rgba(0, 91, 172, .35) !important; }
.fc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(0, 91, 172, 0) 34%, rgba(0, 91, 172, .07) 44%, rgba(255, 255, 255, .75) 50%, rgba(0, 91, 172, .07) 56%, rgba(0, 91, 172, 0) 66%);
    background-size: 250% 100%;
    background-position: 130% 0;
    animation: fcShimmer 4.2s ease-in-out infinite;
}
.fc-item:nth-child(2n) .fc-card::after { animation-delay: .7s; }
.fc-item:nth-child(3n) .fc-card::after { animation-delay: 1.4s; }
.fc-item:nth-child(4n) .fc-card::after { animation-delay: 2.1s; }
@keyframes fcShimmer {
    0%, 35%  { background-position: 130% 0; }
    75%, 100% { background-position: -30% 0; }
}
.is-off .fc-card::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .fc-card::after { animation: none; display: none; } }
/* why choose us: same type scale as the sections above ("Our promise" heading + note) */
.wc-copy .eyebrow { margin-bottom: 14px; }
.wc-title { margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 54px); font-weight: 600; line-height: 1.06; letter-spacing: -.04em; color: var(--ink); }
.wc-title .wc-l, .wc-title .wc-b { font-weight: 600; color: var(--ink); }
.wc-lead { max-width: 440px; margin-bottom: 28px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--muted); }
/* why choose us: cards deal in from below into the fan when the section is entered */
.wc.wc-pre .wc-card {
    left: 40% !important;
    top: 62% !important;
    transform: translateY(40px) rotate(0deg) scale(.86) !important;
    opacity: 0 !important;
}
.wc.wc-reveal .wc-card {
    transition: transform 1.1s cubic-bezier(.3, 1.35, .5, 1), left 1.1s cubic-bezier(.3, 1.2, .5, 1), top 1.1s cubic-bezier(.3, 1.2, .5, 1), opacity .5s ease;
}
.wc.wc-reveal .wc-card[data-pos="2"] { transition-delay: 0s; }
.wc.wc-reveal .wc-card[data-pos="1"] { transition-delay: .16s; }
.wc.wc-reveal .wc-card[data-pos="0"] { transition-delay: .32s; }
.wc.wc-reveal .wc-card[data-pos="3"] { transition-delay: 0s; }
/* ---------------------------------------------------------------- our promise: open process timeline (no cards)
   Illustrations float on the page; a dashed line with numbered markers links the three steps. */
.prc { gap: clamp(20px, 3vw, 48px) !important; }
.prc-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
}
.prc-card::before, .prc-join { display: none !important; }
.prc-card:hover { box-shadow: none !important; transform: none !important; }
.prc-scene { background: transparent !important; overflow: visible !important; }
.prc-scene .pr-anim { transition: transform .8s var(--out) !important; }
.prc-card:hover .prc-scene .pr-anim { transform: translateY(-8px) !important; }

.prc-body { position: relative; padding: 70px 8px 0 0 !important; overflow: visible !important; }
/* dashed connector running from this marker to the next step */
.prc-body::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 52px;
    right: calc(-1 * clamp(20px, 3vw, 48px) + 4px);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(0, 91, 172, .45) 0 8px, transparent 8px 15px);
    background-size: 15px 2px;
    animation: prtFlow 1.2s linear infinite;
}
.prc-card:last-child .prc-body::before {
    right: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent);
    mask-image: linear-gradient(90deg, #000 40%, transparent);
}
@keyframes prtFlow { to { background-position: 15px 0; } }

/* round step marker */
.prc-no {
    position: absolute !important;
    top: 0;
    left: 0;
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border: 1.5px solid #005bac;
    border-radius: 50%;
    background: #fff;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .04em !important;
    color: #005bac;
    transition: background-color .35s, color .35s, transform .5s var(--out);
}
.prc-no::before { display: none !important; content: none !important; }
.prc-card:hover .prc-no { background: #005bac; color: #fff; transform: scale(1.08); }

.prc-body h4 { margin-bottom: 10px; }

@media (max-width: 1000px) {
    .prc { grid-template-columns: 1fr !important; max-width: 620px; row-gap: 56px !important; }
    .prc-card:last-child { grid-column: auto !important; flex-direction: column !important; }
    .prc-card:last-child .prc-scene { flex: none !important; }
    .prc-body::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .prc-body::before { animation: none; } }

/* our promise: smaller heading (same scale as the featured equipment heading) */
.pr-title { font-size: clamp(28px, 3vw, 44px) !important; line-height: 1.1; max-width: 620px; }

/* featured equipment: no ring / ripple pulse behind the cards */
.fc-ripple, .fc-rings { display: none !important; animation: none !important; }

/* our promise: solid hairline with a gliding blue light instead of dashes */
.prc-body::before {
    height: 1.5px !important;
    background:
        linear-gradient(90deg, rgba(0, 91, 172, 0), #005bac 50%, rgba(0, 91, 172, 0)) 0 0 / 30% 100% no-repeat,
        rgba(0, 91, 172, .16) !important;
    animation: prtGlide 2.8s cubic-bezier(.45, 0, .25, 1) infinite !important;
}
.prc-card:nth-child(2) .prc-body::before { animation-delay: .9s !important; }
.prc-card:nth-child(3) .prc-body::before { animation-delay: 1.8s !important; }
@keyframes prtGlide {
    from { background-position: -40% 0, 0 0; }
    to   { background-position: 140% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .prc-body::before { animation: none !important; } }
/* ---------------------------------------------------------------- departments: shaded back panel, greyscale -> colour photo
   The photo sits on a soft brand-blue block offset behind it; it shows in greyscale and turns
   full colour while a department in the list is hovered. A caption names the department. */
.dl-side { position: sticky; top: 110px; align-self: start; padding: 0 0 26px 26px; }
.dl-shade {
    position: absolute;
    left: 0;
    right: 26px;
    top: 26px;
    bottom: 0;
    border-radius: 28px;
    background: linear-gradient(150deg, #dbe9f7 0%, #c7dcf2 100%);
    transition: background .6s ease, transform .8s var(--out);
}
.dl-side .dl-view { position: relative !important; top: auto !important; box-shadow: none !important; border-radius: 24px; }
.dl-pic { filter: grayscale(1) contrast(1.02) brightness(1.03); transition: clip-path .9s var(--out), transform 1.6s var(--out), filter .7s ease !important; }
.dl-grid.is-hover .dl-pic { filter: none; }
.dl-grid.is-hover .dl-shade { background: linear-gradient(150deg, #cfe2f6 0%, #9fc3ea 100%); transform: translate(-6px, 6px); }
.dl-view::after { background: linear-gradient(180deg, rgba(10, 29, 64, 0) 50%, rgba(10, 29, 64, .62) 100%) !important; }
.dl-chips { display: none !important; }

.dl-caps { position: absolute; z-index: 5; left: 50px; right: 24px; bottom: 50px; display: grid; pointer-events: none; }
.dl-cap { grid-area: 1 / 1; margin: 0; color: #fff; opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .6s var(--out); }
.dl-cap.is-active { opacity: 1; transform: none; transition-delay: .15s; }
.dl-cap b { display: block; margin-bottom: 4px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.dl-cap span { font-size: 13.5px; color: rgba(255, 255, 255, .85); }

@media (max-width: 900px) {
    .dl-side { position: relative; top: auto; padding: 0 0 18px 18px; }
    .dl-shade { right: 18px; top: 18px; border-radius: 22px; }
    .dl-caps { left: 36px; bottom: 36px; }
    .dl-pic { filter: none; }
}
.dl-side .dl-view { display: block !important; width: 100%; height: min(560px, calc(100vh - 200px)) !important; min-height: 380px; aspect-ratio: auto !important; max-height: none !important; }
@media (max-width: 900px) { .dl-side .dl-view { height: 72vw !important; min-height: 260px; } }

/* footer: slimmer side padding, matching the section edges above */
.site-foot { padding-left: clamp(20px, 4vw, 64px) !important; padding-right: clamp(20px, 4vw, 64px) !important; }

/* counters: clouds sit behind the figures */
.stats { position: relative; overflow: hidden; }
.stats-grid { position: relative; z-index: 1; }

.stats { padding-top: clamp(70px, 8vw, 110px) !important; padding-bottom: clamp(70px, 8vw, 110px) !important; }
.st-clouds { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }

/* ================================================================ ONE TYPE SCALE (home + about)
   Same family (Inter) everywhere; every section label, heading and intro uses the same size. */
.eyebrow { font-size: 15px !important; margin-bottom: 14px !important; }
.fc-head .eyebrow, .pr-head .eyebrow, .wc-copy .eyebrow, .xv2-head .eyebrow, .xw2-head .eyebrow, .xf-head .eyebrow { font-size: 15px !important; margin-bottom: 14px !important; }
.xf-head .eyebrow { justify-content: center; }

.fc-h2, .pr-title, .dl-title, .dl-head .dl-title, .wc-title, .st-title, .brands-title,
.x-h2, #ahH2, .xv2-title, .xw2-title {
    font-family: var(--font) !important;
    font-size: clamp(30px, 3.4vw, 48px) !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
}
.wc-title .wc-l, .wc-title .wc-b { font-weight: 600 !important; }
.ab-statement { font-size: clamp(24px, 2.8vw, 40px) !important; font-weight: 500 !important; line-height: 1.25 !important; }

.pr-sub, .dl-intro, .dl-head .dl-intro, .wc-lead, .ah-intro, .xv2-note p, .ah-trust {
    font-size: clamp(15px, 1.15vw, 17px) !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
}

.prc-body h4, .xv4-txt h3, .xw2-copy h3, .dl-name { font-family: var(--font) !important; }
/* card headings: one size */
.prc-body h4, .xv4-txt h3, .xw2-copy h3, .wc-card h3 { font-size: clamp(19px, 1.6vw, 24px) !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -.025em !important; }

/* nav item shown as plain text (not linked yet) */
.nav-links .nav-text { cursor: default; }

/* plain-text nav item lines up exactly with the links */
.nav-links .nav-text { position: relative; z-index: 0; display: inline-block; padding: 8px 16px; margin: 0 -16px; border-radius: 999px; color: inherit; white-space: nowrap; line-height: inherit; vertical-align: middle; cursor: default; }
.nav-links { align-items: center; }
.nav-links > a { display: inline-block; vertical-align: middle; }

/* ================================================================ slimmer side padding + wider content (all pages) */
:root { --pad: clamp(20px, 4vw, 64px); --wrap: 1400px; }

/* wider content on about / products with the slimmer padding */
.xd-list { max-width: var(--wrap, 1400px) !important; }
.xs-photos, .xa-text { max-width: var(--wrap, 1400px) !important; }
.xf-head, .xf-chat { max-width: 980px; }
.xv2 > *, .xw2 > *, .wc-inner { max-width: var(--wrap, 1400px) !important; }
.ah-split { max-width: none; }