/* Editorial layout shared by the public-facing pages. Map geometry and controls use style.css. */
.home .home-grid {
    min-height: 100vh;
    min-height: var(--page-screen, 100svh);
}
.home .home-copy {
    width: min(100%, 53rem); display: grid; grid-template-columns: minmax(0, 1fr);
    align-items: end; gap: clamp(18px, 1.6vw, 28px);
    padding: 156px 0 clamp(64px, 8vw, 106px);
}
.home .home-copy h1 {
    font-size: var(--type-display); line-height: 1.1;
    letter-spacing: -.025em; font-weight: 500; text-wrap: balance;
}
.home .home-copy .eyebrow { margin-bottom: 17px; font-size: clamp(.78rem, 1vw, .9rem); }
.home .home-copy .eyebrow::before { display: none; }
.home .home-copy .hero-intro { max-width: 37ch; margin: 0; font-size: var(--text-body); }
.home .home-copy .actions { margin-top: 17px; gap: 8px 18px; }
.home .home-copy .button-primary { min-height: 44px; padding: 10px 17px; font-size: var(--text-control); }
.home .home-copy .text-link { font-size: .91rem; }
.home .home-copy .hero-projects-link {
    display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
    margin-left: 0; padding-block: 8px;
    text-decoration: underline; text-underline-offset: .24em;
}
.home .hero-projects-link span { text-decoration: none; }
.home .film::after {
    background: linear-gradient(0deg, rgba(9,24,31,.83), rgba(9,24,31,.59) 27%, rgba(9,24,31,.17) 60%, transparent 78%),
                linear-gradient(180deg, rgba(6,20,28,.48), rgba(6,20,28,.30) 12%, transparent 28%);
}
/* Let the cards begin directly below the first screen. */
.home #solutions {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(min-content, 1fr);
    block-size: clamp(230px, calc(100vh - 96px), 640px);
    block-size: clamp(230px, calc(var(--page-screen, 100svh) - 96px), 640px);
    padding-block: clamp(16px, calc(var(--page-screen, 100vh) * .03), 30px);
}
.kitchen-scenes h2, .reference-case h2 {
    color: var(--navy); font-weight: 500; letter-spacing: -.025em; line-height: 1.1;
    font-size: var(--section-size);
}
.home .solution-grid { gap: clamp(9px, calc(var(--page-screen, 100vh) * .015), 16px); grid-auto-rows: minmax(min-content, 1fr); }
.home .solution-card { border-radius: 6px; }
.home .solution-card::before {
    background: linear-gradient(17deg, rgba(6,23,32,.68), rgba(8,23,32,.33) 27%, transparent 60%);
}
.home .solution-card h3 {
    font-size: var(--heading-card-size); font-weight: 500;
    line-height: 1.22; letter-spacing: -.015em; margin: clamp(15px, 1.65vw, 23px);
}
.hero-detail { background: #fff; }
.hero-detail .detail-grid {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(32px, 6vw, 90px);
    min-height: 0; padding-block: clamp(24px, 3.8vw, 60px) clamp(35px, 4.8vw, 74px); align-items: center;
}
.hero-detail .detail-image { min-height: 0; aspect-ratio: 1.58; border-radius: 5px; }
.hero-detail .breadcrumb { margin-bottom: 24px; }
.kitchen-scenes {
    padding: clamp(48px, 5.5vw, 82px) 0 clamp(50px, 5.7vw, 85px);
    border-top: 1px solid var(--line); scroll-margin-top: 92px;
}
.scene-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 25px 0 8px; }
.scene-tabs button {
    border: 1px solid #c7ced1; border-radius: 999px; color: var(--ink); background: #fff;
    min-height: 44px; padding: 8px 19px; font-size: .91rem; font-weight: 400; line-height: 1.27;
}
.scene-tabs button:not([aria-selected="true"]):hover { border-color: var(--gold-border); background: var(--gold-soft); }
.scene-tabs button[aria-selected="true"] { border-color: var(--gold); background: var(--gold); color: #1c201f; }
.scene-panel { max-width: 980px; margin-inline: auto; }
.scene-stage {
    position: relative; width: 100%; aspect-ratio: 16/9;
    margin: clamp(16px, 2.3vw, 36px) auto 16px; background: #fff;
}
.scene-stage img, .scene-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.scene-stage video { position: absolute; inset: 0; }
.scene-replay {
    position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid #c7ced1; color: var(--navy); background: rgba(255,255,255,.96);
}
.scene-replay:hover { border-color: var(--gold-border); background: var(--gold-soft); }
.scene-replay svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scene-caption {
    display: block;
    border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: .96rem;
}
.scene-caption p { max-width: 65ch; }
.plan-heading:has(.scene-map-anchor) { position: relative; }
.scene-map-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 100px; }
.reference-case h2 { margin-bottom: clamp(20px, 3vw, 40px); }
@media (max-width: 880px) {
    .home .home-copy { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: max(90px, calc(70px + env(safe-area-inset-top))) max(60px, calc(44px + env(safe-area-inset-bottom))); }
    .home .home-copy h1 { font-size: var(--type-display); }
    .home .home-copy .actions { display: flex; }
    .home .home-copy .button-primary { width: auto; }
    .hero-detail .detail-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: 24px; }
}
@media (max-width: 640px) {
    .home .home-copy h1 { font-size: var(--type-display); }
    .home .home-copy .eyebrow { margin-bottom: 12px; }
    .home .solution-grid { gap: 8px; }
    .home .solution-card h3 { margin: 12px; font-size: clamp(.88rem, 3.45vw, 1.04rem); }
    .home .solution-card::before { background: linear-gradient(22deg, #071d28b8, #1029354d 48%, transparent 80%); }
    .hero-detail .detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-detail .detail-copy { padding: 0; }
    .hero-detail .detail-image { width: 100%; aspect-ratio: 1.85; }
    .kitchen-scenes { padding-block: 40px 44px; scroll-margin-top: calc(90px + env(safe-area-inset-top)); }
    .scene-tabs { margin: 19px auto 0; gap: 6px; }
    .scene-tabs button { padding: 7px 12px; font-size: .84rem; }
    .scene-stage { margin-block: 14px 16px; }
    .scene-replay { bottom: auto; top: 0; }
    .scene-caption { display: block; padding-top: 13px; }
}

@media (min-width: 520px) and (max-width: 1000px) and (max-height: 530px) and (orientation: landscape) {
    .home .home-copy {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: clamp(16px, 3vw, 24px);
        padding-block: max(72px, calc(62px + env(safe-area-inset-top))) max(49px, calc(32px + env(safe-area-inset-bottom)));
    }
    .home .home-copy h1 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
    .home .home-copy .hero-intro { font-size: .94rem; line-height: 1.4; }
    .home .home-copy .actions { margin-top: 10px; }
}

:root {
    --section-size: var(--heading-section-size);
    --section-space: clamp(48px, 6.6vw, 96px);
    --editorial-rule: #dce3e3;
    --paper: #f5f7f6;
    --caption-grey: #878787;
    --overline-grey: #9d9d9d;
}
.inside main h1 {
    font-size: var(--type-page); line-height: 1.1; font-weight: 500; letter-spacing: -.025em;
}
.plan-heading h2, .sanitary-copy h2, .portfolio-heading h2, .company-about h2, .contact-details h2, .section-heading h2,
.inside .brand-section > h1, .brand-section h2, .service-scope h2, .service-applications > h2,
.direction-diagram h2, .reference-case h2, .related h2, .service-related h2, .enquiry h2 {
    font-size: var(--section-size); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; color: var(--navy);
}
main > .section { padding-block: var(--section-space); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.breadcrumb span::before { content: none; }
.hero-detail .breadcrumb { margin-bottom: clamp(9px, 1.75vw, 24px); }
.detail-copy { min-width: 0; }
.detail-copy .hero-intro { max-width: 46ch; font-size: var(--text-body); line-height: 1.5; }
.detail-copy .actions { gap: 8px 18px; margin-top: clamp(17px, 2vw, 28px); }
.solution-figure { min-width: 0; }
.figure-link-row {
    display: flex; justify-content: flex-end; min-width: 0; padding-top: 4px;
}
.drawing-link {
    display: inline-flex; align-items: center; justify-content: flex-end; gap: .4em;
    min-height: 44px; max-width: 100%; padding: 6px 12px; color: var(--ink); text-align: end;
    border: 1px solid var(--line); border-radius: 999px;
    font-size: .875rem; font-weight: 400; line-height: 1.4;
}
.drawing-link svg { flex: none; width: 1em; height: 1em; }
.drawing-link:is(:hover, :active) { border-color: var(--gold-border); background: var(--gold-soft); }
#scope-section .section-heading { display: block; margin-bottom: clamp(22px, 3vw, 42px); }
.supply-figure { border-radius: 4px; }
.supply-item h3, .project-feature-caption h3, .service-steps h3, .service-applications h3,
.service-entry :is(h2, h3), .project-tile h3, .own-brand-title, .direction-insight h3 {
    font-size: var(--heading-card-size); font-weight: 500; line-height: 1.18; letter-spacing: -.015em;
}
.direction-diagram { margin-block: 0 var(--section-space); }
.direction-insight { padding-block: 24px 0; margin-top: 36px; }
.direction-diagram .interface-row dt, .interface-row dd strong { font-weight: 500; }
.section.reference-case { padding-top: 0; border: 0; }
.reference-case h2 { margin-bottom: clamp(17px, 2.4vw, 33px); }
.reference-case .project-tile {
    grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); gap: clamp(24px, 6vw, 92px);
}
.project-tile img { border-radius: 4px; aspect-ratio: 1.95; }
.project-tile a { min-height: 44px; padding-block: 10px; }
.related, .service-related { padding-bottom: var(--section-space); }
:is(.related, .service-related) h2 { scroll-margin-top: 100px; }
.related-links { margin: 0; padding: 0; list-style: none; }
.related-links a {
    display: inline-flex; align-items: center; max-width: 100%; min-height: 44px;
    padding-block: 6px; color: var(--blue); font-size: .95rem; overflow-wrap: anywhere;
}
.plan-section > .container.section { padding-block: clamp(14px, calc(var(--page-screen, 100vh) * .025), 32px); }
.plan-heading { margin-bottom: clamp(12px, 1.5vw, 22px); }

/* Project photographs carry the portfolio. Small, unlinked identities sit below them. */
.project-feature-grid { column-gap: clamp(16px, 2.2vw, 32px); }
.project-thumbnail, .project-thumbnail .project-brand { border-radius: 4px; }
.project-register {
    margin-top: clamp(32px, 5.4vw, 78px); padding-top: clamp(18px, 3.3vw, 44px);
    border-top: 1px solid var(--editorial-rule); row-gap: clamp(15px, 2.5vw, 32px);
}
.project-register li { border: 0; border-radius: 0; min-height: 104px; padding: 4px 5px; }
.project-tile-name { font-size: .88rem; font-weight: 400; }
.editorial-intro { padding-block: clamp(24px, 4vw, 64px) clamp(28px, 4.4vw, 68px); }
.portfolio-heading { align-items: baseline; margin-bottom: clamp(22px, 3vw, 40px); }
.home .company-about { padding-bottom: 0; }
.home .portfolio { padding-top: clamp(42px, 6vw, 88px); }
.home :is(.plan-heading h2, .portfolio-heading h2, .company-about h2) {
    color: var(--overline-grey); font-size: var(--text-caption); font-weight: 400;
    line-height: 1.35; letter-spacing: normal; text-transform: uppercase;
}
.home .plan-heading { flex-direction: column; align-items: stretch; }
.company-grid {
    --company-column-gap: clamp(24px, 3.1vw, 48px);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start; gap: clamp(30px, 3.4vw, 52px) var(--company-column-gap);
}
.company-intro, .company-achievements { grid-column: 1 / -1; }
.company-history {
    max-width: 22ch; margin-top: clamp(12px, 2vw, 24px); text-wrap: balance;
    font-size: var(--section-size); line-height: 1.12; letter-spacing: -.025em; font-weight: 500;
}
.company-stats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: span 2; column-gap: var(--company-column-gap); margin: 0;
}
.company-stats > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: .6rem; }
.company-stats dd {
    margin: 0; color: var(--gold); font-size: clamp(3.2rem, 8.5vw, 8rem);
    line-height: 1; letter-spacing: -.05em; font-weight: 400; font-variant-numeric: tabular-nums;
}
.company-stats dt { max-width: 22ch; color: var(--caption-grey); font-size: var(--text-caption); }
.company-about h3 {
    color: var(--ink); font-size: clamp(1.625rem, 2.35vw, 2rem);
    line-height: 1.17; letter-spacing: -.025em; margin-bottom: .35em;
}
.company-goal p, .company-achievements p { line-height: 1.55; }
@media (prefers-contrast: more) {
    .home { --overline-grey: #5d5d5d; --caption-grey: #5d5d5d; }
    .company-stats dd { color: #775500; }
}
@media (max-width: 880px) {
    .company-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .company-history { max-width: 25ch; font-size: clamp(2rem, 4.5vw, 2.75rem); }
    .company-stats { grid-column: auto; column-gap: 18px; }
    .company-stats dd { font-size: clamp(3.2rem, 16vw, 4.3125rem); }
}
@media (max-width: 760px) {
    .project-feature-grid--home .project-feature + .project-feature .project-feature-link { grid-template-columns: 1fr; }
}
.home .contacts { padding-top: 0; }
.office-map { border: 0; border-radius: 4px; }
@media (max-width: 767px), (pointer: coarse) {
    .contact-map { position: relative; height: clamp(270px, 28vw, 380px); }
    .contact-map .office-map { position: absolute; inset: 0; }
    .office-map[inert] { pointer-events: none; }
}

/* Each service has one focusable title and a single destination. */
.service-cards, .service-cards-overview {
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(30px, 5vw, 78px);
}
.service-card, .service-cards-overview .service-card {
    display: block; padding: 0; border: 0; border-top: 1px solid var(--editorial-rule);
    border-radius: 0; background: transparent;
}
.service-entry {
    display: grid; height: 100%; grid-template-columns: 67px minmax(0,1fr) auto;
    align-items: center; gap: clamp(12px, 1.4vw, 24px); padding: clamp(20px, 2.8vw, 40px) 0;
}
.service-entry .service-icons { display: grid; align-self: center; place-items: center; margin: 0; min-height: 0; grid-row: auto; }
.service-entry .service-art { max-width: 100%; height: auto; }
.service-entry p { margin: 7px 0 0; line-height: 1.48; }
.entry-arrow { align-self: start; font-size: 1.2rem; color: var(--blue); line-height: 1.2; }
.service-cards-overview { grid-template-columns: minmax(0,1fr); }
.service-cards-overview .service-entry {
    grid-template-columns: minmax(100px,.6fr) minmax(0,2.35fr) auto; gap: clamp(18px, 3.6vw, 56px);
    padding-block: clamp(15px, 2vw, 27px);
}
.service-preview { width: 100%; aspect-ratio: 2.15; object-fit: cover; height: auto; border-radius: 3px; }
.service-cards-overview .service-entry-copy {
    display: grid; align-items: baseline; grid-template-columns: 1.12fr 1fr; gap: clamp(18px, 3vw, 44px);
}
.service-cards-overview .service-entry p { margin: 0; }
.service-cards-overview .entry-arrow { align-self: center; }
.service-hero::after {
    background: linear-gradient(0deg, #0a1a23e0 0%, #0a1a23a8 22%, #0a1a2355 47%, transparent 73%),
                linear-gradient(155deg, #0a1a238c, transparent 35%);
}
.service-hero-inner { min-height: clamp(400px, 39vw, 555px); }
.service-return a { min-height: 44px; font-size: .94rem; }
.service-hero-copy { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: clamp(24px, 6vw, 92px); }
.service-hero-copy h1 { text-wrap: pretty; }
.service-hero-copy p { margin: 0; font-size: var(--text-body); }
.service-outcome { border: 0; border-radius: 4px; background: var(--paper); }
.service-applications.section { padding-top: 0; }

.own-brand-section:first-of-type { padding-top: clamp(16px, 2.6vw, 42px); }
.own-brands { gap: clamp(24px, 3.6vw, 54px); }
.own-brand {
    border: 0; border-top: 1px solid var(--editorial-rule);
    padding: clamp(15px, 2.4vw, 34px) 0; border-radius: 0; background: transparent;
}
.own-brand-body { max-width: 56ch; }
.own-brand-body .own-brand-action {
    display: inline-block;
    max-width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding-block: 11px;
    color: var(--blue);
    font-size: var(--text-control);
    font-weight: 530;
    line-height: 1.3;
    text-wrap: balance;
}
.own-brand-visual img { border-radius: 4px; }
.partners-grid { border: 0; gap: clamp(24px, 3.4vw, 52px) clamp(16px, 2.8vw, 40px); }
.partner-card, .partner-card:hover { padding: 0; border: 0; background: transparent; }
.partner-mark { justify-items: start; height: 67px; }
.partner-mark img { width: min(100%,168px); }
.partner-card h3 { font-weight: 500; }

.enquiry { background: var(--paper); color: var(--navy); }
.enquiry-inner { padding-block: var(--section-space); }
.enquiry-intro p, .form-consent p, .form-grid label { color: var(--muted); }
.form-consent a, .enquiry-intro a { color: var(--blue); }
.form-consent a:hover { color: var(--navy); }
#project-form input:not([type="checkbox"]), #project-form select, #project-form textarea {
    color: var(--navy); border-bottom-color: #708189;
}
#project-form select { color-scheme: light; }
@media (hover: hover) {
    #project-form select:enabled:hover { background: var(--gold-soft); border-color: var(--gold-border); }
}
#project-form option { background: #fff; color: var(--navy); }
.form-actions button:disabled { background: #e3e8e7; color: var(--muted); opacity: 1; }
.footer-nav { border-top: 0; }

@media (max-width: 920px) {
    .service-hero-copy { display: block; }
    .service-hero-copy p { max-width: 52ch; margin-top: 12px; }
    .service-cards-overview .service-entry-copy { display: block; }
    .service-cards-overview .service-entry p { margin-top: 7px; }
}
@media (max-width: 760px) {
    .hero-detail .detail-grid { grid-template-columns: minmax(0,1fr); }
    .hero-detail .detail-copy { padding: 0; }
    .hero-detail .detail-image { aspect-ratio: 1.78; }
    .hero-detail .detail-grid { padding-top: 8px; }
    .reference-case .project-tile { grid-template-columns: minmax(0,1fr); gap: 15px; }
    .project-feature-grid { row-gap: 23px; }
    .service-cards { grid-template-columns: minmax(0,1fr); }
    .service-entry { grid-template-columns: 48px minmax(0,1fr) auto; }
    .service-cards-overview .service-entry { grid-template-columns: minmax(64px,23%) minmax(0,1fr) auto; gap: 12px; }
    .service-preview { aspect-ratio: 1.12; }
    .service-hero-inner { min-height: 405px; padding-bottom: 37px; }
    .service-hero::after {
        background: linear-gradient(0deg, #081922eb, #081922ab 34%, #08192248 59%, transparent 83%),
                    linear-gradient(158deg, #0a1a2385, transparent 34%);
    }
    .plan-heading, .portfolio-heading { align-items: start; }
    .brand-section { margin-bottom: 48px; }
}
@media (max-width: 420px) {
    .service-cards-overview .service-entry { grid-template-columns: minmax(64px,24%) minmax(0,1fr); align-items: start; }
    .service-cards-overview .entry-arrow { display: none; }
}
.nav-fallback { display: none; }
/* Before enhancement, native disclosures keep the links and their keyboard controls available. */

@media (max-width: 1220px) {
    .header:not(.nav-ready):not([data-measuring]) .header-inner {
        display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center; column-gap: 10px; row-gap: 0;
    }
    .header:not(.nav-ready):not([data-measuring]) .brand { grid-area: 1 / 1; min-width: 0; max-width: 100%; }
    .header:not(.nav-ready):not([data-measuring]) .header-phone { grid-area: 1 / 2; }
    .header:not(.nav-ready):not([data-measuring]) .nav-fallback { display: block; grid-area: 1 / 3; }
    .nav-fallback summary {
        display: grid; place-items: center; min-width: 44px; min-height: 44px;
        cursor: pointer; list-style: none; font-size: .875rem;
    }
    .nav-fallback summary::-webkit-details-marker { display: none; }
    .header:not(.nav-ready):not([data-measuring]) :is(.menu-toggle, .header-nav, .header-cta) { display: none; }
    .header:not(.nav-ready):not([data-measuring]) .nav-fallback[open] ~ .header-nav {
        grid-area: 2 / 1 / 3 / -1; display: grid; align-items: stretch;
        gap: 0; padding-top: 4px; width: 100%;
        max-height: calc(100vh - 88px);
        max-height: calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        overflow: auto; overscroll-behavior: contain;
    }
    .header:not(.nav-ready) .nav-fallback[open] ~ .header-nav > a,
    .header:not(.nav-ready) .nav-fallback[open] ~ .header-nav .header-directions summary {
        display: flex; min-height: 44px; align-items: center; justify-content: space-between;
        white-space: normal; border-top: 1px solid var(--header-line);
    }
    .header:not(.nav-ready) .nav-fallback[open] ~ .header-nav .header-directions > ul {
        position: static; width: 100%; max-width: none; max-height: none;
        padding: 4px 6px; border: 0; box-shadow: none;
    }
    .header:not(.nav-ready) .nav-fallback[open] ~ .header-nav .header-directions > ul a { min-height: 44px; display: flex; align-items: center; }
}

/* Size the visible glyph and its tap target independently. */
.header[data-compact="true"] {
    --menu-target: clamp(48px, 12vw, 54px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.header.nav-ready[data-compact="true"] .header-inner {
    grid-template-columns: minmax(0, 1fr) auto var(--menu-target);
}
.header[data-compact="true"] .menu-toggle {
    width: var(--menu-target); height: var(--menu-target); justify-self: end;
}
.header[data-compact="true"] .menu-toggle span {
    width: 22px; height: 16px;
    background-size: 100% 2px;
}
.header[data-compact="true"] .menu-toggle[aria-expanded="true"] span {
    width: min(calc(100% - 8px), clamp(1.625rem, 1rem + 3vw, 2rem));
}
.header[data-compact="true"] .menu-toggle span::before,
.header[data-compact="true"] .menu-toggle span::after { top: 7px; height: 2px; }
.header[data-compact="true"] .menu-toggle[aria-expanded="false"] span::before { transform: translateY(-7px); }
.header[data-compact="true"] .menu-toggle[aria-expanded="false"] span::after { transform: translateY(7px); }
.header[data-compact="true"]:not([data-measuring]) .header-phone {
    display: inline-flex; align-items: center; justify-content: end; min-height: 44px;
    font-size: clamp(1rem, .68rem + 1.6vw, 1.125rem); line-height: 1.2;
}
/* Let the video show behind the navigation at the top in either theme. */
.home .header.nav-ready::before { opacity: var(--scroll-glass, 0); }
@media (prefers-reduced-motion: no-preference) {
    .header[data-animate-glass]::before { transition: opacity .6s ease-out; }
}
@media (prefers-color-scheme: light) {
    .header.nav-ready[data-over-film] {
        color: #fff;
        --header-line: rgb(255 255 255 / 28%);
    }
    .header.nav-ready[data-over-film] .logo-blue { opacity: 0; }
    .header.nav-ready[data-over-film] .logo-white { opacity: 1; }
    .header.nav-ready[data-over-film] .header-directions > ul { background: transparent; }
    .header.nav-ready[data-over-film] :is(.header-nav,.header-phone) { text-shadow: 0 1px 3px rgb(9 22 30 / 56%); }
    .header.nav-ready[data-over-film] :is(.brand,.menu-toggle span) { filter: drop-shadow(0 1px 2px rgb(9 22 30 / 32%)); }

    @media (prefers-reduced-motion: no-preference) {
        .header[data-animate-glass] .brand img { transition: opacity .25s ease-out .09s; }
    }
}
@media (max-width: 767px), (max-width: 1024px) and (pointer: coarse) {
    html { overscroll-behavior-y: none; }
    .header[data-compact="true"] { transition: none; }
    @media (prefers-color-scheme: light) {
        /* Retain the stable, light touch bar while the browser chrome moves. */
        .header[data-compact="true"] {
            --header-surface: rgb(248 251 251 / 96%);
            --header-filter: none;
        }
        .header[data-animate-glass] { transition: color 0s .16s; }
    }
}
@media (prefers-reduced-transparency: reduce) {
    .header, .header[data-compact="true"] {
        --header-surface: var(--header-solid);
        --header-filter: none;
    }
}

/* At larger text sizes keep the phone and both navigation controls inside the bar. */
@media (max-width: 420px) {
    .header.nav-ready[data-compact="true"] .header-inner {
        grid-template-columns: minmax(60px, 1fr) minmax(0, max-content) var(--menu-target);
    }
    .header:not(.nav-ready):not([data-measuring]) .header-inner {
        grid-template-columns: minmax(60px, 1fr) minmax(0, max-content) auto;
    }
    .header:not([data-measuring]) .header-phone {
        min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: normal; text-align: right;
    }
}

.header-cta.button { flex: none; white-space: nowrap; padding-inline: 14px; }
@media (min-width: 1000px) {
    .header-inner { column-gap: clamp(10px, 1.06vw, 18px); padding-inline: clamp(12px, 1.1vw, 22px); }
}
.header-nav > .menu-enquiry,
.header[data-compact="true"] .header-cta { display: none; }
.header[data-measuring] .header-cta { display: inline-flex; position: absolute; visibility: hidden; }
.header[data-measuring] .header-inner .header-nav > .menu-enquiry { display: none; }
.header[data-compact="false"] ~ main .home-summary .button-primary,
.header[data-compact="false"] ~ main .hero-detail .actions { display: none; }
@media (min-width: 1221px) {
    .header:not([data-compact]) ~ main .home-summary .button-primary,
    .header:not([data-compact]) ~ main .hero-detail .actions { display: none; }
}
@media (max-width: 1220px) {
    .header:not([data-compact]):not([data-measuring]) .header-cta { display: none; }
}
.header-directions[open] > ul {
    max-height: calc(100vh - 98px);
    max-height: calc(100dvh - 98px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
}
.header-directions > .solutions-menu {
    width: 331px; max-width: calc(100vw - 32px); padding: 13px 10px;
}
.solutions-menu .solution-group + .solution-group { margin-top: 10px; }
.solution-group ul { padding: 0; margin: 0; list-style: none; }
.solution-group .nav-group-label {
    --label-inset: 12px;
    position: relative; display: flex; align-items: center;
    padding: 2px var(--label-inset); min-height: 23px;
    color: inherit; font-size: var(--text-caption); font-weight: 600; line-height: 1.25;
}
.solution-group .nav-group-label::before {
    content: ""; position: absolute;
    inset-inline-start: calc(var(--label-inset) - 7px); inset-block-start: 50%;
    width: 2px; height: .85em; border-radius: 1px;
    background: var(--gold); transform: translateY(-50%);
}
.header-directions .solution-group a {
    display: flex; align-items: center;
    min-height: 30px; padding: 4px 12px;
    font-size: var(--text-body); font-weight: 400; line-height: 1.35;
}
.header[data-compact="true"] .header-directions > ul { max-height: none; overflow: visible; }
.header[data-compact="true"] .header-directions summary { justify-content: space-between; }
.header[data-compact="true"] .header-directions > .solutions-menu {
    width: auto; padding: 9px 0 6px; background: transparent; border: 0; box-shadow: none;
}
.header[data-compact="true"] .solution-group + .solution-group { margin-top: 8px; }
.header[data-compact="true"] .nav-group-label {
    --label-inset: 8px; font-size: clamp(.875rem, .75rem + .65vw, .96rem);
}
.header[data-compact="true"][data-menu-open]:not([data-measuring]) .header-inner {
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
    grid-template-rows: auto minmax(0, 1fr);
}
.header[data-compact="true"][data-menu-open]:not([data-measuring]) .header-nav {
    align-self: stretch; min-height: 0; max-height: none;
}
.header[data-compact="true"][data-menu-open]:not([data-measuring]) .header-nav > a,
.header[data-compact="true"][data-menu-open]:not([data-measuring]) .header-directions summary {
    font-size: clamp(1.0625rem, .8rem + 1.4vw, 1.1875rem);
}
.header[data-compact="true"] .header-directions > ul a {
    font-size: clamp(1rem, .75rem + 1.4vw, 1.125rem);
}
.header[data-compact="true"] .solution-group a { min-height: 44px; padding: 8px; }
/* One continuous glass surface behind the desktop bar and its open list. */
.header[data-compact="false"] .header-nav {
    align-self: stretch; align-items: stretch; margin-block: -8px;
}
.header[data-compact="false"] .header-nav > a { align-self: center; }
.header[data-compact="false"] .header-directions { display: flex; align-items: center; }
.header[data-compact="false"] .header-directions > ul {
    top: 100%; left: -13px; border: 0; border-radius: 0 0 12px 12px;
    color: inherit; background: var(--header-surface); box-shadow: none;
}
.header[data-flyout] .header-directions > ul { background: transparent; }
.header[data-flyout]::before {
    bottom: calc(-1px - var(--menu-depth)); border: 0; border-radius: 0; box-shadow: none;
    clip-path: var(--menu-outline);
}
.header[data-compact="true"] .header-directions > ul { color: inherit; }
.home:not(:has(.mobile-drawer[open])):has(.header[data-menu-open][data-over-film]) .home-copy,
.home:not(:has(.mobile-drawer[open])):has(.header[data-menu-open][data-over-film]) .film-tools { visibility: hidden; }
.home:not(:has(.mobile-drawer[open])):has(.header[data-menu-open][data-over-film]) .film::after,
.home:has(.header[data-over-film] .header-directions[open]) .film::after { background-color: #06172855; }
@media (max-height: 720px) {
    .home:has(.header[data-over-film] .header-directions[open]) .home-copy { visibility: hidden; }
}
.header-services-link { display: flex; flex: 1; align-items: center; align-self: stretch; }
.copy-request { color: var(--ink); background: transparent; border: 0; border-radius: 6px; padding: 10px 6px; }

:where(.header-nav a > span, .header-directions summary > span, .header-phone,
       .copy-request > span, .copy-address .copy-idle, .text-link,
       .solution-card h3 > span, .project-feature-link h3 > span, .service-entry :is(h2,h3) > span,
       .own-brand-action, .related-links a, .project-tile a, .breadcrumb-label,
       .route-brand, .form-consent a, .contact-info a:not([href^="mailto:"])) {
    background-image: linear-gradient(var(--gold), var(--gold));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: var(--underline-length, 0%) var(--underline-width);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: background-size .17s ease-out;
}
:where(.header-nav a > span, .header-directions summary > span, .header-phone,
       .copy-request > span, .copy-address .copy-idle) {
    padding-bottom: .14em;
}
.header-nav :is(.current-section, [aria-current="page"]) > span,
.header-nav .current-section .header-services-link > span,
.header-directions[open] > summary > span,
.header-directions[open] .header-services-link > span,
.header-directions > ul a:focus-visible > span { --underline-length: 100%; }
@media (hover: hover) {
    :where(.header-nav a:hover > span, .header-directions summary:hover > span, .header-phone:hover,
           .header-directions summary:hover .header-services-link > span,
           .copy-request:enabled:hover > span, .copy-address:hover .copy-idle,
           .solution-card:hover h3 > span, .project-feature-link:hover h3 > span, .service-entry:hover :is(h2,h3) > span,
           .text-link:hover, .own-brand-action:hover, .related-links a:hover,
           .project-tile a:hover, .breadcrumb a:hover .breadcrumb-label, .route-brand:hover, .form-consent a:hover,
           .contact-info a:not([href^="mailto:"]):hover) { --underline-length: 100%; }
}
.footer-rights .to-top { display: inline-block; margin-left: 1em; color: var(--gold); }
.footer-rights .to-top:hover { color: var(--gold-soft); }
.policy-content { padding-block: clamp(32px, 5vw, 72px); }
.policy-content > :not(h1) { max-width: 78ch; }
.policy-content h2 { font-size: var(--heading-card-size); margin: 1.8em 0 .6em; }
.policy-content p { margin-block: .8em; }
.policy-content a { text-decoration: underline; overflow-wrap: anywhere; }

.project-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 28px;
}
.project-filter label { font-weight: 500; }
.project-filter select {
    max-width: 100%;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid currentColor;
    border-radius: 5px;
    background: white;
    color: inherit;
    font: inherit;
}
.project-filter [role="status"] { font-size: .9rem; }
.project-filter[hidden], [data-project-sector][hidden] { display: none; }
.project-feature-grid:not(:has(> :not([hidden]))) + .project-register { margin-top: 0; }
.project-text-case h3 { margin: 0 0 8px; }
.project-text-case p { margin: 0; }

@media (orientation: landscape) and (min-width: 540px) and (max-height: 500px) {
    .home #solutions { padding-block: 8px; min-block-size: min-content; }
    .home .solution-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
    .home .solution-card[data-direction] { grid-column: span 2; }
    .home .solution-card[data-direction="hospital-kitchens"] { grid-column: span 4; }
    .home .solution-card:is([data-direction="cssd"], [data-direction="endoscopy"]) { grid-column: span 3; }
    .home .solution-card h3 { margin: 5px 8px; font-size: .875rem; }
}

.sanitary-section {
    border-top: 1px solid var(--editorial-rule);
}
.sanitary-overview {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 7vw, 100px); align-items: center;
}
.sanitary-lead { margin: 16px 0 0; max-width: 58ch; color: var(--ink); }
.sanitary-spec { margin: clamp(20px, 3vw, 38px) 0 0; }
.sanitary-spec > div { border-top: 1px solid var(--editorial-rule); padding-block: 13px; }
.sanitary-spec dt, .sanitary-details h3 {
    font-size: var(--heading-card-size); line-height: 1.22; font-weight: 500; letter-spacing: -.02em;
}
.sanitary-spec dd, .sanitary-details p { margin: 7px 0 0; max-width: 64ch; color: var(--muted); }
.sanitary-main, .sanitary-details article { margin: 0; min-width: 0; }
.sanitary-main img {
    display: block; width: 100%; height: clamp(300px, 31vw, 440px); object-fit: contain;
}
.sanitary-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 62px);
    margin-top: clamp(24px, 4vw, 56px);
}
.sanitary-details article {
    display: grid; grid-template-columns: minmax(92px, .55fr) minmax(0, 1fr); align-items: start;
    gap: clamp(14px, 1.7vw, 28px); padding-top: 18px; border-top: 1px solid var(--editorial-rule);
}
.sanitary-details img { display: block; width: 100%; height: auto; border-radius: 4px; }
@media (min-width: 651px) and (max-width: 1100px) {
    .sanitary-details article { grid-template-columns: minmax(0, 1fr); align-content: start; }
    .sanitary-details img { height: clamp(155px, 22vw, 230px); object-fit: contain; object-position: left center; }
}
@media (max-width: 760px) {
    .sanitary-overview { grid-template-columns: 1fr; gap: 18px; }
    .sanitary-main img { height: clamp(240px, 69vw, 345px); }
}
@media (max-width: 650px) {
    .sanitary-details { grid-template-columns: minmax(0, 1fr); }
    .sanitary-details article { grid-template-columns: minmax(0, 1fr); }
    .sanitary-details img { width: auto; max-width: 100%; height: auto; max-height: 195px; }
}

/* The mobile and desktop menus use the same links and section headings. */
.mobile-drawer {
    position: fixed; inset: 0; width: 100%; max-width: none;
    height: 100%; height: 100dvh; max-height: none;
    margin: 0; border: 0; padding: 0; overflow: hidden;
    color: #f7faff; background: #193246;
}
.mobile-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.mobile-drawer::backdrop { background: rgb(8 22 31 / 12%); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .mobile-drawer {
        background: linear-gradient(145deg, rgb(19 44 65 / 86%), rgb(18 48 66 / 89%));
        -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    }
}
@media (prefers-reduced-transparency: reduce) {
    .mobile-drawer { background: #193246; }
}
@media (prefers-reduced-motion: no-preference) {
    .mobile-drawer[open] { animation: drawer-arrive .32s cubic-bezier(.2,.7,.15,1) both; }
    @keyframes drawer-arrive { from { transform: translateX(100%); } to { transform: translateX(0); } }
}
html:has(.mobile-drawer[open]) { overflow: hidden; }
.drawer-top {
    display: flex; justify-content: end;
    padding: max(7px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 0;
}
.drawer-close {
    display: grid; place-items: center; width: 52px; height: 52px;
    padding: 0; color: inherit; background: transparent; border: none; cursor: pointer;
}
.drawer-close svg { width: 26px; height: 26px; }
.drawer-scroll {
    overflow-y: auto; overscroll-behavior: contain; min-height: 0;
    padding: 0 max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}
.mobile-drawer { --drawer-text-size: clamp(1.4rem, 1.05rem + 1.6vw, 1.85rem); }
.mobile-drawer .header-nav { display: block; }
.mobile-drawer .header-nav :is(a, summary) > span { padding-bottom: 0; }
.mobile-drawer .header-nav > :is(a, .header-directions) {
    box-shadow: inset 0 -1px rgb(172 205 224 / 25%);
}
.mobile-drawer .header-nav > a, .mobile-drawer .header-directions > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 58px; padding: .42em 0; color: inherit; white-space: normal;
    font-size: var(--drawer-text-size); font-weight: 550; line-height: 1.24;
}
.mobile-drawer .header-directions[open] > summary { font-weight: 650; }
.mobile-drawer .header-directions > summary::after { flex: none; width: 9px; height: 9px; margin-inline-end: 5px; }
.mobile-drawer .header-directions > ul {
    position: static; width: 100%; max-width: none; max-height: none; overflow: visible;
    margin: 0; padding: 3px 0 12px; border: 0; box-shadow: none; background: transparent; color: inherit;
}
.mobile-drawer .nav-group-label {
    --label-inset: 15px;
    min-height: 30px; padding-block: 5px; font-size: .94rem;
    color: #ebd48f;
}
.mobile-drawer .nav-group-label::before { content: none; }
.mobile-drawer .header-directions > ul a {
    display: flex; align-items: center; min-height: 48px; padding: 8px 15px;
    color: inherit; font-size: 1.12rem; line-height: 1.38; white-space: normal;
}
.drawer-phone {
    display: inline-flex; align-items: center; min-height: 48px; margin-top: 18px;
    color: inherit; font-size: var(--drawer-text-size); line-height: 1.24;
}
/* Compact both levels together so the final contact stays in view. */
.mobile-drawer {
    --section-row: clamp(27px, 4.65dvh, 43px);
    --link-row: clamp(25px, 4.5dvh, 42px);
}
.mobile-drawer:has(details[open]) { --drawer-text-size: clamp(1.04rem, 2.85dvh, 1.45rem); }
.mobile-drawer:has(details[open]) :is(.header-nav > a, .header-directions > summary) {
    min-height: var(--section-row); padding-block: 2px;
}
.mobile-drawer:has(details[open]) .drawer-top { padding-top: max(2px, env(safe-area-inset-top)); }
.mobile-drawer:has(details[open]) .header-directions > ul { padding: 2px 0 5px; }
.mobile-drawer:has(details[open]) .nav-group-label {
    min-height: 0; padding-block: 2px; font-size: .83rem; line-height: 1.14;
}
.mobile-drawer:has(details[open]) .solution-group + .solution-group { margin-top: 3px; }
.mobile-drawer:has(details[open]) .header-directions > ul a {
    min-height: var(--link-row); padding-block: 2px; font-size: clamp(.93rem, 2.4dvh, 1.16rem);
    line-height: 1.2;
}
.mobile-drawer:has(details[open]) .drawer-phone {
    min-height: 32px; margin-top: 4px;
}
@media (max-height: 620px) {
    .drawer-top { padding-block-start: max(2px, env(safe-area-inset-top)); }
    .drawer-close { height: 46px; }
    .drawer-scroll {
        padding-inline: max(15px, env(safe-area-inset-left)) max(15px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    .mobile-drawer .header-nav > a, .mobile-drawer .header-directions > summary {
        min-height: 44px; padding-block: .22em;
    }
}
@media (max-height: 550px) and (max-width: 509px) {
    .mobile-drawer[open] { grid-template-rows: minmax(0, 1fr); }
    .drawer-top { position: absolute; inset: 0 0 auto auto; z-index: 1; }
    .drawer-scroll { padding-top: max(9px, env(safe-area-inset-top)); }
    .mobile-drawer .header-directions:first-child > summary { padding-right: 52px; min-height: 40px; }
    .mobile-drawer { --section-row: 25px; --link-row: 24px; }
}
@media (orientation: landscape) and (max-height: 510px) and (min-width: 510px) {
    .mobile-drawer, .mobile-drawer:has(details[open]) { --drawer-text-size: 1rem; }
    .mobile-drawer .drawer-scroll { position: relative; }
    .mobile-drawer .header-nav { width: 40%; }
    .mobile-drawer .header-nav > a, .mobile-drawer .header-directions > summary {
        min-height: 26px; padding: 3px 0;
    }
    .mobile-drawer .header-directions { position: static; }
    .mobile-drawer .header-directions[open] > ul {
        position: absolute; inset: 0 max(15px, env(safe-area-inset-right)) auto 46%;
        width: auto; padding-top: 0;
    }
    .mobile-drawer .drawer-phone { margin-top: 4px; min-height: 30px; }
}
.mobile-drawer:focus { outline: 0; }
.mobile-drawer :is(a,summary,.drawer-close):focus-visible {
    --focus-offset: -1px;
    --focus-ring: inset 0 0 0 3px var(--gold);
}
.mobile-drawer .drawer-close { border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.contact-details { min-width: 0; container-type: inline-size; }
.route-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; }
.route-actions .map-route { min-width: 0; -webkit-user-select: none; user-select: none; }
.route-actions .map-route svg { flex-shrink: 0; }
.copy-address {
    display: inline-grid; grid-template-columns: 1em minmax(0, 1fr); align-items: center; gap: .4em;
    width: max-content; max-width: 100%; min-width: 0; text-align: start;
    min-height: 44px; padding: 6px 4px; color: var(--ink); background: none; border: none; border-radius: 6px; font: inherit; cursor: pointer;
}
.copy-address[hidden] { display: none; }
.copy-address svg { grid-area: 1 / 1; width: 1em; height: 1em; }
.copy-address span { grid-area: 1 / 2; justify-self: start; }
.copy-address :is(.copy-check, .copy-done, .copy-manual),
.copy-address[data-feedback] .copy-idle,
.copy-address[data-feedback="copied"] .copy-symbol { visibility: hidden; }
.copy-address[data-feedback="copied"] :is(.copy-check, .copy-done),
.copy-address[data-feedback="selected"] .copy-manual { visibility: visible; }
@container (max-width: 23rem) {
    .route-actions .map-route { padding-inline: 10px; gap: 5px; }
    .copy-address { font-size: .9375rem; }
}
@container (max-width: 20rem) {
    .copy-address {
        position: relative; display: grid; grid-template-columns: 1fr; place-items: center;
        flex: 0 0 44px; min-height: 44px; gap: 0; padding: 0;
    }
    .copy-address svg { width: 20px; height: 20px; }
    .copy-address span {
        position: absolute; inset-inline-end: 0; bottom: 100%; width: max-content;
        padding: 5px 9px; border-radius: 6px; background: var(--navy); color: white;
        font-size: .875rem; line-height: 1.3; pointer-events: none;
    }
    .copy-address .copy-idle { visibility: hidden; }
    .copy-address:focus-visible:not([data-feedback]) .copy-idle { visibility: visible; }
}
.office-route-dialog {
    position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0; background: #f5f8fa; color: var(--navy);
}
.office-route-dialog[open] { display: grid; grid-template-rows: auto auto minmax(0,1fr); }
html:has(.office-route-dialog[open]) { overflow: hidden; }
.office-route-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: max(4px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left));
}
.office-route-bar :is(button, a) { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; border-radius: 6px; }
.office-route-bar a:is(:hover, :active) { background: var(--gold-soft); color: var(--ink); }
.office-route-bar button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.route-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 0 12px 8px; }
.route-origin label { width: 100%; color: var(--muted); font-size: .88rem; }
.route-origin input { flex: 1 1 8em; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.route-origin button { border: 0; border-radius: 6px; background: var(--gold); color: var(--ink); padding: 8px 10px; }
.route-origin .route-locate { display: grid; place-items: center; background: none; color: var(--navy); }
.route-origin :is(input,button) { min-height: 44px; }
.route-location-status:not(:empty) { width: 100%; font-size: .875rem; }
.office-route-dialog iframe { width: 100%; height: 100%; border: 0; }
#office-address a { display: block; }
#contacts, #office-address a, .map-route { scroll-margin-block-start: calc(86px + env(safe-area-inset-top)); }
