/*
Theme Name: BAKIT
Description: Bilingual WordPress theme for BAKIT certification and compliance.
Version: 0.5.11
Requires at least: 6.8
Requires PHP: 8.4
Text Domain: bakit
*/
@font-face{font-family:"Instrument Sans";src:url("assets/instrument-sans.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
:root,.editor-styles-wrapper{--ink:#192b38;--body:#475a65;--muted:#5b6b73;--red:#b3373b;--red-hover:#92262c;--line:#d5dfe1;--mist:#eff4f5;--page:1280px;--gutter:clamp(20px,5vw,80px);--font:"Instrument Sans",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
body,.editor-styles-wrapper{margin:0;color:var(--ink);background:#fff;font:400 1rem/1.55 var(--font);-webkit-font-smoothing:antialiased}
body:has(> .site-footer) {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
    min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
body > .bakit-content { flex: 1 0 auto; }
[hidden]{display:none!important}
.site-wrap{width:min(calc(100% - 2 * var(--gutter)),var(--page));margin-inline:auto}
.bakit-content,.masthead,.site-footer{font-family:var(--font)}
.bakit-content :where(h1,h2,h3,p,figure,ul),.editor-styles-wrapper :where(h1,h2,h3,p,figure){margin:0}
.bakit-content a,.site-footer a,.masthead a{color:inherit}
:where(a[href], button, select, details > summary, [role="button"], [role="link"], label[for], label:has(:enabled),
       input:is([type="button"], [type="submit"], [type="reset"], [type="image"], [type="file"], [type="checkbox"], [type="radio"])) {
    cursor: pointer;
}
:where(:disabled, [aria-disabled="true"]) { cursor: default; }
input[type="file"]::file-selector-button { cursor: inherit; }
:where(a,button,input,textarea,select):focus-visible{outline:3px solid #116d97;outline-offset:4px}
/* Draw one ring on the field edge, including in forms styled by WooCommerce. */
:where(input:not([type="button"], [type="submit"], [type="reset"], [type="image"], [type="range"]), textarea, select):focus {
    outline: 2px solid var(--bakit-field-focus, #116d97) !important;
    outline-offset: -2px !important;
    box-shadow: none !important;
}
:where([aria-invalid="true"], :user-invalid, .woocommerce-invalid, .has-error) { --bakit-field-focus: var(--red); }
.skip-link{position:absolute;left:12px;top:8px;z-index:1000;transform:translateY(-160%);padding:.65rem 1rem;color:#fff;background:var(--ink)}
.skip-link:focus{transform:none}
.masthead{border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:5}
.masthead-inner{min-height:80px;display:flex;gap:clamp(20px,2.9vw,46px);align-items:center}
.brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;width:180px;max-width:100%;min-width:0}
.brand img{display:block;width:100%;height:auto;max-height:46px;object-fit:contain;object-position:left center}
.brand-caption{font-size:.75rem;line-height:1.25;overflow-wrap:anywhere}
.main-nav{margin-left:auto}
.site-nav-list{display:flex;gap:clamp(18px,2.35vw,36px);align-items:center;list-style:none;margin:0;padding:0}
.site-nav-list a,.language-nav a,.brand,.site-button,.wp-block-button__link{text-decoration:none}
.site-nav-list a{font-size:.95rem;font-weight:550;white-space:nowrap}
.site-nav-list a:hover,.contact-details a:hover{color:var(--red);text-decoration:underline;text-underline-offset:.23em}
.language-nav{border-left:1px solid var(--line);padding-left:clamp(15px,2.1vw,32px);display:inline-flex;align-items:center;gap:8px;font-size:.86rem}
.language-nav a{padding:5px 0;color:var(--muted)}
.language-nav a+a::before{content:"/";margin-right:8px;color:#85939a;font-weight:400}
.language-nav a[aria-current]{font-weight:700;color:var(--ink)}
.site-button,.bakit-content .wp-block-button__link{display:inline-flex;min-height:47px;align-items:center;justify-content:center;padding:.78rem 1.38rem;background:var(--red);color:#fff;border:1px solid transparent;border-radius:5px;text-align:center;font:600 .97rem/1.3 var(--font);transition:background-color .16s ease,color .16s ease}
.site-button:hover,.bakit-content .bakit-primary .wp-block-button__link:hover{background:var(--red-hover);color:#fff}
.masthead .site-button{color:#fff;min-height:42px;padding:.62rem 1.13rem}
.header-actions{display:contents}
.menu-toggle{background:transparent;border:0;color:var(--ink);font:600 .9rem var(--font);display:none;align-items:center;gap:8px;padding:.55rem .15rem}
.menu-icon{width:18px;height:11px;border-block:2px solid currentColor;display:block}
.hero{background:linear-gradient(105deg,#fbfcfb 15%,#f5f8f8 100%);border-bottom:1px solid var(--line)}
.hero-inner{padding-block:clamp(52px,6.3vw,99px);display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.12fr);align-items:center;gap:clamp(25px,3.8vw,65px)}
.hero-copy,.process-copy,.quote-intro,.strip-copy{min-width:0}
.eyebrow{display:flex;align-items:center;gap:11px;color:#465d66;font:650 .76rem/1.4 var(--font);letter-spacing:.12em;text-transform:uppercase}
.eyebrow::before{content:"";flex:none;width:25px;height:2px;background:var(--red)}
.bakit-content h1,.bakit-content h2,.bakit-content h3,.editor-styles-wrapper :where(h1,h2,h3){color:var(--ink);font-family:var(--font);font-weight:600;text-wrap:balance}
.bakit-content h1,.editor-styles-wrapper h1{font-size:clamp(2.75rem,5.3vw,5rem);letter-spacing:-.065em;line-height:1.035;overflow-wrap:break-word}
.hero-copy h1{margin-top:1.45rem;font-size:clamp(2.55rem,4.65vw,4.2rem);letter-spacing:-.052em}
.hero-copy h1 em{font-style:normal;color:#396074;font-weight:500}
.hero-intro,.deck,.section-intro>p,.strip-copy p,.detail-section>p{color:var(--body);font-size:clamp(1.04rem,1.3vw,1.19rem);line-height:1.57}
.hero-intro{max-width:45ch;margin-top:1.4rem}
.bakit-content .wp-block-buttons{display:flex;flex-wrap:wrap;gap:.72rem;align-items:center;margin:1.9rem 0 0}
.bakit-content .bakit-secondary .wp-block-button__link{background:transparent;border-color:#acbbc0;color:var(--ink)}
.bakit-content .bakit-secondary .wp-block-button__link:hover{background:#e7eef0;border-color:#7e949f}
.services-section,.services-index,.process-inner,.detail-body,.interior,.strip-inner{padding-block:clamp(55px,6vw,90px)}
.bakit-content h2,.editor-styles-wrapper h2{font-size:clamp(2.1rem,3.7vw,3.45rem);letter-spacing:-.055em;line-height:1.08}
.section-intro{display:grid;align-items:end;grid-template-columns:1fr .88fr;gap:30px;margin-top:14px}
.section-intro>p{max-width:50ch;justify-self:end;font-size:1.05rem}
.services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:36px;border-top:1px solid #acbdc3;border-bottom:1px solid var(--line)}
.service-card{min-width:0;position:relative;padding:27px clamp(14px,2vw,31px) 30px;border-left:1px solid var(--line);transition:background-color .16s}
.service-card:first-child{border-left:0}
.service-card::before{content:"";display:block;height:32px;width:32px;margin-bottom:1.8rem;background:url("assets/service-symbols.svg") 0 0/128px 32px no-repeat}
.service-declaration::before{background-position:-32px 0}
.service-permits::before{background-position:-32px 0}
.service-support::before{background-position:-96px 0}
.service-explosion::before{background-position:-64px 0}
.service-representative::before{background-position:-96px 0}
.bakit-content h3,.editor-styles-wrapper h3{font-size:clamp(1.25rem,1.7vw,1.55rem);letter-spacing:-.038em;line-height:1.22}
.service-card h3 a{text-decoration:none}
.service-card h3 a::after{content:"";position:absolute;inset:0}
.service-card:focus-within,.service-card:hover{background:#f1f5f6}
.service-card:focus-within h3,.service-card:hover h3{color:#92262c}
.service-card p,.process-step p{color:var(--body);margin-top:.65rem;font-size:1rem;line-height:1.55}
.services-grid.direction-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.bakit-content .direction-grid :is(h2,h3), .editor-styles-wrapper .direction-grid :is(h2,h3) {
    font-size: clamp(1.25rem,1.8vw,1.65rem); line-height: 1.23; letter-spacing: -.035em;
}
.direction-grid h2 a { text-decoration: none; }
.direction-grid h2 a::after { content: ""; position: absolute; inset: 0; }
.service-card:is(:focus-within,:hover) h2 { color: var(--red-hover); }
.direction-grid :is(h2,h3), .service-entry h3 { overflow-wrap: anywhere; hyphens: auto; }
.catalog-body { max-width: 1080px; padding-block: 12px clamp(40px,6vw,80px); }
.catalog-section { padding-block: clamp(32px,4.5vw,62px); border-bottom: 1px solid var(--line); }
.catalog-section:last-child { border-bottom: 0; }
.bakit-content .catalog-section h2, .editor-styles-wrapper .catalog-section h2 {
    margin-bottom: 1.15rem; font-size: clamp(1.65rem,2.9vw,2.55rem); overflow-wrap: anywhere;
}
.catalog-section > p { max-width: 76ch; color: var(--body); }
.service-entry { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr) minmax(8rem,.65fr); gap: .65rem clamp(18px,3vw,45px); align-items: baseline; padding-block: 1.3rem; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.bakit-content .service-entry h3, .editor-styles-wrapper .service-entry h3 { font-size: 1.18rem; line-height: 1.35; }
.service-entry > p { color: var(--body); }
.service-links { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; }
.service-links a { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.service-entry .service-links { flex-direction: column; align-items: start; }
.catalog-body a, .process-link a, .detail-head .eyebrow a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.bakit-content :is(.catalog-body,.process-link,.detail-head .eyebrow) a:hover { color: var(--red-hover); }
.process-link, .catalog-section > .service-links { margin-top: 1.25rem; }
.bakit-content .service-links a, .bakit-content .process-link a { font-weight: 600; color: #345b6d; }
.regulation-directory { margin-block: 1.1rem; border-block: 1px solid var(--line); }
.regulation-directory summary { padding: .9rem .2rem; font-weight: 600; }
.regulation-directory summary:focus-visible { outline: 3px solid #116d97; outline-offset: 2px; }
.catalog-body .regulation-list { margin-block: 1rem; padding: 0; list-style: none; }
.regulation-list li { display: grid; grid-template-columns: minmax(8.4rem,.28fr) 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); color: var(--body); }
.regulation-list strong { color: var(--ink); }
.bakit-content .regulations-link { margin-top: 1.25rem; }
.bakit-content .regulations-link a, .regulations-directory a { color: #345b6d; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.bakit-content .regulations-link a:hover, .regulations-directory a:hover { color: var(--red-hover); }
.regulations-page { max-width: 1080px; }
.bakit-content .regulations-page h1 { max-width: none; margin-top: 0; }
.regulation-search { max-width: 30rem; }
.regulation-search label { display: block; margin-bottom: .45rem; font-weight: 600; }
.regulation-search-field { --clear-size: 44px; display: grid; align-items: center; }
.regulation-search-field > * { grid-area: 1 / 1; }
.regulation-search input {
    width: 100%; min-height: calc(var(--clear-size) + 2px); padding: .65rem .8rem; padding-inline-end: calc(var(--clear-size) + .5rem);
    border: 1px solid var(--muted); border-radius: 5px; font: inherit;
}
.regulation-search input::-webkit-search-cancel-button { display: none; }
.regulation-search-clear {
    justify-self: end; display: grid; place-items: center; width: var(--clear-size); height: var(--clear-size); margin-inline-end: 1px;
    padding: 0; border: 0; border-radius: 4px; color: var(--muted); background: transparent; font: 500 2rem/1 var(--font);
}
.regulation-search-clear:is(:hover,:focus-visible) { color: var(--ink); background: var(--mist); }
.regulation-search-clear:focus-visible { outline-offset: -3px; }
.regulation-empty:not(:empty) { margin-top: .75rem; }
.regulation-jumps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-block: 1.25rem 2rem; }
.regulation-section {
    display: grid; grid-template-columns: max-content minmax(0,2fr) minmax(7rem,.85fr) minmax(8rem,1.1fr);
    column-gap: clamp(10px,1.2vw,16px); scroll-margin-top: 1rem;
}
.regulation-section + .regulation-section { margin-top: 3rem; }
.regulation-section .regulation-source { margin-block: .5rem 1rem; }
.regulation-section > *, .regulation-row { grid-column: 1 / -1; }
.regulation-section ul, .regulation-row { display: grid; grid-template-columns: subgrid; }
.regulation-section ul { padding: 0; list-style: none; }
.regulation-row {
    row-gap: .4rem; align-items: baseline; padding: .8rem .65rem; border-bottom: 1px solid var(--line);
}
.regulation-headings { font-size: .88rem; font-weight: 600; background: var(--mist); margin-top: .8rem; }
.regulation-source + .regulation-headings { margin-top: 0; }
.regulation-date { color: var(--muted); font-variant-numeric: tabular-nums; }
.regulation-date-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.regulation-versions { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.catalog-body .shop-resources { margin: 1rem 0; padding-left: 1.2rem; }
.shop-resources li { padding-block: .25rem; }
.process-section,.detail-intro{background:var(--mist);border-block:1px solid var(--line)}
.process-inner{display:grid;grid-template-columns:.95fr 1fr;align-items:center;gap:clamp(32px,6vw,100px)}
.process-photo img{display:block;width:100%;height:clamp(320px,34vw,465px);object-fit:cover;object-position:50% 42%;border-radius:7px}
.bakit-content .process-photo figcaption{margin:.5rem 0 0;font-size:.75rem;color:var(--muted);text-align:left}
.process-photo figcaption a{color:inherit;text-decoration:underline;text-underline-offset:.16em}
.process-certificate {
    --sheet-width: min(74%, 21.25rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}
/* The desk sits behind the image, so the media link opens the original sheet. */
.process-certificate::before {
    content: "";
    grid-area: 1 / 1;
    border-radius: 8px;
    background: #394c53 url("assets/certificate-desk.webp") center / cover no-repeat;
}
.process-certificate > :is(a, img) {
    grid-area: 1 / 1;
    justify-self: center;
    align-self: center;
    width: var(--sheet-width);
    margin: clamp(22px, 2.8vw, 42px) 0;
}
.wp-block-image.process-certificate > a {
    display: block;
}
.process-certificate img {
    display: block;
    height: auto;
    aspect-ratio: auto 767 / 1083;
    object-fit: contain;
    transform: rotate(-3deg);
    box-shadow: 1px 2px 3px #0c172b55, 5px 11px 19px #0b172a49;
}
.process-certificate a img { width: 100%; }
.process-certificate figcaption {
    grid-area: 2 / 1;
    margin: .65rem 0 0;
    color: var(--body);
    font-size: .875rem;
    text-align: start;
}
.process-copy h2{margin:1rem 0 1.6rem}
.process-step{border-top:1px solid #becdd2;padding:1.02rem 0}
.process-step p{margin-top:.35rem}
.quote-strip{border-block:1px solid var(--line)}
.client-section {
    --tile-gap: clamp(10px, 1.1vw, 18px);
    background: #122631;
    padding-block: clamp(28px, 3.2vw, 48px) clamp(34px, 3.6vw, 55px);
}
.client-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 22px; }
.client-header .client-heading {
    display: flex; align-items: center; gap: 13px; margin: 0;
    color: #f6f8f9; font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.2; letter-spacing: -.03em;
}
.client-heading::before { content: ""; width: 26px; height: 2px; background: #e06c6c; }
.client-toggle {
    display: grid; place-items: center; width: 40px; height: 40px; flex: none;
    color: #f1f7f8; border: 1px solid #69808d; border-radius: 50%; background: transparent;
}
.client-toggle:hover { background: #344b57; }
.client-toggle:focus-visible, .client-viewport:focus-visible { outline: 2px solid #f5d998; outline-offset: -3px; }
.client-toggle span { width: 9px; height: 11px; border-inline: 2px solid currentColor; }
.client-section[data-motion="paused"] .client-toggle span {
    width: 0; height: 0; margin-left: 2px; border: 0;
    border-left: 8px solid currentColor; border-block: 5px solid transparent;
}
.client-viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #677e8a #182f3a; }
.client-track, .client-logos { display: flex; flex-wrap: nowrap; width: max-content; }
.client-logos { flex: none; column-gap: var(--tile-gap); padding-inline-end: var(--tile-gap); }
.client-logos > .wp-block-image {
    flex: none; display: grid; place-items: center; margin: 0; padding: 12px;
    width: clamp(153px, 16.5vw, 242px); height: clamp(90px, 9vw, 124px);
    border: 1px solid #354b57; border-radius: 4px; background: #223945; isolation: isolate;
}
.client-logos .wp-block-image img {
    display: block; width: clamp(122px, 12vw, 170px); height: clamp(54px, 5.4vw, 76px);
    max-width: 100%; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.18); mix-blend-mode: screen;
}
.client-logos .wp-block-image a { display: grid; place-items: center; }
@keyframes bakit-client-scroll { to { transform: translateX(var(--client-shift)); } }
@media (prefers-reduced-motion: no-preference) {
    .client-section[data-motion] .client-viewport:not(:focus-within) { overflow: hidden; }
    .client-section[data-motion] .client-viewport:not(:focus-within) .client-track {
        animation: bakit-client-scroll var(--client-duration) linear infinite;
    }
    .client-section[data-motion="paused"] .client-viewport:not(:focus-within) .client-track { animation-play-state: paused; }
}
.client-viewport:focus-within .client-logos[aria-hidden] { display: none; }
.strip-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.strip-copy p{margin-top:.8rem;max-width:55ch}
.strip-inner .wp-block-buttons{margin:0;flex:none}
.site-footer{background:#f6f8f8;color:#344e5a}
.footer-inner {
    display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.2fr) minmax(0,.83fr);
    align-items: start; gap: 28px clamp(24px,4vw,64px); padding-block: clamp(28px,3.2vw,44px);
}
.footer-contact, .footer-nav, .footer-nav ul { display: grid; justify-items: start; align-items: start; gap: .5rem; }
.footer-nav ul { grid-column: 1 / -1; width: 100%; margin: 0; padding: 0; list-style: none; }
.footer-heading { margin: 0 0 .2rem; color: var(--body); font: 600 .875rem/1.4 var(--font); }
.footer-nav { font-size: .9375rem; line-height: 1.45; }
.footer-nav .bakit-cookie-settings { padding: 0; border: 0; background: transparent; font: inherit; text-align: start; }
.footer-contact a, .footer-nav :is(a, button) {
    display: inline-flex; align-items: center; max-width: 100%; color: #25596e; white-space: normal;
    overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
}
.footer-contact a { gap: .55rem; font-size: clamp(1rem,.92rem + .45vw,1.1875rem); font-weight: 620; line-height: 1.4; letter-spacing: -.025em; }
.footer-contact svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.footer-nav a { font: inherit; }
.footer-nav .bakit-withdrawal-link { font-weight: 650; }
.footer-contact a:hover, .footer-nav :is(a, button):hover { color: var(--red-hover); text-decoration-thickness: 2px; }
.site-footer :is(a, button):focus-visible { outline-width: 2px; outline-offset: 3px; }
@media (pointer: coarse) {
    .footer-contact, .footer-nav, .footer-nav ul { row-gap: 0; }
    .footer-heading { margin-bottom: .4rem; }
    .footer-contact a, .footer-nav :is(a, button) { min-height: 44px; }
}
.bakit-withdrawal{display:grid;gap:1rem;max-width:40rem}.bakit-withdrawal label{display:grid;gap:.35rem}.bakit-withdrawal input:not([type=hidden]){border:1px solid #a8b6bd;border-radius:4px;padding:.6rem;font:inherit}.bakit-withdrawal button{justify-self:start}
.detail-head{padding-block:clamp(52px,6.3vw,95px)}
.interior h1,.detail-head h1{margin:1rem 0;max-width:19ch}
.deck{max-width:58ch}
.detail-body{display:grid;grid-template-columns:1fr .9fr;gap:clamp(35px,7vw,110px)}
.detail-body h2{font-size:clamp(1.65rem,2.6vw,2.35rem);margin-bottom:1.2rem}
.detail-checklist{border-left:2px solid #bfd0d7;padding-left:clamp(18px,2.8vw,44px)}
.detail-checklist ul{padding-left:1.22rem;color:var(--body)}.detail-checklist li{padding:.25rem 0}
.detail-checklist li::marker{color:var(--red)}
.quote-layout{display:grid;grid-template-columns:.83fr 1.1fr;align-items:start;gap:clamp(30px,6vw,96px)}
.quote-intro .deck{font-size:1.12rem}
.contact-details{margin-top:2rem;border-top:1px solid var(--line);padding-top:1.45rem;display:grid;gap:4px}
.contact-details h2{font-size:1.2rem;letter-spacing:-.025em;margin:0 0 .5rem}
.contact-details a{width:fit-content;color:#365c70;text-underline-offset:.2em}
.quote-preview,.quote-active{min-width:0;border:1px solid #cedbde;background:#f5f8f8;padding:clamp(20px,3vw,40px);border-radius:9px}
.form-notice,.service-selection{font-size:.9rem;color:#3d5664;margin:0 0 1.25rem!important}
.service-selection strong{margin-right:.45rem}
.quote-preview label{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;margin:0 0 17px;color:var(--ink);font-weight:600}
.form-row{display:flex;gap:17px}
.quote-preview :is(input,textarea){width:100%;padding:10px 12px;font:400 1rem/1.45 var(--font);color:var(--ink);background:#fff;border:1px solid #adbfc5;border-radius:4px}
.quote-preview textarea{resize:vertical;min-height:105px}
.quote-preview input[type=file]{padding:8px;font-size:.9rem}
.quote-preview input[type=file]::file-selector-button{padding:7px 9px;margin-right:9px;border:0;border-radius:3px;background:#e6edef;color:var(--ink);font:inherit}
.field-hint{color:var(--muted);font-size:.88rem;font-weight:400}
.form-result:not(:empty){margin:1rem 0 0;padding:.8rem;border-left:3px solid #487568;background:#e6f1eb}
.simple-content{padding-block:60px;max-width:760px}.simple-content>*+*{margin-top:1rem}
@media (min-width: 761px) and (max-width: 1040px) {
    .service-entry { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); }
    .service-entry h3 { grid-row: span 2; }
    .service-entry .service-links { grid-column: 2; flex-direction: row; }
}
@media(max-width:1040px){
    .masthead-inner{gap:clamp(12px,1.7vw,18px)}.hero-inner{grid-template-columns:1fr 1fr;gap:25px}
    .services-grid:not(.direction-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.services-grid:not(.direction-grid) .service-card:nth-child(3){border-left:0}.services-grid:not(.direction-grid) .service-card:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:850px){
    .masthead-inner{min-height:64px;flex-wrap:wrap;column-gap:clamp(6px,2vw,13px);row-gap:0}
    .masthead .brand{width:min(180px,calc(100% - 140px))}
    .menu-toggle{display:inline-flex;margin-left:auto}.main-nav{order:5;width:100%;margin:0}.site-nav-list{padding:12px 0 17px;flex-wrap:wrap;gap:14px 24px}
    .menu-toggle[aria-expanded="false"] + .main-nav{display:none}
    .language-nav{border:0;padding:0;gap:5px}.language-nav a+a::before{margin-right:5px}
    .header-quote{display:none}
}
@media(max-width:760px){
    .services-grid.direction-grid { grid-template-columns: 1fr; }
    .direction-grid .service-card { border-left: 0; border-top: 1px solid var(--line); padding: 20px 5px 20px 52px; }
    .direction-grid .service-card:first-child { border-top: 0; }
    .direction-grid .service-card::before { position: absolute; left: 3px; top: 21px; }
    .service-entry { grid-template-columns: 1fr; }
    .service-entry .service-links { flex-direction: row; }
    .regulation-list li { grid-template-columns: 1fr; gap: .15rem; }
    .regulation-section, .regulation-section ul { display: block; }
    .regulation-row { grid-template-columns: 1fr; padding-inline: 0; }
    .regulation-headings { display: none; }
    .regulation-date { font-size: .9rem; }
    .regulation-date-label { position: static; width: auto; height: auto; clip-path: none; margin-right: .25rem; }
    .hero-inner{grid-template-columns:1fr;padding-block:39px;gap:32px}.hero-intro{max-width:52ch}
    .hero-copy h1{margin-top:1.05rem}.hero-copy .wp-block-buttons{margin-top:1.3rem}
    .hero-copy h1 br{display:none}
    .section-intro,.process-inner,.detail-body,.quote-layout{grid-template-columns:1fr;gap:23px}.section-intro>p{justify-self:start}
    .process-photo{order:2}.process-photo img{height:260px}.process-inner{gap:23px}.strip-inner{align-items:flex-start;flex-wrap:wrap}
    .process-certificate{--sheet-width:min(81%,21.25rem);order:2;justify-self:center;width:min(100%,27rem)}
    .detail-checklist{border-left:0;border-top:1px solid var(--line);padding:1.5rem 0 0}
    .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-inner > .brand { grid-column: 1 / -1; width: clamp(116px,24vw,160px); }
    .interior h1,.detail-head h1{max-width:100%}
}
@media(max-width:470px){
    .bakit-content h1{font-size:clamp(2.52rem,10.3vw,3.1rem)}
    .services-grid{grid-template-columns:1fr;margin-top:27px}.service-card{border-left:0;border-top:1px solid var(--line);padding:20px 5px 20px 52px}
    .service-card:first-child{border-top:0}.service-card::before{position:absolute;left:3px;top:21px}.service-card p{margin-top:.4rem}
    .footer-inner { grid-template-columns: minmax(0,1fr); }
    .footer-nav, .footer-nav ul { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1rem; }
    .footer-nav .footer-heading { grid-column: 1 / -1; }
    .form-row{display:block}
    .bakit-content .wp-block-button__link{padding:.74rem .84rem;font-size:.92rem}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
