/*
 * GodParticles — the WordPress layer.
 *
 * style.css is the approved design, ported verbatim. Everything WordPress needs that the static
 * prototype had no equivalent for lives here: the sticky header shell, the hero slider, the
 * reach map layers, core block classes, archives, single templates, the enquiry modal and the
 * captcha field. Keep that split — it is what makes a design change easy to re-port.
 */

/* ================================================================== Base */

/*
 * The hidden attribute must win over any author display rule.
 *
 * The browser's own `[hidden] { display: none }` lives in the UA stylesheet, which every author
 * rule outranks — so `.gp-modal { display: grid }` silently defeated `<div class="gp-modal"
 * hidden>`. The modal is `position: fixed; inset: 0; z-index: 100`, so it stayed laid out over the
 * whole viewport at `opacity: 0`: invisible, but still the top hit-test target. Nothing on any page
 * could be clicked — not the header, not the mega menu, not the hero buttons.
 *
 * Opacity does not disable pointer events, which is what made it look like a JavaScript failure
 * rather than a CSS one.
 *
 * Every toggle in this theme uses the `hidden` property (`el.hidden = false`), never
 * `style.display`, so !important here is safe and is what makes those toggles work.
 */
[hidden] {
    display: none !important;
}

/* ========================================================== Accessibility */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gp-skip-link:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--navy);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/*
 * A fixed header hides whatever an in-page link scrolls to, so every anchor target gets the
 * header's height as scroll margin. scroll-padding-top on the root covers browsers that honour
 * it on the scroll container instead.
 */
html {
    scroll-padding-top: calc(var(--gp-header-h) + 16px);
}

section[id],
.gp-anchor {
    scroll-margin-top: calc(var(--gp-header-h) + 16px);
}

.gp-anchor {
    display: block;
    height: 0;
    overflow: hidden;
}

/* ================================================================= Header */

/*
 * Fixed, not sticky: sticky resolves against the nearest scrolling ancestor, and the design's
 * nav lived inside .hero — so a sticky nav would come unstuck at the hero's 700px bottom edge.
 *
 * .site-header__inner recreates the prototype's 1440-wide centred box, which is what every
 * .nav child's absolute pixel offset was measured against. Because the header overlays rows
 * 0-100 of an identically sized box, and .hero__inner still starts at document top, the page is
 * pixel-identical at scroll-top with no change to any of those offsets.
 * See PLAN.md section 7.
 */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    height: var(--gp-header-h);
    transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header__inner {
    position: relative;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

/*
 * The 1px sentinel is the first in-flow element on the page (the header is fixed, so out of
 * flow). An IntersectionObserver on it reports the crossing itself, instead of a scroll listener
 * sampling scrollY on every frame.
 */
.site-header-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

/*
 * Over the hero photograph the header is transparent; past the fold it earns a surface.
 *
 * The height goes through --gp-header-h rather than being set directly, because the mega panel
 * is position: fixed and reads that token for its own top offset. Hard-coding 76px here would
 * leave a 24px gap between the condensed header and the panel hanging below it.
 */
.site-header.is-scrolled {
    --gp-header-h: 76px;
    height: var(--gp-header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    box-shadow: var(--shadow);
}

.site-header.is-scrolled .nav {
    height: 76px;
}

.site-header.is-scrolled .nav__logo {
    top: 8px;
    transform: scale(0.88);
    transform-origin: 0 0;
}

.site-header.is-scrolled .nav__links {
    top: 28px;
}

.site-header.is-scrolled .nav__cta {
    top: 18px;
}

.nav__logo,
.nav__links,
.nav__cta {
    transition: top 0.3s ease, transform 0.3s ease;
}

/* ---------------------------------------------------------- mobile drawer */

.nav__drawer {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    background: rgba(6, 35, 63, 0.55);
}

.nav__drawer {
    backdrop-filter: blur(2px);
}

.nav__drawer-panel {
    position: absolute;
    inset: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    width: min(380px, 86vw);
    padding: 0 24px 32px;
    /*
     * A flat slab reads as a dropped-in list. The gradient plus the gold glow in the top corner
     * tie the panel to the header's navy and the gold accent the footer headings already use.
     */
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(197, 154, 74, 0.22) 0%, rgba(197, 154, 74, 0) 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--deep) 55%);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------- drawer brand bar */

.nav__drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* Pulled full-bleed so the blur sits edge to edge while the rows keep the 24px gutter. */
    margin: 0 -24px 8px;
    padding: 14px 20px 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 35, 63, 0.82);
    backdrop-filter: blur(8px);
}

