.metr-catalog-nav { position:relative; color:inherit; }
.mh-nav .metr-catalog-trigger, .mh-nav .metr-catalog-toggle {
  display:flex; align-items:center; min-height:44px; padding:0; border:0; background:none;
  color:inherit; font:inherit; line-height:1.3; text-align:left; cursor:pointer;
}
.mh-nav .metr-catalog-toggle, .mh-nav .metr-catalog-nav[data-tap] > .metr-catalog-trigger { display:none; }
.mh-nav .metr-catalog-nav[data-tap] > .metr-catalog-toggle { display:flex; }
.mh-nav .metr-catalog-nav[data-open] > :is(.metr-catalog-trigger,.metr-catalog-toggle),
.mh-nav .metr-catalog-trigger[aria-current], .mh-nav .metr-catalog-toggle[aria-current] { color:var(--mh-lime,#b6f243); }
.metr-catalog-links {
  position:absolute; z-index:50; inset:100% auto auto 0; display:none; width:min(550px,84vw);
  grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 12px; padding:12px;
  background:white; color:#10364a; border:1px solid #c5d7df; border-radius:6px; box-shadow:0 9px 26px #021a2e29;
}
.metr-catalog-nav[data-open] > .metr-catalog-links,
.metr-catalog-nav:not([data-ready]):is(:hover,:focus-within) > .metr-catalog-links { display:grid; }
.mh-nav .metr-catalog-links a {
  display:flex; align-items:center; width:100%; padding:9px 10px; border-radius:3px;
  color:#10364a; line-height:1.35; white-space:normal; text-decoration:none;
}
.mh-nav .metr-catalog-links a:is(:hover,:focus-visible) { color:#10364a; background:#edf6e2; }
.metr-catalog-nav :is(a,button):focus-visible { outline:2px solid currentColor; outline-offset:2px; }
@media (max-width:1199px) {
  .metr-catalog-nav { width:100%; }
  .mh-nav .metr-catalog-trigger, .mh-nav .metr-catalog-toggle {
    width:100%; min-height:52px; padding:12px 0; font-size:18px; border-bottom:1px solid #28495c;
  }
  .metr-catalog-links { position:static; width:100%; grid-template-columns:1fr; padding:6px; margin:3px 0 10px; box-shadow:none; }
  .mh-nav .metr-catalog-links a { min-height:44px; font-size:16px; }
}
.metr-next,.metr-prices{background:#f4f9fb;color:#0b293a;padding:clamp(28px,4vw,62px) 0}.metr-next h2,.metr-prices h2,.metr-prices-head h1{margin:0 0 .4em;color:inherit}.metr-next p,.metr-prices p,.metr-prices-head p{max-width:72ch;font-size:17px;line-height:1.55}.metr-next-links,.metr-prices-head nav:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px;margin-top:18px}.metr-next-links a,.metr-prices-head nav:last-child a,.metr-price-list a{font-weight:700;text-decoration:underline;text-underline-offset:4px;color:#12516c}.metr-prices-head{background:#062638;color:#fff;padding:28px 0 42px}.metr-prices-head .mp-breadcrumb{margin-bottom:26px}.metr-prices-head nav:last-child a{color:#b5f43b}.metr-prices-head h1{font-size:clamp(32px,4vw,54px);line-height:1.12}.metr-price-list{background:white;margin:22px 0 45px;border-top:1px solid #cedde2}.metr-price-list article{padding:18px 20px;border-bottom:1px solid #cedde2;display:grid;align-items:center;gap:10px 20px;grid-template-columns:minmax(0,1.4fr) minmax(140px,.7fr) minmax(150px,.65fr)}.metr-price-list h3,.metr-price-list p{margin:0}.metr-price-list p,.metr-price-list small{color:#476573}.metr-price-list small{display:block}.metr-price-list a{display:flex;gap:6px;align-items:center}.metr-price-list a svg{width:18px}.metr-prices-request{padding:36px 0;background:#eaf2f5}.metr-prices-request .mp-form-box{max-width:740px}.metr-footer-label,.metr-question-title{font-weight:700;color:inherit;font-size:18px;line-height:1.25;margin:0 0 12px}.metr-question-title{font-size:22px}.metr-cookie[hidden]{display:none}.metr-cookie{position:fixed;z-index:1500;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(720px,calc(100% - 24px));box-sizing:border-box;display:flex;gap:12px;align-items:center;padding:13px 16px;border:1px solid #77979f;border-radius:8px;color:white;background:#082d3e;box-shadow:0 5px 21px #00192436;font:400 15px/1.4 MHNimbus,Arial,sans-serif}.metr-cookie a{color:#fff;text-decoration:underline}.metr-cookie-actions{display:flex;gap:8px;flex-shrink:0}.metr-cookie button{padding:9px 12px;border:1px solid #a3b5be;border-radius:4px;background:transparent;color:#fff;cursor:pointer;font:inherit}.metr-cookie button{min-height:44px;min-width:6.6em;font-weight:700}.metr-cookie button:hover{background:#17495b}.metr-cookie :focus-visible{outline:2px solid #b6f243;outline-offset:2px}.metr-cookie a{text-underline-offset:.14em}.metr-cookie-actions{margin-inline-start:auto}@media(max-width:650px){.metr-cookie-actions{margin-inline-start:0}.metr-cookie{gap:8px}}
@media(max-width:1100px){.metr-cookie{bottom:calc(68px + env(safe-area-inset-bottom))}}
@media(max-width:620px){.metr-price-list article{grid-template-columns:1fr;gap:7px}.metr-price-list a{min-height:32px}.metr-cookie{align-items:flex-start;flex-direction:column;font-size:14px}.metr-prices-head h1{max-width:15em}}
.metr-footer-catalog{margin-top:6px;color:#edf8ff;max-width:100%}
#top.mh-home.mh-redesign .mh-services { padding-block-end:0; }
#top.mh-home.mh-redesign .mh-services + .mh-projects { padding-block-start:clamp(24px,2.5vw,40px); }
.metr-home-directory { margin-top:clamp(18px,2vw,28px); }
.metr-home-directory > .mh-wrap { padding-block:0 clamp(14px,1.4vw,22px); }
.metr-directory-heading {
  display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 22px;
  border-top:1px solid #c8dbe2; padding-top:clamp(14px,1.5vw,22px); margin-bottom:8px;
}
#top.mh-home.mh-redesign .metr-directory-heading h2 {
  margin:0; font-size:clamp(24px,2.1vw,32px); line-height:1.15;
}
.metr-directory-price, .metr-home-directions a {
  display:inline-flex; align-items:center; min-height:34px; color:#124e66;
  font-size:16px; line-height:1.35; text-decoration:underline; text-underline-offset:3px;
}
.metr-directory-price { gap:7px; font-weight:700; }
.metr-directory-price svg { width:17px; height:17px; flex:none; }
.metr-home-directions > div {
  display:grid; grid-template-columns:clamp(200px,20vw,275px) minmax(0,1fr); align-items:baseline;
  gap:0 22px; padding:3px 0; border-top:1px solid #d9e6eb;
}
#top.mh-home .metr-home-directions h3 { margin:0; color:#0b293a; font-size:17px; line-height:1.35; }
.metr-home-directions ul { display:flex; flex-wrap:wrap; gap:0 20px; margin:0; padding:0; list-style:none; }
.metr-home-directions li { margin:0; padding:0; }
.metr-home-directory a:is(:hover,:focus-visible) { color:#092839; text-decoration-thickness:2px; }
@media (max-width:760px) {
  .metr-home-directions > div { grid-template-columns:1fr; padding:8px 0 4px; }
  .metr-home-directions ul { gap:0 16px; }
  .metr-home-directions a, .metr-directory-price { min-height:38px; }
}
.metr-footer-catalog summary{display:list-item;width:fit-content;max-width:100%;padding:7px 0;cursor:pointer;font-weight:700;color:inherit}
.metr-footer-catalog nav{display:grid;align-items:start;gap:2px;padding:4px 0 11px}
.metr-footer-catalog nav a{line-height:1.4;white-space:normal;padding:4px 0}
.metr-footer-catalog summary:focus-visible,.metr-footer-catalog a:focus-visible{outline:2px solid #b7f443;outline-offset:3px}
.metr-estimate-hub { background:#fff; color:#102e40; padding-block:clamp(28px,3.5vw,52px); }
.metr-estimate-head, .metr-estimate-deadline { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:5px 20px; }
#top .metr-estimate-head h2 { margin:0; font-size:clamp(27px,3vw,40px); line-height:1.16; }
.metr-estimate-head { margin-bottom:16px; }
.metr-estimate-family { border-top:1px solid #bfd2d9; }
.metr-estimate-family summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; padding-block:10px; font-weight:700; font-size:clamp(18px,1.5vw,22px); cursor:pointer; list-style:none; }
.metr-estimate-family summary::-webkit-details-marker { display:none; }
.metr-estimate-family summary svg { width:20px; height:20px; flex:none; }
.metr-estimate-family[open] summary svg { transform:rotate(45deg); }
.metr-estimate-family summary:hover, .metr-estimate-products a:hover strong { color:#195772; text-decoration:underline; text-underline-offset:3px; }
.metr-estimate-body { display:grid; grid-template-columns:minmax(200px,.78fr) minmax(0,1.7fr); gap:clamp(18px,3vw,40px); align-items:start; padding:0 0 18px; }
.metr-estimate-work { display:block; min-width:0; color:#16475e; }
.metr-estimate-work img { display:block; width:100%; aspect-ratio:2/1; height:auto; object-fit:cover; border-radius:6px; }
.metr-estimate-family:first-of-type .metr-estimate-work img { object-position:50% 0; }
.metr-estimate-work span { display:flex; gap:8px; align-items:center; padding-top:6px; font-weight:700; font-size:15px; }
.metr-estimate-work svg, .metr-estimate-products svg { width:17px; height:17px; flex:none; }
.metr-estimate-products { list-style:none; padding:0; margin:0; }
.metr-estimate-products:only-child { grid-column:1/-1; }
.metr-estimate-products li + li { border-top:1px solid #dce8eb; }
.metr-estimate-products a { display:grid; grid-template-columns:minmax(150px,.84fr) minmax(160px,1fr) 18px; gap:12px; align-items:center; min-height:44px; padding:8px 2px; color:#13354a; }
.metr-estimate-products a span { font-size:15px; color:#395666; }
.metr-estimate-deadline { padding-top:14px; border-top:1px solid #bfd2d9; align-items:center; }
.metr-estimate-deadline p { margin:0; max-width:70ch; line-height:1.45; }
#top .metr-project-enquiry { background:#eff6f8; color:#102e40; }
#top .metr-project-enquiry .mp-lead-layout { align-items:start; }
#top .metr-enquiry-copy { max-width:52ch; }
#top .metr-enquiry-copy h2 { color:#102e40; margin:0 0 14px; line-height:1.13; text-wrap:balance; }
#top .metr-enquiry-copy p { color:#304d5c; margin:0; font-size:clamp(16px,1.2vw,18px); line-height:1.5; }
#top .metr-enquiry-copy h3 { color:#102e40; margin:22px 0 5px; font-size:18px; line-height:1.35; }
.mq-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr)); gap:12px; margin:12px 0; }
.mq-choices label { display:grid; gap:5px; color:#0b293a; font-weight:700; }
.mq-choices select { width:100%; min-height:44px; padding:7px 10px; font:inherit; font-weight:400; color:#113649; background:white; border:1px solid #a3c1cd; border-radius:5px; }
.mq-field[hidden] { display:none; }
@media(max-width:760px) {
  .metr-estimate-body { grid-template-columns:1fr; gap:10px; }
  .metr-estimate-work { display:flex; gap:10px; align-items:center; }
  .metr-estimate-work img { width:90px; height:54px; }
  .metr-estimate-work span { padding:0; }
  .metr-estimate-products a { grid-template-columns:minmax(0,1fr) 18px; gap:2px 12px; }
  .metr-estimate-products a span { grid-column:1; }
  .metr-estimate-products svg { grid-column:2; grid-row:1/3; }
  #top .metr-enquiry-copy h3 { margin-top:14px; }
}
@media(max-width:700px){.metr-footer-catalog nav a,.metr-footer-catalog summary{display:flex;align-items:center;min-height:44px}.metr-footer-catalog summary{display:list-item;line-height:30px}}

/* Photo, invitation and form have independent heights. The form moves into the dialog. */
.metr-downloads {padding-block:clamp(24px,4vw,44px);background:white}
#top.mh-home .mj-dialog-summary {margin:0 0 14px;padding:10px 12px;color:#173e4e;background:#edf5f5;border-radius:5px;font-size:15px;line-height:1.4}
#top.mh-home .mj-dialog #request.ux-contact-card {padding:0!important;margin:0;border:0;box-shadow:none}
#top .metr-downloads h2 {margin:0 0 16px;font-size:clamp(24px,2.3vw,32px)}
.metr-downloads ul {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(265px,100%),1fr));gap:8px 18px;padding:0;margin:0;list-style:none}
#top .metr-downloads a {display:flex;align-items:center;justify-content:space-between;gap:14px;height:100%;min-height:52px;padding:10px 0;border-top:1px solid #bdd1d9;color:#113e53;text-decoration:none;font-weight:650}
#top .metr-downloads a small {white-space:nowrap;color:#19607a;text-decoration:underline;text-underline-offset:3px}
#top .metr-downloads a:hover span:first-child {text-decoration:underline}
#top .metr-order-pitch,#top .metr-order-process,#top .metr-order-cost {padding-block:clamp(28px,4vw,56px)}
#top .metr-pitch-inner {display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(20px,4vw,58px);padding:clamp(16px,2vw,28px);border-radius:12px;background:#082e40;color:white}
#top .metr-pitch-inner figure {margin:0;overflow:hidden;border-radius:6px;aspect-ratio:2.25/1;max-height:180px}
#top .metr-pitch-inner img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 32%}
#top .metr-pitch-inner h2,#top .metr-order-process h2,#top .metr-order-cost h2 {margin:0;font-size:clamp(25px,2.4vw,36px);line-height:1.14;text-wrap:balance}
#top .metr-pitch-inner h2 {color:white}
#top .metr-pitch-inner p {max-width:58ch;margin:10px 0 16px;color:#e4f0f4;line-height:1.5}
#top.mj-has-dialog .metr-order-pitch .metr-inline-order {display:none}
#top .metr-order-pitch .mp-form-box {max-width:620px;margin:22px auto 0}
#top .metr-order-process ol {list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2.4vw,34px);padding:0;margin:24px 0 0}
#top .metr-order-process li {border-top:2px solid #9bcf3f;padding:14px 0 0}
#top .metr-order-process li>span {display:block;color:#36596b;font-variant-numeric:tabular-nums;font-size:14px;font-weight:700;margin-bottom:7px}
#top .metr-order-process h3,#top .metr-order-cost dt {color:#103247;font-size:19px;line-height:1.25;margin:0;font-weight:700}
#top .metr-order-process p,#top .metr-order-cost p,#top .metr-order-cost dd {margin:8px 0 0;color:#385668;font-size:16px;line-height:1.5}
#top .metr-order-cost {background:#eaf3f5}
#top .metr-order-cost>.mh-wrap {display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(24px,6vw,84px);align-items:start}
#top .metr-cost-intro .mh-btn {margin-top:18px}
#top .metr-order-cost dl {margin:0}
#top .metr-order-cost dl>div {border-block-start:1px solid #b6cbd3;padding:13px 0;display:grid;grid-template-columns:minmax(105px,.55fr) minmax(0,1.45fr);gap:16px}
#top .metr-order-cost dd {margin:0}
#top.mh-home .mj-dialog .mj-request-details summary {display:list-item;cursor:pointer}
#top.mh-home.mh-redesign .mj-dialog .mj-request-details summary {display:list-item}
#top.mh-home .mj-dialog figure:has(figcaption) {display:flex;align-items:center;gap:12px;margin:0 0 12px;border:1px solid #d0dfe4;border-radius:6px;padding:6px;background:#f5f9fa}
#top.mh-home .mj-dialog figure:has(figcaption) img {display:block;flex:0 0 90px;width:90px;max-width:30%;height:65px;object-fit:contain;background:#123240;border-radius:3px}
#top.mh-home .mj-dialog figure figcaption {font-size:14px;line-height:1.4;padding:0;color:#1c4052}
@media (min-width:1200px){.mh-nav .metr-catalog-nav:nth-last-child(-n+2) .metr-catalog-links{left:auto;right:0}}
@media (min-width:1200px) and (max-width:1350px){
  #top.mh-home .mh-header-inner,#top.mh-home .mh-header .mh-nav {gap:12px}
  #top.mh-home .mh-header .metr-catalog-trigger{font-size:14px}
  #top.mh-home .mh-header .mh-header-cta{max-width:170px;white-space:normal;line-height:1.2;text-align:left;gap:8px}
}
@media (max-width:1199px){#top.mh-home .ux-menu-drawer .mh-nav{display:block;max-height:none;overflow:visible}#top .ux-menu-drawer{overflow-x:hidden;overflow-y:auto}}
@media (max-width:900px){#top .metr-order-process ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:650px){
  #top .metr-pitch-inner,#top .metr-order-cost>.mh-wrap {grid-template-columns:minmax(0,1fr);gap:18px}
  #top .metr-pitch-inner{grid-template-columns:88px minmax(0,1fr);gap:12px 14px}
  #top .metr-pitch-inner>div{display:contents}
  #top .metr-pitch-inner figure{grid-column:1;grid-row:1;width:88px;height:76px;aspect-ratio:auto}
  #top .metr-pitch-inner h2{grid-column:2;grid-row:1;font-size:24px}
  #top .metr-pitch-inner p,#top .metr-pitch-inner .mh-btn{grid-column:1/-1;margin:0;justify-self:start}
  #top .metr-order-process ol {grid-template-columns:minmax(0,1fr);gap:12px;margin-top:16px}
  #top .metr-order-process li {display:grid;grid-template-columns:24px 1fr;gap:12px;padding-top:10px;border-top-width:1px}
  #top .metr-order-process li>span{margin:3px 0 0}
  #top .metr-order-cost dl>div{grid-template-columns:1fr;gap:4px}
}

/* Each surface defines the text that lives on it, including the compact article layouts. */
#top {--metr-slate:#334f62;--metr-sky:#e9f2f6;--metr-mint:#edf5ef;--metr-deep:#0d3346;--metr-light-ink:#e6f2f6}
#top .mp-section .mp-heading p,#top .mp-sidebar-help p,
#top .mn-neon-estimate article>span,#top .mn-neon-examples button>span,
#top .mn-neon-build figcaption {color:var(--metr-slate)}
#top .mp-layout-split .mp-heading p {color:var(--metr-slate)!important}
#top .ux-form-help small,.metr-dialog .ux-form-help small {color:#405a69;opacity:1}
#top input::placeholder,#top textarea::placeholder,dialog input::placeholder,dialog textarea::placeholder {color:#4c6474!important;opacity:1!important}
#top .mh-journey-figure figcaption {background:#092839;color:#fff}
#top .mh-journey-figure figcaption strong {color:#fff}
#top .ux-case-facts {background:#102f40;color:#fff}
#top .ux-case-facts dt {color:#cce0e9}
#top .ux-case-facts dd {color:#fff}
#top .mc-hero-photo figcaption {background:#102f40;color:white}
#top :is(.mc-catalog-range,.mp-section-catalog,.metr-company-links,.mp-section-richtext,.mc-catalog-estimate) {background:#fff}
#top :is(.mc-catalog-guide,.mc-catalog-specification,.mj-faq,.mp-section-materials,.metr-company-story,.mn-neon-guide,.md-detail-zones) {background:var(--metr-sky)}
#top :is(.mc-catalog-process,.mn-neon-process,.metr-order-process) {background:var(--metr-deep);color:var(--metr-light-ink)}
#top :is(.mc-catalog-process,.mn-neon-process,.metr-order-process) :is(h2,h3,strong) {color:#fff}
#top :is(.mc-catalog-process,.mn-neon-process,.metr-order-process) p {color:var(--metr-light-ink)}
#top :is(.mc-catalog-process,.mn-neon-process,.metr-order-process) li {background:transparent;border-color:#628493}
#top :is(.mc-catalog-process,.mn-neon-process,.metr-order-process) li>span {color:#c0ef63;background:transparent}
#top :is(.mc-catalog-request,.mp-section-lead,.mn-neon-request,.md-detail-lead,.ms-lead,.mh-request,.metr-project-enquiry,.metr-order-pitch,.metr-prices-request) {background:var(--metr-mint);color:#102f40}
#top :is(.mc-request-grid>div:first-child,.mn-request-copy,.ms-lead-copy,.md-lead-copy,.mp-lead-layout>div:first-child,.metr-project-enquiry .metr-project-copy) :is(h2,h3,p,li,small,span),
#top :is(.mc-request-grid>div:first-child,.mn-request-copy,.ms-lead-copy,.md-lead-copy) :is(a,button):not(.mh-btn,.mh-outline) {color:#25485b}
#top .mp-section-lead .mp-heading h2,#top .mp-section-lead .mp-heading p,#top .mc-catalog-request .mc-overline,
#top .mn-neon-request .mn-overline {color:#193d4b!important}
#top :is(.mc-summary,.mn-brief-summary) {color:#123649;background:#fff;border-color:#9db8bf}
#top .ms-step-number {color:#395567}
#top .mn-neon-examples button[aria-selected="true"]>span {color:inherit}
#top .mc-catalog-process .mc-process li>span {color:#d0f789!important}
#top .mc-catalog-request .mc-request-grid .mc-small {color:#365668!important}
#top .md-detail-lead .md-lead-grid>div:first-child :is(h2,em,p,li) {color:#173c4c!important}
#top .md-detail-lead .md-lead-grid>div:first-child em {color:#346008!important}
#top .mh-process .mh-journey-figure figcaption span {color:#d2e4ec!important}

#top :is(.mh-footer-contacts,.mp-footer-contacts) {display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;justify-items:start;gap:9px;min-width:0}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>* {grid-column:1;float:none;margin:0;max-width:100%;box-sizing:border-box}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>:is(a[href^="tel:"],a[href^="mailto:"],p) {display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;min-height:0;line-height:1.45;overflow-wrap:anywhere}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>:is(a,p)>svg:first-child {width:20px;height:20px;align-self:start}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>small {display:block;padding-left:30px;line-height:1.4;font-size:14px;color:#d6e8ee}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>.ux-max-link {justify-self:start;min-height:40px}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>.mj-footer-quote {margin-top:4px;justify-self:start;align-self:start}
#top footer :is(.mh-footer-contacts,.mp-footer-contacts)>p.metr-footer-label {display:block;grid-template-columns:none;width:auto;white-space:nowrap;overflow-wrap:normal;margin:0 0 4px;padding:0;font-weight:700;color:white;font-size:17px}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>.metr-footer-address {display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;font-size:15px;line-height:1.45}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>small {margin-top:-5px}
#top :is(.mh-footer-contacts,.mp-footer-contacts)>a[href^="tel:"] {min-height:0!important;padding-top:0;padding-bottom:0;line-height:1.45}

#top :is(.metr-resources,.metr-company-links,.metr-team) h2,#top .metr-downloads h2 {margin:0 0 22px}
#top .metr-resource-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#top .metr-resource-pair {grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}
#top .metr-resource {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:start;min-width:0;padding:22px 18px;border:1px solid #c2d4dc;border-radius:10px;background:white;color:#123345;text-decoration:none}
#top .metr-resource-featured {background:#103646;color:white;border-color:#103646;box-shadow:inset 0 3px #b7ee44}
#top .metr-resource-label {display:grid;gap:7px}
#top .metr-resource-label strong {font-size:20px;line-height:1.25;color:inherit}
#top .metr-resource-label>span {font-size:16px;line-height:1.5;color:var(--metr-slate)}
#top .metr-resource-featured .metr-resource-label>span {color:#e3eff2}
#top .metr-resource-symbol {color:#275d6d}
#top .metr-resource-featured :is(.metr-resource-symbol,.metr-resource-arrow) {color:#b9f14a}
#top .metr-resource-symbol svg {width:26px;height:26px}
#top .metr-resource-arrow svg {width:20px;height:20px}
#top .metr-resource:hover,#top .metr-resource:focus-visible {border-color:#427081;box-shadow:inset 0 -3px #79a624}
#top .metr-resource:hover strong,#top .metr-resource:focus-visible strong {text-decoration:underline}
#top .metr-company-links .mp-card[href*="reviews"] img {object-fit:contain;background:#e9eff2}
#top .metr-team {background:#eaf2f4}
#top .metr-team-intro {max-width:68ch;color:#314f60;margin:0 0 22px}
#top .metr-team-grid {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#top .metr-team-grid figure {margin:0;overflow:hidden;border-radius:8px;background:white;border:1px solid #c6d8de}
#top .metr-team-grid img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 30%;background:#d4e2e8}
#top .metr-team-grid figcaption {display:grid;gap:3px;padding:12px 14px;color:#365163;font-size:15px;line-height:1.4}
#top .metr-team-grid strong {color:#142e40;font-size:18px}
#top .metr-team details {margin-top:18px}
#top .metr-team summary {cursor:pointer;color:#15465a;font-weight:700;padding:9px 0;width:fit-content}
#top .metr-team summary span {font-size:14px;font-weight:500;margin-left:8px}
#top .metr-team details[open] summary {margin-bottom:10px}
#top .metr-sign-groups {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
#top .metr-sign-groups>div {border-top:2px solid #a8c4cf;padding-top:14px}
#top .metr-sign-groups h3 {margin:0 0 8px;font-size:19px}
#top .metr-sign-groups ul {list-style:none;padding:0;margin:0;display:grid;gap:4px}
#top .metr-sign-groups a {display:inline-block;padding:3px 0;text-underline-offset:3px;color:#174e63}

#top .metr-download-groups {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}
#top .metr-download-group {min-width:0;background:#fff;border:1px solid #c4d7df;border-radius:10px;overflow:hidden}
#top .metr-download-group h3 {margin:0;padding:15px 20px;background:#e9f2f5;font-size:20px}
#top .metr-download-group ul {display:block;padding:0 16px;margin:0}
#top .metr-download-group li {display:block;margin:0;padding:0;border:0;border-bottom:1px solid #d7e1e6}
#top .metr-download-group li:last-child {border-bottom:0}
#top .metr-download-group li a {display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:13px 4px;min-height:64px;text-decoration:none;color:#12364a;border:0}
#top .metr-file-body {display:grid;gap:2px}
#top .metr-file-body strong {font-size:16px;line-height:1.4;color:#153241}
#top .metr-file-body small {color:#425f71;text-decoration:none;font-weight:400}
#top .metr-file-action {display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#17526a;font-weight:700;font-size:14px}
#top .metr-download-group a:is(:focus-visible,:hover) {background:#edf5f7}
#top .metr-download-group a:is(:focus-visible,:hover) strong {text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px) {
  #top .metr-resource {grid-template-columns:minmax(0,1fr) auto}
  #top .metr-resource-symbol {grid-row:1;grid-column:1}
  #top .metr-resource-arrow {grid-row:1;grid-column:2}
  #top .metr-resource-label {grid-column:1/-1}
  #top .metr-team-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px) {
  #top .metr-resource-grid,#top .metr-download-groups,#top .metr-sign-groups {grid-template-columns:minmax(0,1fr);gap:12px}
  #top .metr-resource {padding:16px;grid-template-columns:25px minmax(0,1fr) 18px;gap:11px}
  #top .metr-resource-label {grid-column:2;grid-row:1}
  #top .metr-resource-arrow {grid-column:3}
  #top .metr-team-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #top .metr-team-grid figcaption {padding:9px}
  #top .metr-team-grid strong {font-size:16px}
  #top .metr-download-group ul {padding:0 10px}
  #top .metr-download-group h3 {padding:13px 14px}
}


/* Keep the copy beneath its breadcrumb even beside a tall photograph. */
#top.mh-home :is(.ux-case-grid,.ux-proof-hero-grid,.mc-hero-grid,.mn-hero-grid) > div:first-child {align-self:start}
#top.mh-home .ux-case-grid figure {margin-top:0}
#top.mh-home .metr-requisites-contact {display:inline-flex;align-items:center;padding:8px 2px;color:white;text-underline-offset:4px}
#top.mh-home .mp-section-production.mp-layout-band .mp-scene {
 display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"copy photo";align-items:center;
 gap:clamp(24px,4vw,64px);width:min(1324px,calc(100% - 104px));margin-inline:auto;min-height:0;padding-block:clamp(20px,2.5vw,36px);
}
#top.mh-home .mp-layout-band .mp-production-layout {grid-area:copy;display:block;width:100%;max-width:none;min-width:0;min-height:0;margin:0;padding:0}
#top.mh-home .mp-layout-band .mp-production-image {grid-area:photo;position:static;inset:auto;justify-self:end;display:block;width:min(100%,470px);height:auto;max-width:100%;object-fit:contain;object-position:center;border-radius:6px}
#top.mh-home .mp-layout-band .mp-production-shade {display:none}
#top.mh-home .mp-layout-band .mp-production-stats {margin-top:18px}
#top.mh-home .mj-dialog-bar {align-items:center}
#top.mh-home .mj-dialog-bar h2 {margin:0}
#top.mh-home .mj-close {display:inline-grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;line-height:1}
#top.mh-home :is(.mj-close,.ux-drawer-close) > svg {width:20px;height:20px;display:block;margin:0;flex:none;transform:none}
#top.mh-home footer :is(.mh-footer-column,.mp-footer-grid > div:has(> .metr-footer-label)):not(.mp-footer-contacts) {
 display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;min-width:0;
}
#top.mh-home footer :is(.mh-footer-column,.mp-footer-grid > div:not(.mp-footer-contacts)) > .metr-footer-label {font:700 18px/1.35 MHNimbus,Arial,sans-serif;letter-spacing:0;margin:0 0 9px;color:#fff}
#top.mh-home footer :is(.mh-footer-column,.mp-footer-grid > div:not(.mp-footer-contacts)) > a,
#top.mh-home footer .metr-footer-catalog :is(summary,a) {box-sizing:border-box;font:400 16px/1.45 MHNimbus,Arial,sans-serif;letter-spacing:0;margin:0;padding:5px 0;min-height:0;height:auto;white-space:normal;color:#e3eff4}
#top.mh-home footer .metr-footer-catalog {margin:6px 0 0}
#top.mh-home footer .metr-footer-catalog summary {font-size:15px;font-weight:600;cursor:pointer}
#top.mh-home footer .metr-footer-catalog nav {margin-top:4px}
#top .md-product-actions>.md-discuss {display:inline-flex;align-items:center;justify-content:center;border:1px solid #adc2cd;border-radius:6px;padding:9px 14px;min-height:42px;text-decoration:none;font-weight:700;color:#12394b;background:#f1f7f9}
#top .md-product-actions>.md-discuss:is(:hover,:focus-visible) {background:#deedf1}
@media(max-width:1000px){#top.mh-home .mp-section-production.mp-layout-band .mp-scene{width:calc(100% - 40px)}}
@media(max-width:700px){
 #top.mh-home .mp-section-production.mp-layout-band .mp-scene {width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "photo";gap:18px;padding-block:24px}
 #top.mh-home .mp-layout-band .mp-production-image {width:min(100%,470px);justify-self:start}
 #top.mh-home footer :is(.mh-footer-column,.mp-footer-grid > div:not(.mp-footer-contacts)) > a,#top.mh-home footer .metr-footer-catalog :is(a,summary) {padding-block:8px}
}

#top.mh-home .metr-faq-layout {display:grid;grid-template-columns:minmax(210px,.74fr) minmax(0,1.5fr);gap:clamp(32px,6vw,90px);align-items:start}
#top.mh-home .metr-faq-intro h2 {max-width:17ch;margin:0}
#top.mh-home .metr-faq-links {display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px;margin-top:14px}
#top.mh-home .metr-faq-links a {display:inline-flex;align-items:center;min-height:40px;color:#14546c;text-decoration:underline;text-underline-offset:.23em}
#top.mh-home .metr-faq-layout .mj-questions {margin:0;min-width:0}
#top.mh-home .metr-faq-layout .mj-questions details {min-width:0}
#top.mh-home .metr-faq-layout .mj-questions details p {max-width:78ch}
#top.mh-home .ux-contact-form .mh-fields > .mh-field:has(input[name=name]),#top.mh-home .ux-contact-form .mh-fields > .mh-field:has(input[type=tel]) {grid-column:auto;min-width:0}
#top.mh-home .ux-contact-form .mh-fields > .mj-request-details {grid-column:1/-1}
@media (max-width:760px){#top.mh-home .metr-faq-layout{grid-template-columns:1fr;gap:15px}#top.mh-home .metr-faq-intro h2{max-width:none}#top.mh-home .metr-faq-links{margin-top:2px}}

#top.mh-home .metr-hero-tariffs{margin:14px 0 0;width:min(100%,650px);box-sizing:border-box;border-radius:8px;background:#f5f9fa;color:#102f40;padding:0 14px}
#top.mh-home .metr-pdf-row{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;min-width:0;padding:8px 0}
#top.mh-home .metr-pdf-row+.metr-pdf-row,#top.mh-home .metr-download-group li+li{border-top:1px solid #c5d7df}
#top.mh-home .metr-pdf-caption{flex:1;min-width:0;display:grid;gap:2px}
#top.mh-home .metr-pdf-caption strong{color:#103247;font:700 16px/1.24 MHNimbus,Arial,sans-serif}
#top.mh-home .metr-pdf-caption small{color:#416374;font:400 13px/1.3 MHNimbus,Arial,sans-serif}
#top.mh-home .metr-pdf-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex-shrink:0}
#top.mh-home .metr-pdf-actions a{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:0 10px;border:1px solid transparent;border-radius:5px;font:700 15px/1.2 MHNimbus,Arial,sans-serif;white-space:nowrap;text-decoration:none}
#top.mh-home .metr-pdf-actions .metr-pdf-view{background:#103b4c;color:white}
#top.mh-home .metr-pdf-actions .metr-pdf-save{color:#114861;border-color:#adc7d2;background:white}
#top.mh-home .metr-pdf-actions a:hover{text-decoration:underline;text-underline-offset:3px}
#top.mh-home .metr-pdf-actions a:focus-visible{outline:3px solid #1582a2;outline-offset:2px}
#top.mh-home .metr-downloads .metr-pdf-row{padding:14px 0}
#top.mh-home .metr-guide,#top.mh-home .metr-story,#top.mh-home .metr-docs{padding-block:clamp(32px,5vw,68px);color:#102f40;background:white}
#top.mh-home .metr-docs{background:#eaf2f5}
#top.mh-home :is(.metr-story,.metr-docs,.metr-guide) header{max-width:74ch;margin-bottom:24px}
#top.mh-home :is(.metr-story,.metr-docs,.metr-guide) h2{line-height:1.1;margin:0 0 14px}
#top.mh-home .metr-story-grid,#top.mh-home .metr-guide-grid,#top.mh-home .metr-docs dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(15px,2.3vw,32px)}
#top.mh-home .metr-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#top.mh-home .metr-story-grid article,#top.mh-home .metr-docs dl>div{border-top:3px solid #71a51b;padding-top:15px}
#top.mh-home .metr-story :is(p,a),#top.mh-home .metr-guide p,#top.mh-home .metr-docs :is(p,dd){font:400 17px/1.55 MHNimbus,Arial,sans-serif}
#top.mh-home .metr-story-links{display:flex;gap:12px 20px;flex-wrap:wrap}
#top.mh-home .metr-story a,#top.mh-home .metr-docs a{color:#14546c;text-decoration:underline;text-underline-offset:3px}
#top.mh-home .metr-story-end{max-width:90ch;margin:24px 0 0}
#top.mh-home .metr-guide article{overflow:hidden;border-radius:8px;border:1px solid #c7dbe4}
#top.mh-home .metr-guide article>div{padding:16px 18px}
#top.mh-home .metr-guide article img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
#top.mh-home .metr-docs dt{font-size:21px;font-weight:700}
#top.mh-home .metr-docs dd{margin:7px 0 0}
#top.mh-home .md-band-grid:not(:has(figure)){grid-template-columns:minmax(0,76ch)}
#top.mh-home .md-task-options button:not(:has(img)){display:flex;align-items:center;min-height:46px;padding:9px 14px}
@media(max-width:1050px){#top.mh-home .metr-hero-tariffs .metr-pdf-row{flex-wrap:wrap}#top.mh-home .metr-hero-tariffs .metr-pdf-caption{flex-basis:100%}}
@media(max-width:700px){#top.mh-home .metr-pdf-row{flex-wrap:wrap}#top.mh-home .metr-pdf-caption{flex-basis:100%}#top.mh-home .metr-pdf-actions a{min-height:44px}#top.mh-home .metr-guide-grid,#top.mh-home .metr-story-grid,#top.mh-home .metr-docs dl{grid-template-columns:1fr}}

#top.mh-home .mp-layout-band .mp-production-image {aspect-ratio:auto}
#top.mh-home .metr-subjects,#top.mh-home .metr-cover-detail {background:#f3f8fa;padding-block:clamp(28px,4vw,54px);color:#153346}
#top.mh-home .metr-subjects-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:18px}
#top.mh-home .metr-subjects-grid>div{border-top:3px solid #719a37;padding-top:14px}
#top.mh-home .metr-subjects-grid ul{margin:8px 0;padding:0;list-style:none}
#top.mh-home .metr-subjects-grid .metr-subject-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;border:0;border-bottom:1px solid #c8d9df;border-radius:0;background:transparent;color:#114761;text-decoration:underline;text-underline-offset:.2em}
#top.mh-home .metr-subjects-grid .metr-subject-link svg{width:16px;height:16px;flex:none}
#top.mh-home .metr-cover-detail h2{margin-bottom:8px}
#top.mh-home .metr-cover-detail a{color:#14546c;display:inline-flex;min-height:44px;align-items:center;gap:8px}

#top.mh-home .metr-quick-pdf {margin-top:10px;border-top:1px solid #bdd2b1}
#top.mh-home .metr-quick-pdf[hidden] {display:none}
#top.mh-home .metr-table-pdf {padding:3px 10px;background:white;border-radius:5px;margin:6px 0}
#top.mh-home .metr-quick-pdf .metr-pdf-row {flex-wrap:wrap}
#top.mh-home .metr-quick-pdf .metr-pdf-caption {flex-basis:100%}

#top.mh-home .metr-hero-tariffs,#top.mh-home .metr-download-group{container-type:inline-size}
@container (max-width:480px){
  #top.mh-home .metr-pdf-row{flex-direction:column;align-items:flex-start;gap:6px}
  #top.mh-home .metr-pdf-actions{max-width:100%;flex-wrap:wrap}
}

/* Shared card links and document actions. */
#top .md-product:focus-within,
#top .md-packages article:focus-within,
#top .mc-range-item:focus-visible {
  outline: 3px solid #00789a;
  outline-offset: 2px;
}
#top .md-product:has(.metr-product-link:hover),
#top .md-packages article:has(.metr-package-link:hover),
#top .mc-range-item:hover { border-color: #528196; }
#top .metr-product-link { display: flex; flex: 1; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
#top .metr-product-copy { padding: 15px 16px 17px; }
#top .metr-product-link .metr-product-copy h3,
#top .mc-range-item .metr-range-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; }
#top .metr-product-link .metr-product-copy p { margin: 7px 0 0; color: #355369; line-height: 1.45; }
#top.mh-home .md-product .metr-product-copy h3 { padding: 0; }
#top .metr-card-arrow { display: inline-grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; align-self: flex-start; border: 1px solid #aac3cd; border-radius: 50%; color: #164c63; }
#top .metr-card-arrow svg, #top .metr-title-link svg, #top .metr-price-action svg, #top .metr-review-author-link svg { width: 15px; height: 15px; }
#top .mc-range-item, #top .mc-range-item > div { min-width: 0; }
#top .mc-range-item .metr-range-title { overflow-wrap: anywhere; }
#top .metr-title-link, #top .metr-review-author-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
#top .metr-title-link svg, #top .metr-review-author-link svg { flex-shrink: 0; color: #24647c; }
#top .metr-title-link:is(:hover,:focus-visible), #top .metr-review-author-link:is(:hover,:focus-visible),
#top .metr-product-link:is(:hover,:focus-visible) h3, #top .mc-range-item:is(:hover,:focus-visible) h3,
#top .metr-price-action:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: .17em; }
#top .md-section-heading .metr-section-request { margin: 0; align-self: flex-start; white-space: normal; }
#top .metr-zone-request { margin-top: 12px; }
#top .md-packages article { position: relative; }
#top .metr-package-link::after, #top .metr-price-action::after { content: ""; position: absolute; inset: 0; }
#top .metr-price-list article { position: relative; grid-template-columns: minmax(0,1.5fr) minmax(160px,1fr); }
#top .metr-price-list article:focus-within { outline: 3px solid #00789a; outline-offset: -3px; }
#top .metr-price-action { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
#top .metr-price-action svg { flex: none; }
#top.mh-home .metr-pdf-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 12px; }
#top.mh-home a.metr-pdf-caption { display: grid; align-content: center; min-height: 44px; text-decoration: none; }
#top.mh-home .metr-pdf-caption strong { text-decoration: underline; text-decoration-color: #88a7b4; text-underline-offset: 3px; }
#top.mh-home .metr-pdf-caption:is(:hover,:focus-visible) strong { color: #0e516c; text-decoration-color: currentColor; }
#top.mh-home .metr-pdf-row .metr-pdf-save { display: inline-grid; width: 44px; height: 44px; padding: 0; place-items: center; border-radius: 6px; }
#top .metr-pdf-caption:focus-visible, #top .metr-title-link:focus-visible, #top .metr-review-author-link:focus-visible { outline: 3px solid #00789a; outline-offset: 2px; }
#top .metr-source-note { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: #36586b; }
#top .ux-review-document .metr-document-icon { display: grid; place-items: center; width: 34px; height: 34px; min-width: 0; padding: 0; right: 8px; bottom: 8px; left: auto; border-radius: 50%; }
@media (max-width: 600px) {
  #top .metr-price-list article { grid-template-columns: 1fr; }
  #top .metr-product-copy { padding: 12px; }
  #top .md-section-heading .metr-section-request { justify-self: start; }
}
@media (max-width: 440px) {
  #top .mc-range-list { grid-template-columns: minmax(0,1fr); }
  #top .mc-range-item { grid-template-columns: clamp(70px,22vw,92px) minmax(0,1fr); gap: 12px; }
  #top .mc-range-item > img { width: 100%; }
  #top .mc-range-item .metr-range-title { display: block; }
  #top .mc-range-item .metr-card-arrow { display: inline-grid; vertical-align: middle; margin-inline-start: 6px; }
}

/* Vertical spacing between page sections. Each section supplies one inset on each side. */
#top.mh-home {
  --ux-space: 32px;
  --metr-strip-space: 16px;
}
@media (max-width: 1099px) {
  #top.mh-home { --ux-space: 28px; --metr-strip-space: 14px; }
}
@media (max-width: 699px) {
  #top.mh-home { --ux-space: 20px; --metr-strip-space: 12px; }
}

/* Heroes and photographic bands have their own image and header positioning. */
#top.mh-home main > section:not(.mh-hero, .ms-hero, .mp-hero, .ux-compact-hero, .ux-proof-hero, .metr-prices-head, .mh-production, .mh-business, .mp-section-production, .mp-section-cta),
#top.mh-home main > :is(.mc-page, .md-page, .mn-page) > section:not(.mc-hero, .md-hero, .mn-hero),
#top.mh-home main :is(.mj-faq, .mh-section.mh-request) {
  margin-block: 0;
  padding-block: var(--ux-space);
}
#top.mh-home.mh-redesign .mh-services,
#top.mh-home.mh-redesign .mh-services + .mh-projects {
  padding-block: var(--ux-space);
}
#top.mh-home .metr-home-directory > .mh-wrap { padding-block-end: 0; }
#top.mh-home.mh-redesign :is(.ux-proof-production, .mh-business-layout),
#top.mh-home .mp-section-production.mp-layout-band .mp-scene,
#top.mh-home .mp-section-production.mp-layout-split .mp-production-layout {
  padding-block: var(--ux-space);
}
#top.mh-home .mp-section-production,
#top.mh-home .mp-layout-split :is(.mp-scene, .mp-production-layout) { min-height: 0; }
#top.mh-home :is(.mc-hero, .ux-compact-hero, .ux-proof-hero, .metr-prices-head),
#top.mh-home main .md-back { padding-block-end: var(--ux-space); }
#top.mh-home .mp-hero > .mp-scene,
#top.mh-home .mp-hero .mp-hero-inner { min-height: 0; }
#top.mh-home .mp-hero .mp-hero-inner { padding-block-end: var(--ux-space); }

#top.mh-home :is(.ms-trust, .md-trust, .mp-trust, .mt-stats) > .mh-wrap {
  min-height: 0;
  padding-block: var(--metr-strip-space);
}
#top.mh-home main .nc-entry { padding-block: var(--metr-strip-space); }
#top.mh-home .ux-case-facts { padding-block: var(--metr-strip-space); }
#top.mh-home :is(.mp-footer, .mh-footer) { padding-block-start: var(--ux-space); }

/* The last paragraph or accordion is already separated by the section's bottom inset. */
#top.mh-home .mp-prose > :last-child,
#top.mh-home .mp-prose > :last-child > :last-child,
#top.mh-home .mp-prose > :last-child > :last-child > :last-child,
#top.mh-home .mc-spec-body .mp-prose > p:has(+ :is(ul, ol):last-child),
#top.mh-home .metr-faq-layout .mj-questions > details:last-child,
#top.mh-home .mp-sitemap > [data-ux-search-group]:last-of-type > ul,
#top.mh-home .md-zone-picker:has([role=tab]) > .md-zone-panel {
  margin-block-end: 0;
}
#top.mh-home .mc-spec-body { padding-block-end: 8px; }
#top.mh-home .mc-spec-body .mp-prose :is(ul, ol):not(:has(*)) { margin-block: 0; }
#top.mh-home .mc-hero-copy { padding-block-end: 0; }
#top.mh-home .mc-section .mc-overline:first-child { margin-block-start: 0; }
#top.mh-home .mn-build-copy dl > div:last-child { padding-block-end: 0; }

/* Let the copy and its actions set the desktop hero height. Captions keep their own row. */
@media (min-width: 960px) {
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) {
    align-items: start;
    column-gap: clamp(28px,3vw,46px);
  }
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) > figure {
    contain: size;
    display: grid;
    grid-template: minmax(0,1fr) auto / minmax(0,1fr);
    align-self: stretch;
    min-width: 0;
    min-height: clamp(210px,16vw,250px);
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
  }
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) > figure > a,
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) > figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
  #top.mh-home main .ux-proof-hero-grid figure img { object-fit: cover; }
  #top.mh-home:is(.mp-light,.mp-neon,.mp-solution_chain) main .ux-proof-hero-grid figure img { object-fit: contain; background: #143847; }
  #top.mh-home.mp-kind-article main .ux-case-grid > figure { min-height: 174px; }
}
@media (min-width: 650px) and (max-width: 959px) {
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) > figure {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  #top.mh-home main :is(.ux-proof-hero-grid,.ux-case-grid,.mc-hero-grid,.mn-hero-grid,.md-hero-grid) > figure img {
    display: block;
    width: 100%;
    max-height: 340px;
  }
  #top.mh-home main :is(.mc-hero-photo,.md-hero-media,.mn-hero-media) { aspect-ratio: auto; }
  #top.mh-home main .mc-hero-photo > a { height: clamp(230px,38vw,340px); aspect-ratio: auto; }
}
#top.mh-home .metr-hero-tariffs { container-type: normal; width: fit-content; max-width: 100%; }
#top.mh-home .metr-hero-tariffs .metr-pdf-row { gap: 8px clamp(12px,2vw,22px); }
#top.mh-home .metr-pdf-actions > a.metr-pdf-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  gap: 0;
}
#top.mh-home .metr-pdf-actions > .metr-pdf-save > svg { display: block; flex: none; width: 18px; height: 18px; margin: 0; }

