/* Service cards are real named links with a full-card touch area. */
.service{position:relative;transition:border-color .15s ease,box-shadow .15s ease}
.service :is(h2,h3) a::after{content:"";position:absolute;inset:0;border-radius:16px;z-index:1}
.service:has(a:focus-visible){outline:3px solid #d6ad60;outline-offset:3px}
.service:hover{border-color:#7f9fc3;box-shadow:0 5px 15px #12356312}
.service :is(h2,h3) a:focus-visible{outline:none}
.service p:last-child{margin-bottom:0}
.service :is(h2,h3){margin-bottom:14px}.service .service-icon{margin-bottom:18px!important}
.grid{gap:20px}.related-section>h2{margin-bottom:26px}
.section{padding-top:38px}.section>h2{margin-bottom:18px}
.wp-block-group.reading>h2{margin-block:30px 16px}
.wp-block-group.reading>h2:first-child{margin-top:0}
.wp-block-group.reading>p{margin-block:0 18px}
.wp-block-group.reading>p:last-child{margin-bottom:0}
.wp-block-group.cta>h2{margin-bottom:16px}
.wp-block-group.cta>p{margin-bottom:24px}
.wp-block-group.service-heading>.service-intro{margin-bottom:24px}
.page-content>.contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:14px;max-width:900px;margin:26px auto 32px}
.page-content .contact-actions>.wp-block-button{display:flex;min-width:0;align-self:stretch}
.page-content .contact-actions .wp-block-button__link{width:100%;min-height:54px;padding:13px 14px}
.service-heading>.wp-block-buttons,.cta>.wp-block-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:12px;max-width:760px;margin-inline:auto}
.service-heading>.wp-block-buttons>.wp-block-button,.cta>.wp-block-buttons>.wp-block-button{display:flex;min-width:0;align-self:stretch}
.service-heading>.wp-block-buttons .wp-block-button__link,.cta>.wp-block-buttons .wp-block-button__link{width:100%;min-height:54px}
.wp-block-button__link,.primary{min-height:48px}
.contact-strip .wp-block-buttons{gap:10px}
.contact-strip .wp-block-button__link{min-height:48px}
.navigation a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.navigation{padding-block:10px}
.footer-inner{padding-block:32px}
.footer-inner>.footer-copy{margin:25px auto;line-height:1.65}
.footer-inner>.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px auto;max-width:1000px}
.footer-links>.wp-block-button{display:flex;min-width:0}
.footer-links .wp-block-button__link{width:100%;min-height:54px;height:64px;padding:12px 14px;font-size:.95rem}
.footer-inner>.footer-phone{margin-top:24px;margin-bottom:0}
.footer-phone a{display:inline-flex;align-items:center;min-height:44px;padding:5px 10px}
.footer-inner>.cookie-link{margin-top:18px;text-align:center}
.cookie-link a{display:inline-flex;min-height:44px;align-items:center;color:inherit;text-underline-offset:4px;font-size:.9rem}
body.cookie-panel-open{padding-bottom:340px}
body.cookie-panel-expanded{padding-bottom:560px}
.cookie-banner[hidden],.cookie-settings[hidden]{display:none!important}
.cookie-banner{position:fixed;z-index:9999;bottom:18px;right:18px;width:min(640px,calc(100% - 36px));max-height:calc(100dvh - 40px);overflow:auto;padding:22px;background:#f6faff;color:#102c50;border:1px solid #aac5e5;border-top:0;border-radius:14px;box-shadow:0 8px 38px #102c5038}
.cookie-banner h2{font-size:1.2rem;line-height:1.3;text-align:left;margin:0 0 12px}
.cookie-banner .cookie-copy>h2{margin-bottom:12px}
.cookie-banner p{font-size:.9rem;line-height:1.55;margin:0 0 14px}
.cookie-banner .cookie-copy>p{margin-bottom:14px}
.cookie-banner a{color:#124d91}
.cookie-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.cookie-banner button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border:1px solid #0756b4;border-radius:8px;padding:10px 12px;background:#0756b4;color:white;font:inherit;font-size:.88rem;font-weight:500;line-height:1.3;cursor:pointer}
.cookie-banner .cookie-settings-button{background:transparent;color:#124d91}
.cookie-banner button:focus-visible{outline:3px solid #d6ad60;outline-offset:3px}
.cookie-settings{margin-top:18px;padding-top:18px;border-top:1px solid #cddced}
.cookie-settings .cookie-required{font-weight:500}.cookie-required span{color:#087932}
@media(max-width:760px){
 .grid{gap:16px 12px}.section{padding-top:32px}.service{padding-bottom:24px}
 .page-content>.contact-actions{grid-template-columns:1fr;gap:12px;margin:24px auto 30px}
 .page-content .contact-actions .wp-block-button__link{min-height:54px;font-size:1rem;padding-inline:18px}
 .service-heading>.wp-block-buttons,.cta>.wp-block-buttons{grid-template-columns:1fr}
 .footer-inner{padding-block:28px}
 .footer-inner>.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
 .footer-links .wp-block-button__link{min-height:60px;font-size:.88rem;padding:12px 10px}
 .footer-inner>.footer-copy{font-size:.94rem;margin-block:24px}
 .wp-block-group.reading>h2{margin-top:28px;margin-bottom:16px}
 .cookie-banner{bottom:10px;right:10px;width:calc(100% - 20px);padding:18px;max-height:calc(100dvh - 24px)}
 .cookie-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
 .cookie-actions .cookie-settings-button{grid-column:1/-1;min-height:44px}
 .cookie-banner p{font-size:.86rem}.cookie-banner h2{font-size:1.13rem}
}
@media(prefers-reduced-motion:reduce){.service{transition:none}}

/* Approved first logo and lighter, finer service illustrations. */
.site-header .logo img,.site-footer .logo img{filter:none}
.service-icon img,.page-icon img{filter:saturate(.82) contrast(.95) brightness(1.03)}
.footer-inner>.legal-identity{font-size:.8rem;line-height:1.5;text-align:center;color:#d4e0ef;margin-top:16px}

/* Restrained colour logo, straight separator and aligned descriptor initials. */
.lockup{grid-template-columns:minmax(0,330px) 1px minmax(0,330px);column-gap:18px;justify-content:center}
.lockup::before{content:"";display:block;grid-area:1/2;width:1px;align-self:stretch;background:rgba(255,255,255,.6)}
.lockup::after{display:none}
.lockup>.logo{grid-area:1/1}.lockup>.brand-copy{grid-area:1/3;text-align:left}
@media(max-width:760px){.lockup{column-gap:12px}.lockup>.brand-copy{text-align:left}}

/* Centre brand columns and strengthen the existing half-pixel contact outlines. */
.lockup>.logo{width:100%;justify-self:center;margin-inline:auto}
.lockup>.brand-copy{text-align:center}
.wp-block-button:is(.whatsapp,.viber,.call)>.wp-block-button__link{border:.7px solid #c6dcf5}
@media(max-width:760px){.lockup>.brand-copy{text-align:center}}

/* Align the separator and the navigation with the contact strip. */
.site-header .lockup,.site-footer .lockup{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr)}
.navigation{box-sizing:border-box;width:min(840px,calc(100% - 32px));margin-inline:auto;padding:10px 0;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:3px;font-size:clamp(11px,3.55vw,16px);letter-spacing:0}
.navigation a{white-space:nowrap}

@media(max-width:760px){.navigation{width:calc(100% - 24px)}}

/* Equal visible distances from the separator, and menu inside the button edges. */
.site-header .lockup>.logo,.site-footer .lockup>.logo{justify-self:end;margin-inline:0}
.site-header .logo img,.site-footer .logo img{transform:translateX(4.086%)}
.site-header .lockup>.brand-copy,.site-footer .lockup>.brand-copy{width:max-content;max-width:100%;justify-self:start;text-align:center}
.navigation{padding-inline:5px}

/* Full-width welcoming photo collage; keep text as native editable blocks. */
.hero.container{width:100%;max-width:none;padding-top:28px}
.hero .intro{display:flex;flex-direction:column;gap:24px;padding:0;border:0;border-radius:0;background:transparent}
.hero .hero-copy{width:min(900px,calc(100% - 48px));margin:0 auto;text-align:center}
.hero .hero-copy p{text-align:center}
.hero .intro>.wp-block-image{width:100%;margin:0;padding:0}
.hero .intro>.wp-block-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:0}
@media(max-width:760px){.hero.container{padding-top:24px}.hero .intro{gap:23px}.hero .hero-copy{width:calc(100% - 36px)}.hero .hero-copy p{text-align:left}}

/* Quiet, asymmetric curved transitions integrate the full-width collage into the page. */
.hero .intro>.wp-block-image{position:relative;isolation:isolate;border:0;padding:0;background:transparent;border-radius:0;overflow:hidden}
.hero .intro>.wp-block-image::before,.hero .intro>.wp-block-image::after{content:"";position:absolute;left:0;right:0;z-index:1;pointer-events:none;background-repeat:no-repeat;background-size:100% 100%}
.hero .intro>.wp-block-image::before{top:-1px;height:clamp(18px,2.4vw,35px);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f9fd' d='M0 0H1440V12C1120 52 560 -16 0 26Z'/%3E%3C/svg%3E")}
.hero .intro>.wp-block-image::after{bottom:-1px;height:clamp(20px,2.6vw,38px);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f9fd' d='M0 48H1440V20C1060 -14 480 64 0 18Z'/%3E%3C/svg%3E")}
.hero .intro{gap:26px}
@media(max-width:760px){.hero .intro{gap:24px}}


/* Preserve card typography after correcting catalog heading levels. */
.service h2{font-size:1.25rem}
@media(max-width:760px){.service h2{font-size:1.06rem}}

/* Navigation is available in the header and related cards; omit the visible path row. */
.page-content>.breadcrumb{display:none}

/* Match visible brand edges, rather than transparent image margins. */
.site-header .lockup,.site-footer .lockup{
 --brand-size:min(34px,calc((100vw - 69px)/17.834));
 --brand-width:calc(var(--brand-size)*8.817);
 --brand-gap:18px;
 width:calc(var(--brand-width)*2 + var(--brand-gap)*2 + 1px);
 max-width:100%;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);column-gap:var(--brand-gap);
}
.site-header .lockup>.logo,.site-footer .lockup>.logo{width:100%;max-width:none}
.site-header .logo img,.site-footer .logo img{width:107.7636153%;max-width:none;transform:translateX(-3.11827957%)}
.site-header .lockup>.brand-copy,.site-footer .lockup>.brand-copy{
 font-size:var(--brand-size);line-height:1.35;letter-spacing:0;text-align:left;width:max-content;max-width:none;transform:translateX(-2px)
}
.site-header,.site-footer{--focus-colour:#9ae6bd}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus-colour,#198754)}
.fields :is(input,textarea):focus{outline:3px solid #198754;border-color:#198754}
.service:has(a:focus-visible),.cookie-banner button:focus-visible{outline-color:#198754}
.message>p{margin-bottom:14px}
.message .wp-block-buttons{margin:0}
.message .message-call{min-height:52px;min-width:220px;white-space:nowrap;background:#075eb9;color:#fff;font-size:1.08rem}
.message--no{background:#fff8f5;border-color:#b46040}
@media(max-width:760px){
 .site-header .lockup,.site-footer .lockup{--brand-size:min(34px,calc((100vw - 49px)/17.834));--brand-gap:12px}
 .site-header .lockup>.brand-copy,.site-footer .lockup>.brand-copy{transform:translateX(-1px)}
}

/* One genuine editable photograph between the service description sections. */
.wp-block-group.reading>.wp-block-image.service-photo{width:100%;max-width:880px;margin:28px auto 30px;padding:0;border:0;background:none}
.reading>.service-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px}
.wp-block-group.reading>.service-photo+h2{margin-top:0}
@media(max-width:760px){.wp-block-group.reading>.wp-block-image.service-photo{margin-top:24px;margin-bottom:26px}.reading>.service-photo img{border-radius:10px}}

/* Header wordmark and descriptor with equal visible divider gaps. */
.site-header .lockup{
 --header-inline-reduction:20px;
 --header-copy-size:calc(min(26px,calc((100vw - 69px)/22.417)) - var(--header-inline-reduction)/22.417);
 --header-logo-width:calc(var(--header-copy-size)*13.6);
 --header-copy-width:calc(var(--header-copy-size)*8.817);
 --header-gap:18px;
 width:calc(var(--header-logo-width) + var(--header-copy-width) + var(--header-gap)*2 + 1px);
 max-width:100%;grid-template-columns:var(--header-logo-width) 1px var(--header-copy-width);column-gap:var(--header-gap)
}
.site-header .lockup>.logo{width:100%;max-width:none}
.site-header .logo img{width:100%;max-width:100%;transform:none;border-radius:0}
.site-header .lockup>.brand-copy{font-size:var(--header-copy-size);text-align:left;line-height:1.35;letter-spacing:0;transform:translateX(var(--header-copy-offset,-1px))}
@media(max-width:760px){.site-header .lockup{--header-copy-size:calc(min(26px,calc((100vw - 49px)/22.417)) - var(--header-inline-reduction)/22.417);--header-gap:12px}}

/* Bring each edge of the navigation in by 10px. */
/* Match the outside edges of the three contact buttons. */
.nav-strip .navigation {
 width: min(840px, calc(100% - 32px));
 padding-inline: 0;
 font-size: clamp(10px, 3.8vw, 19px);
}
@media (max-width: 760px) {
 .nav-strip .navigation { width: calc(100% - 24px); }
}

/* Decorative scene in the header descriptor slot. */
.site-header .brand-copy.has-working-silhouettes { position: relative; color: transparent; }
.site-header .brand-copy .working-silhouettes { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: stretch; pointer-events: none; }
.site-header .brand-copy .working-silhouettes > span { flex: none; height: 100%; background: rgba(180, 219, 255, 0.21); mask-image: url("metla-working-silhouettes-v1.webp"); mask-repeat: no-repeat; mask-size: auto 102.240896%; }
.site-header .brand-copy .working-silhouettes > span:nth-child(1) { aspect-ratio: 483/714; mask-position: 1.077844% 37.500000%; }
.site-header .brand-copy .working-silhouettes > span:nth-child(2) { aspect-ratio: 844/714; mask-position: 45.836516% 37.500000%; }
.site-header .brand-copy .working-silhouettes > span:nth-child(3) { aspect-ratio: 565/714; mask-position: 97.795970% 37.500000%; }

/* Render the label below the cleaning scene on the first paint. */
.site-header .lockup > .brand-copy.has-header-caption {
 position: relative;
 width: 100%;
 height: 2lh;
 --oval-caption-size: calc(var(--header-copy-size) * .53);
 --oval-caption-gap: 6px;
 --oval-caption-space: calc(var(--oval-caption-gap) + var(--oval-caption-size) * 1.08);
}
.site-header .brand-copy.has-header-caption .working-silhouettes {
 transform: translateY(calc(var(--oval-caption-space) * -.5));
}
.site-header .brand-copy.has-header-caption .working-silhouettes > span {
 background: #0759b3;
}
.site-header .brand-copy .brand-caption {
 position: absolute;
 top: calc(100% + var(--oval-caption-gap) - var(--oval-caption-space) * .5);
 left: 50%;
 width: max-content;
 transform: translateX(-50%);
 color: #d6d6d6;
 font-size: var(--oval-caption-size);
 font-weight: 450;
 line-height: 1.08;
 text-align: center;
 white-space: nowrap;
}
@media (max-width: 410px) {
 .site-header .brand-copy.has-header-caption {
  --oval-caption-size: clamp(8px, calc(var(--header-copy-size) * .59), 9px);
 }
 .site-header .brand-copy .brand-caption {
  transform: translateX(-50%) scaleX(.77);
 }
}

@media (max-width: 340px) {
 .site-header .brand-copy .brand-caption {
  transform: translateX(-50%) scaleX(.72);
 }
}

/* Keep the navigation available after its normal position reaches the top. */
.nav-strip {
 position: sticky;
 top: 0;
 z-index: 10;
}
html { scroll-padding-top: 85px; }
@media (min-width: 601px) {
 body.admin-bar .nav-strip { top: var(--wp-admin--admin-bar--height, 32px); }
}

/* Give the call and enquiry actions within the page the same appearance. */
#main-content :is(.cta, .service-heading, .page-content > .contact-actions) .wp-block-button.call > .wp-block-button__link[href^="tel:"],
#main-content .wp-block-button__link[href$="#zapitvane"] {
 background-color: var(--blue);
 color: #fff;
 border: 1px solid #c6dcf5;
 text-transform: uppercase;
}
#main-content :is(.cta, .service-heading, .page-content > .contact-actions) .wp-block-button.call > .wp-block-button__link[href^="tel:"] { background-color: #08734c; }
#main-content .fields > button.primary[type="submit"] { text-transform: uppercase; }

@media (max-width: 360px) {
 #main-content :is(.cta, .service-heading, .page-content > .contact-actions) .wp-block-button.call > .wp-block-button__link[href^="tel:"] {
  font-size: clamp(.8rem, 5vw, 1rem);
  padding-inline: 8px;
  white-space: nowrap;
 }
}

/* Keep the logo's original slot while letting the larger broom show in full. */
.site-header .logo:has(img[src$="/metla-centered-header.png"]) {
 position: relative;
}
.site-header .logo:has(img[src$="/metla-centered-header.png"]) > a {
 width: 100%;
 aspect-ratio: 863 / 187;
}
.site-header .logo:has(img[src$="/metla-centered-header.png"]) img[src$="/metla-centered-header.png"] {
 position: absolute;
 top: 50%;
 left: 0;
 transform: translateY(-50%) scale(.96);
}

/* Replace the header divider with a fine frame around the scene and caption. */
.site-header .lockup::before { visibility: hidden; }
.site-header .brand-copy.has-header-caption > .brand-oval-link::before {
 content: "";
 position: absolute;
 inset: calc(-13px - var(--oval-caption-space) * .5) -13px;
 border-radius: clamp(17px, 5vw, 27px);
 box-shadow: 0 0 0 .5px rgba(255, 255, 255, .6);
}
/* Keep the first and last words aligned to the buttons while opening the gaps. */
.nav-strip .navigation { letter-spacing: -.35px; }

/* Align the three pieces of the header with the contact buttons. */
@supports (width: 1cqi) {
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup {
  width: min(840px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 0;
  container-type: inline-size;
  --header-oval-scale: .93;
  --header-broom-width: calc(var(--header-logo-width) * 0.1579606025);
  --header-name-width: calc(var(--header-logo-width) * .77);
  --header-oval-width: calc((var(--header-copy-width) + 26px) * var(--header-oval-scale));
  --header-even-gap: calc((100cqi - var(--header-broom-width) - var(--header-name-width) - var(--header-oval-width)) / 2);
  --header-line-space: 7.328125px;
 }
 @media (max-width: 760px) {
  .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup { --header-line-space: 7.796875px; }
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup::before { display: none; }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .logo {
  flex: none;
  width: calc(var(--header-broom-width) + var(--header-name-width) + var(--header-even-gap));
  height: calc(var(--header-logo-width) * 187 / 863 + var(--header-line-space));
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .logo > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .logo img[src$="/metla-bricolage-header.png"] {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .logo > a::before,
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .logo > a::after {
  content: "";
  display: block;
  background-image: url("metla-bricolage-header.png");
  background-repeat: no-repeat;
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .logo > a::before {
  width: var(--header-broom-width);
  height: calc(var(--header-broom-width) * 237 / 142);
  background-size: calc(var(--header-broom-width) * 863 / 142) 100%;
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .logo > a::after {
  width: var(--header-name-width);
  height: calc(var(--header-name-width) * 237 / 706);
  background-size: calc(var(--header-name-width) * 863 / 706) 100%;
  background-position: calc(var(--header-name-width) * -156 / 706) 0;
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .brand-copy.has-header-caption {
  flex: none;
  width: var(--header-copy-width);
  margin-inline: calc((var(--header-copy-width) + 13px) * var(--header-oval-scale) - var(--header-copy-width)) calc(13px * var(--header-oval-scale));
  transform: scale(var(--header-oval-scale));
  transform-origin: right center;
 }
}

/* Inset both ends of the header row and keep the broom next to the name. */
@supports (width: 1cqi) {
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup {
  width: calc(min(840px, 100%) - 10px);
  --header-even-gap: calc(var(--header-logo-width) * .018);
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .brand-copy.has-header-caption {
  --header-oval-scale: .84;
  --frame-inline-inset: 13px;
  margin-inline: calc((var(--header-copy-width) + var(--frame-inline-inset)) * var(--header-oval-scale) - var(--header-copy-width)) calc(var(--frame-inline-inset) * var(--header-oval-scale));
 }
 .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .brand-copy.has-header-caption > .brand-oval-link::before { inset-inline: calc(-1 * var(--frame-inline-inset)); }
 @supports (transform: scale(calc(1px / 1px))) {
  .site-header:has(.logo img[src$="/metla-bricolage-header.png"]) .lockup > .brand-copy.has-header-caption {
   --frame-natural-height: calc(2lh + 26px + var(--oval-caption-space));
   --header-oval-scale: calc(.93 - 10px / var(--frame-natural-height));
   --frame-final-width: calc((var(--header-copy-width) + 26px) * .93 - 10px);
   --frame-inline-inset: calc((var(--frame-final-width) / var(--header-oval-scale) - var(--header-copy-width)) / 2);
  }
 }
}

.site-header .brand-oval-link { text-decoration: none; }
.site-header .brand-oval-link:focus-visible { outline: none; }
.site-header .brand-oval-link:focus-visible::before {
 outline: 2px solid var(--focus-colour);
 outline-offset: 2px;
}
.site-header .brand-caption.is-fitted {
 transform: translateX(-50%);
 letter-spacing: var(--oval-label-spacing);
}

/* Let the linked frame step out around the wider inscription. */
.site-header .brand-contour { display: none; }
.site-header .brand-copy .brand-oval-link.has-caption-contour::before {
 box-shadow: none;
 outline: none;
 pointer-events: none;
}
.site-header .brand-oval-link.has-caption-contour .brand-caption {
 font-size: calc(var(--oval-caption-size) * 1.14);
}
.site-header .has-caption-contour .brand-contour {
 display: block;
 position: absolute;
}
.site-header .brand-contour::before {
 content: "";
 position: absolute;
 inset: 0;
 background: rgba(255, 255, 255, .6);
 clip-path: var(--brand-contour-line);
 pointer-events: none;
}
.site-header .brand-oval-link:focus-visible .brand-contour::before {
 background: var(--focus-colour);
 clip-path: var(--brand-contour-focus);
}

/* Match the masthead only while the navigation is pinned. */
.nav-strip.is-stuck {
 background-color: #11386b;
 background-image: var(--stuck-nav-gradient);
}
.nav-strip.is-stuck .navigation a { color: #fff; }

/* The stage is as wide as the wordmark in front and fades behind the figures. */
.site-header .brand-contour::after {
 content: "";
 position: absolute;
 inset-inline: var(--brand-floor-inset);
 inset-block-start: var(--brand-floor-top);
 block-size: var(--brand-floor-depth);
 clip-path: polygon(37% 0, 63% 0,
   calc(100% - var(--brand-floor-fold-x)) var(--brand-floor-fold-y),
   100% 100%, 0 100%,
   var(--brand-floor-fold-x) var(--brand-floor-fold-y));
 background:
   radial-gradient(ellipse at 53% 113%, rgba(200, 227, 250, .16), transparent 56%),
   linear-gradient(to bottom, transparent 4%, rgba(118, 175, 225, .055) 38%,
     rgba(137, 190, 230, .17) 92%, rgba(188, 219, 245, .34) 100%);
 pointer-events: none;
}

/* Widen the tap feedback visually without shifting or enlarging the links. */
.nav-strip .navigation a {
 position: relative;
 isolation: isolate;
 -webkit-tap-highlight-color: transparent;
}
.nav-strip .navigation a:is(:active,.is-touch-pressed)::before {
 content: "";
 position: absolute;
 inset: 0 -5px;
 z-index: -1;
 border-radius: 4px;
 background: rgba(7, 89, 179, .16);
 pointer-events: none;
}
.nav-strip.is-stuck .navigation a:is(:active,.is-touch-pressed)::before { background: rgba(154, 206, 250, .17); }

@font-face {
 font-family: 'Metla Banner';
 src: url('metla-source-sans.woff2') format('woff2');
 font-style: normal;
 font-weight: 600;
 font-display: swap;
}
.site-header .lockup:has(> .has-open-brand) {
 display: flex;
 position: relative;
 align-items: center;
 justify-content: space-between;
 width: min(820px, 100%);
 min-height: clamp(54px, 13vw, 91px);
 gap: clamp(8px, 3vw, 26px);
}
.site-header .lockup:has(> .has-open-brand)::before,
.site-header .lockup:has(> .has-open-brand)::after { display: none; }
.site-header .lockup.has-divider-position::after {
 content: '';
 display: block;
 position: absolute;
 left: calc(var(--brand-divider-x) - 4px);
 top: 50%;
 width: 1px;
 height: calc(clamp(34px, 12vw, 58px) + 14px);
 transform: translate(-50%, -50%);
 background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .28) 20% 80%, rgb(255 255 255 / .05));
 pointer-events: none;
}
.site-header .topbar:has(.has-open-brand) { padding-block: clamp(16px, 3.3vw, 22px); }
.site-header .lockup:has(> .has-open-brand) > .logo {
 flex: 0 0 auto;
 width: auto;
 margin: 0;
 margin-inline-start: 5px;
}
.site-header .logo .brand-home-link {
 display: flex;
 align-items: center;
 gap: clamp(5px, 1.6vw, 12px);
 font: 600 clamp(28px, 9.2vw, 70px)/1 'Metla Banner', sans-serif;
 letter-spacing: -.035em;
 white-space: nowrap;
 color: #fff;
 text-decoration: none;
}
.site-header .logo .brand-home-link img {
 display: block;
 width: auto;
 max-width: none;
 height: clamp(33px, 11vw, 66px);
}
.site-header .lockup > .brand-copy.has-open-brand {
 flex: 0 1 auto;
 min-width: 0;
 height: auto;
 width: clamp(136px, 41vw, 249px);
 margin: 0;
 transform: none;
 text-align: center;
}
.site-header .brand-stage-link {
 display: block;
 container-type: inline-size;
 color: #fff;
 text-decoration: none;
}
.site-header .brand-stage-scene {
 display: block;
 position: relative;
 isolation: isolate;
 margin-inline: 3px;
 padding-bottom: 4px;
}
.site-header .brand-stage-scene::before {
 content: '';
 position: absolute;
 z-index: -1;
 inset: 38% 0 0;
 background: linear-gradient(180deg, transparent, rgba(145, 194, 232, .17) 96%, rgba(184, 220, 248, .29));
 clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.site-header .brand-stage-scene .working-silhouettes {
 position: static;
 width: 88%;
 height: clamp(28px, 9.3vw, 55px);
 margin: auto;
}
.site-header .brand-stage-scene .working-silhouettes > span {
 background: linear-gradient(#91c7ee, #6395c2);
 opacity: .77;
}
.site-header .brand-stage-copy {
 display: block;
 margin: 6px 3px 0;
 color: #e8f3fd;
 font: 500 clamp(8px, 2.32vw, 12px)/1.2 Roboto, sans-serif;
 /* In this face with the tracking below, the caption spans 16.16 times its font size. */
 font-size: calc((100cqi - 6px) / 16.16);
 letter-spacing: .015em;
 white-space: nowrap;
}