.nav__drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.nav__drawer-brand img {
    width: 38px;
    height: 43px;
    flex: none;
}

.nav__drawer-brand span {
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav__drawer-close {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nav__drawer-close:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--deep);
    transform: rotate(90deg);
}

/*
 * Focus lands here the moment the drawer opens, so it must read as "focused", not as "pressed" —
 * a ring rather than the hover fill, or every open looks like the button is already active.
 */
.nav__drawer-close:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.nav__drawer.is-open {
    display: block;
}

.nav__drawer.is-open .nav__drawer-panel {
    transform: translateX(0);
}

body.gp-nav-open {
    overflow: hidden;
}

.nav__drawer-list,
.nav__drawer-sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*
 * Rows fade up in sequence behind the sliding panel. The delay is carried by --gp-i, which the
 * mobile walker sets per item, so the stagger follows the menu rather than a fixed count.
 */
.nav__drawer-item {
    opacity: 0;
    transform: translateX(14px);
}

.nav__drawer.is-open .nav__drawer-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease calc(0.12s + var(--gp-i, 0) * 0.05s),
        transform 0.4s ease calc(0.12s + var(--gp-i, 0) * 0.05s);
}

.nav__drawer-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* The gold marker that grows in on the active row is the same accent the footer headings use. */
.nav__drawer-row::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 0 2px 2px 0;
    background: var(--gold);
    transform: translateY(-50%);
    transition: height 0.25s ease;
}

.nav__drawer-row:hover::before,
.nav__drawer-row:focus-within::before,
.nav__drawer-item.is-current>.nav__drawer-row::before {
    height: 26px;
}

.nav__drawer-row a {
    display: block;
    flex: 1;
    padding: 15px 0;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav__drawer-row a:hover,
.nav__drawer-row a.is-active {
    color: var(--gold);
    transform: translateX(3px);
}

.nav__drawer-toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.nav__drawer-item.is-open .nav__drawer-toggle {
    transform: rotate(180deg);
}

.nav__drawer-sub {
    padding: 4px 0 10px 12px;
}

.nav__drawer-sub-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.nav__drawer-sub-link:hover {
    color: var(--gold);
}

.nav__drawer-cta {
    width: 100%;
    margin-top: 26px;
    justify-content: center;
}

/* ------------------------------------------------------- drawer footer */

.nav__drawer-foot {
    margin-top: auto;
    padding-top: 26px;
}

.nav__drawer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.nav__drawer-contact:hover {
    color: var(--gold);
}

.nav__drawer-contact>span {
    display: grid;
    place-items: center;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
}

.nav__drawer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav__drawer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav__drawer-social a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--deep);
}

/* ============================================================ Hero slider */

/*
 * The design's hero is one panel. With the slider, each slide becomes the background carrier —
 * the active one stays in flow so it drives the hero's height, and the rest are absolute and
 * faded out. A crossfade, not a slide: the hero's copy is absolutely positioned inside the 1440
 * coordinate box, so translating a slide would drag that box and break every measured offset.
 */