#top.mh-home .metr-faq-directory { display: grid; gap: 18px; }
#top.mh-home .metr-faq-directory-header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
#top.mh-home .metr-faq-directory-header h2 { margin: 0; }
#top.mh-home .metr-faq-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 32px; }
#top.mh-home .metr-faq-topic { min-width: 0; }
#top.mh-home .metr-faq-topic h3 { margin: 0 0 12px; font-size: clamp(19px,1.5vw,23px); line-height: 1.25; }
#top.mh-home .metr-faq-topic details:last-child { margin-bottom: 0; }
#top.mh-home .metr-faq-topic summary { align-items: center; line-height: 1.4; }
#top.mh-home .mc-related-list > a { min-width: 0; }
#top.mh-home .mc-related-list > a > h3 { overflow-wrap: anywhere; }
.metr-directory-panel {
  padding: clamp(16px,2vw,26px);
  background: #fff;
  border: 1px solid #cddde4;
  border-radius: 12px;
}
.metr-directory-panel .metr-directory-heading {
  align-items: center;
  padding: 0;
  border: 0;
  margin: 0 0 18px;
  gap: 12px 20px;
}
.metr-directory-panel .metr-directory-price {
  gap: 10px;
  min-height: 38px;
  padding: 4px 13px;
  border-radius: 6px;
  background: #edf4f6;
  color: #103c50;
  text-decoration: none;
}
.metr-directory-panel .metr-home-directions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
}
.metr-directory-panel .metr-home-directions > div {
  display: block; min-width: 0;
  padding: 0 clamp(16px,2.2vw,32px);
  border: 0;
  border-inline-start: 1px solid #d8e4e9;
}
.metr-directory-panel .metr-home-directions > div:first-child { border: 0; padding-inline-start: 0; }
.metr-directory-panel .metr-home-directions > div:last-child { padding-inline-end: 0; }
#top.mh-home .metr-directory-panel .metr-home-directions h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; font-size: 18px; }
.metr-directory-panel h3 .mh-icon { box-sizing: content-box; flex: none; width: 18px; height: 18px; padding: 6px; color: #26546a; background: #eef5f4; border-radius: 7px; }
.metr-directory-panel .metr-home-directions ul { display: grid; gap: 0; }
.metr-directory-panel .metr-home-directions a {
  min-height: 30px; padding-block: 3px; color: #225570;
  line-height: 1.3; text-decoration: none;
}
.metr-directory-panel a:is(:hover,:focus-visible) { color: #00374e; text-decoration: underline; text-underline-offset: 3px; }
.metr-directory-panel a:focus-visible { outline: 2px solid #00789a; outline-offset: 2px; }
@media (max-width: 760px) {
  #top.mh-home .metr-faq-topics { grid-template-columns: minmax(0,1fr); }
  .metr-directory-panel .metr-home-directions { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .metr-directory-panel .metr-home-directions > div { padding: 12px 0 0; border: 0; border-top: 1px solid #d8e4e9; }
  .metr-directory-panel .metr-home-directions > div:first-child { padding-top: 0; }
  .metr-directory-panel .metr-home-directions ul { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 14px; }
  .metr-directory-panel .metr-home-directions a { min-height: 36px; }
}
@media (max-width: 440px) {
  #top.mh-home .metr-hero-tariffs { width: 100%; }
}
@media (max-width: 370px) {
  .metr-directory-panel .metr-home-directions ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .metr-directory-panel .metr-home-directions li, .metr-directory-panel .metr-home-directions a { max-width: 100%; }
}

/* Keep the text and leading icon on the same line in both footer templates. */
#top footer :is(.mh-footer-contacts, .mp-footer-contacts) > :is(a[href^="tel:"], a[href^="mailto:"]) {
  align-items: center;
}
#top footer :is(.mh-footer-contacts, .mp-footer-contacts) > :is(a[href^="tel:"], a[href^="mailto:"]) > svg:first-child {
  align-self: center;
}

/* Give a complete product or project name room beside its link arrow. */
@media (max-width: 549px) {
  #top .md-cases,
  #top .mp-grid:is(.mp-cols-3, .mp-cols-4, .mp-cols-6) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 550px) and (max-width: 919px) {
  #top .mp-grid:is(.mp-cols-3, .mp-cols-4, .mp-cols-6) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 920px) and (max-width: 1199px) {
  #top .mp-grid:is(.mp-cols-4, .mp-cols-6) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  #top .mp-grid.mp-cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 651px) and (max-width: 919px) {
  #top .mc-range-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 359px) {
  #top .ux-case-hero h1,
  #top.mp-kind-article .ux-case-hero h1 {
    font-size: 27px;
    line-height: 1.14;
  }
}
#top .mp-catalog-group > .mp-grid.mp-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(292px, calc((100% - 32px) / 3))), 1fr));
}
@media (max-width: 700px) {
  #top .studio-editor .studio-total {
    position: static;
  }
}
@media (min-width: 1141px) {
  #top .mh-header .mh-nav {
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 2px;
  }
  #top .mh-header .mh-header-cta {
    flex: 0 1 auto;
    white-space: normal;
  }
}

