:root{
  --mv-navy:#2f3e47;--mv-navy-dark:#22313a;--mv-cyan:#00aeca;--mv-cyan-dark:#087c91;--mv-cyan-soft:#dff7fb;
  --mv-ink:#18242b;--mv-slate:#60717b;--mv-mist:#f3f7f9;--mv-line:#dce5e8;--mv-white:#fff;
  --mv-shell:1280px;--mv-radius:18px;--mv-shadow:0 16px 45px rgba(34,49,58,.10);--mv-shadow-soft:0 8px 24px rgba(34,49,58,.08);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--mv-ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}body.admin-bar .mv-site-header{top:32px}img{max-width:100%;height:auto}a{color:var(--mv-cyan-dark);text-decoration-thickness:.08em;text-underline-offset:.16em}a:hover{color:#005e70}button,input,select,textarea{font:inherit}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background:#fff;clip:auto!important;clip-path:none;color:#111;display:block;font-size:14px;height:auto;left:8px;padding:12px 16px;top:8px;width:auto;z-index:100000}.mv-shell{width:min(calc(100% - 48px),var(--mv-shell));margin-inline:auto}.mv-main{min-height:55vh}.mv-skip-link{position:fixed;z-index:100000;left:12px;top:-100px;background:var(--mv-navy-dark);color:#fff;padding:.7rem 1rem;border-radius:6px}.mv-skip-link:focus{top:12px;color:#fff}.mv-header-marker{display:block;height:1px;position:absolute;top:0;left:0;width:1px}

/* Header */
.mv-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:saturate(160%) blur(14px);border-bottom:1px solid rgba(47,62,71,.08);transition:box-shadow .25s ease}.mv-site-header.is-scrolled{box-shadow:0 8px 30px rgba(34,49,58,.08)}.mv-header-top{border-bottom:1px solid #edf1f3}.mv-header-top__inner{min-height:76px;display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,430px) minmax(240px,1fr);align-items:center;gap:2rem}.mv-header-brand{justify-self:start}.mv-header-search form{display:flex;height:38px;border:1px solid #dce4e7;background:#f5f8f9;border-radius:7px;overflow:hidden}.mv-header-search input{min-width:0;flex:1;border:0;background:transparent;padding:0 .8rem;outline:0;font-size:.88rem}.mv-header-search button{width:42px;border:0;background:transparent;color:var(--mv-navy);font-size:1.25rem;cursor:pointer}.mv-header-utility{justify-self:end;display:flex;align-items:center;gap:1rem;font-size:.75rem}.mv-utility-menu,.mv-language-switcher ul{display:flex;gap:.9rem;list-style:none;padding:0;margin:0}.mv-utility-menu a{color:var(--mv-navy);text-decoration:none}.mv-language-switcher ul{gap:.45rem}.mv-language-switcher li{display:inline}.mv-language-switcher a,.mv-language-switcher span{color:var(--mv-slate);text-decoration:none;text-transform:uppercase;font-weight:750;font-size:.7rem}.mv-language-switcher .current-lang a,.mv-language-switcher .current-lang span{color:var(--mv-cyan)}.mv-header-nav__inner{display:flex;align-items:center;justify-content:flex-end;gap:1.25rem;min-height:48px}.mv-primary-nav{flex:1;display:flex;justify-content:flex-end}.mv-menu{display:flex;align-items:center;justify-content:flex-end;gap:.15rem;list-style:none;margin:0;padding:0}.mv-menu li{position:relative}.mv-menu>li>a{display:flex;align-items:center;padding:.8rem .95rem;color:var(--mv-navy-dark);text-decoration:none;font-size:.83rem;font-weight:740}.mv-menu>li>a:hover,.mv-menu>.current-menu-item>a,.mv-menu>.current-menu-ancestor>a{color:var(--mv-cyan-dark)}.mv-menu .sub-menu{position:absolute;right:0;top:100%;min-width:250px;background:#fff;border:1px solid #e4ebee;border-radius:10px;box-shadow:var(--mv-shadow);padding:.55rem;list-style:none;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease}.mv-menu li:hover>.sub-menu,.mv-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}.mv-menu .sub-menu a{display:block;padding:.65rem .75rem;border-radius:7px;color:var(--mv-navy);text-decoration:none;font-size:.83rem}.mv-menu .sub-menu a:hover{background:var(--mv-mist)}.mv-menu .sub-menu .sub-menu{right:100%;top:-.55rem}.mv-header-cta,.mv-button{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;background:var(--mv-navy);color:#fff;text-decoration:none;border-radius:999px;padding:.68rem 1.05rem;font-weight:750;font-size:.82rem;white-space:nowrap;transition:transform .15s ease,background .15s ease}.mv-header-cta:hover,.mv-button:hover{color:#fff;background:var(--mv-navy-dark);transform:translateY(-1px)}.mv-menu-toggle{display:none;background:transparent;border:0;padding:8px;cursor:pointer}.mv-menu-toggle>span:not(.screen-reader-text){display:block;width:24px;height:2px;background:var(--mv-navy);margin:5px 0}

/* Brand */
.custom-logo-link{display:block;line-height:0}.custom-logo{max-width:230px;max-height:58px;width:auto;height:auto}.mv-wordmark{display:flex;align-items:center;gap:.65rem;color:var(--mv-navy)!important;text-decoration:none}.mv-wordmark-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--mv-navy) 0 45%,var(--mv-cyan) 45% 58%,var(--mv-navy) 58%);color:#fff;font-weight:900}.mv-wordmark-copy{display:flex;flex-direction:column;line-height:1}.mv-wordmark-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;letter-spacing:.08em}.mv-wordmark-copy small{font-size:.51rem;margin-top:.3rem;letter-spacing:.015em;color:var(--mv-slate)}