.hero {
    background: none;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 81.5%, #fff 100%),
        var(--gp-hero-image) center / cover no-repeat;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

/*
 * The active slide stays ABSOLUTE like the others — it must not become position: relative.
 *
 * The design positions everything inside the hero absolutely (.hero__copy at top: 148px,
 * .stats at top: 611px), so a relatively positioned slide has no in-flow content and collapses
 * to zero height. The background then has no box to paint on and the hero renders plain white,
 * which reads as a missing image rather than a layout fault. .hero carries the 700px height,
 * so inset: 0 gives every slide exactly that box to fill.
 *
 * z-index puts the active slide above its siblings while all of them remain stacked.
 */
.hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

/*
 * Hero furniture: the stats bar, which belongs to the hero rather than to any one slide.
 *
 * Stacked above the slides so it stays put while they cross-fade beneath it, and transparent to
 * the pointer so a full-bleed layer cannot shadow the slider arrows or the hero buttons. The bar
 * itself takes pointer events back, because it is readable content.
 */
.hero__furniture {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero__furniture .stats {
    pointer-events: auto;
}

.hero--slider {
    position: relative;
}

.hero__nav {
    position: absolute;
    right: 120px;
    bottom: 120px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(20, 31, 95, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: var(--navy);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.hero__arrow:hover {
    background: var(--navy);
    color: #fff;
}

.hero__arrow--prev .ico {
    transform: rotate(180deg);
}

.hero__dots {
    display: flex;
    gap: 7px;
}

.hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 31, 95, 0.28);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.hero__dot.is-on {
    width: 22px;
    border-radius: 5px;
    background: var(--rust);
}

/* ------------------------------------------- hero copy over a slide image */

/*
 * Keeping the copy readable on an arbitrary slide photograph.
 *
 * The design's hero type is near-black on one pale stock image. Slides are editor-supplied and
 * the background is `cover`, so the crop moves at every breakpoint: the same headline that sits
 * on a bright wall at 1440 can land on a dark instrument tray at 900, where black-on-dark is
 * unreadable. Nobody can hand-place copy against that.
 *
 * So the glyphs carry their own contrast — a halo in the opposite tone to the text. The four
 * hairline offsets trace an outline tight to the letterforms and the two wider blurs push it out
 * into busy detail. Over the pale areas the design intends, the halo is invisible; over a dark
 * region it reads as a soft backlight that separates the type without tinting it.
 *
 * text-shadow rather than -webkit-text-stroke with paint-order: where paint-order is not
 * supported the stroke paints OVER the fill and visibly thins the type, which trades a problem
 * that happens on some images for one that happens on every browser that lacks it.
 *
 * --gp-hero-halo is the single knob. A slide that ever needs light text on a dark image flips
 * this to a dark value and the whole treatment inverts with it.
 */
.hero__slide,
.hero__furniture {
    --gp-hero-halo: rgba(255, 255, 255, 0.72);
}

/*
 * Body sizes get stacked tight blurs rather than hard offsets. A 1px outline is 1/18 of an 18px
 * lead but only 1/50 of the headline, so the same outline that looks deliberate on display type
 * closes up the counters at body size and reads as outlined lettering. Repeating a small blur
 * builds the same density against the glyph edge without ever drawing an edge of its own.
 */
.hero__slide .eyebrow {
    text-shadow:
        0 0 2px var(--gp-hero-halo),
        0 0 2px var(--gp-hero-halo),
        0 0 6px var(--gp-hero-halo),
        0 0 12px var(--gp-hero-halo);
}

/* The rule is a background, not text, so no text-shadow would reach it. */
.hero__slide .eyebrow::before {
    box-shadow: 0 0 6px 1px var(--gp-hero-halo);
}

/* Display size: here a hairline outline is in proportion, and holds the letterforms crisp. */
.hero__title {
    text-shadow:
        -1px -1px 0 var(--gp-hero-halo),
        1px -1px 0 var(--gp-hero-halo),
        -1px 1px 0 var(--gp-hero-halo),
        1px 1px 0 var(--gp-hero-halo),
        0 0 12px var(--gp-hero-halo),
        0 0 28px var(--gp-hero-halo);
}

.hero__lead {
    text-shadow:
        0 0 2px var(--gp-hero-halo),
        0 0 2px var(--gp-hero-halo),
        0 0 7px var(--gp-hero-halo),
        0 0 16px var(--gp-hero-halo);
}

/*
 * The stats bar sits at 87% of the hero's height, inside the gradient's transparent-to-white
 * fade — which is only part-way to white there, so it is still reading against the photograph.
 */
.hero__furniture .stat strong,
.hero__furniture .stat small {
    text-shadow:
        0 0 2px var(--gp-hero-halo),
        0 0 2px var(--gp-hero-halo),
        0 0 6px var(--gp-hero-halo);
}

/*
 * Below 1320px the stats leave the image for the footer of the hero, which is flat white — the
 * halo has nothing to do there and only softens the labels.
 */
@media (max-width: 1320px) {

    .hero__furniture .stat strong,
    .hero__furniture .stat small {
        text-shadow: none;
    }
}

/* ============================================================= Reach lines */

/*
 * The map moves from a CSS background to an <img> so the SVG overlay can share its coordinate
 * space — a background-image cannot be coordinate-mapped. object-fit: cover here and
 * preserveAspectRatio="xMidYMid slice" on the SVG crop identically, which is what keeps a
 * plotted point over its city at every viewport width.
 */
.reach__map,
.reach__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.reach__map {
    object-fit: cover;
    object-position: center;
}

.reach__lines {
    pointer-events: none;
}

.reach__content {
    position: relative;
    z-index: 2;
}

/* ============================================================== Strengths */

.tile {
    transition: box-shadow 0.3s ease, filter 0.3s ease;
}

/* Dim the siblings of whichever tile is engaged, so attention follows the pointer. */
.grid4.is-engaged .tile:not(.is-active) {
    filter: saturate(0.6) brightness(0.98);
}

.tile.is-active {
    box-shadow: 0 18px 36px -18px rgba(6, 35, 63, 0.4);
}

.tile__icon {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tile.is-active .tile__icon {
    background: var(--navy);
    color: #fff;
}

.grid4__img {
    will-change: transform;
}

/* ================================================================== Cards */

/*
 * .card__inner exists so three things can animate a card without colliding: the carousel
 * measures .card, the scroll reveal animates .card's y and opacity, and the hover lift animates
 * .card__inner. GSAP writes one transform per element. See PLAN.md section 8.
 */
.card__inner {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    border-radius: inherit;
    background: inherit;
}

.card__img-link {
    display: block;
}

.card__title a {
    color: inherit;
    text-decoration: none;
}

.card__title a:hover {
    color: var(--rust-dark);
}

/* A quiet secondary action, so the primary card link keeps its emphasis. */
.card__enquire {
    align-self: flex-start;
    margin-top: 10px;
    padding: 7px 14px;
    border: 1px solid rgba(20, 31, 95, 0.22);
    border-radius: 6px;
    background: transparent;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.card__enquire:hover,
.card__enquire:focus-visible {
    border-color: transparent;
    background: var(--grad-blue);
    color: #fff;
}

/* ================================================================== Forms */

.form__notice {
    margin: 16px 14px 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 20px;
}

.form__notice--success {
    background: rgba(6, 86, 25, 0.08);
    color: var(--green);
}

.form__notice--error {
    background: rgba(168, 69, 9, 0.08);
    color: var(--rust-dark);
}

.field--captcha {
    display: block;
}

.field__captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.field__captcha-img {
    flex: none;
    border: 1px solid #D6E0E4;
    border-radius: 8px;
}

.field--captcha input {
    width: 120px;
    height: 45.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.field__captcha-refresh {
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    color: var(--green);
}

.field__help {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 17px;
    color: var(--body);
}

/*
 * The honeypot has to be in the DOM and submittable, but invisible to people and to assistive
 * technology — hence both the clipping and aria-hidden on the wrapper in the template. display:
 * none is avoided because some bots skip hidden inputs, which would defeat the point.
 */
.field__honeypot {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ================================================================== Modal */

.gp-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.28s ease;
    overflow-y: auto;
}

.gp-modal.is-open {
    opacity: 1;
}

.gp-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 35, 63, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.gp-modal__dialog {
    position: relative;
    width: min(700px, 100%);
    transform: translateY(14px) scale(0.985);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.gp-modal.is-open .gp-modal__dialog {
    transform: translateY(0) scale(1);
}

.gp-modal__dialog .form {
    width: 100%;
    min-height: 0;
}

.gp-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
}

body.gp-modal-open {
    overflow: hidden;
}

/* ============================================================ Inner pages */

/*
 * Inner pages are not individually art-directed. They inherit the design's type scale, its
 * 1440/120 measure, and a dark banner that reuses the footer's --deep ground.
 */
.gp-inner #main {
    padding-top: var(--gp-header-h);
}

.page-hero {
    padding: 56px 0;
    background: var(--sky);
}

.page-hero--dark {
    background: var(--deep);
    color: #fff;
}

.page-hero__title {
    margin-top: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -2.04px;
    color: var(--navy);
}

.page-hero--dark .page-hero__title {
    color: #fff;
}

.page-hero__lead {
    max-width: 680px;
    margin-top: 14px;
    font-size: 16px;
    line-height: 28px;
    color: var(--body);
}

.page-hero--dark .page-hero__lead {
    color: rgba(255, 255, 255, 0.82);
}

.gp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 18px;
    color: var(--body);
}

.gp-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.gp-breadcrumbs a:hover {
    color: var(--rust-dark);
}

.gp-breadcrumbs span[aria-hidden] {
    opacity: 0.5;
}

.page-hero--dark .gp-breadcrumbs {
    color: rgba(255, 255, 255, 0.72);
}

/*
 * Image variant of the band. cover + center so an upload that is not exactly 1920x400 fills it
 * from the middle rather than tiling; no-repeat is belt and braces. The gradient runs left to
 * right because that is where the breadcrumbs and heading sit — it is what keeps them legible
 * over an arbitrary photograph, and why the field help asks for the subject to be kept clear of
 * the left-hand side.
 */
.page-hero--image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.page-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 34, 0.82), rgba(8, 20, 34, 0.45));
}

/* The content has to outrank the overlay, which is a sibling in paint order. */
.page-hero--image .wrap {
    position: relative;
    z-index: 1;
}

.page-hero--image .page-hero__title {
    color: #fff;
}

.page-hero--image .page-hero__lead {
    color: rgba(255, 255, 255, 0.82);
}

.page-hero--image .gp-breadcrumbs {
    color: rgba(255, 255, 255, 0.72);
}

/* ---------------------------------------------------------- page content */

.gp-content {
    padding: 56px 0 72px;
}

.gp-entry {
    max-width: 820px;
    font-size: 16px;
    line-height: 30px;
    color: var(--body);
}

.gp-entry > * + * {
    margin-top: 20px;
}

.gp-entry h2,
.gp-entry h3,
.gp-entry h4 {
    margin-top: 36px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--navy);
}

