/* Alternating editorial panels share one fluid grid. */
.mh-intro,.mh-feature { position:relative; display:flex; align-items:center; min-height:100svh; background:#fff; overflow:clip; }
.mh-editorial-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8%; align-items:center; }
.mh-intro-card,.mh-feature-copy { min-width:0; }

.mh-intro-card h2 { max-width:20ch; }
.mh-intro-card p,.mh-feature-body { font-size:clamp(17px,1.1vw,28px); line-height:1.8; }
.mh-intro-image,.mh-feature-image { min-width:0; }
.mh-editorial-grid--image-left .mh-editorial-media { grid-column:1; grid-row:1; }
.mh-editorial-grid--image-left .mh-feature-copy { grid-column:2; grid-row:1; }
.mh-feature-body h3 { font-size:clamp(25px,1.7vw,46px); margin-block:36px 22px; }
.mh-feature-body li { color:var(--mh-muted); margin-bottom:18px; }
.mh-feature-body ul { padding-left:1.2em; }
.mh-feature-body a { text-decoration:underline; text-underline-offset:4px; }
.mh-editorial-rule { width:90px; height:2px; background:var(--mh-accent); margin:32px 0; transform-origin:left; }

/* One continuous fixed artwork, shared by all separator windows. */
.mh-parallax-scene { position:fixed; inset:-8svh 0; z-index:-1; pointer-events:none; }
.mh-parallax-scene img { width:100%; height:100%; max-width:none; object-fit:cover; object-position:50% 50%; }
.mh-banner { position:relative; isolation:isolate; overflow:clip; min-height:30svh; padding-block:7svh; display:flex; align-items:center; color:#fff; }
.mh-banner::before { content:''; position:absolute; inset:0; z-index:-1; background:rgba(15,17,19,.6); }
.mh-banner-static { display:none; position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; }
.mh-banner-inner { display:flex; align-items:center; justify-content:space-between; gap:4%; }
.mh-banner-inner > div { flex:1; min-width:0; }
.mh-banner h2 { font-size:clamp(30px,2.4vw,76px); max-width:31.25ch; }
.mh-banner p { color:#fff; font-size:clamp(17px,1vw,26px); max-width:81.25ch; margin-bottom:0; }
.mh-banner-message p + p { margin-top:.6em; }
.mh-banner .mh-button { flex:none; max-width:34%; }
.mh-articles { background:#fff; overflow:clip; }
.mh-article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4%; margin-block:48px; }
.mh-article { min-width:0; }
.mh-article h3 { font-size:clamp(24px,1.7vw,44px); }
.mh-article p { font-size:clamp(16px,1vw,25px); line-height:1.7; }

/* Full-bleed graphic backdrop; the actual content occupies 80 percent. */
.mh-services {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 95svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--mh-surface);
    color: var(--mh-ink);
}
.mh-services-background { position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:var(--mh-video-opacity-light,.12) }
:root[data-color-mode=dark] .mh-services-background{opacity:var(--mh-video-opacity-dark,.18)}
.mh-services-background :is(img,video,iframe){position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border:0}
.mh-services-background video{opacity:0;transition:opacity .5s}
.mh-services-background video.is-playing { opacity: 1; }
.mh-services .mh-section-intro { color:var(--mh-muted); }
.mh-services .mh-heading { max-width: 75%; }
.mh-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3%; margin-top: clamp(56px, 6svh, 140px); }
.mh-service-card { isolation:isolate;overflow:hidden;position: relative; border:1px solid #d71920; padding: clamp(32px, 2.8vw, 90px); background: #fff; color: var(--mh-ink); display: flex; flex-direction: column; align-items: flex-start; }
.mh-service-icon { width: clamp(56px, 4vw, 110px); height: auto; color: var(--mh-accent); stroke: currentColor; stroke-width: 1.4; margin-bottom: 40px; }
.mh-service-number { position: absolute; right: 9%; top: 8%; font-size: clamp(14px, .8vw, 24px); color: #777; }
.mh-service-card h3 { font-size: clamp(25px, 1.7vw, 48px); margin-bottom: 24px; }
.mh-service-card p { font-size: clamp(16px, 1vw, 25px); line-height: 1.85; max-width: 48ch; flex: 1; margin-bottom: 40px; }
.mh-service-card .mh-text-link { gap: 16px; flex-wrap: wrap; }
.mh-service-card .mh-arrow { width: 34px; }

/* The header and complete reference composition occupy one screen. */
.mh-work { width:100%; height:calc(100svh - var(--mh-header)); padding-block:clamp(16px,3svh,70px); display:flex; flex-direction:column; gap:clamp(12px,2svh,40px); background:var(--mh-paper); overflow:clip; }
.mh-work-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; flex:none; }
.mh-work-heading h2 { margin-bottom:12px; }
.mh-work-intro { margin:0; max-width:55ch; font-size:clamp(16px,1vw,26px); }
/* Transparent phone, message and form: three independent contact columns. */
.mh-contact { position: relative; isolation: isolate; width: 100%; min-height: 80svh; display: flex; align-items: center; background:var(--mh-surface); padding-block: clamp(64px, 6svh, 160px); }
.mh-contact-background { opacity:.3; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mh-contact::after { position: absolute; content: ''; inset: 0; z-index: -1; background:linear-gradient(90deg,transparent,var(--mh-surface) 42%,var(--mh-surface) 68%,transparent);opacity:.6; }
.mh-contact-grid { display:grid; grid-template-columns:.65fr 1.05fr 1fr; gap:4%; align-items:center; }
.mh-contact-visual { display:flex; justify-content:center; min-width:0; }
.mh-contact-image { width:100%; max-width:420px; height:auto; max-height:70svh; object-fit:contain; }
.mh-contact-message { min-width:0; }
.mh-contact-message :is(h1,h2) { font-size:clamp(30px,2.4vw,76px); }
.mh-contact-message p { font-size:clamp(17px,1vw,26px); line-height:1.8; color:#444; }
.mh-contact-message .mh-text-link { flex-wrap:wrap; gap:12px; overflow-wrap:anywhere; }
.mh-contact-card { background: #fff; padding: clamp(30px, 2.5vw, 80px); }
.mh-contact-card h3 { font-size: clamp(28px, 1.6vw, 48px); font-weight: 600; margin-bottom: 16px; }
.mh-contact-card > p { font-size: clamp(15px, .85vw, 23px); }
.mh-contact-card form { display: flex; flex-direction: column; align-items: flex-start; }
.mh-contact-card label { font-size: clamp(14px, .8vw, 22px); color: #555; line-height: 1.3; margin-top: 18px; }
.mh-contact-card input, .mh-contact-card textarea { width: 100%; background: transparent; color: var(--mh-ink); border: 0; border-bottom: 1px solid var(--mh-line); border-radius: 0; padding: 8px 0; resize: vertical; }
.mh-contact-card .mh-button { margin-top: 30px; }
.mh-form-status { font-size: 15px; margin: 18px 0 0; }
.mh-form-status:empty { display: none; }
.mh-button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 1100px) {
    .mh-editorial-grid { grid-template-columns:1fr; gap:48px; }
    .mh-editorial-grid--image-left .mh-editorial-media,.mh-editorial-grid--image-left .mh-feature-copy { grid-column:auto; grid-row:auto; }
    .mh-article-grid { gap:24px; }
    .mh-contact-grid { grid-template-columns:.65fr 1.35fr; gap:48px 6%; }
    .mh-contact-card { grid-column:1 / -1; }
    .mh-service-grid { gap: 20px; }
    .mh-service-card { padding: 30px 24px; }

    .mh-work-heading .mh-text-link { max-width: 240px; }
}
@media (max-width: 800px) {
    .mh-intro-card .mh-button { gap:14px; padding-inline:20px; }
    .mh-intro-card .mh-button .mh-arrow { width:32px; }
    .mh-parallax-scene { display:none; }
    .mh-banner-static { display:block; }
    .mh-banner-inner { flex-direction:column; align-items:flex-start; gap:32px; }
    .mh-banner .mh-button { max-width:100%; }
    .mh-banner { padding-block:60px; }
    .mh-article-grid { grid-template-columns:1fr; gap:48px; }
    .mh-services .mh-heading { max-width: 100%; }
    .mh-service-grid { grid-template-columns: 1fr; gap: 28px; }
    .mh-service-card { padding:38px var(--mh-mobile-gutter); }
    .mh-service-card p { max-width: 65ch; }
    .mh-work-heading { flex-direction:column; align-items:flex-start; gap:12px; }
    .mh-work-heading h2 { font-size:clamp(26px,4vw,42px); }
    .mh-work-heading .mh-text-link { margin-left:0; max-width:none; font-size:13px; }
    .mh-contact-grid { grid-template-columns:1fr; gap:48px; }

    .mh-contact-visual { min-height:0; }
    .mh-contact-image { max-height:55svh; }
    .mh-contact-card { padding:34px var(--mh-mobile-gutter); }
    .mh-banner-inner { padding-inline:0; }
}

@media(prefers-reduced-motion:reduce) {
    .mh-parallax-scene { display:none; }
    .mh-banner-static { display:block; }
}

/* Size the original image itself, without padded media canvases. */
.mh-editorial-media{display:flex;align-items:center;justify-content:center;min-width:0;background:transparent}
.mh-editorial-media .mh-feature-image{width:100%;min-width:0}
.mh-editorial-media picture{display:block}
.mh-editorial-media img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
@media(min-width:1101px){.mh-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6%}}
.mh-service-card{transition:color .35s}.mh-service-card :is(h3,p,.mh-service-number,.mh-text-link,.mh-arrow){transition:color .35s}
.mh-service-card::before,.mh-service-card::after{content:"";position:absolute;width:0;height:50%;background:var(--mh-accent);z-index:-1;transition:width .35s cubic-bezier(.785,.135,.15,.86)}
.mh-service-card::before{top:0;right:0}.mh-service-card::after{bottom:0;left:0}
.mh-service-card:is(:hover,:focus-visible,:focus-within)::before,.mh-service-card:is(:hover,:focus-visible,:focus-within)::after{width:100%}
.mh-service-icon{filter:grayscale(1);transition:filter .35s}
.mh-service-card:is(:hover,:focus-visible,:focus-within){color:#fff}
.mh-service-card:is(:hover,:focus-visible,:focus-within) :is(h3,p,.mh-service-number,.mh-text-link,.mh-arrow){color:#fff}
.mh-service-card:is(:hover,:focus-visible,:focus-within) .mh-service-icon{filter:brightness(0) invert(1)}
@media(prefers-reduced-motion:reduce){.mh-service-card,.mh-service-card::before,.mh-service-card::after,.mh-service-icon,.mh-service-card :is(h3,p,.mh-service-number,.mh-text-link,.mh-arrow){transition:none}}



.mh-articles .mh-section-intro{max-width:78ch}
.mh-articles .mh-article{display:flex;flex-direction:column}
.mh-articles .mh-article h3{font-size:clamp(20px,1.45vw,40px);line-height:1.25;block-size:2.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-bottom:24px}
.mh-articles .mh-article>p{flex:1;margin-bottom:28px}
.mh-articles .mh-read-more{align-self:flex-start;margin-top:auto}
.mh-article-media{display:block;aspect-ratio:2/1;overflow:hidden;margin-bottom:28px}
.mh-articles .mh-article-media .mh-artwork{margin:0}
.mh-article-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.mh-articles .mh-article>a:is(:hover,:focus-visible) .mh-article-media img{transform:scale(1.045)}
@media(prefers-reduced-motion:reduce){.mh-article-media img{transition:none}.mh-articles .mh-article>a:is(:hover,:focus-visible) .mh-article-media img{transform:none}}

/* Wide banner copy; one shared, compact rhythm for every separator. */
.main-home .mh-banner-inner{width:92%;display:block}
.main-home .mh-banner-inner>div{width:100%;max-width:none}
.main-home .mh-banner h2{max-width:none;margin:0;line-height:1.15}
.main-home .mh-banner .mh-editorial-rule{margin:12px 0}
.main-home .mh-banner-message{display:block}
.main-home .mh-banner .mh-banner-message p{max-width:none;line-height:1.35;margin:0}
.main-home .mh-banner .mh-banner-message p+p{margin-top:6px}
.main-home .mh-banner .mh-button{margin-top:18px;max-width:100%}
@media(max-width:800px){.main-home .mh-banner-inner{width:calc(100% - 2 * var(--mh-mobile-gutter))}}
/* One aspect ratio and centered frame; source images keep their own proportions. */
.main-home .mh-image-bleed .mh-editorial-media{aspect-ratio:var(--mh-editorial-ratio,5/4);overflow:hidden}
.main-home .mh-image-bleed .mh-editorial-media :is(img,picture,.mh-feature-image){display:block;width:100%;height:100%;max-width:none;max-height:none}
.main-home .mh-image-bleed .mh-editorial-media img{object-fit:cover;object-position:var(--mh-image-focus,50% 50%)}
@media(min-width:1101px){
 .main-home .mh-intro,.main-home .mh-feature{position:relative}
 .main-home .mh-image-bleed .mh-editorial-media{position:absolute;right:0;top:50%;translate:0 -50%;width:min(var(--mh-editorial-width,50vw),calc(var(--mh-editorial-height,79.2vh) * var(--mh-editorial-factor,1.25)));height:auto;max-width:none;margin:0}
 .main-home .mh-image-bleed .mh-editorial-grid--image-left .mh-editorial-media{right:auto;left:0}
}
