/* Shrisay Medical — site styles */

:root {
    --ink: #0b2239;
    --ink-2: #123152;
    --blue: #0a8ad6;
    --blue-deep: #066fb0;
    --green: #7ac62f;
    --green-deep: #5ba31b;
    --text: #3a4d61;
    --muted: #6b7d90;
    --line: #e2eaf1;
    --mist: #f3f8fb;
    --white: #fff;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow: 0 1px 2px rgba(11, 34, 57, .04), 0 12px 32px -12px rgba(11, 34, 57, .14);
    --shadow-lg: 0 30px 70px -30px rgba(11, 34, 57, .35);
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
h1 em, h2 em, .stat-num em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--blue);
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 110px; }

.container { width: min(1360px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 48px); }
.rounded { border-radius: var(--radius-lg); }
.icon { flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue-deep); margin-bottom: 18px;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text); max-width: 60ch; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
    font: 700 .95rem/1 var(--sans); cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 138, 214, .7); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: #c9d6e2; color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--blue-deep); }
.link-arrow .icon { transition: transform .25s var(--ease); }
a:hover > .link-arrow .icon, a.link-arrow:hover .icon { transform: translateX(4px); }
.chip {
    display: inline-block; padding: 6px 12px; border-radius: 999px;
    background: #e8f4fc; color: var(--blue-deep); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* Top bar + header */
.topbar { background: var(--ink); color: #c6d4e2; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar-note { display: flex; align-items: center; gap: 10px; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.topbar-links { display: flex; gap: 24px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-links a:hover { color: #fff; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(11, 34, 57, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav .nav-link {
    padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink);
    transition: background .2s, color .2s;
}
.main-nav .nav-link:hover { background: var(--mist); }
.main-nav .nav-link.is-active { color: var(--blue-deep); background: #e8f4fc; }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .shut { display: none; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-wash {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 55% at 88% 8%, rgba(10, 138, 214, .16), transparent 70%),
        radial-gradient(45% 45% at 4% 96%, rgba(122, 198, 47, .16), transparent 70%),
        linear-gradient(180deg, #f6fafd, #fff);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks .icon { color: var(--green-deep); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(122, 198, 47, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(122, 198, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(122, 198, 47, 0); } }

.hero-visual { position: relative; }
.hero-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4.4; background: var(--mist); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 92% center; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; padding: 16px 20px;
    box-shadow: var(--shadow-lg); font-size: .84rem; line-height: 1.35; color: var(--muted);
    animation: bob 7s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .95rem; }
.float-a { right: -18px; bottom: 44px; }
.float-b { left: -34px; top: 40px; animation-delay: -3.5s; }
.float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf7dd; color: var(--green-deep); }
.float-num { font-size: 2rem !important; letter-spacing: -.04em; line-height: 1; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Stats */
.stats-band { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 44px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stats-grid:not(.stats-3) .stat:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.stats-grid:not(.stats-3) .stat:nth-child(n+5) { border-top: 1px solid rgba(255, 255, 255, .1); }
.stat-num { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.stat-num em { color: #8fd3ff; letter-spacing: -.02em; }
.stat-label { margin-top: 12px; color: #a9bccf; font-size: .93rem; }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #b7c7d7; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink h2 em { color: #8fd3ff; }
.section-ink .eyebrow { color: var(--green); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > p, .section-head > a { justify-self: end; max-width: 46ch; }
.section-head.center { display: block; text-align: center; }
.section-head.center h2 { max-width: 20ch; margin-inline: auto; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.cat-card {
    grid-column: span 2; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.cat-card.cat-wide { grid-column: span 3; flex-direction: row; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-media { background: linear-gradient(160deg, #eef6fb, #f8fbfd); aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.cat-wide .cat-media { flex: 0 0 44%; aspect-ratio: auto; }
.cat-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 18px; transition: transform .6s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
/* Absolute so a tall cut-out cannot stretch the tile. */
.cat-media { position: relative; }
.cat-media img { position: absolute; inset: 0; }
.cat-media.is-photo img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.cat-media:not(.is-photo) img { padding: 22px; filter: drop-shadow(0 14px 18px rgba(11, 34, 57, .14)); }
.cat-body { padding: 26px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.cat-body h3 { font-size: 1.4rem; margin-top: 6px; }
.cat-body p { font-size: .95rem; }
.cat-body .link-arrow { margin-top: auto; padding-top: 10px; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p + p { margin-top: 16px; }
.split-copy .btn { margin-top: 30px; }
.media-badge {
    position: absolute; right: -20px; bottom: 32px; display: flex; align-items: center; gap: 14px;
    background: #fff; padding: 16px 22px; border-radius: 18px; box-shadow: var(--shadow-lg);
    color: var(--blue); font-size: .84rem; line-height: 1.35;
}
.media-badge strong { display: block; color: var(--ink); font-size: .95rem; }
.media-badge span { color: var(--muted); }
.tick-list { margin-top: 22px; display: grid; gap: 10px; font-weight: 600; color: var(--ink); }
.tick-list li { display: flex; gap: 10px; align-items: center; }
.tick-list .icon { color: var(--green-deep); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe3f2; }
.feature-icon {
    display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(140deg, #e3f2fc, #eaf7dd); color: var(--blue-deep); margin-bottom: 20px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* Specialty list (dark) */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.spec {
    display: flex; align-items: center; gap: 18px; padding: 24px 18px 24px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 1.08rem;
    transition: padding .35s var(--ease), color .25s;
}
.spec-no { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--green); width: 28px; }
.spec-name { flex: 1; }
.spec .icon { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .35s var(--ease); }
.spec:hover { padding-left: 14px; color: #8fd3ff; }
.spec:hover .icon { opacity: 1; transform: none; }

/* Logos */
.logo-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; }
.logo-grid-clients { grid-template-columns: repeat(8, 1fr); }
/* Customer reviews (see reviews_section() in helpers.php) */
.reviews { border-bottom: 1px solid var(--line); }
/* Our Clients page: one block of logo tiles per group */
.client-group + .client-group { margin-top: clamp(40px, 5vw, 64px); }
.client-group h2 { font-size: 1.35rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.client-group h2 small { font-size: .78rem; font-weight: 700; color: var(--blue-deep); background: #e8f4fc; border-radius: 999px; padding: 3px 11px; letter-spacing: 0; }
.client-group .logo-grid-clients { grid-template-columns: repeat(6, 1fr); }
.client-group .logo-tile { padding: 24px 14px 18px; }
.client-group .logo-tile img { height: 84px; }
.client-group .logo-tile figcaption { font-size: .82rem; color: var(--ink); }
.client-note { margin-top: 36px; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 1000px) { .client-group .logo-grid-clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .client-group .logo-grid-clients { grid-template-columns: repeat(2, 1fr); } }
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.review-avg { display: flex; align-items: center; gap: 12px; }
.review-avg strong { font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.review-avg small { color: var(--muted); font-size: .88rem; }
.review-grid { columns: 3; column-gap: 22px; }
.review-card { break-inside: avoid; margin: 0 0 22px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), box-shadow .4s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card figcaption img, .review-initials { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-initials { display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), var(--green)); color: #fff; font-weight: 700; font-size: .9rem; }
.review-card figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.review-card figcaption small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
@media (max-width: 1000px) { .review-grid { columns: 2; } }
@media (max-width: 640px) { .review-grid { columns: 1; } }
.logo-tile {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 12px 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; text-align: center;
}
.logo-tile img { height: 62px; width: 100%; object-fit: contain; }
.client-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.client-names li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.client-names .icon { color: var(--blue-deep); }
.logo-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(140deg, #e8f4fc, #eef8e4); color: var(--blue-deep); }
.logo-tile figcaption { font-size: .72rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.logo-heading { text-align: center; margin: 56px 0 24px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card {
    display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-media { background: var(--mist); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-body h3 { font-size: 1.15rem; }
.post-body p { font-size: .92rem; }
.post-meta { font-size: .8rem !important; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* CTA band */
.cta-band { padding: 0 0 clamp(72px, 9vw, 120px); }
.section-mist + .cta-band, .map-wrap + .cta-band { padding-top: clamp(72px, 9vw, 120px); }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
    padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); color: #cfe0ee;
    background:
        radial-gradient(50% 120% at 100% 0%, rgba(122, 198, 47, .35), transparent 60%),
        radial-gradient(60% 120% at 0% 100%, rgba(10, 138, 214, .55), transparent 65%),
        var(--ink);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 18ch; }
.cta-inner p { margin-top: 14px; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner page hero */
.page-hero {
    position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
    background:
        radial-gradient(50% 80% at 90% 0%, rgba(10, 138, 214, .14), transparent 70%),
        radial-gradient(40% 70% at 0% 100%, rgba(122, 198, 47, .12), transparent 70%),
        #f6fafd;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; margin-bottom: 20px; }
.crumbs { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--blue-deep); }
.page-hero-image { background: var(--ink); color: #d5e2ee; border: 0; overflow: hidden; padding-block: clamp(80px, 10vw, 140px); }
.page-hero-image .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(11, 34, 57, .3)); }
.page-hero-image .container { position: relative; z-index: 1; }
.page-hero-image h1 { color: #fff; }
.page-hero-image h1 em { color: #8fd3ff; }
.page-hero-image .lead, .page-hero-image .crumbs { color: #c6d4e2; }
.page-hero-image .eyebrow { color: var(--green); }
.not-found { text-align: center; padding-block: 140px; border: 0; }
.not-found h1, .not-found .lead { margin-inline: auto; }
.not-found .hero-actions { justify-content: center; }

/* About */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); }
.mv-card h2 { font-size: 1.9rem; margin-bottom: 16px; }
.mv-card p + p { margin-top: 14px; }
.mv-dark { background: var(--ink); color: #b7c7d7; border-color: var(--ink); }
.mv-dark h2 { color: #fff; }
.mv-dark .feature-icon { background: rgba(255, 255, 255, .1); color: #8fd3ff; }

/* Products page */
.cat-rows { display: grid; gap: 22px; }
.cat-row {
    display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .4s, border-color .4s;
}
.cat-row:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-row-media { background: linear-gradient(160deg, #eef6fb, #f8fbfd); display: grid; place-items: center; min-height: 260px; }
.cat-row-media img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; mix-blend-mode: multiply; padding: 24px; }
.cat-row-body { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative; }
.cat-row-no { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--blue); }
.cat-row-body h3 { font-size: 1.8rem; }
.cat-row-body p { max-width: 62ch; }
.cat-row-body .btn { margin-top: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-list li { padding: 6px 13px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.steps span { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--blue); line-height: 1; }
.steps h3 { margin: 18px 0 8px; }
.steps p { font-size: .94rem; }

/* Drapes */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.product-card:hover, .product-card:target { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #bfdcf0; }
.product-media { aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 22px; }
.product-media img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
/* Cut-out photos are tall: hold them inside the square tile. */
.product-media { overflow: hidden; }
.product-media img[src$=".webp"] { width: 100%; height: 100%; min-height: 0; }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.product-no { font-family: var(--serif); font-style: italic; color: var(--blue); }
.product-body p { font-size: .92rem; }
.product-body .link-arrow { margin-top: auto; padding-top: 10px; }

/* Gowns */
.gown-list { display: grid; gap: clamp(56px, 8vw, 110px); }
.gown { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.gown-flip .gown-media { order: 2; }
.gown-media {
    border-radius: var(--radius-lg); aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 40px;
    background: radial-gradient(70% 60% at 50% 40%, #fff, transparent 70%), linear-gradient(160deg, #e6f3fb, #edf8e4);
}
.gown-media img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(11, 34, 57, .18)); }
.gown:first-child .gown-media img { transform: scale(1.55); }
.gown-body h2 { margin: 16px 0 8px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.gown-tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--blue); line-height: 1.3; margin-bottom: 16px; }
.gown-body h3 { margin: 26px 0 14px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.point-list { display: grid; gap: 12px; margin-bottom: 30px; }
.point-list li { display: flex; gap: 12px; font-size: .96rem; }
.point-list .icon { color: var(--green-deep); margin-top: 5px; }
.point-list strong { color: var(--ink); }

/* Global */
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.badge {
    display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: var(--green);
}
.badge strong { color: #fff; font-size: 1.15rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-grid h2 { margin-bottom: 30px; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info .feature-icon { margin: 0; }
.info h3 { font-size: 1rem; margin-bottom: 4px; }
.info a { display: block; color: var(--blue-deep); font-weight: 600; }
.info a:hover { text-decoration: underline; }
.info p { font-size: .95rem; }
.person { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(140deg, var(--blue), var(--green)); color: #fff; font-weight: 800; letter-spacing: .04em; }
.person .role { color: var(--blue-deep); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.person p { font-size: .93rem; }
.person a { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-top: 6px; font-size: .95rem; }
.person a:hover { color: var(--blue-deep); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.6vw, 44px); box-shadow: var(--shadow); }
.form-card > h3 { font-size: 1.5rem; margin-bottom: 24px; }
.enquiry-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
    font: 500 .97rem/1.4 var(--sans); color: var(--ink); background: #fbfdfe; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10, 138, 214, .14); }
.field .invalid { border-color: #d8483e; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: .92rem; font-weight: 600; flex: 1; min-width: 200px; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #c8362c; }
.enquiry-form.is-sending button { opacity: .6; pointer-events: none; }
.map-wrap { line-height: 0; border-top: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 440px; border: 0; filter: saturate(.85); }

/* Article */
.article-title { font-size: clamp(1.9rem, 3.6vw, 3rem) !important; max-width: none !important; }
.article-body { padding-block: clamp(40px, 6vw, 80px); }
.article-lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.article-img { margin: 34px auto 0; max-height: 520px; }
.article-body h2 { font-size: 1.55rem; margin: 44px 0 14px; }
.article-body p + p { margin-top: 14px; }
.article-body ul { margin: 14px 0; display: grid; gap: 10px; }
.article-body li { position: relative; padding-left: 26px; }
.article-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.article-body .back { margin-top: 48px; }

/* Footer */
.site-footer { background: var(--ink); color: #a9bccf; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr 1.3fr; gap: 48px; padding-block: 76px 56px; }
.footer-logo { display: inline-block; margin-bottom: 22px; }
.footer-logo img { height: 84px; width: auto; }
.footer-brand p { max-width: 42ch; }
.site-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--green); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* Chat assistant */
.chat {
    position: fixed; right: 22px; bottom: 92px; z-index: 95; display: flex; flex-direction: column;
    width: 372px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 116px); max-height: calc(100dvh - 116px);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .94rem;
    animation: chat-in .3s var(--ease);
}
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.chat > header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.chat > header div { flex: 1; display: grid; line-height: 1.3; }
.chat > header small { color: rgba(255, 255, 255, .7); }
.chat > header button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25d366; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px; overflow-y: auto; background: var(--mist); overscroll-behavior: contain; }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.chat-msg.from-bot { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.chat-msg.from-me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg strong { color: var(--ink); }
.chat-link { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--blue-deep); font-weight: 700; white-space: normal; }
.chat-msg.is-typing { display: flex; gap: 5px; padding: 14px; }
.chat-msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite; }
.chat-msg.is-typing i:nth-child(2) { animation-delay: .15s; }
.chat-msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-lead { flex: none; display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.chat-lead strong { color: var(--ink); line-height: 1.35; }
.chat-lead input, .chat-lead textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); resize: vertical; }
.chat-lead input:focus, .chat-lead textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.chat-lead [hidden] { display: none; }
.chat-lead button { padding: 10px 14px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.chat-lead.is-sending button { opacity: .6; pointer-events: none; }
.chat-lead p { margin: 0; font-size: .84rem; color: #b3261e; }
.chat-lead p:empty { display: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; background: var(--mist); }
.chat-chips:not(:empty) { padding-bottom: 12px; }
.chat-chips button { padding: 6px 12px; border: 1px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue-deep); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chat-chips button:hover { background: var(--blue); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; color: var(--ink); }
.chat-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.chat-form button { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; }
.chat-wa { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 14px 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.chat-wa span { flex-basis: 100%; }
.chat-wa a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #e7f9ee; color: #128c4b; font-weight: 700; }
.chat.is-handoff .chat-wa a { background: #25d366; color: #fff; }
@media (max-width: 640px) {
    .chat { right: 12px; bottom: 88px; height: calc(100vh - 104px); height: calc(100dvh - 104px); max-height: none; }
    .chat-form input, .chat-lead input, .chat-lead textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .chat, .chat-msg.is-typing i { animation: none; }
}

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
    .logo-grid { grid-template-columns: repeat(5, 1fr); }
    .logo-grid-clients { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid-4, .badge-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .post-card { grid-template-columns: 1fr; }
    .post-media { aspect-ratio: 16 / 8; }
    .float-a { right: 12px; }
    .float-b { left: 12px; }
    .media-badge { right: 16px; }
}
@media (max-width: 960px) {
    .topbar-note { display: none; }
    .topbar-inner { justify-content: center; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: 124px 0 0 0; flex-direction: column; align-items: stretch; gap: 4px;
        background: #fff; padding: 20px 24px 40px; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
    }
    .main-nav .nav-link { padding: 16px 12px; font-size: 1.15rem; border-radius: 12px; border-bottom: 1px solid var(--line); }
    .nav-cta { margin: 20px 0 0; padding: 18px; }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open .nav-toggle .open { display: none; }
    .nav-open .nav-toggle .shut { display: block; }
    .nav-open { overflow: hidden; }
    .hero-grid, .split, .gown, .contact-grid, .mv-grid { grid-template-columns: 1fr; }
    .split-reverse .split-media, .gown-flip .gown-media { order: 0; }
    .gown-media { max-width: 460px; }
    .section-head { grid-template-columns: 1fr; }
    .section-head > p, .section-head > a { justify-self: start; }
    .cat-card, .cat-card.cat-wide { grid-column: span 3; flex-direction: column; }
    .cat-wide .cat-media { flex: none; aspect-ratio: 16 / 10; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-3 { grid-template-columns: repeat(3, 1fr); }
    .stat { padding: 32px 20px; }
    .stats-grid:not(.stats-3) .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stats-grid:not(.stats-3) .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .cat-row { grid-template-columns: 1fr; }
    .cat-row-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container, .narrow { width: calc(100% - 36px); }
    .topbar-links { gap: 16px; font-size: .76rem; }
    .header-inner { height: 72px; }
    .brand img { height: 50px; }
    .main-nav { inset: 112px 0 0 0; }
    .hero-actions .btn { flex: 1 1 100%; }
    .float-card { padding: 12px 14px; }
    .float-a { bottom: -22px; right: 10px; }
    .float-b { top: -18px; left: 10px; }
    .float-num { font-size: 1.6rem !important; }
    .cat-card, .cat-card.cat-wide { grid-column: span 6; }
    .feature-grid, .feature-grid-4, .badge-grid, .steps, .post-grid, .field-row { grid-template-columns: 1fr; }
    .spec-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-body { padding: 16px; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .logo-grid-clients { grid-template-columns: repeat(2, 1fr); }
    .stats-3 { grid-template-columns: 1fr; }
    .stats-3 .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .stats-3 .stat:first-child { border-top: 0; }
    .media-badge { position: static; margin-top: 14px; box-shadow: var(--shadow); }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
    .cta-actions .btn { flex: 1 1 100%; }
    .map-wrap iframe { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ============ v2: richer components ============ */

.btn-sm { padding: 10px 18px; font-size: .86rem; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: #eaf7dd; color: #3f7a0d; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.badge-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-deep); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.center-link { text-align: center; margin-top: 36px; }

/* Scroll progress + back to top */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--green)); }
.to-top {
    position: fixed; right: 28px; bottom: 94px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }

/* Mega menu */
.has-mega { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-link .icon { transition: transform .25s; opacity: .6; }
.has-mega:hover .nav-link .icon, .has-mega:focus-within .nav-link .icon { transform: rotate(180deg); }
.mega {
    position: absolute; left: 50%; top: 100%; width: min(1100px, calc(100vw - 48px)); transform: translate(-50%, 10px);
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; padding: 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-cats { display: grid; gap: 4px; }
.mega-cats a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background .2s; }
.mega-cats a:hover { background: var(--mist); }
.mega-cats img { width: 58px; height: 46px; object-fit: cover; border-radius: 10px; background: var(--mist); }
.mega-cats strong { display: block; color: var(--ink); font-size: .96rem; line-height: 1.3; }
.mega-cats small { color: var(--muted); font-size: .78rem; }
.mega-list { background: var(--mist); border-radius: 16px; padding: 22px 24px; }
.mega-list p { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mega-list div { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.mega-list a { padding: 7px 0; font-weight: 600; font-size: .92rem; color: var(--ink); transition: color .2s, padding .25s var(--ease); }
.mega-list a:hover { color: var(--blue-deep); padding-left: 6px; }

/* Enquiry list button + drawer */
.list-btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 10px 14px;
    border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 .88rem/1 var(--sans); cursor: pointer; transition: border-color .2s;
}
.list-btn:hover { border-color: var(--ink); }
.list-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: .76rem; transition: background .25s, color .25s, transform .3s var(--ease); }
.list-count.has { background: var(--green); color: #fff; }
.list-count.bump { transform: scale(1.35); }
.drawer { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(11, 34, 57, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
    position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel header { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.drawer-panel header h2 { font-size: 1.3rem; }
.drawer-panel header button { background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
.drawer-empty { padding: 30px 26px; color: var(--muted); }
.drawer-items { flex: 1; overflow-y: auto; padding: 10px 26px; }
.drawer-items li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.drawer-items button, .form-list button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; display: grid; }
.drawer-items button:hover, .form-list button:hover { color: #c8362c; }
.drawer-panel footer { display: grid; gap: 10px; padding: 22px 26px; border-top: 1px solid var(--line); }
.drawer.is-empty .drawer-items { display: none; }
.drawer:not(.is-empty) .drawer-empty { display: none; }

.add-btn .add-on { display: none; }
.add-btn.is-added .add-on { display: inline-flex; }
.add-btn.is-added .add-off { display: none; }
.add-btn span { display: inline-flex; align-items: center; gap: 8px; }
.add-btn.is-added { background: #eaf7dd !important; color: #3f7a0d !important; border-color: #cfe9b4 !important; box-shadow: none; }
.icon-add {
    display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line);
    background: #fff; color: var(--ink); font: 700 .78rem/1 var(--sans); cursor: pointer; transition: border-color .2s, background .2s;
}
.icon-add:hover { border-color: var(--ink); }
.form-list { padding: 14px 16px; border: 1.5px dashed #cfe9b4; background: #f6fbf0; border-radius: 14px; }
.form-list > span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3f7a0d; }
.form-list ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.form-list li { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #cfe9b4; font-size: .84rem; font-weight: 600; color: var(--ink); }

/* Hero v2 */
.hero-gridlines {
    position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(11, 34, 57, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 34, 57, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
}
.rotator { display: inline-block; transition: opacity .35s, transform .45s var(--ease); }
.rotator.is-out { opacity: 0; transform: translateY(14px); }
.hero-frame { position: relative; }
.hero-frame .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 7s linear; }
.hero-frame .slide.is-on { opacity: 1; transform: scale(1); }
.slide-tabs { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.slide-tabs button { flex: 1; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: rgba(255, 255, 255, .75); font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.slide-tabs button.is-on { color: #fff; }
.slide-tabs i { display: block; height: 3px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .4); overflow: hidden; position: relative; }
.slide-tabs i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.slide-tabs button.is-on i::after { animation: fill 5.5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(transparent, rgba(11, 34, 57, .55)); z-index: 1; pointer-events: none; }
.float-a { bottom: 76px; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 70s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); white-space: nowrap; }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Spotlight hover */
.spot { position: relative; isolation: isolate; }
.spot::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .35s;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 138, 214, .11), transparent 65%);
}
.spot:hover::before { opacity: 1; }

/* Featured products rail */
.featured { overflow: hidden; }
.rail-nav { display: flex; gap: 10px; justify-self: end; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #c9d6e2; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.rail-nav button:first-child .icon { transform: rotate(180deg); }
.rail-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail {
    display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 6px max(24px, calc((100vw - 1240px) / 2)) 30px; scroll-padding-inline: max(24px, calc((100vw - 1240px) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.rail .fp-card { flex: 0 0 min(370px, 84vw); scroll-snap-align: start; }
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fp-grid-1 { grid-template-columns: minmax(0, 520px); }
.fp-card {
    display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.fp-card:hover, .fp-card:target { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fp-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(140deg, var(--blue), #33b0f5); color: #fff; box-shadow: 0 12px 22px -12px rgba(10, 138, 214, .8); }
.fp-cat { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fp-card h3 { font-size: 1.32rem; }
.fp-card > p { font-size: .94rem; }
.fp-points { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.fp-points li { display: flex; align-items: center; gap: 8px; }
.fp-points .icon { color: var(--green-deep); }
.fp-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.fp-custom { background: var(--ink); border-color: var(--ink); color: #b7c7d7; }
.fp-custom h3 { color: #fff; }
.fp-custom .fp-icon { background: rgba(255, 255, 255, .1); box-shadow: none; color: var(--green); }
.fp-custom .fp-cat { color: var(--green); }
.fp-custom .tag-list li { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* Barrier section */
.hotspot { position: absolute; display: flex; align-items: center; gap: 10px; }
.hotspot i { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); animation: ping 2.4s infinite; flex: none; }
.hotspot b { background: rgba(11, 34, 57, .86); color: #fff; font-size: .78rem; padding: 7px 12px; border-radius: 999px; white-space: nowrap; backdrop-filter: blur(6px); }
.hs-1 { left: 27%; top: 62%; }
.hs-2 { left: 52%; top: 26%; }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.mini-grid div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mini-grid strong { display: block; color: var(--ink); font-size: 1.05rem; }
.mini-grid span { font-size: .86rem; color: var(--muted); }

/* Specialty preview */
.spec-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.spec-wrap .spec-grid { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
.spec-preview { position: sticky; top: 120px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 18px; }
.spec-preview-img { background: #fff; border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; padding: 22px; }
.spec-preview-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .2s; }
.spec-preview p { margin: 16px 6px 4px; font-size: .92rem; min-height: 3.2em; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); opacity: .35; }
.timeline li { position: relative; }
.tl-dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue-deep); font-weight: 800; position: relative; box-shadow: 0 0 0 8px var(--mist); }
.section:not(.section-mist) .tl-dot { box-shadow: 0 0 0 8px #fff; }
.timeline h3 { margin: 22px 0 8px; font-size: 1.08rem; }
.timeline p { font-size: .92rem; }

/* Who we serve */
.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.serve-card { padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #b7c7d7; transition: background .3s, transform .4s var(--ease); }
.serve-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.serve-card .icon { color: var(--green); }
.serve-card h3 { margin: 20px 0 8px; }
.serve-card p { font-size: .93rem; }

/* Logo marquee */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 16px; width: max-content; animation: marquee 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track .logo-tile { width: 168px; flex: none; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-wrap h2 { margin-bottom: 18px; }
.faq-note { margin-bottom: 26px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: #bfdcf0; box-shadow: var(--shadow); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--blue); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; font-size: .96rem; max-width: 62ch; }

/* Search + drapes */
.search { display: flex; align-items: center; gap: 12px; padding: 0 20px; height: 58px; width: min(460px, 100%); border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); justify-self: end; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 138, 214, .14); }
.search input { flex: 1; border: 0; outline: 0; background: none; font: 500 .96rem var(--sans); color: var(--ink); min-width: 0; }
.no-results { text-align: center; padding: 40px 0 0; }
.no-results a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; }
.product-card[hidden] { display: none; }
.product-body h3 a:hover { color: var(--blue-deep); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tags li { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 12px; }
.product-body .link-arrow { margin: 0; padding: 0; }
.tag-list a:hover { color: var(--blue-deep); }

/* Product detail */
.pd-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pd-media { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1 / .92; display: grid; place-items: center; padding: 48px; box-shadow: var(--shadow-lg); }
.pd-media img { max-width: 100%; max-height: 100%; min-width: 46%; object-fit: contain; }
.pd-photo { padding: 0; overflow: hidden; background: linear-gradient(160deg, #eef6fb, #f8fbfd); }
.pd-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 28px; }
.pd-no { position: absolute; left: 24px; top: 20px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--blue); }
.pd-caption { position: absolute; right: 24px; bottom: 20px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pd-copy h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.pd-detail { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; align-items: stretch; }
.pd-block { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); background: #fff; }
.pd-block h2 { font-size: 1.5rem; margin-bottom: 20px; }
.use-list { display: grid; gap: 14px; font-weight: 600; color: var(--ink); }
.use-list li { display: flex; gap: 10px; align-items: flex-start; }
.use-list .icon { color: var(--green-deep); margin-top: 4px; }
.pd-custom { background: var(--mist); }
.pd-custom p { font-size: .95rem; }
.spec-table { margin: 20px 0 0; display: grid; }
.spec-table div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.pd-nav-wrap { padding-block: 0 clamp(56px, 7vw, 96px); }
.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pd-nav-link { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.pd-nav-link:hover { border-color: #bfdcf0; box-shadow: var(--shadow); transform: translateY(-3px); }
.pd-nav-link img { width: 64px; height: 64px; object-fit: contain; }
.pd-nav-link small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pd-nav-link strong { color: var(--ink); font-size: 1.05rem; }
.pd-next { justify-content: flex-end; text-align: right; }

/* Quality page */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert-card { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .3s, box-shadow .3s; }
.cert-card:hover { border-color: #bfdcf0; box-shadow: var(--shadow); }
.cert-logo { flex: none; width: 92px; height: 92px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 10px; }
.cert-logo { overflow: hidden; }
.cert-logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cert-card h3 { font-size: 1.1rem; }
.cert-full { font-size: .76rem !important; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; }
.cert-card p { font-size: .88rem; line-height: 1.55; }
.check-cards { display: grid; gap: 12px; }
.check-cards li { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: var(--green); }
.check-cards strong { display: block; color: #fff; }
.check-cards span { color: #a9bccf; font-size: .9rem; }
.section-ink .split-copy p { color: #b7c7d7; }

/* Gown comparison */
.compare { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 1.05rem; color: var(--ink); background: var(--mist); }
.compare thead th:nth-child(3) { color: var(--blue-deep); }
.compare tbody th { color: var(--muted); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

@media (min-width: 961px) and (max-width: 1240px) {
    .main-nav { gap: 0; }
    .main-nav .nav-link { padding: 10px 11px; font-size: .9rem; }
    .list-btn span { display: none; }
    .nav-cta { margin-left: 8px; padding: 13px 18px; }
}
@media (max-width: 1100px) {
    .pd-detail, .cert-grid, .fp-grid { grid-template-columns: 1fr 1fr; }
    .pd-custom { grid-column: 1 / -1; }
    .serve-grid { grid-template-columns: 1fr 1fr; }
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .timeline::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--green)); }
    .timeline li { padding: 0 0 30px 72px; }
    .timeline .tl-dot { position: absolute; left: 0; top: 0; }
    .timeline h3 { margin-top: 8px; }
    .spec-wrap { grid-template-columns: 1fr; }
    .spec-preview { display: none; }
}
@media (max-width: 960px) {
    .has-mega { display: contents; }
    .mega { display: none; }
    .nav-link .icon { display: none; }
    .list-btn { margin: 16px 0 0; justify-content: center; padding: 16px; }
    .pd-grid, .faq-wrap { grid-template-columns: 1fr; }
    .pd-media { max-width: 520px; }
    .search, .rail-nav { justify-self: start; }
    .float-a { bottom: 66px; }
}
@media (max-width: 640px) {
    .pd-detail, .cert-grid, .fp-grid, .serve-grid, .pd-nav, .mini-grid { grid-template-columns: 1fr; }
    .spec-wrap .spec-grid { grid-template-columns: 1fr; }
    .ticker span { font-size: 1.2rem; }
    .hotspot b { font-size: .7rem; }
    .cert-card { align-items: flex-start; }
    .cert-logo { width: 68px; height: 68px; }
    .rail-nav { display: none; }
    .to-top { right: 22px; bottom: 90px; }
    .float-a { bottom: 60px; }
    .pd-media { padding: 32px; }
}
/* v2 fixes */
.pd-media:not(.pd-photo) img { width: 78%; }
.pd-photo img { object-fit: cover; mix-blend-mode: normal; padding: 0; }
.section-mist + .pd-nav-wrap { padding-top: clamp(56px, 7vw, 96px); }
@media (max-width: 640px) {
    .hero-visual { margin-top: 22px; }
    .float-a { display: none; }
}

/* ============ v3: catalogue, product pages, insights ============ */
.section-tight { padding-bottom: clamp(40px, 5vw, 64px); }
.section-tight + .section { padding-top: clamp(56px, 7vw, 96px); }
.section-head p .link-arrow { display: flex; margin-top: 10px; }

/* Placeholder tile for products without a photo yet */
.ph { width: 100%; height: 100%; min-height: 150px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 18px; color: var(--blue-deep);
    background: radial-gradient(120% 90% at 15% 0%, rgba(10, 138, 214, .16), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(122, 198, 47, .2), transparent 62%), linear-gradient(160deg, #f1f8fc, #e9f3f9); position: relative; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11, 34, 57, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 34, 57, .05) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%); }
.ph .icon { position: relative; width: 34%; height: auto; max-width: 92px; min-width: 44px; stroke-width: 1.1; color: var(--ink); opacity: .82; }
.ph small { position: relative; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.ph-surgical-gowns { color: var(--green-deep); }
.ph-kits-and-packs { background: radial-gradient(120% 90% at 85% 0%, rgba(122, 198, 47, .2), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(10, 138, 214, .16), transparent 62%), linear-gradient(200deg, #f3f9ee, #eaf4f9); }
.ph-disposable-sheets { background: radial-gradient(110% 90% at 50% 0%, rgba(10, 138, 214, .18), transparent 62%), linear-gradient(180deg, #f4f9fc, #e8f1f7); }
.ph-accessories-and-apparel { background: radial-gradient(120% 90% at 0% 100%, rgba(11, 34, 57, .1), transparent 60%), radial-gradient(90% 80% at 100% 0%, rgba(122, 198, 47, .18), transparent 62%), linear-gradient(160deg, #f5f8fa, #ebf2f6); }
.product-media.is-ph { padding: 12px; }
.product-card:hover .ph .icon { transform: scale(1.08); }
.ph .icon { transition: transform .5s var(--ease); }
.pd-media.is-ph { padding: 20px; }
.pd-media.is-ph .ph { border-radius: 22px; gap: 22px; }
.pd-media.is-ph .ph small { font-size: .8rem; }
.pd-media.is-ph .pd-no { display: none; }

.product-no { font-size: .98rem; }
.mini-tags-ok li { background: #eef8e4; color: var(--green-deep); }
.fp-card h3 a:hover { color: var(--blue-deep); }
.tag-more a { color: var(--blue-deep); }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chips button, .chips a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 .88rem var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; white-space: nowrap; }
.chips b { font-size: .72rem; font-weight: 800; color: var(--muted); background: var(--mist); border-radius: 999px; padding: 2px 8px; transition: inherit; }
.chips button:hover, .chips a:hover { border-color: var(--blue); }
.chips .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips .is-on b { background: rgba(255, 255, 255, .16); color: #fff; }
[data-search][hidden] { display: none; }

/* Product page */
.pd-badges { margin: -6px 0 26px; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.pd-main { display: grid; gap: 28px; }
.pd-about h2 { margin-bottom: 18px; }
.pd-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pd-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.pd-side .spec-table div { display: grid; grid-template-columns: 1fr; gap: 3px; }
.pd-side .spec-table dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pd-side .spec-table dd { text-align: left; font-weight: 600; line-height: 1.5; }
.spec-note { font-size: .82rem !important; color: var(--muted); margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pd-help { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: #c9d6e2; font-size: .9rem; }
.pd-help .icon { color: var(--green); margin-top: 2px; }
.pd-help strong { display: block; color: #fff; margin-bottom: 4px; }
.pd-help a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pd-contents p { font-size: .94rem; margin: -8px 0 20px; }
.contents-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; counter-reset: c; }
.contents-list li { counter-increment: c; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .94rem; }
.contents-list li::before { content: counter(c, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.05rem; }
.pd-nav-link > .icon { color: var(--blue); flex: none; }
.pd-nav-link:first-child > .icon { transform: rotate(180deg); }

/* Long-form text */
.prose { color: var(--text); font-size: 1.04rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin: 2.1em 0 .1em; scroll-margin-top: 120px; }
.prose h3 { font-size: 1.16rem; margin-top: 1.7em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10, 138, 214, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: o; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: .2em; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); color: var(--blue-deep); font-size: .78rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.prose blockquote { margin-inline: 0; padding: 18px 24px; border-left: 3px solid var(--blue); background: var(--mist); border-radius: 0 16px 16px 0; color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-block: 1.6em; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; line-height: 1.55; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--mist); color: var(--ink); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.table-wrap tbody th { color: var(--ink); }
.table-wrap tr:last-child > * { border-bottom: 0; }

/* Article page */
.article-hero .container { max-width: 980px; }
.article-hero .article-lead { max-width: 62ch; margin-top: 4px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: clamp(28px, 5vw, 72px); justify-content: center; align-items: start; }
.article-side { position: sticky; top: 120px; padding-block: clamp(40px, 6vw, 80px); display: grid; gap: 28px; }
.toc p, .share p, .takeaways > p { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-on { color: var(--blue-deep); border-color: var(--blue); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share p { flex-basis: 100%; margin-bottom: 4px; }
.share a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.share a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.article-body .article-img { margin: 0 0 34px; width: 100%; }
.takeaways { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 36px; }
.takeaways ul { margin: 0; }
.takeaways li { color: var(--ink); font-weight: 600; }
.article-body > h2 { scroll-margin-top: 120px; }
.article-body .faq { margin-top: 20px; display: grid; gap: 12px; }
.article-body .faq-item.reveal { opacity: 1; transform: none; }
.article-body .article-tags { display: flex; margin: 40px 0 0; }
.article-body .article-tags li { padding: 6px 13px; }
.article-body .article-tags li::before { display: none; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--ink); color: #c9d6e2; }
.article-cta strong { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.article-cta span { font-size: .94rem; max-width: 46ch; display: block; }
.article-cta .btn span { display: inline; }

/* Article cards and generated covers */
.post-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-grid-3 .post-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.post-grid-3 .post-media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .post-media img { transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body .link-arrow { margin-top: auto; padding-top: 6px; }
.post-cat { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 999px; background: #e6f3fc; color: var(--blue-deep); font-weight: 800; letter-spacing: .02em; }
.cover-art { position: relative; display: block; width: 100%; height: 100%; min-height: 150px; overflow: hidden; background: linear-gradient(135deg, var(--ink), #14466f); }
.cover-art i { position: absolute; border-radius: 50%; }
.cover-art i:nth-child(1) { width: 78%; aspect-ratio: 1; right: -22%; top: -46%; background: radial-gradient(circle at 30% 30%, rgba(10, 138, 214, .9), rgba(10, 138, 214, 0) 68%); }
.cover-art i:nth-child(2) { width: 56%; aspect-ratio: 1; left: -14%; bottom: -52%; background: radial-gradient(circle at 60% 40%, rgba(122, 198, 47, .75), rgba(122, 198, 47, 0) 68%); }
.cover-art i:nth-child(3) { inset: 0; border-radius: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(120deg, transparent 10%, #000 90%); -webkit-mask-image: linear-gradient(120deg, transparent 10%, #000 90%); }
.cover-art b { position: absolute; left: 20px; bottom: 16px; right: 20px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; color: #fff; }
.cover-art.tone-1 { background: linear-gradient(135deg, #0a5f96, var(--ink)); }
.cover-art.tone-1 i:nth-child(1) { right: auto; left: -20%; }
.cover-art.tone-1 i:nth-child(2) { left: auto; right: -12%; }
.cover-art.tone-2 { background: linear-gradient(160deg, #123152, #0b2239 55%, #1d5a2c); }
.cover-art.tone-3 { background: linear-gradient(200deg, #0a8ad6, #0b2239 70%); }
.cover-art.tone-3 i:nth-child(1) { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .28), transparent 68%); }
.cover-art.tone-4 { background: linear-gradient(120deg, #0b2239, #0e3d63); }
.cover-art.tone-4 i:nth-child(2) { width: 70%; bottom: -60%; left: 30%; }

/* Insights index */
.insights-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 36px; }
.insights-bar .chips { margin: 0; flex: 1 1 520px; }
.insights-bar .search { width: min(360px, 100%); height: 46px; }
.lead-post { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; transition: box-shadow .4s, transform .4s var(--ease); }
.lead-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lead-post-media { min-height: 340px; }
.lead-post-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-post-media .cover-art b { font-size: clamp(1.8rem, 3vw, 2.6rem); left: 32px; bottom: 28px; }
.lead-post-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.lead-post-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.result-note { margin-bottom: 24px; font-weight: 600; }
.result-note a { color: var(--blue-deep); text-decoration: underline; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.pager a { min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--ink); background: #fff; transition: border-color .2s, background .2s, color .2s; }
.pager a:hover { border-color: var(--blue); }
.pager a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.mega-more { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); letter-spacing: 0 !important; text-transform: none !important; }
.mega-more a { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--blue-deep); padding: 4px 0; }
.serve-grid-5 { grid-template-columns: repeat(5, 1fr); }
a.serve-card { transition: transform .4s var(--ease), background .3s; }
a.serve-card:hover { transform: translateY(-5px); }
.footer-links-2 { margin-top: 18px; }

@media (max-width: 1100px) {
    .pd-layout { grid-template-columns: 1fr; }
    .pd-side { position: static; }
    .article-layout { grid-template-columns: minmax(0, 760px); }
    .article-side { position: static; padding-bottom: 0; }
    .article-side + .article-body { padding-top: 32px; }
    .toc { background: var(--mist); border-radius: var(--radius); padding: 22px 24px; }
    .post-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .serve-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .pd-lists, .contents-list, .lead-post { grid-template-columns: 1fr; }
    .lead-post-media { min-height: 200px; }
    .post-grid-3 { grid-template-columns: 1fr; }
    .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .insights-bar .chips { flex: 1 1 100%; }
    .insights-bar .search { width: 100%; }
    .serve-grid-5 { grid-template-columns: 1fr 1fr; }
    .article-cta { padding: 24px; }
    .prose { font-size: 1rem; }
}
.pd-badges { margin: 14px 0 26px; }
.pd-copy .lead:has(+ .pd-badges) { margin-bottom: 0; }
.post-card .post-cat { display: table; margin: 0 0 8px; }

/* Trust marks (GeM, BIS, CDSCO, Made in India) */
.trust-strip { background: var(--mist); border-block: 1px solid var(--line); padding-block: 22px; }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-strip li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.trust-strip .icon { flex: none; color: var(--green-deep); }
.trust-strip strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.trust-strip span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-block: 0 26px; font-size: .84rem; font-weight: 700; color: #fff; }
.footer-trust span { display: inline-flex; align-items: center; gap: 8px; }
.footer-trust .icon { color: var(--green); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a:hover { color: #fff; }
.form-consent { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 820px; }
.tag-list-center { justify-content: center; }

/* Product page: quick facts, jump links, notes */
.pd-facts-wrap { padding-top: 28px; }
.pd-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.pd-facts div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pd-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }
.pd-facts dd { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.pd-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pd-jump a { padding: 7px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .84rem; font-weight: 700; color: var(--ink); transition: border-color .2s; }
.pd-jump a:hover { border-color: var(--blue); }
.pd-note { font-size: .94rem; margin: 0 0 16px; }
.pd-note:last-child { margin: 18px 0 0; }
.pd-note a { color: var(--blue-deep); font-weight: 700; }
#overview, #specifications, #customisation, #ordering, #product-faq, #enquiry { scroll-margin-top: 120px; }

/* Cities index */
.zone { margin-top: 56px; scroll-margin-top: 120px; }
.zone-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.state-block { display: grid; grid-template-columns: 240px 1fr; gap: 12px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.state-block h3 { font-size: 1.05rem; }
.state-block small { margin-left: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-list a { display: block; padding: 6px 13px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink); transition: border-color .2s, color .2s; }
.city-list a:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.team-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; font-size: 1.3rem; }
.team-card .role { color: var(--blue-deep); font-weight: 600; font-size: .9rem; margin: 4px 0 12px; }
.team-card p { font-size: .94rem; }
.team-card a { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: .94rem; color: var(--ink); }
.team-card a:hover { color: var(--blue-deep); }

/* Manufacturing process stages */
.stage-list { display: grid; gap: 16px; }
.stage { display: grid; grid-template-columns: 70px 1fr 290px; gap: 12px 28px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.stage-no { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--blue); }
.stage h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.stage h3 .icon { color: var(--green-deep); }
.stage p { font-size: .96rem; }
.stage .mini-tags { flex-direction: column; align-items: flex-start; }

@media (max-width: 960px) {
    .trust-strip ul, .pd-facts { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .stage { grid-template-columns: 56px 1fr; }
    .stage .mini-tags { grid-column: 2; flex-direction: row; }
    .state-block { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .trust-strip ul, .pd-facts, .team-grid { grid-template-columns: 1fr; }
    .stage { grid-template-columns: 1fr; }
    .stage .mini-tags { grid-column: 1; }
}
/* Team cards: equal height, contact links pinned to the bottom */
.team-grid { align-items: stretch; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }
.team-card h3 { font-size: 1.25rem; }
.team-card .role { min-height: 1.5em; }
.team-card .team-links { margin-top: auto; padding-top: 18px; width: 100%; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: center; }
.team-card .team-links a { margin-top: 0; }
.team-card .team-bio { margin-bottom: 20px; }
/* Footer: brand, three link columns, contact */
.footer-grid { grid-template-columns: 1.35fr .75fr .95fr 1fr 1.25fr; gap: 36px; padding-block: 64px 44px; }
.footer-brand p { font-size: .9rem; }
.site-footer ul { gap: 9px; }
.site-footer h3 { margin-bottom: 16px; }
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .footer-brand, .footer-touch { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 48px 32px; }
}
/* Quote popup */
.quote-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.quote-modal.is-open { visibility: visible; }
.quote-scrim { position: absolute; inset: 0; background: rgba(11, 34, 57, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.quote-panel { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .25s, transform .3s var(--ease); }
.quote-modal.is-open .quote-scrim { opacity: 1; }
.quote-modal.is-open .quote-panel { opacity: 1; transform: none; }
.quote-panel h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 8px 40px 14px 0; }
.quote-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer; }
.quote-close:hover { background: var(--line); }
.quote-direct { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; font-size: .92rem; font-weight: 700; color: var(--ink); }
.quote-direct a { display: inline-flex; align-items: center; gap: 8px; }
.quote-direct a:hover { color: var(--blue-deep); }
.quote-direct svg { color: var(--green-deep); }
.enquiry-form.is-compact { gap: 14px; }
.enquiry-form.is-compact textarea { min-height: 84px; }
.quote-open { overflow: hidden; }
.btn-wa { background: #25d366; color: #fff; justify-content: center; }
.btn-wa:hover { background: #1eb656; }
.form-wa[hidden] { display: none; }
@media (max-width: 560px) {
    .quote-modal { padding: 0; place-items: end center; }
    .quote-panel { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh; max-height: 92dvh; }
    .enquiry-form.is-compact .field-row { grid-template-columns: 1fr; }
}
/* Headline numbers: three large figures beside a heading, supporting facts in a ruled row (see stats_band() in helpers.php) */
.kpi-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
.kpi-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 90% at 0% 0%, rgba(10, 138, 214, .3), transparent 62%), radial-gradient(40% 80% at 100% 100%, rgba(122, 198, 47, .14), transparent 60%); }
.kpi-band .container { position: relative; }
.kpi-top { display: grid; grid-template-columns: .8fr 1.7fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.kpi-head .eyebrow { color: var(--green); }
.kpi-head h2 { color: #fff; margin-top: 12px; font-size: clamp(2rem, 3.4vw, 3rem); }
.kpi-head h2 em { color: #8fd3ff; }
.kpi-hero { display: grid; grid-template-columns: repeat(3, 1fr); }
.kpi-big { padding: 6px 0 6px clamp(18px, 2.6vw, 40px); border-left: 1px solid rgba(255, 255, 255, .14); }
.kpi-big .stat-num { font-size: clamp(3.2rem, 6.6vw, 6rem); font-weight: 600; letter-spacing: -.055em; line-height: .95; background: linear-gradient(180deg, #fff 35%, #9fd6fb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi-big .stat-num i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; margin-left: 4px; -webkit-text-fill-color: var(--green); }
.kpi-big .stat-label { margin-top: 16px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a9bccf; }
.kpi-facts { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(44px, 6vw, 80px); border-top: 1px solid rgba(255, 255, 255, .14); }
.kpi-facts li { padding: 26px 20px 0 0; }
.kpi-facts li + li { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .08); }
.kpi-facts strong { display: block; font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.kpi-facts strong em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: #8fd3ff; }
.kpi-facts span { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.45; color: #a9bccf; }
@media (max-width: 960px) {
    .kpi-top { grid-template-columns: 1fr; align-items: start; }
    .kpi-big:first-child { border-left: 0; padding-left: 0; }
    .kpi-facts { grid-template-columns: repeat(2, 1fr); }
    .kpi-facts li, .kpi-facts li + li { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) {
    .kpi-big { padding-left: 14px; }
    .kpi-big .stat-num { font-size: 2.5rem; }
    .kpi-big .stat-label { font-size: .68rem; letter-spacing: .1em; }
}
/* Product page enquiry: product summary and direct contact on the left, short form on the right */
.pd-enquire { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.pd-enquire-info { position: relative; padding: clamp(28px, 4vw, 48px); background: radial-gradient(90% 70% at 0% 0%, rgba(10, 138, 214, .35), transparent 60%), radial-gradient(80% 60% at 100% 100%, rgba(122, 198, 47, .2), transparent 60%), var(--ink); color: #c9d6e2; }
.pd-enquire-info .eyebrow { color: var(--green); }
.pd-enquire-info h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 8px 0 22px; }
.pd-enquire-info h2 em { color: #8fd3ff; }
.pd-enquire-info .tick-list { margin: 0 0 28px; color: #fff; font-weight: 500; }
.pd-enquire-info .tick-list .icon { color: var(--green); }
.pd-enquire-product { display: flex; align-items: center; gap: 16px; padding: 12px; margin-bottom: 30px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.pd-enquire-thumb { flex: none; display: grid; place-items: center; width: 76px; height: 76px; padding: 8px; border-radius: 12px; background: #fff; overflow: hidden; }
.pd-enquire-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-enquire-thumb.is-ph { padding: 0; }
.pd-enquire-thumb .ph { width: 100%; height: 100%; }
.pd-enquire-thumb .ph small { display: none; }
.pd-enquire-product small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fd3ff; }
.pd-enquire-product strong { display: block; color: #fff; font-size: 1.08rem; line-height: 1.3; }
.pd-enquire-direct { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-enquire-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .92rem; font-weight: 600; color: #c9d6e2; }
.pd-enquire-mail:hover { color: #fff; }
.pd-enquire-form { padding: clamp(26px, 4vw, 48px); }
.pd-enquire-form > h3 { font-size: 1.5rem; }
.pd-enquire-form > p { font-size: .94rem; margin: 6px 0 22px; }
@media (max-width: 900px) {
    .pd-enquire { grid-template-columns: 1fr; }
}
/* Product enquiry as a full-width band: the dark background runs edge to edge, the form sits on it as a card */
.pd-enquire-band { padding-block: clamp(44px, 5.5vw, 76px); background: radial-gradient(55% 90% at 0% 0%, rgba(10, 138, 214, .38), transparent 62%), radial-gradient(45% 80% at 100% 100%, rgba(122, 198, 47, .2), transparent 62%), var(--ink); }
.pd-enquire { grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
.pd-enquire-info { padding: 0; background: none; }
.pd-enquire-form { padding: clamp(24px, 3.2vw, 38px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }

/* Compact rhythm: tighter sections, slightly smaller type and controls across the site */
body { font-size: 15.5px; line-height: 1.62; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); }
.lead { font-size: clamp(1rem, 1.25vw, 1.12rem); }
.eyebrow { margin-bottom: 12px; }
.btn { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 14px 24px; font-size: .95rem; }
.header-inner { height: 76px; }
.brand img { height: 60px; }
.hero { padding: clamp(32px, 4.5vw, 60px) 0 clamp(40px, 5vw, 68px); }
.hero-actions { margin-top: 24px; }
.hero-ticks { margin-top: 22px; }
.page-hero { padding: clamp(36px, 4.5vw, 60px) 0 clamp(32px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); margin-bottom: 14px; }
.pd-copy h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.not-found { padding-block: 84px; }
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section-tight { padding-bottom: clamp(28px, 3.5vw, 44px); }
.section-tight + .section { padding-top: clamp(36px, 4.5vw, 60px); }
.section-head { gap: 16px 48px; margin-bottom: clamp(22px, 3vw, 36px); }
.split, .faq-wrap, .contact-grid { gap: clamp(28px, 4.5vw, 60px); }
.contact-grid h2 { margin-bottom: 20px; }
.cta-band { padding-bottom: clamp(44px, 5.5vw, 76px); }
.cta-inner { padding: clamp(28px, 3.6vw, 44px); }
.feature, .steps li, .serve-card { padding: 22px 20px; }
.cat-body { padding: 20px 20px 22px; gap: 8px; }
.product-body { padding: 18px 18px 20px; }
.mv-card, .form-card { padding: clamp(22px, 3vw, 34px); }
.pd-block { padding: clamp(20px, 2.4vw, 28px); }
.pd-media { padding: 36px; }
.team-card, .stage { padding: 24px; }
.logo-heading { margin: 40px 0 18px; }
.faq-item summary { padding: 15px 0; font-size: 1rem; }
.ticker { padding: 13px 0; }
.trust-strip { padding-block: 16px; }
.trust-strip li { padding: 11px 15px; }
.kpi-band { padding-block: clamp(30px, 4vw, 48px); }
.kpi { padding: 20px; }
.kpi-icon { margin-bottom: 14px; }
.zone { margin-top: 40px; }
.state-block { padding: 16px 0; }
.footer-grid { padding-block: 48px 32px; }
.footer-logo img { height: 68px; }
@media (max-width: 900px) {
    .pd-enquire { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .pd-enquire-form .field-row { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Two-step enquiry form */
.form-step { display: grid; gap: 16px; }
.js .form-step:not(.is-on) { display: none; }
html:not(.js) .form-steps, html:not(.js) .form-next, html:not(.js) [data-back] { display: none; }
.form-steps { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.form-steps li { display: inline-flex; align-items: center; gap: 8px; }
.form-steps li + li::before { content: ""; width: 34px; height: 2px; margin-right: 2px; border-radius: 2px; background: var(--line); }
.form-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); border: 1.5px solid var(--line); font-size: .74rem; color: var(--muted); }
.form-steps .is-on { color: var(--ink); }
.form-steps .is-on b { background: var(--blue); border-color: var(--blue); color: #fff; }
.form-steps .is-done b { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.form-steps .is-on::before, .form-steps .is-done + li::before { background: var(--green-deep); }
.form-hint { font-size: .82rem; color: var(--muted); }
.form-foot { gap: 12px; }
.enquiry-form > .form-status { min-width: 0; }
.enquiry-form > .form-status:empty { display: none; }
/* Split photo shown whole, at its own shape, instead of cropped to the 5:4 frame */
.split-media img.is-whole { aspect-ratio: auto; height: auto; object-fit: contain; }

/* Closing call to action as a full-width band (was a rounded card inside the page width) */
.cta-band, .section-mist + .cta-band, .map-wrap + .cta-band { padding: clamp(36px, 4.5vw, 60px) 0; background: radial-gradient(40% 130% at 100% 0%, rgba(122, 198, 47, .32), transparent 60%), radial-gradient(45% 130% at 0% 100%, rgba(10, 138, 214, .5), transparent 65%), var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .1); color: #cfe0ee; }
.cta-inner { padding: 0; border-radius: 0; background: none; }
/* ============ v4: premium layer and detailed pages ============ */
::selection { background: rgba(10, 138, 214, .2); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow:not(:has(.pulse))::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.btn-primary { background: linear-gradient(180deg, #1597e3, var(--blue-deep)); }
.btn-primary:hover { background: linear-gradient(180deg, var(--blue), #055f97); }
.section-head.center p:not(.eyebrow) { max-width: 62ch; margin: 14px auto 0; }

/* Cards: a hairline in the brand colours draws across the top on hover */
.feature, .steps li { position: relative; overflow: hidden; }
.steps li { transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe3f2; }
.feature::after, .steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.feature:hover::after, .steps li:hover::after { transform: scaleX(1); }

/* Inner page hero: faint grid, and an optional panel of headline figures (see page_hero() in helpers.php) */
.page-hero:not(.page-hero-image)::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: linear-gradient(rgba(11, 34, 57, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 34, 57, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(60% 95% at 88% 5%, #000, transparent 75%); mask-image: radial-gradient(60% 95% at 88% 5%, #000, transparent 75%);
}
.page-hero > .container { position: relative; }
.page-hero-split > .container { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-facts {
    display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    background: radial-gradient(80% 90% at 0% 0%, rgba(10, 138, 214, .42), transparent 62%), radial-gradient(70% 80% at 100% 100%, rgba(122, 198, 47, .2), transparent 62%), var(--ink);
}
.hero-facts li { padding: 22px 24px; border: 0 solid rgba(255, 255, 255, .12); }
.hero-facts li:nth-child(even) { border-left-width: 1px; }
.hero-facts li:nth-child(n+3) { border-top-width: 1px; }
.hero-facts strong { display: block; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; }
.hero-facts span { display: block; margin-top: 9px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.45; color: #a9bccf; }

/* "On this page" bar (see section_nav() in helpers.php) */
.subnav { position: sticky; top: 76px; z-index: 80; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; align-items: center; gap: 18px; }
.subnav span { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.subnav ul { display: flex; gap: 4px; padding: 9px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--text); white-space: nowrap; transition: background .2s, color .2s; }
.subnav a:hover { background: var(--mist); color: var(--ink); }
.subnav a.is-on { background: var(--ink); color: #fff; }
.subnav ~ section[id], .subnav ~ section [id] { scroll-margin-top: 140px; }

/* Facts as ruled rows: label on the left, answer on the right */
.glance { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.glance > div { display: grid; grid-template-columns: 230px 1fr; gap: 6px 28px; padding: 17px 26px; transition: background .2s; }
.glance > div + div { border-top: 1px solid var(--line); }
.glance > div:hover { background: #fafcfe; }
.glance dt { padding-top: 3px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.glance dd { margin: 0; font-weight: 600; color: var(--ink); }
.glance dd small { display: block; margin-top: 3px; font-size: .9rem; font-weight: 500; color: var(--text); }
.glance a { color: var(--blue-deep); text-decoration: underline; text-decoration-color: rgba(10, 138, 214, .35); text-underline-offset: 3px; }

/* Numbered principles on a dark section */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); border-top: 1px solid rgba(255, 255, 255, .14); }
.principles li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.principles b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--green); }
.principles h3 { font-size: 1.16rem; }
.principles p { grid-column: 2; font-size: .94rem; }

/* Documents and small labelled items */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.doc:hover { border-color: #bfdcf0; box-shadow: var(--shadow); }
.doc .icon { margin-top: 2px; color: var(--blue-deep); }
.doc strong { display: block; font-size: .98rem; line-height: 1.35; color: var(--ink); }
.doc span { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.callout { display: flex; gap: 14px; margin-top: 22px; padding: 16px 20px; border: 1px solid #cfe3f2; border-radius: 18px; background: #f1f8fd; font-size: .92rem; color: var(--ink); }
.callout .icon { margin-top: 2px; color: var(--blue-deep); }
.callout a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Two blocks side by side */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.pd-block h3 { font-size: 1.3rem; margin-bottom: 16px; }
.pd-block h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); }
.pd-block > p { font-size: .94rem; margin-bottom: 16px; }
.pd-dark { background: var(--ink); border-color: var(--ink); color: #b7c7d7; }
.pd-dark h3 { color: #fff; }
.pd-dark h3 em { color: #8fd3ff; }
.pd-dark .use-list { color: #fff; font-weight: 500; }
.pd-dark .use-list .icon { color: var(--green); }

/* Contact: one-tap actions */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.quick:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bfdcf0; }
.quick .feature-icon { margin: 0; }
.quick small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quick strong { display: block; font-size: 1.04rem; color: var(--ink); overflow-wrap: anywhere; }
.quick-wa .feature-icon { background: #e7f9ee; color: #128c4b; }
.quick-band { padding-block: 22px; border-bottom: 1px solid var(--line); }

/* People: compact list of names and roles */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.people li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.people .avatar { width: 48px; height: 48px; font-size: .9rem; }
.people strong { display: block; line-height: 1.3; color: var(--ink); }
.people small { display: block; font-size: .84rem; color: var(--blue-deep); font-weight: 600; }

@media (max-width: 1100px) {
    .doc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .page-hero-split > .container { grid-template-columns: 1fr; align-items: start; }
    .hero-facts { max-width: 560px; }
    .principles, .duo { grid-template-columns: 1fr; }
    .quick-grid, .people { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .glance > div { grid-template-columns: 1fr; padding: 15px 20px; }
}
@media (max-width: 640px) {
    .subnav { top: 72px; }
    .subnav span { display: none; }
    .doc-grid, .quick-grid, .people { grid-template-columns: 1fr; }
    .hero-facts li { padding: 18px; }
}
/* Keep the hero columns and the "on this page" list from widening a narrow screen */
.page-hero-split > .container > * { min-width: 0; }
.subnav ul { min-width: 0; flex: 1; }

/* Site search: a live search box in the header, before the buttons; matches list under it as you type (main.js).
   The /search page is only the fallback when JavaScript is off. */
.nav-search { position: relative; flex: none; width: 190px; height: 42px; margin-left: 8px; }
.nav-search-field { position: absolute; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 9px; width: 100%; height: 42px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); cursor: text; transition: width .35s var(--ease), border-color .2s, box-shadow .2s; }
.nav-search:focus-within .nav-search-field { width: 340px; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 138, 214, .14); color: var(--blue-deep); }
.nav-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 .88rem var(--sans); color: var(--ink); }
.nav-search input::placeholder { color: var(--muted); font-weight: 500; }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search kbd { flex: none; padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--mist); font: 700 .7rem var(--sans); color: var(--muted); }
.nav-search:focus-within kbd { display: none; }
.suggest { position: absolute; right: 0; top: calc(100% + 10px); z-index: 3; width: 440px; max-height: min(70vh, 540px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); animation: chat-in .2s var(--ease); }
.suggest[hidden] { display: none; }
.suggest-head { padding: 8px 10px 6px; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; transition: background .15s; }
.suggest a:hover, .suggest a.is-on { background: var(--mist); }
.suggest-thumb { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--blue-deep); overflow: hidden; }
.suggest-thumb img { width: 100%; height: 100%; object-fit: contain; }
.suggest a span { flex: 1; min-width: 0; }
.suggest strong { display: block; font-size: .92rem; line-height: 1.3; color: var(--ink); }
.suggest small { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); }
.suggest a > .icon { flex: none; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .3s var(--ease); }
.suggest a:hover > .icon, .suggest a.is-on > .icon { opacity: 1; transform: none; }
.suggest p { padding: 14px 12px; font-size: .92rem; color: var(--text); }
.suggest p a { display: inline; padding: 0; color: var(--blue-deep); font-weight: 700; text-decoration: underline; }
.suggest-terms { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 10px; }
.suggest-terms button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); font: 600 .82rem var(--sans); color: var(--ink); cursor: pointer; }
.suggest-terms button:hover { border-color: var(--blue); color: var(--blue-deep); }
/* Results page (no-JavaScript fallback) */
.search-lg { width: min(760px, 100%); height: 60px; padding: 0 8px 0 22px; justify-self: start; }
.search-lg input { font-size: 1.02rem; }
.search-lg .btn { flex: none; padding: 12px 22px; }
.search-hero .search-lg { margin-top: 26px; box-shadow: var(--shadow); }
.search-popular { margin-top: 18px; align-items: center; }
.search-popular li { background: #fff; }
.tag-list .search-popular-label { padding-left: 0; border: 0; background: none; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 961px) and (max-width: 1340px) {
    .nav-search { width: 42px; margin-left: 4px; }
    .nav-search-field { padding: 0 11px; }
    .nav-search kbd { display: none; }
    .nav-search:not(:focus-within) input { width: 0; flex: 0; }
}
@media (max-width: 960px) {
    .nav-search { order: -1; width: 100%; height: auto; margin: 0 0 12px; }
    .nav-search-field, .nav-search:focus-within .nav-search-field { position: static; width: 100%; height: 52px; padding: 0 18px; }
    .nav-search input { font-size: 16px; }
    .nav-search kbd { display: none; }
    .suggest { position: static; width: 100%; max-height: none; margin-top: 8px; box-shadow: none; animation: none; }
}
/* Mobile menu: the header's blur makes it the anchor for the panel, so hang the panel from the header's bottom edge
   (with the old viewport-based offsets it collapsed to a strip in Chromium). */
@media (max-width: 960px) {
    .main-nav { position: absolute; inset: 100% 0 auto 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
    .main-nav { inset: 100% 0 auto 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); }
}
/* Studio photos have their own backdrop, so they fill the tile edge to edge instead of floating on white */
.pd-media.pd-photo, .pd-media:has(img[src*="-studio."]) { padding: 0; overflow: hidden; }
.pd-media.pd-photo img, .pd-media:not(.pd-photo) img[src*="-studio."] { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pd-media:has(img[src*="-studio."]) .pd-no { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); font-size: 1rem; }
.product-media:has(img[src*="-studio."]) { padding: 0; }
.product-media img[src*="-studio."] { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pd-enquire-thumb:has(img[src*="-studio."]) { padding: 0; }
.pd-enquire-thumb img[src*="-studio."], .suggest-thumb img[src*="-studio."] { width: 100%; height: 100%; object-fit: cover; }
.cat-row-media img[src*="-studio."] { max-height: none; object-fit: cover; mix-blend-mode: normal; padding: 0; }

/* ============ Mobile web app view ============
   Phones and tablets get an app layout: a tab bar at the bottom, call and quote in the header, swipeable card rows,
   and room for the phone's notch and home indicator. Desktop is unchanged. */
@view-transition { navigation: auto; }
html { -webkit-tap-highlight-color: transparent; }
.tabbar, .header-actions, .pd-sticky { display: none; }
.icon-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); }
.icon-btn-wa { border-color: #25d366; background: #25d366; color: #fff; }
.btn:active, .icon-btn:active, .chips button:active { transform: scale(.96); }

@media (max-width: 960px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .nav-toggle { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; }
    .nav-toggle .icon { width: 20px; height: 20px; }
    .nav-open .nav-toggle { border-color: var(--ink); background: var(--ink); color: #fff; }
    .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
    .header-inner { gap: 8px; }
    .header-inner { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
    .main-nav { padding-bottom: calc(110px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
    .main-nav .nav-cta { display: none; }

    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: repeat(5, 1fr);
        padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
        background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
        border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(11, 34, 57, .4);
    }
    .tabbar a, .tabbar button {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 52px;
        border: 0; border-radius: 14px; background: none; font: 700 .66rem/1 var(--sans); letter-spacing: .02em; color: var(--muted); cursor: pointer;
        transition: color .2s, transform .15s;
    }
    .tabbar a:active, .tabbar button:active { transform: scale(.92); }
    .tabbar i { display: grid; }
    .tabbar .is-on, .nav-open .tabbar [data-tab-menu] { color: var(--blue-deep); }
    .tabbar .is-on::before, .nav-open .tabbar [data-tab-menu]::before { content: ""; position: absolute; top: -6px; width: 30px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
    .nav-open .tabbar .is-on:not([data-tab-menu]) { color: var(--muted); }
    .nav-open .tabbar .is-on:not([data-tab-menu])::before { display: none; }
    .tabbar .shut, .nav-open .tabbar .open { display: none; }
    .nav-open .tabbar .shut { display: grid; }
    .tabbar .list-count { position: absolute; top: 3px; left: calc(50% + 5px); min-width: 18px; height: 18px; padding: 0 5px; font-size: .62rem; box-shadow: 0 0 0 2px #fff; }
    .tabbar .list-count:not(.has) { display: none; }

    /* Floating buttons and the chat sit above the tab bar */
    .wa-float { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
    .to-top { right: 17px; bottom: calc(142px + env(safe-area-inset-bottom)); }
    .chat { right: 12px; bottom: calc(142px + env(safe-area-inset-bottom)); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px - env(safe-area-inset-bottom)); }
    .drawer-panel footer { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
    .quote-panel { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

    /* Product page: the main actions stay above the tab bar */
    .pd-sticky {
        position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 110; display: flex; align-items: center; gap: 10px;
        padding: 10px 14px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    }
    .pd-sticky div { flex: 1; min-width: 0; }
    .pd-sticky small { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
    .pd-sticky strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .92rem; color: var(--ink); }
    body:has(.pd-sticky) { padding-bottom: calc(126px + env(safe-area-inset-bottom)); }
    body:has(.pd-sticky) .wa-float { display: none; }
    body:has(.pd-sticky) .to-top { bottom: calc(138px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
    .topbar { display: none; }
    .header-inner { height: 64px; }
    .brand img { height: 44px; }
    .main-nav { height: calc(100vh - 64px); height: calc(100dvh - 64px); }
    .subnav { top: 64px; }
    .chat { height: calc(100vh - 220px); height: calc(100dvh - 220px - env(safe-area-inset-bottom)); }

    /* Card rows become swipeable: the next card peeks in from the right */
    .feature-grid, .feature-grid-4, .steps, .serve-grid, .serve-grid-5, .badge-grid, .fp-grid, .post-grid-3, .team-grid, .cert-grid {
        display: flex; gap: 12px; margin-inline: -18px; padding: 6px 18px 16px; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .feature-grid::-webkit-scrollbar, .steps::-webkit-scrollbar, .serve-grid::-webkit-scrollbar, .badge-grid::-webkit-scrollbar, .fp-grid::-webkit-scrollbar, .post-grid-3::-webkit-scrollbar, .team-grid::-webkit-scrollbar, .cert-grid::-webkit-scrollbar { display: none; }
    .feature-grid > *, .steps > *, .fp-grid > *, .post-grid-3 > *, .team-grid > *, .cert-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
    .serve-grid > *, .badge-grid > * { flex: 0 0 62%; scroll-snap-align: start; }
    .team-card { height: auto; }
    /* Cards in a swipe row appear with the row rather than one by one */
    .js .feature-grid > .reveal, .js .steps > .reveal, .js .serve-grid > .reveal, .js .badge-grid > .reveal, .js .fp-grid > .reveal, .js .post-grid-3 > .reveal, .js .team-grid > .reveal, .js .cert-grid > .reveal { opacity: 1; transform: none; }

    .section-head { margin-bottom: 18px; }
    .hero-facts { max-width: none; }
    .quick-band { padding-block: 14px; }
    .quick-grid { gap: 10px; }
    .quick { padding: 14px 16px; }
    .cta-inner { gap: 22px; }
}

/* Opened from the home screen: no browser bars, so keep content clear of the status bar */
@media (display-mode: standalone) {
    .site-header { padding-top: env(safe-area-inset-top); }
    .topbar { display: none; }
}
/* The tab bar already has Enquiry, so the menu panel does not repeat it */
@media (max-width: 960px) {
    .main-nav .list-btn { display: none; }
}
/* Very narrow phones: the call button gives way so logo, quote and menu fit on one line */
@media (max-width: 370px) {
    .header-actions .icon-btn { display: none; }
}