.gp-entry h2 { font-size: 28px; line-height: 36px; }
.gp-entry h3 { font-size: 22px; line-height: 30px; }
.gp-entry h4 { font-size: 18px; line-height: 26px; }

.gp-entry a {
    color: var(--rust-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gp-entry ul,
.gp-entry ol {
    padding-left: 22px;
    list-style: disc;
}

.gp-entry ol {
    list-style: decimal;
}

.gp-entry li + li {
    margin-top: 8px;
}

.gp-entry blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--gold);
    background: var(--sky);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: var(--navy);
}

.gp-entry img {
    border-radius: 8px;
}

.gp-entry table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gp-entry th,
.gp-entry td {
    padding: 10px 12px;
    border-bottom: 1px solid #E4EBEE;
    text-align: left;
}

.gp-entry th {
    background: var(--sky);
    font-weight: 700;
    color: var(--navy);
}

/* Core block alignment classes. */
.alignleft {
    float: left;
    margin: 6px 24px 18px 0;
}

.alignright {
    float: right;
    margin: 6px 0 18px 24px;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

.alignwide {
    max-width: 1100px;
    margin-inline: auto;
}

.alignfull {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
}

.wp-caption,
figure {
    max-width: 100%;
    margin: 0;
}

.wp-caption-text,
figcaption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 19px;
    color: var(--body);
}