/* Shared typography and graphic language */
h1,h2,h3,h4,h5,h6{font-family:Aptos,Inter,ui-sans-serif,system-ui,sans-serif;color:var(--mv-navy);line-height:1.08;letter-spacing:-.025em;margin:0 0 .7em}h1{font-size:clamp(2.25rem,5vw,4.8rem)}h2{font-size:clamp(1.7rem,3vw,2.7rem)}h3{font-size:clamp(1.2rem,2vw,1.55rem)}.mv-eyebrow{display:block;color:var(--mv-cyan-dark);font-size:.74rem;line-height:1.3;font-weight:820;letter-spacing:.09em;text-transform:uppercase;margin:0 0 1rem}.mv-lead{font-size:clamp(1.08rem,1.7vw,1.35rem);line-height:1.55;color:#43545e;max-width:760px}.mv-section{padding-block:clamp(4rem,8vw,8rem)}.mv-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:2rem}.mv-section-heading h2{margin:0}.mv-arrow-link{display:inline-flex;gap:.55rem;align-items:center;color:var(--mv-navy);font-weight:780;text-decoration:none}.mv-arrow-link span{color:var(--mv-cyan);font-size:1.25em}.mv-arrow-link:hover{color:var(--mv-cyan-dark)}

/* Home */
.mv-home-hero{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(6rem,11vw,11rem);background-image:linear-gradient(110deg,rgba(247,251,252,.98) 0%,rgba(255,255,255,.9) 52%,rgba(237,248,250,.46) 100%),var(--mv-home-hero-image,none);background-size:cover;background-position:center;background-repeat:no-repeat}.mv-home-hero:before,.mv-page-hero:before,.mv-product-hero:before,.mv-story-hero:before{content:"";position:absolute;z-index:-1;width:min(66vw,950px);height:min(66vw,950px);right:-25vw;bottom:-35vw;border-radius:50%;background:repeating-radial-gradient(circle at center,transparent 0 17px,rgba(0,174,202,.13) 18px 19px,transparent 20px 31px);opacity:.7}.mv-home-hero>.wp-block-group{margin-inline:auto}.mv-home-hero h1{max-width:1000px}.mv-home-hero .has-large-font-size{max-width:760px;color:#43545e}.mv-home-hero p:not(.mv-eyebrow){max-width:760px}

/* Page/product/story hero */
.mv-page-hero,.mv-product-hero,.mv-story-hero,.mv-archive-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#f5fafb 0%,#fff 70%);border-bottom:1px solid #edf1f3}.mv-page-hero__inner{padding-block:clamp(4rem,7vw,7rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:clamp(2rem,6vw,6rem);align-items:center}.mv-page-hero__media img,.mv-product-hero__media img,.mv-story-hero__image img{display:block;width:100%;border-radius:22px;box-shadow:var(--mv-shadow);object-fit:cover}.mv-page-hero__media img{aspect-ratio:4/3}.mv-breadcrumbs{margin-bottom:1.6rem;font-size:.76rem;color:var(--mv-slate)}.mv-breadcrumbs ol{display:flex;gap:.55rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}.mv-breadcrumbs li:not(:last-child):after{content:"/";margin-left:.55rem;color:#a3b0b6}.mv-breadcrumbs a{color:var(--mv-slate);text-decoration:none}.mv-breadcrumbs a:hover{color:var(--mv-cyan-dark)}.mv-product-hero__inner{padding-block:clamp(4rem,7vw,7rem);display:grid;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);gap:clamp(2.5rem,7vw,7rem);align-items:center}.mv-product-hero__media{padding:clamp(1rem,2vw,2rem);border-radius:26px;background:linear-gradient(145deg,#fff,#eef4f6);box-shadow:var(--mv-shadow-soft)}.mv-product-hero__media img{box-shadow:none;max-height:580px;object-fit:contain}.mv-product-placeholder{aspect-ratio:4/3;display:grid;place-items:center;color:#d8e5e8;font-size:8rem;font-weight:900}.mv-product-actions{margin-top:1.8rem}.mv-story-hero>.mv-shell{padding-block:clamp(4rem,7vw,7rem)}.mv-story-hero h1{max-width:1000px}.mv-story-hero__image{margin-top:3rem;max-width:1100px}.mv-story-hero__image img{aspect-ratio:16/8;object-fit:cover}.mv-archive-hero>.mv-shell{padding-block:clamp(4rem,7vw,6rem)}

/* Gutenberg/prose */
.mv-content-shell{padding-block:clamp(4rem,8vw,8rem)}.mv-prose{font-size:1rem}.mv-prose>*{max-width:760px;margin-left:auto;margin-right:auto}.mv-prose>.alignwide,.mv-prose>.wp-block-columns,.mv-prose>.wp-block-gallery,.mv-prose>.wp-block-table,.mv-prose>.wp-block-group.alignwide{max-width:1180px}.mv-prose>.alignfull{max-width:none;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.mv-prose p{margin-top:0;margin-bottom:1.3rem}.mv-prose h2{margin-top:3.5rem}.mv-prose h3{margin-top:2.4rem}.mv-prose ul,.mv-prose ol{padding-left:1.25rem}.mv-prose li{margin:.35rem 0}.mv-prose blockquote{margin-block:2.5rem;border-left:4px solid var(--mv-cyan);padding:1rem 0 1rem 1.5rem;font-size:1.12rem;color:#43545e}.mv-prose .wp-block-image{margin-block:2.5rem}.mv-prose .wp-block-image img{border-radius:18px}.mv-prose .wp-block-table{margin-block:3rem;overflow:auto;border-radius:12px}.mv-prose table{width:100%;border-collapse:collapse;font-size:.92rem}.mv-prose th{background:var(--mv-navy);color:#fff;text-align:left}.mv-prose th,.mv-prose td{padding:.8rem .9rem;border:1px solid #dce4e7;vertical-align:top}.mv-prose tbody tr:nth-child(even){background:#f4f7f8}.mv-prose .wp-block-buttons{margin-block:2rem}.mv-prose .wp-block-button__link{background:var(--mv-navy);border-radius:999px;font-weight:750}.mv-prose .wp-block-group.has-background{padding:clamp(2rem,4vw,4rem);border-radius:22px}.mv-prose iframe{max-width:100%}.mv-content-shell--product .mv-prose>h2{text-align:center;max-width:1000px}.mv-content-shell--product .wp-block-columns{gap:1.5rem}.mv-content-shell--product .wp-block-column{border-radius:16px}

/* Cards / grids */
.mv-content-grid{display:grid;grid-template-columns:repeat(var(--mv-cols,3),minmax(0,1fr));gap:1.5rem}.mv-content-card{overflow:hidden;border:1px solid #e6edef;border-radius:18px;background:#fff;box-shadow:var(--mv-shadow-soft);transition:transform .2s ease,box-shadow .2s ease}.mv-content-card:hover{transform:translateY(-4px);box-shadow:var(--mv-shadow)}.mv-content-card__media{display:block;aspect-ratio:3/2;background:linear-gradient(135deg,#f0f5f7,#e7f3f6);overflow:hidden}.mv-content-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.mv-content-card:hover .mv-content-card__media img{transform:scale(1.025)}.mv-content-card__placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#eef6f8 0%,#fff 40%,#dff7fb 100%)}.mv-content-card__body{padding:1.4rem 1.5rem 1.55rem}.mv-content-card__body h2,.mv-content-card__body h3{font-size:1.22rem;margin-bottom:.7rem}.mv-content-card__body h2 a,.mv-content-card__body h3 a{color:var(--mv-navy);text-decoration:none}.mv-content-card__excerpt{color:#52636d;font-size:.92rem}.mv-content-card__excerpt p{margin:.4rem 0 1.1rem}.mv-content-card__body .mv-eyebrow{margin-bottom:.5rem}.mv-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;padding-block:4rem}.mv-pagination{padding-bottom:5rem}.nav-links{display:flex;gap:.5rem;justify-content:center}.page-numbers{display:grid;place-items:center;min-width:40px;height:40px;padding:0 .6rem;border:1px solid #d9e3e6;border-radius:999px;text-decoration:none;color:var(--mv-navy)}.page-numbers.current,.page-numbers:hover{background:var(--mv-navy);color:#fff}

/* Contacts */
.mv-contact-directory.alignwide{max-width:1180px;margin-inline:auto}.mv-contact-directory .mv-section-title{margin-bottom:2rem}.mv-contact-card__details a{color:var(--mv-navy);text-decoration:none}.mv-contact-card__details a:hover{color:var(--mv-cyan-dark)}

/* Search / 404 */
.mv-search-results{padding-block:4rem 7rem;max-width:900px}.mv-search-results article{padding:1.6rem 0;border-bottom:1px solid var(--mv-line)}.mv-search-results h2{font-size:1.5rem}.mv-search-results h2 a{color:var(--mv-navy);text-decoration:none}.mv-error{padding-block:clamp(6rem,12vw,12rem);background:linear-gradient(135deg,#f5fafb,#fff)}.mv-error .mv-shell{max-width:760px}.mv-error form{display:flex;margin:2rem 0;max-width:600px}.mv-error input[type=search]{flex:1;min-width:0;padding:.8rem 1rem;border:1px solid var(--mv-line);border-radius:8px 0 0 8px}.mv-error input[type=submit]{border:0;background:var(--mv-navy);color:#fff;padding:.8rem 1rem;border-radius:0 8px 8px 0}

/* Footer */
.mv-site-footer{background:var(--mv-navy-dark);color:#dbe4e8;margin-top:0}.mv-footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr .8fr;gap:clamp(2rem,5vw,5rem);padding-block:4.5rem}.mv-site-footer .mv-wordmark{color:#fff!important}.mv-site-footer .mv-wordmark-mark{background:linear-gradient(135deg,#fff 0 45%,var(--mv-cyan) 45% 58%,#fff 58%);color:var(--mv-navy-dark)}.mv-site-footer .mv-wordmark-copy small,.mv-site-footer .mv-wordmark-copy strong{color:#fff}.mv-footer-brand{margin-bottom:1.5rem}.mv-site-footer p{font-size:.86rem;color:#cbd7dc}.mv-site-footer a{color:#e8f0f3;text-decoration:none}.mv-site-footer a:hover{color:#fff;text-decoration:underline}.mv-footer-title{font-size:.93rem;color:#fff;margin:0 0 1.2rem;letter-spacing:0}.mv-site-footer ul{list-style:none;margin:0;padding:0}.mv-site-footer li{margin:.45rem 0;font-size:.84rem}.mv-footer-social{font-weight:700}.mv-footer-bottom{border-top:1px solid rgba(255,255,255,.25);font-size:.7rem}.mv-footer-bottom>.mv-shell{min-height:52px;display:flex;align-items:center;gap:2rem}.mv-legal-menu{display:flex;list-style:none;gap:1rem;margin:0 0 0 auto!important;padding:0}.mv-back-top{display:grid;place-items:center;width:32px;height:32px;margin-left:auto;border:1px solid rgba(255,255,255,.35);border-radius:50%;font-size:1rem}

/* Core block refinements */
.wp-block-columns{gap:clamp(1.3rem,3vw,2.5rem)}.wp-block-cover{border-radius:20px;overflow:hidden}.wp-block-media-text{gap:clamp(2rem,5vw,5rem)}.wp-block-media-text__media img{border-radius:18px}.wp-block-button__link{transition:transform .15s ease,background .15s ease}.wp-block-button__link:hover{transform:translateY(-1px)}.has-mist-background-color{background-color:var(--mv-mist)!important}.has-merivaara-navy-background-color{background-color:var(--mv-navy)!important}.has-merivaara-cyan-background-color{background-color:var(--mv-cyan)!important}.has-merivaara-navy-color{color:var(--mv-navy)!important}.has-merivaara-cyan-color{color:var(--mv-cyan)!important}

@media(max-width:1100px){.mv-header-top__inner{grid-template-columns:1fr auto}.mv-header-search{display:none}.mv-header-utility{grid-column:2}.mv-content-grid{grid-template-columns:repeat(min(var(--mv-cols,3),2),minmax(0,1fr))}.mv-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-footer-grid{grid-template-columns:1fr 1fr}.mv-page-hero__inner,.mv-product-hero__inner{grid-template-columns:1fr 1fr}}
@media(max-width:960px){body.admin-bar .mv-site-header{top:46px}.mv-shell{width:min(calc(100% - 32px),var(--mv-shell))}.mv-header-top__inner{min-height:68px;display:flex;justify-content:space-between;gap:1rem}.mv-header-utility{margin-left:auto}.mv-header-utility .menu,.mv-utility-menu{display:none}.mv-menu-toggle{display:block}.mv-header-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #edf1f3;box-shadow:0 16px 30px rgba(34,49,58,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s ease}.mv-menu-open .mv-header-nav{opacity:1;visibility:visible;transform:none}.mv-header-nav__inner{display:block;max-height:calc(100vh - 90px);overflow:auto;padding-block:1rem}.mv-primary-nav,.mv-menu{display:block}.mv-menu>li>a{padding:.8rem .35rem;font-size:1rem}.mv-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-left:1px solid var(--mv-line);border-radius:0;margin:0 0 .5rem 1rem;padding:.1rem 0 .1rem .8rem}.mv-menu .sub-menu .sub-menu{position:static}.mv-header-cta{margin-top:1rem}.mv-page-hero__inner,.mv-product-hero__inner{grid-template-columns:1fr}.mv-page-hero__media,.mv-product-hero__media{max-width:720px}.mv-story-hero__image img{aspect-ratio:16/9}.mv-prose>.alignfull{width:auto;margin-left:auto;margin-right:auto}.mv-footer-grid{gap:3rem}}
@media(max-width:680px){body.admin-bar .mv-site-header{top:0}.mv-wordmark-copy small{display:none}.custom-logo{max-width:180px}.mv-header-utility{display:none}.mv-home-hero{padding-block:5rem}.mv-home-hero h1,h1{font-size:clamp(2rem,12vw,3.2rem)}.mv-content-grid,.mv-archive-grid{grid-template-columns:1fr}.mv-footer-grid{grid-template-columns:1fr}.mv-footer-bottom>.mv-shell{flex-wrap:wrap;padding-block:.8rem;gap:.7rem}.mv-legal-menu{order:3;width:100%;flex-wrap:wrap;margin-left:0!important}.mv-back-top{margin-left:auto}.mv-page-hero__inner,.mv-product-hero__inner{padding-block:3.5rem}.mv-content-shell{padding-block:3.5rem}.mv-prose h2{margin-top:2.8rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Reference directory */
.mv-reference-directory{max-width:1120px;margin-inline:auto}.mv-reference-filters{display:flex;gap:.75rem;flex-wrap:wrap;margin:0 0 2rem}.mv-reference-filters label{display:flex;flex-direction:column;gap:.4rem;font-size:.76rem;font-weight:780;text-transform:uppercase;letter-spacing:.06em}.mv-reference-filters select{min-width:230px;padding:.72rem 2.4rem .72rem .8rem;border:1px solid #cad6db;border-radius:8px;background:#fff}.mv-reference-list{display:grid;gap:1.4rem}.mv-reference-row{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);overflow:hidden;border:1px solid #e5ecef;border-radius:18px;background:#fff;box-shadow:var(--mv-shadow-soft)}.mv-reference-row__media{min-height:230px;background:#eef5f7;overflow:hidden}.mv-reference-row__media img{width:100%;height:100%;object-fit:cover;display:block}.mv-reference-row__body{padding:1.5rem 1.7rem}.mv-reference-row__body h3{font-size:1.3rem}.mv-reference-row__body h3 a{color:var(--mv-navy);text-decoration:none}.mv-reference-row__excerpt{color:#52636d;font-size:.93rem}.mv-reference-row__excerpt p{margin:.3rem 0 1rem}.mv-reference-row[hidden]{display:none!important}.mv-reference-empty{color:var(--mv-slate)}@media(max-width:700px){.mv-reference-row{grid-template-columns:1fr}.mv-reference-row__media{aspect-ratio:16/9;min-height:0}.mv-reference-filters{display:grid}.mv-reference-filters select{width:100%;min-width:0}}
.mv-product-actions{display:flex;gap:.75rem;flex-wrap:wrap}.mv-button--secondary{border:1px solid #cbd8dc;background:#fff;color:var(--mv-navy);cursor:pointer}.mv-button--secondary:hover{background:var(--mv-mist);color:var(--mv-navy)}
@media print{.mv-site-header,.mv-site-footer,.mv-breadcrumbs,.mv-product-actions,.mv-contact-filters,.mv-reference-filters{display:none!important}.mv-main,.mv-content-shell,.mv-product-hero{padding:0!important}.mv-shell{width:100%!important;max-width:none!important}.mv-product-hero__inner{grid-template-columns:1fr 1fr;padding:0 0 24px!important}.mv-prose>*{max-width:none!important}a{color:inherit;text-decoration:none}.mv-product-hero,.mv-page-hero,.mv-story-hero{background:#fff!important;border:0!important}.mv-product-hero:before,.mv-page-hero:before,.mv-story-hero:before{display:none!important}}

/* Rescued legacy background images are represented as local Gutenberg Cover blocks. */
.mv-prose .wp-block-cover.mv-imported-background{margin-top:2.4rem;margin-bottom:2.4rem;min-height:320px;border-radius:22px;overflow:hidden;box-shadow:var(--mv-shadow-soft)}.mv-prose .mv-imported-background .wp-block-cover__inner-container{width:min(100%,900px);margin:clamp(1rem,4vw,3rem);padding:clamp(1.25rem,3vw,2.5rem);border-radius:16px;background:rgba(255,255,255,.9);color:var(--mv-ink);backdrop-filter:blur(5px)}.mv-prose .wp-block-image.mv-imported-background-image img{width:100%;border-radius:20px;box-shadow:var(--mv-shadow-soft)}

/* v1.1.4 homepage refinement -------------------------------------------------
 * The current Merivaara hero artwork is bundled as a safe visual fallback.
 * A manually selected Front Page featured image still overrides it through
 * --mv-home-hero-image in front-page.php.
 */
:root{--mv-shell:1380px}
.mv-main--front .mv-home-hero{
  min-height:clamp(520px,38vw,610px);
  display:flex;
  align-items:center;
  padding-block:clamp(4.5rem,7vw,7rem);
  background-image:
    linear-gradient(90deg,rgba(247,251,252,.97) 0%,rgba(247,251,252,.94) 31%,rgba(247,251,252,.78) 47%,rgba(247,251,252,.30) 68%,rgba(247,251,252,.12) 100%),
    var(--mv-home-hero-image,url("../images/merivaara-current-hero.jpg"));
  background-size:cover;
  background-position:center center;
  border-bottom:1px solid rgba(47,62,71,.08)
}
.mv-main--front .mv-home-hero:before{display:none}
.mv-main--front .mv-home-hero>.wp-block-group.alignwide{
  width:min(calc(100% - 56px),var(--mv-shell))!important;
  max-width:var(--mv-shell)!important;
  margin-inline:auto!important
}
.mv-main--front .mv-home-hero>.wp-block-group.alignwide>*{
  width:min(100%,680px)!important;
  max-width:680px!important;
  margin-left:0!important;
  margin-right:0!important
}
.mv-main--front .mv-home-hero .mv-eyebrow{
  margin-bottom:1.05rem;
  color:#067f96;
  font-size:.77rem;
  letter-spacing:.115em
}
.mv-main--front .mv-home-hero h1,
.mv-main--front .mv-home-hero h1.has-xx-large-font-size{
  max-width:680px!important;
  margin-bottom:1.35rem;
  font-size:clamp(2.75rem,4.15vw,4.4rem)!important;
  line-height:1.015;
  letter-spacing:-.038em;
  text-wrap:balance
}
.mv-main--front .mv-home-hero .has-large-font-size{
  max-width:650px!important;
  margin-bottom:1rem;
  font-size:clamp(1.12rem,1.45vw,1.34rem)!important;
  line-height:1.55;
  color:#3f525d
}
.mv-main--front .mv-home-hero p:not(.mv-eyebrow):not(.has-large-font-size){
  max-width:610px!important;
  color:#52636d;
  font-size:.94rem;
  line-height:1.65
}
.mv-main--front .mv-home-hero .wp-block-buttons{margin-top:1.45rem}
.mv-main--front .mv-home-hero .wp-block-button__link{
  padding:.78rem 1.3rem;
  box-shadow:0 8px 20px rgba(34,49,58,.15)
}

/* Homepage sections now use the available desktop width rather than inheriting
 * the normal 760px article width from the constrained Gutenberg layout. */
.mv-main--front .mv-section{padding-block:clamp(4.6rem,6.5vw,6.8rem)}
.mv-main--front .mv-section>.mv-content-grid-wrap,
.mv-main--front .mv-section>.wp-block-merivaara-content-grid{
  width:min(calc(100% - 56px),1180px)!important;
  max-width:1180px!important;
  margin-inline:auto!important
}
.mv-main--front .mv-section-heading{margin-bottom:2.1rem}
.mv-main--front .mv-section-heading h2{
  position:relative;
  font-size:clamp(1.9rem,2.5vw,2.55rem);
  letter-spacing:-.035em
}
.mv-main--front .mv-section-heading h2:after{
  content:"";
  display:block;
  width:44px;
  height:3px;
  margin-top:.75rem;
  border-radius:99px;
  background:var(--mv-cyan)
}
.mv-main--front .mv-content-grid{gap:1.65rem}
.mv-main--front .mv-content-card{
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(34,49,58,.075)
}
.mv-main--front .mv-content-card__media{aspect-ratio:16/10}
.mv-main--front .mv-content-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:1.35rem 1.4rem 1.45rem
}
.mv-main--front .mv-content-card__body h3{font-size:1.17rem;line-height:1.14;margin-bottom:.65rem}
.mv-main--front .mv-content-card__excerpt{font-size:.91rem;line-height:1.55}
.mv-main--front .mv-content-card__body>.mv-arrow-link{margin-top:auto;padding-top:.35rem}
.mv-main--front .mv-content-grid-wrap--product .mv-content-card__media{
  background:linear-gradient(145deg,#fff 0%,#f3f7f8 100%)
}
.mv-main--front .mv-content-grid-wrap--product .mv-content-card__media img{
  object-fit:contain;
  padding:.7rem
}
.mv-main--front .mv-content-grid-wrap--reference{
  width:min(calc(100% - 56px),1040px)!important;
  max-width:1040px!important
}
.mv-main--front .mv-content-grid-wrap--reference .mv-content-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.mv-main--front .mv-content-grid-wrap--reference .mv-content-card{
  display:grid;
  grid-template-columns:minmax(180px,.9fr) minmax(0,1.1fr)
}
.mv-main--front .mv-content-grid-wrap--reference .mv-content-card__media{
  aspect-ratio:auto;
  min-height:245px
}
.mv-main--front .mv-content-grid-wrap--reference .mv-content-card__body{padding:1.5rem 1.55rem}
.mv-main--front .has-mist-background-color{
  background:linear-gradient(180deg,#f2f7f9 0%,#edf4f6 100%)!important
}

/* Header polish: slightly more compact, more breathing room for languages and
 * no visual crowding around the dedicated Contact CTA. */
.mv-header-top__inner{min-height:72px;grid-template-columns:minmax(250px,.82fr) minmax(320px,450px) minmax(380px,1.18fr);gap:1.6rem}
.mv-header-nav__inner{min-height:50px}
.mv-header-utility{gap:.8rem;white-space:nowrap}
.mv-language-switcher ul{gap:.42rem;flex-wrap:nowrap}
.mv-language-switcher a,.mv-language-switcher span{font-size:.67rem;white-space:nowrap}
.mv-menu>li>a{padding:.82rem .9rem}
.mv-header-cta{padding:.7rem 1.15rem}

/* Footer widgets created by WordPress's block widget editor should inherit the
 * same compact footer typography instead of displaying oversized default
 * Archives/Categories headings. */
.mv-site-footer .wp-block-heading,
.mv-site-footer .widget-title,
.mv-site-footer .wp-block-archives__label,
.mv-site-footer .wp-block-categories__label{
  margin:0 0 1rem;
  color:#fff;
  font-size:.93rem;
  line-height:1.25;
  letter-spacing:0
}
.mv-site-footer .wp-block-archives,
.mv-site-footer .wp-block-categories{font-size:.84rem}

@media(max-width:1100px){
  .mv-header-top__inner{grid-template-columns:1fr auto}
  .mv-main--front .mv-home-hero{min-height:500px;background-position:58% center}
  .mv-main--front .mv-home-hero>.wp-block-group.alignwide{width:min(calc(100% - 44px),var(--mv-shell))!important}
  .mv-main--front .mv-section>.mv-content-grid-wrap,
  .mv-main--front .mv-section>.wp-block-merivaara-content-grid{width:min(calc(100% - 44px),1180px)!important}
  .mv-main--front .mv-content-grid-wrap--reference{width:min(calc(100% - 44px),1040px)!important}
}
@media(max-width:820px){
  .mv-main--front .mv-home-hero{
    min-height:auto;
    padding-block:4.75rem;
    background-image:
      linear-gradient(90deg,rgba(247,251,252,.95) 0%,rgba(247,251,252,.90) 55%,rgba(247,251,252,.62) 100%),
      var(--mv-home-hero-image,url("../images/merivaara-current-hero.jpg"));
    background-position:60% center
  }
  .mv-main--front .mv-home-hero>.wp-block-group.alignwide>*{max-width:620px!important}
  .mv-main--front .mv-content-grid-wrap--reference .mv-content-grid{grid-template-columns:1fr}
  .mv-main--front .mv-content-grid-wrap--reference .mv-content-card{grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr)}
}
@media(max-width:680px){
  .mv-main--front .mv-home-hero{padding-block:4rem;background-position:62% center}
  .mv-main--front .mv-home-hero>.wp-block-group.alignwide{width:min(calc(100% - 32px),var(--mv-shell))!important}
  .mv-main--front .mv-home-hero h1,
  .mv-main--front .mv-home-hero h1.has-xx-large-font-size{font-size:clamp(2.3rem,11vw,3.25rem)!important}
  .mv-main--front .mv-home-hero .has-large-font-size{font-size:1.08rem!important}
  .mv-main--front .mv-section{padding-block:4.25rem}
  .mv-main--front .mv-section>.mv-content-grid-wrap,
  .mv-main--front .mv-section>.wp-block-merivaara-content-grid,
  .mv-main--front .mv-content-grid-wrap--reference{width:min(calc(100% - 32px),1180px)!important}
  .mv-main--front .mv-content-grid-wrap--reference .mv-content-card{display:flex}
  .mv-main--front .mv-content-grid-wrap--reference .mv-content-card__media{aspect-ratio:16/9;min-height:0}
}

/* v1.1.5 product landing ----------------------------------------------------
 * The legacy Products indexes imported a long stream of images/headings that
 * collapsed into a narrow article column. The front end now renders the same
 * already-imported category pages as a purpose-built catalogue. Nothing here
 * mutates Gutenberg content or requires the crawler to run again.
 */
.mv-products-index{background:#fff}
.mv-products-index__hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid #eaf0f2;
  background:
    radial-gradient(circle at 88% 82%,rgba(0,174,202,.08),transparent 32%),
    linear-gradient(120deg,#f5fafb 0%,#fbfdfe 54%,#eef7f9 100%)
}
.mv-products-index__hero:after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-190px;
  bottom:-260px;
  width:620px;
  height:620px;
  border-radius:50%;
  background:repeating-radial-gradient(circle at center,transparent 0 14px,rgba(0,174,202,.11) 15px 16px,transparent 17px 27px);
  opacity:.72;
  pointer-events:none
}
.mv-products-index__hero-inner{
  min-height:470px;
  padding-block:clamp(4.5rem,6.5vw,7rem);
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);
  align-items:center;
  gap:clamp(3rem,7vw,7.5rem)
}
.mv-products-index__hero-copy{max-width:650px}
.mv-products-index__hero-copy .mv-breadcrumbs{margin-bottom:1.35rem}
.mv-products-index__hero-copy .mv-eyebrow{margin-bottom:.85rem}
.mv-products-index__hero-copy h1{
  margin-bottom:1.15rem;
  font-size:clamp(2.75rem,4.5vw,4.5rem);
  line-height:1;
  letter-spacing:-.045em
}
.mv-products-index__lead{
  max-width:610px;
  margin:0;
  color:#465963;
  font-size:clamp(1.08rem,1.45vw,1.3rem);
  line-height:1.6
}
.mv-products-index__actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.65rem}
.mv-products-index__hero-media{
  position:relative;
  overflow:hidden;
  min-height:320px;
  aspect-ratio:16/10;
  border:10px solid rgba(255,255,255,.78);
  border-radius:26px;
  background:#e9f1f3;
  box-shadow:0 24px 65px rgba(34,49,58,.16)
}
.mv-products-index__hero-media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(34,49,58,.03));
  pointer-events:none
}
.mv-products-index__hero-media img{display:block;width:100%;height:100%;object-fit:cover}

.mv-products-index__catalog{padding-block:clamp(4.75rem,7vw,7.5rem)}
.mv-products-index__catalog>.mv-shell{width:min(calc(100% - 56px),1240px)}
.mv-products-index__section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:2rem;
  margin-bottom:2.5rem
}
.mv-products-index__section-heading .mv-eyebrow{margin-bottom:.65rem}
.mv-products-index__section-heading h2{
  position:relative;
  margin:0;
  font-size:clamp(2rem,3vw,3rem);
  letter-spacing:-.04em
}
.mv-products-index__section-heading h2:after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  margin-top:.8rem;
  border-radius:99px;
  background:var(--mv-cyan)
}
.mv-product-category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(1.2rem,2vw,1.8rem)
}
.mv-product-category-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e2eaed;
  border-radius:20px;
  background:#fff;
  box-shadow:0 9px 28px rgba(34,49,58,.065);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.mv-product-category-card:hover{
  transform:translateY(-5px);
  border-color:#c9dde2;
  box-shadow:0 20px 48px rgba(34,49,58,.13)
}
.mv-product-category-card__link{display:flex;height:100%;flex-direction:column;color:inherit;text-decoration:none}
.mv-product-category-card__link:hover{color:inherit}
.mv-product-category-card__media{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/10;
  background:linear-gradient(145deg,#f7fafb,#edf3f5)
}
.mv-product-category-card__media:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:38%;
  background:linear-gradient(180deg,transparent,rgba(20,37,45,.06));
  pointer-events:none
}
.mv-product-category-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease
}
.mv-product-category-card:hover .mv-product-category-card__media img{transform:scale(1.025)}
.mv-product-category-card__fallback{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#d6e4e8;
  background:
    radial-gradient(circle at 70% 20%,rgba(0,174,202,.13),transparent 30%),
    linear-gradient(145deg,#f8fbfc,#edf3f5)
}
.mv-product-category-card__fallback span{font-size:4.5rem;font-weight:900;letter-spacing:-.08em}
.mv-product-category-card__body{
  display:flex;
  flex:1;
  min-height:132px;
  flex-direction:column;
  justify-content:space-between;
  gap:1.1rem;
  padding:1.35rem 1.45rem 1.5rem
}
.mv-product-category-card__body h3{
  margin:0;
  color:var(--mv-navy);
  font-size:clamp(1.15rem,1.45vw,1.38rem);
  line-height:1.16;
  letter-spacing:-.025em
}
.mv-product-category-card__more{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:var(--mv-cyan-dark);
  font-size:.82rem;
  font-weight:800
}
.mv-product-category-card__more span{font-size:1.1rem;transition:transform .18s ease}
.mv-product-category-card:hover .mv-product-category-card__more span{transform:translateX(4px)}

.mv-products-index__fallback-content{padding:1rem 0 2rem}
.mv-products-index__fallback-content.mv-prose>*{max-width:1000px}

.mv-products-index__cta{padding:0 0 clamp(5rem,7vw,8rem)}
.mv-products-index__cta>.mv-shell{width:min(calc(100% - 56px),1240px)}
.mv-products-index__cta-panel{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:3rem;
  padding:clamp(2.3rem,4vw,4rem);
  border-radius:24px;
  color:#fff;
  background:linear-gradient(125deg,#22313a,#314650 72%,#275563);
  box-shadow:0 18px 50px rgba(34,49,58,.18)
}
.mv-products-index__cta-panel:after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-120px;
  top:-210px;
  width:500px;
  height:500px;
  border-radius:50%;
  background:repeating-radial-gradient(circle at center,transparent 0 13px,rgba(105,226,244,.14) 14px 15px,transparent 16px 25px)
}
.mv-products-index__cta-panel .mv-eyebrow{margin-bottom:.7rem;color:#78d9e8}
.mv-products-index__cta-panel h2{max-width:720px;margin:0 0 .6rem;color:#fff;font-size:clamp(1.8rem,2.8vw,2.7rem)}
.mv-products-index__cta-panel p:not(.mv-eyebrow){max-width:760px;margin:0;color:#dce7eb;font-size:1rem}
.mv-button--light{background:#fff;color:var(--mv-navy);box-shadow:0 8px 24px rgba(0,0,0,.13)}
.mv-button--light:hover{background:#eaf8fa;color:var(--mv-navy)}

@media(max-width:1050px){
  .mv-products-index__hero-inner{grid-template-columns:minmax(0,1fr) minmax(350px,.9fr);gap:3rem}
  .mv-product-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .mv-products-index__hero-inner{min-height:0;grid-template-columns:1fr;padding-block:4rem;gap:2.5rem}
  .mv-products-index__hero-copy{max-width:720px}
  .mv-products-index__hero-media{width:min(100%,720px);min-height:0}
  .mv-products-index__cta-panel{grid-template-columns:1fr;gap:1.6rem}
  .mv-products-index__cta-panel .mv-button{justify-self:start}
}
@media(max-width:620px){
  .mv-products-index__hero-inner,
  .mv-products-index__catalog>.mv-shell,
  .mv-products-index__cta>.mv-shell{width:min(calc(100% - 32px),1240px)}
  .mv-products-index__hero-inner{padding-block:3.4rem}
  .mv-products-index__hero-copy h1{font-size:clamp(2.35rem,12vw,3.35rem)}
  .mv-products-index__hero-media{border-width:6px;border-radius:20px}
  .mv-products-index__actions{align-items:stretch}
  .mv-products-index__actions .mv-button{flex:1}
  .mv-product-category-grid{grid-template-columns:1fr}
  .mv-product-category-card__media{aspect-ratio:16/9}
  .mv-product-category-card__body{min-height:110px}
  .mv-products-index__cta-panel{padding:2rem;border-radius:20px}
}

/* v1.1.6 contact landing -----------------------------------------------------
 * The legacy contact page is not rendered directly. Structured Contact posts
 * provide the public directory, without portrait photography or rescued code.
 */
.mv-contact-index{background:#fff}
.mv-contact-index__hero{position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #e9f0f2;background:linear-gradient(120deg,#f5fafb 0%,#fff 58%,#eef7f9 100%)}
.mv-contact-index__hero:after{content:"";position:absolute;z-index:-1;right:-180px;bottom:-300px;width:650px;height:650px;border-radius:50%;background:repeating-radial-gradient(circle at center,transparent 0 14px,rgba(0,174,202,.1) 15px 16px,transparent 17px 28px);opacity:.72;pointer-events:none}
.mv-contact-index__hero-inner{min-height:430px;padding-block:clamp(4.5rem,6vw,6.5rem);display:grid;grid-template-columns:minmax(0,.95fr) minmax(380px,.8fr);align-items:center;gap:clamp(3rem,7vw,7rem)}
.mv-contact-index__hero-copy{max-width:650px}.mv-contact-index__hero-copy .mv-breadcrumbs{margin-bottom:1.3rem}.mv-contact-index__hero-copy .mv-eyebrow{margin-bottom:.8rem}.mv-contact-index__hero-copy h1{margin-bottom:1rem;font-size:clamp(2.8rem,4.4vw,4.6rem);letter-spacing:-.045em}.mv-contact-index__lead{max-width:620px;margin:0;color:#465963;font-size:clamp(1.05rem,1.4vw,1.28rem);line-height:1.6}
.mv-contact-index__hero-media{overflow:hidden;aspect-ratio:16/10;border:9px solid rgba(255,255,255,.8);border-radius:24px;background:#edf3f5;box-shadow:0 22px 58px rgba(34,49,58,.14)}.mv-contact-index__hero-media img{display:block;width:100%;height:100%;object-fit:cover}
.mv-contact-index__directory{padding-block:clamp(4.5rem,7vw,7.2rem)}.mv-contact-index__directory>.mv-shell{width:min(calc(100% - 56px),1220px)}
.mv-contact-index__section-heading{display:grid;grid-template-columns:minmax(0,.75fr) minmax(280px,.65fr);align-items:end;gap:3rem;margin-bottom:2.2rem}.mv-contact-index__section-heading .mv-eyebrow{margin-bottom:.65rem}.mv-contact-index__section-heading h2{position:relative;margin:0;font-size:clamp(2rem,3vw,3rem);letter-spacing:-.04em}.mv-contact-index__section-heading h2:after{content:"";display:block;width:48px;height:3px;margin-top:.8rem;border-radius:99px;background:var(--mv-cyan)}.mv-contact-index__section-heading>p{max-width:540px;margin:0;color:#60717b;line-height:1.65}
.mv-contact-landing-page .mv-contact-directory.alignwide{max-width:none;margin-left:0;margin-right:0}
@media(max-width:900px){.mv-contact-index__hero-inner{grid-template-columns:1fr;min-height:0}.mv-contact-index__hero-media{max-width:680px}.mv-contact-index__section-heading{grid-template-columns:1fr;gap:1.2rem}}
@media(max-width:620px){.mv-contact-index__hero-inner{padding-block:3.75rem}.mv-contact-index__directory>.mv-shell{width:min(calc(100% - 32px),1220px)}}