.mj-dialog .metr-cookie {
  position: static;
  transform: none;
  width: auto;
  max-width: 100%;
  margin: 0 0 16px;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
  box-shadow: none;
}
.mj-dialog .metr-cookie-actions {
  margin-inline-start: 0;
  flex-wrap: wrap;
}
.metr-phone-number { white-space: nowrap; overflow-wrap: normal; }
.metr-phone-hint { display: none; }
@media (hover: hover) and (pointer: fine) {
  :root:not([data-metr-phones-visible]) a:not(:hover):not(:focus) .metr-phone-suffix > :first-child { display: none; }
  :root:not([data-metr-phones-visible]) a:not(:hover):not(:focus) .metr-phone-hint { display: inline; }
}
#top footer :is(.mh-footer-contacts,.mp-footer-contacts) > .metr-footer-address {
  align-items: center;
  white-space: nowrap;
  overflow-wrap: normal;
}
.metr-short-address { display: none; }
@media (min-width: 1101px) {
  #top footer :is(.mh-footer-grid,.mp-footer-grid) {
    grid-template-columns: minmax(105px,.85fr) repeat(3,minmax(0,1fr)) max-content;
  }
}
@media (max-width: 1100px) {
  #top footer :is(.mh-footer-contacts,.mp-footer-contacts) { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 420px) {
  #top footer :is(.mh-footer-contacts,.mp-footer-contacts) > .metr-footer-address { font-size: 14px; }
  .metr-footer-address .metr-full-address { display: none; }
  .metr-footer-address .metr-short-address { display: inline; }
}
.metr-cookie-actions {
  flex-wrap: wrap;
  max-width: 100%;
}
@media (max-width: 430px) {
  .metr-cookie-actions { width: 100%; }
  .metr-cookie-actions button { flex: 1 1 auto; }
}