.sticky,
.gallery-caption,
.bypostauthor {
    /* Required by the theme-check suite; no visual treatment needed. */
    display: block;
}

/* ================================================================ Archives */

.gp-archive {
    padding: 48px 0 72px;
}

.gp-archive__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.gp-filters__title {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rust);
}

.gp-filters ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-filters li + li {
    margin-top: 2px;
}

.gp-filters a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.gp-filters a:hover,
.gp-filters a.is-active {
    background: var(--sky);
    color: var(--rust-dark);
}

.gp-filters__count {
    font-size: 11px;
    font-weight: 600;
    color: var(--body);
}

.gp-filters .gp-filters__children {
    padding-left: 12px;
}

.gp-filters .gp-filters__children a {
    font-weight: 400;
    font-size: 13px;
}

/* The archive grid uses the design's card vocabulary, three up like the home carousels. */
.gp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gp-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}

.gp-pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--mist);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
}

.gp-pagination .page-numbers.current,
.gp-pagination .page-numbers:hover {
    background: var(--grad-blue);
    color: #fff;
}

.gp-no-results {
    padding: 48px 0;
    font-size: 16px;
    line-height: 28px;
    color: var(--body);
}

/* ========================================================= Single product */

.gp-product {
    padding: 48px 0 72px;
}

.gp-product__grid {
    display: grid;
    grid-template-columns: minmax(0, 596fr) minmax(0, 560fr);
    gap: 56px;
    align-items: start;
}

.gp-product__media {
    position: sticky;
    top: calc(var(--gp-header-h) + 24px);
}

.gp-product__main {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 596 / 420;
    object-fit: cover;
    background: var(--mist);
    box-shadow: var(--shadow);
}

.gp-product__thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.gp-product__thumbs button {
    width: 78px;
    height: 58px;
    padding: 0;
    border: 1px solid #D6E0E4;
    border-radius: 6px;
    overflow: hidden;
    background: none;
    cursor: pointer;
}

.gp-product__thumbs button.is-on {
    border-color: var(--navy);
}

.gp-product__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-product__code {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 11px;
    border-radius: 5px;
    background: var(--sky);
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--navy);
}

.gp-product__title {
    margin-top: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -1.6px;
    color: var(--navy);
}

.gp-product__lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 29px;
    color: var(--body);
}

.gp-product__specs {
    width: 100%;
    margin-top: 28px;
    border-collapse: collapse;
    font-size: 14px;
}

.gp-product__specs th,
.gp-product__specs td {
    padding: 11px 14px;
    border-bottom: 1px solid #E4EBEE;
    text-align: left;
    vertical-align: top;
}

.gp-product__specs th {
    width: 38%;
    font-weight: 600;
    color: var(--navy);
}

.gp-product__specs td {
    color: var(--body);
}

.gp-product__features {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.gp-product__features li {
    display: grid;
    grid-template-columns: 20px auto;
    gap: 11px;
    align-items: start;
    font-size: 15px;
    line-height: 26px;
    color: var(--body);
}

.gp-product__features li + li {
    margin-top: 8px;
}

.gp-product__features svg {
    margin-top: 5px;
    color: var(--green);
}

.gp-product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.gp-product__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.gp-product__chips a {
    padding: 6px 13px;
    border-radius: 20px;
    background: var(--mist);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
}

.gp-product__chips a:hover {
    background: var(--steel);
}

.gp-related {
    padding: 56px 0 72px;
    background: var(--sky);
}

/* =============================================================== Gallery */

.gp-gallery-page {
    padding: 48px 0 72px;
}

.gp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gp-gallery-grid figure {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.gp-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gp-gallery-grid figure:hover img {
    transform: scale(1.06);
}

/* ============================================================ Search, 404 */

.gp-search-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
}

.gp-search-form input[type="search"] {
    flex: 1;
    height: 45.5px;
    padding: 12px 13px;
    border: 1px solid #D6E0E4;
    border-radius: 8px;
    background: var(--mist);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: #000;
}

.gp-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-results li {
    padding: 22px 0;
    border-bottom: 1px solid #E4EBEE;
}

.gp-results h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: -0.8px;
}

.gp-results h2 a {
    color: var(--navy);
    text-decoration: none;
}

.gp-results h2 a:hover {
    color: var(--rust-dark);
}

.gp-results p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 25px;
    color: var(--body);
}

/* What kind of thing a result is. A pill rather than a line of text, borrowing the
   .gp-product__chips treatment so a product reads the same way in both places. */
.gp-results__type {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--sky);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    line-height: 18px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--navy);
}

.gp-404 {
    padding: 96px 0;
    text-align: center;
}

.gp-404__code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 96px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -6px;
    color: var(--steel);
}

/* ============================================================== Comments */

.gp-comments {
    max-width: 820px;
    padding-bottom: 72px;
}

.gp-comments .comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-comments .comment-list ul.children {
    padding-left: 24px;
    list-style: none;
}

.gp-comments li.comment {
    padding: 18px 0;
    border-bottom: 1px solid #E4EBEE;
}

/* ============================================================ RESPONSIVE */

@media (max-width: 1320px) {
    /*
     * Below 1320px the design drops the hero's fixed 700px box (style.css gives it height: auto
     * and lets .hero__inner flow as a column). The slides cannot stay absolute through that:
     * with every slide out of flow the hero keeps no in-flow content, collapses to zero height,
     * and the section below paints straight over the hero copy.
     *
     * Stacking the slides in a single grid cell keeps everything the absolute version bought —
     * the slides still overlap, so opacity still cross-fades them — while the tallest slide now
     * gives the hero a real height. Because the height is the max of all slides it also does not
     * jump as the slider advances.
     */
    .hero {
        display: grid;
    }

    .hero__slide {
        position: relative;
        inset: auto;
        grid-area: 1 / 1;
    }

    /*
     * The stats bar rides in .hero__furniture, which is absolute so it can sit still above the
     * cross-fade. Once the hero is in flow that same absolute box floats back over the hero copy,
     * so below 1320px the furniture becomes the grid row after the slides and the stats simply
     * follow the buttons. Its .hero__inner must drop the column padding the design adds for the
     * copy, or the bar starts 100px below the slide.
     */
    .hero__furniture {
        position: static;
        grid-area: 2 / 1;
        pointer-events: auto;
    }

    .hero__furniture .hero__inner {
        padding-top: 0;
    }

    /* The hero's gradient fades to #fff at its foot, so the design's white hairlines vanish
       against it once the bar is off the image. The design's fixed 89px row also has to give:
       off the 1440 grid the labels wrap, and a fixed height clips the second line. */
    .stat {
        height: auto;
        min-height: 89px;
        border-top-color: rgba(20, 31, 95, 0.14);
    }

    .stat+.stat {
        border-left-color: rgba(20, 31, 95, 0.14);
    }

    /*
     * Keep the slider controls on the slide rather than letting them fall to the bottom of a hero
     * that now also contains the stats bar. Grid items honour z-index without being positioned.
     */
    .hero__nav {
        position: static;
        grid-area: 1 / 1;
        align-self: end;
        justify-self: end;
        margin: 0 48px 32px;
    }
}

@media (max-width: 1180px) {
    .gp-archive__layout {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 32px;
    }

    .gp-product__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .gp-product__media {
        position: static;
    }
}

@media (max-width: 1000px) {
    /*
     * Below the drawer breakpoint the design's own nav rules take over: a static flex row with
     * no backdrop. A transparent fixed overlay would be illegible there, so the header becomes
     * sticky and opaque, and the hero stops reserving space for a header that is now in flow.
     */
    .site-header {
        position: sticky;
        height: auto;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .site-header__inner {
        height: auto;
        padding: 0 24px 16px;
    }

    .site-header.is-scrolled {
        height: auto;
        box-shadow: var(--shadow);
    }

    .site-header.is-scrolled .nav,
    .site-header.is-scrolled .nav__logo,
    .site-header.is-scrolled .nav__links,
    .site-header.is-scrolled .nav__cta {
        height: auto;
        top: auto;
        transform: none;
    }

    .hero__inner {
        padding-top: 24px;
    }

    .gp-inner #main {
        padding-top: 0;
    }

    html {
        scroll-padding-top: 16px;
    }

    section[id],
    .gp-anchor {
        scroll-margin-top: 16px;
    }

    /* The drawer replaces the design's full-screen .nav__links panel. */
    .nav__links {
        display: none;
    }

    .hero__nav {
        margin: 0 24px 24px;
    }

    .gp-archive__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .gp-filters ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .gp-filters .gp-filters__children {
        display: none;
    }

    .gp-modal__close {
        top: 6px;
        right: 6px;
    }
}

@media (max-width: 640px) {
    .page-hero__title {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -1.4px;
    }

    .gp-product__title {
        font-size: 26px;
        line-height: 34px;
        letter-spacing: -1.2px;
    }

    .gp-404__code {
        font-size: 64px;
        letter-spacing: -4px;
    }

    .field--captcha input {
        width: 100%;
    }

    /*
     * The buttons go full width here, so they reach the foot of the slide and leave no corner for
     * the controls to sit in. Below 640px they get their own row between the copy and the stats
     * instead of floating over the image.
     */
    .hero__nav {
        grid-area: 2 / 1;
        align-self: auto;
        justify-self: center;
        margin: 20px 0 0;
    }

    .hero__furniture {
        grid-area: 3 / 1;
    }
}

/* ======================================================== Reduced motion */

@media (prefers-reduced-motion: reduce) {
    /*
     * Transitions, not just the GSAP suite: the hero crossfade and the header's height change
     * are motion too. Everything still reaches its final state, instantly.
     */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================ Back to top */

/*
 * One viewport tall, pinned to the top of the document and completely inert. Its only job is to
 * give the IntersectionObserver something to stop intersecting once the reader is past the first
 * fold. position: absolute keeps it out of flow so it adds no height.
 */
.gp-fold-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100vh;
    pointer-events: none;
    visibility: hidden;
}

/*
 * Hidden with visibility rather than display, so it can transition in — and so it leaves the tab
 * order while hidden, which display:none and opacity:0 handle differently. The [hidden] base rule
 * is deliberately not used here: that one is for controls that must be gone, not animated.
 *
 * z-index sits below the modal (100) and the header (90): a back-to-top button must never cover
 * the navigation or an open dialog.
 */
/*
 * The anchored column both floating controls live in. Positioning moved here from the buttons
 * themselves, so adding WhatsApp alongside back-to-top could not land one on top of the other.
 *
 * The column ignores the pointer — otherwise the empty gap between the two buttons would sit over
 * the page and swallow clicks on whatever is behind it — and each button takes it back.
 */
.gp-fabs {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.gp-fabs>* {
    pointer-events: auto;
}

.gp-to-top {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: var(--grad-blue, linear-gradient(135deg, #141F5F 0%, #2940C5 50%));
    box-shadow: 0 10px 26px -8px rgba(6, 35, 63, 0.45);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s, box-shadow 0.3s ease;
}

.gp-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.gp-to-top:hover {
    box-shadow: 0 14px 30px -8px rgba(6, 35, 63, 0.6);
    transform: translateY(-2px);
}

.gp-to-top:focus-visible {
    outline: 2px solid var(--rust, #A84509);
    outline-offset: 3px;
}

.gp-to-top .ico {
    width: 20px;
    height: 20px;
}

/* Clear of the slider arrows and thumb-friendly on a phone. */
@media (max-width: 1000px) {
    .gp-fabs {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .gp-to-top {
        width: 42px;
        height: 42px;
    }
}

/* ---------------------------------------------------- floating WhatsApp */

/*
 * Always present, not revealed on scroll like back-to-top: it is a way to reach the company, and
 * that should not depend on how far down the page someone happens to be.
 */
.gp-wa {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    /* WhatsApp brand green. Deliberately not a theme token — recognising the mark is the point. */
    background: #25D366;
    box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(0, 0, 0, 0.18);
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gp-wa:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.7), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gp-wa:focus-visible {
    outline: 3px solid #128C7E;
    outline-offset: 3px;
}

.gp-wa__ico {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
}

/* A slow halo, so the button reads as live without ever moving the layout. */
.gp-wa__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.55;
    animation: gp-wa-pulse 2.6s ease-out infinite;
}

@keyframes gp-wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    /* A halo that never stops is exactly what this preference is asking to be rid of. */
    .gp-wa__pulse {
        animation: none;
        opacity: 0;
    }

    .gp-wa:hover {
        transform: none;
    }

    .gp-to-top {
        transition: opacity 0.01ms linear, visibility 0s;
        transform: none;
    }

    .gp-to-top:hover {
        transform: none;
    }
}

/* ========================================================= Phone thumb bar */

/*
 * A fixed bottom bar on phones held upright: Home, Products, Contact and the enquiry modal.
 *
 * Gated on orientation as well as width. Width alone would very nearly do it — a phone turned
 * sideways is wider than 640px — but the point of the bar is that it sits in the thumb's arc on a
 * tall screen, and that is only true in portrait. In landscape a phone has a few hundred pixels
 * of height to spend and a permanent 60px band is a real cost, so it is simply not shown.
 *
 * The markup is always printed (see footer.php): a cached page cannot know which viewport it will
 * be replayed into, so this has to be a client-side decision.
 */
.gp-thumbbar {
    display: none;
}

@media (max-width: 640px) and (orientation: portrait) {

    .gp-thumbbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        /*
         * Below the drawer (95) and the modal (100), so both still cover it, but above the page
         * and the back-to-top button (80).
         */
        z-index: 85;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* The inset keeps the row clear of the iOS home indicator without padding every phone. */
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
        box-shadow: 0 -8px 24px rgba(6, 35, 63, 0.3);
    }

    /*
     * The bar is fixed, so it is out of flow and would otherwise sit on top of the last of the
     * footer. The space is reserved on the footer rather than on the body for two reasons: the
     * footer is the last element on every page, so it is equivalent; and the strip then inherits
     * the footer's own black instead of showing the body's white behind the bar.
     *
     * It must NOT be done by colouring the body. The hero's stats bar has no background of its
     * own and reads against whatever is behind it — a black body turned those labels navy-on-black
     * and black-on-black.
     */
    .footer {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    }

    .gp-thumbbar__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        /* 50px tall plus the bar padding clears the 44px minimum target comfortably. */
        min-height: 50px;
        padding: 4px 2px;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
        transition: color 0.2s ease, background-color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .gp-thumbbar__icon {
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
    }

    .gp-thumbbar__label {
        font-size: 10px;
        line-height: 13px;
        font-weight: 600;
        letter-spacing: 0.2px;
    }

    .gp-thumbbar__item.is-current {
        color: var(--gold);
        background: rgba(255, 255, 255, 0.07);
    }

    .gp-thumbbar__item:active {
        background: rgba(255, 255, 255, 0.12);
    }

    .gp-thumbbar__item:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: -2px;
    }

    /* The fourth slot is the bar's primary action, so it is the one that carries a fill. */
    .gp-thumbbar__item--cta .gp-thumbbar__label {
        font-weight: 700;
    }

    /* WhatsApp keeps its own green here too — the colour is half of how the mark is recognised. */
    .gp-thumbbar__item--wa {
        color: #fff;
        background: #25D366;
        box-shadow: 0 4px 12px -2px rgba(37, 211, 102, 0.5);
    }

    .gp-thumbbar__item--wa:active {
        background: #1EBE5B;
    }

    /* The enquiry fallback, shown only when no WhatsApp number is set. */
    .gp-thumbbar__item--gold {
        color: var(--deep);
        background: var(--grad-gold, linear-gradient(87.76deg, #F8B74B 0%, #A84509 50%));
        box-shadow: 0 4px 12px -2px rgba(168, 69, 9, 0.45);
    }

    .gp-thumbbar__item--gold:active {
        filter: brightness(1.08);
    }

    /*
     * The bar already carries WhatsApp at this size, so the floating one would be the same
     * control twice on the smallest screen there is.
     */
    .gp-wa {
        display: none;
    }

    /* Lift the floating column clear of the bar instead of letting the two overlap. */
    .gp-fabs {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }
}
