/* Reference-informed editorial layout. Original M's@ content and procedural artwork. */
:root{--ms-ink:#123d3b;--ms-paper:#f4f6f2;--ms-green:#155b58;--ms-line:#cbd8d2;--ms-sand:#e2ecdf}
body{background:var(--ms-paper)}
body.home .wp-site-blocks>header{position:absolute;top:0;left:0;width:100%;z-index:20}
body.home.admin-bar .wp-site-blocks>header{top:32px}
body.home .ms-header{background:transparent;color:#fff;border-bottom:1px solid #ffffff40;padding:16px 40px}
body.home .ms-header .wp-block-site-logo img{filter:brightness(0) invert(1)}
body.home .ms-header .wp-block-navigation-item:last-child a{background:#fff;color:#155b58;border-radius:50px}
body.home main{margin-top:0}
.ms-header .wp-block-navigation a{transition:opacity .25s,transform .25s}
.ms-header .wp-block-navigation a:hover{opacity:.7;transform:translateY(-2px)}
.ms-hero-v2{display:flex;flex-direction:column;justify-content:center;min-height:900px;min-height:100svh;padding:150px 3vw 45px;background:radial-gradient(ellipse at 60% 40%,#469f9a,#176c72 50%,#123e52);color:white;overflow:hidden;isolation:isolate}
.ms-hero-v2::before{display:none}.ms-hero-v2::after{z-index:1;background:linear-gradient(0deg,#082c4160,transparent 60%);pointer-events:none}
.ms-hero-v2>*:not(canvas){position:relative;z-index:3}
.ms-hero-v2 .ms-hero-eyebrow{font-size:12px;letter-spacing:.18em;font-weight:600;max-width:none;margin:0 0 auto}
.ms-hero-v2 h1.ms-hero-title{font-family:Arial,Helvetica,sans-serif;font-size:clamp(72px,12.7vw,210px);font-weight:600;line-height:.91;letter-spacing:-.065em;margin:8vh 0 7vh;width:100%;max-width:none;text-shadow:0 2px 25px #0b39461a}
.ms-hero-bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:12px 50px;width:100%;align-items:end;margin-top:auto}
.ms-hero-bottom h2.ms-hero-jp{font-size:clamp(25px,2.5vw,42px);font-weight:600;line-height:1.45;margin:0;letter-spacing:.025em}
.ms-hero-bottom .ms-hero-summary{font-size:15px;margin:0;grid-column:1;line-height:1.9}
.ms-hero-bottom>.wp-block-buttons{grid-column:2;grid-row:1/3;justify-self:end;margin:0}
.ms-hero-v2 .wp-block-button__link{border-radius:40px;background:#fff;color:#174f50;padding:18px 30px;font-weight:600;transition:transform .3s,background .3s}
.ms-hero-v2 .wp-block-button__link:hover{transform:translateY(-5px);background:#e2f7dd}
.ms-hero-v2 .ms-scroll-cue{font-size:10px;letter-spacing:.13em;margin:15px 0 0;grid-column:1/-1;max-width:none}.ms-scroll-cue a{text-decoration:none}
.motion-toggle{position:absolute!important;top:110px;right:40px;z-index:6!important;border:1px solid #ffffff75;border-radius:30px;background:#124f5660;color:#fff;min-height:44px;padding:10px 18px;font-size:12px;cursor:pointer;backdrop-filter:blur(10px)}
.ms-section{max-width:none;padding:110px 5vw;margin-block:0}.ms-section:nth-of-type(even){background:transparent}
.ms-statement{background:#e5eee8!important;min-height:75vh;display:grid;grid-template-columns:1.2fr 1fr;gap:20px 8vw;align-content:center;padding:120px 6vw}
.ms-statement .ms-kicker{grid-column:1/-1;margin:0 0 40px}
.ms-statement h2.ms-statement-title{font-size:clamp(40px,5.1vw,78px);font-weight:600;line-height:1.4;letter-spacing:-.035em;margin:0}
.ms-statement em{font-style:normal;color:#278078}
.ms-statement .ms-statement-copy{align-self:end;font-size:17px;line-height:2.3;margin:0}
.ms-feature-stack{padding:0 3vw 90px;background:#e5eee8}
.ms-feature-panel{position:sticky;top:24px;min-height:650px;height:85svh;max-height:950px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:28px;background:#174f50;color:#fff;box-shadow:0 -12px 40px #102a2d0c;margin:0 0 35px;isolation:isolate}
.ms-feature-panel:nth-child(2){background:#e8eddc;color:#154e4a}.ms-feature-panel:nth-child(3){background:#0e424e}
.ms-feature-image{margin:0;height:100%;width:100%;overflow:hidden}.ms-feature-image img{height:100%;width:100%;object-fit:cover;transform:scale(1.08) translateY(var(--image-shift,0px));transition:transform .3s linear}
.ms-feature-copy{padding:clamp(30px,5vw,85px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.ms-feature-copy .ms-kicker{color:inherit;font-size:12px;margin:0 0 50px;letter-spacing:.15em}
.ms-feature-copy h2{font-size:clamp(28px,3.4vw,55px);line-height:1.45;letter-spacing:-.02em;margin:0 0 25px;font-weight:500}
.ms-feature-copy p{font-size:16px;line-height:2;max-width:30em}.ms-feature-copy .ms-image-note{font-size:10px;opacity:.7;margin-top:30px}
.ms-film-section{background:#153e48!important;color:#fff;padding:100px 6vw}.ms-film-section .ms-kicker{color:#b5d4c6}.ms-film-section h2{font-size:clamp(35px,5vw,72px);line-height:1.4}.ms-film-section>p{max-width:740px}.ms-film{margin:50px 0 0;border-radius:24px;overflow:hidden}.ms-film video{width:100%;display:block;max-height:75vh;object-fit:cover;background:#123e52}.ms-film figcaption{font-size:11px;text-align:left;margin:12px 0;color:#c8d9d4}
.ms-editorial{max-width:none!important;margin-inline:0!important;border-top:1px solid var(--ms-line)}
.ms-editorial>.ms-kicker{font-size:12px;letter-spacing:.15em;margin-bottom:45px}.ms-editorial>h2{font-size:clamp(34px,4.1vw,62px);font-weight:500;max-width:1050px;margin-bottom:45px;letter-spacing:-.025em}
.ms-editorial .ms-grid{gap:38px;margin:60px 0 35px}.ms-card{border-top:1px solid #98aea6;padding:30px 0 0}.ms-card h3{font-size:24px}.ms-step-number{font-family:Arial,sans-serif;font-size:52px!important;color:#348278;line-height:1!important;letter-spacing:-.05em;margin:10px 0 30px}
#support{background:#e5eee8}#process{background:#f5f7f2}#services{background:#d8e6dd}#about{background:#175953;color:#fff}#about .ms-kicker{color:#d2e5d7}#about p{max-width:800px}#pricing{background:#f1f2e7}#start{background:#e7efea}#faq{padding-inline:15vw}#faq .ms-faq{margin:0;padding-block:24px}#contact{background:#d5e8bb;color:#123d3b;padding-block:120px}#contact h2{font-size:clamp(40px,6.5vw,96px);max-width:1100px;line-height:1.25;letter-spacing:-.04em}#contact .wp-block-button__link{background:#174f50;color:#fff;padding:24px 40px;border-radius:60px}
.wp-block-button__link{border-radius:50px;gap:15px}.ms-editorial .wp-block-button__link{border:1px solid #819b91}.ms-footer{padding:65px 5vw;background:#0c393e}.ms-footer>.wp-block-group{gap:30px}
.ms-reveal-ready [data-ms-reveal]{opacity:0;transform:translateY(38px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.75,.2,1)}
.ms-reveal-ready [data-ms-reveal].is-visible{opacity:1;transform:translateY(0)}
.ms-motion-paused [data-ms-reveal]{opacity:1;transform:none;transition:none}.ms-motion-paused .ms-feature-image img{transform:none;transition:none}
@media(min-width:782px){.ms-hero-title{animation:ms-title-in 1.25s cubic-bezier(.16,1,.3,1) both}.ms-hero-bottom{animation:ms-title-in 1.4s .2s both}}@keyframes ms-title-in{from{opacity:0;transform:translateY(48px);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(0)}}
@media(max-width:1000px){.ms-feature-panel{min-height:560px}.ms-feature-copy{padding:35px}.ms-hero-bottom{grid-template-columns:1.3fr 1fr}.ms-hero-v2 h1.ms-hero-title{font-size:12.6vw}}
@media(max-width:781px){body.home.admin-bar .wp-site-blocks>header{top:46px}body.home .ms-header{padding:12px 22px}.ms-header .wp-block-site-title{display:none}.ms-header .wp-block-navigation__responsive-container.is-menu-open{background:#f4f6f2;color:#123d3b;padding:30px}.ms-header .is-menu-open a{color:#123d3b}.ms-hero-v2{min-height:790px;min-height:100svh;padding:150px 22px 28px}.ms-hero-v2 .ms-hero-eyebrow{font-size:9px;letter-spacing:.1em;margin:0}.ms-hero-v2 h1.ms-hero-title{font-size:clamp(55px,14.6vw,110px);line-height:1.03;letter-spacing:-.065em;margin:10vh 0 9vh}.ms-hero-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.ms-hero-bottom h2.ms-hero-jp{font-size:23px}.ms-hero-bottom .ms-hero-summary{font-size:13px;line-height:1.9}.ms-hero-bottom>.wp-block-buttons{width:auto;align-self:flex-start}.ms-hero-v2 .wp-block-button__link{font-size:13px;padding:14px 24px;min-height:48px}.ms-hero-v2 .ms-scroll-cue{font-size:9px;margin-top:12px}.motion-toggle{top:90px;right:22px;font-size:10px;padding:8px 12px}.ms-section{padding:70px 24px}.ms-statement{display:block;min-height:auto;padding:75px 24px}.ms-statement .ms-kicker{font-size:10px;margin-bottom:35px}.ms-statement h2.ms-statement-title{font-size:39px;line-height:1.45}.ms-statement .ms-statement-copy{font-size:14px;line-height:2.1;margin-top:30px}.ms-statement-copy br{display:none}.ms-feature-stack{padding:0 15px 50px}.ms-feature-panel{position:relative;top:auto;display:flex;flex-direction:column;height:auto;max-height:none;min-height:0;border-radius:20px;margin-bottom:20px}.ms-feature-image{height:260px}.ms-feature-copy{padding:30px 24px}.ms-feature-copy .ms-kicker{font-size:10px;margin-bottom:24px}.ms-feature-copy h2{font-size:29px;line-height:1.5}.ms-feature-copy p{font-size:14px;margin:0}.ms-feature-copy .ms-image-note{font-size:10px;margin-top:24px}.ms-feature-image img{transform:none}.ms-film-section h2{font-size:32px}.ms-film{border-radius:12px;margin-top:30px}.ms-film figcaption{font-size:10px}.ms-editorial>h2{font-size:32px;margin-bottom:30px}.ms-editorial .ms-grid{margin-top:30px;gap:30px}.ms-card h3{font-size:22px}.ms-step-number{font-size:42px!important}#faq{padding-inline:24px}#contact{padding:80px 24px}#contact h2{font-size:43px}#contact .wp-block-button__link{padding:18px 24px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.ms-reveal-ready [data-ms-reveal]{opacity:1;transform:none}.ms-feature-panel{position:relative;top:auto}.ms-feature-image img{transform:none}.ms-hero-title,.ms-hero-bottom{animation:none}}
/* Core preset backgrounds are important; this hero header intentionally overlays the scene. */
body.home .ms-header.has-background{background:transparent!important}
body.home .ms-header-inner{max-width:none}
body.home .wp-block-template-part .ms-header a{color:inherit}
body.home .ms-header .wp-block-navigation-item:last-child a{color:#155b58}
body.home .ms-header .wp-block-site-logo a{display:flex;align-items:center;width:128px;height:50px;overflow:hidden}
body.home .ms-header .wp-block-site-logo img{filter:none;background:transparent;border-radius:0;padding:0;width:128px;height:128px;max-width:none;object-fit:contain;flex-shrink:0}
.ms-motion-paused .ms-hero-title,.ms-motion-paused .ms-hero-bottom{animation:none;opacity:1;transform:none;filter:none}
/* Hero story: the same scene contracts into an iris, then opens onto the photograph. */
.ms-hero-story{margin-block:0!important;background:var(--ms-paper)}
.ms-story-stage{margin:0;position:relative}
.ms-story-photo{position:relative;min-height:85svh;display:flex;align-items:flex-end;background:#184b50;isolation:isolate;margin:0;color:white;padding:70px 6vw;overflow:hidden}
.ms-story-photo-image{position:absolute;inset:0;margin:0;z-index:-2}.ms-story-photo-image img{width:100%;height:100%;object-fit:cover}
.ms-story-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#062a37d9,transparent 75%);z-index:-1}
.ms-story-photo-copy h2{font-size:clamp(34px,4.5vw,68px);line-height:1.4;letter-spacing:-.03em;margin:18px 0}.ms-story-photo-copy .ms-kicker{color:inherit;font-size:11px}.ms-story-photo-copy .ms-image-note{font-size:10px;opacity:.8}
.ms-hero-v2 h1.ms-hero-title{font-size:7.7vw;line-height:1.05;letter-spacing:-.065em;margin:auto 0;font-weight:600;white-space:nowrap}
.ms-hero-v2 h1.ms-hero-title br{display:none}
.ms-story-active{height:340svh;overflow:visible}
.ms-story-active .ms-story-stage{position:sticky;top:0;height:100svh;overflow:hidden;isolation:isolate;background:#f4f6f2}
.ms-story-active .ms-hero-v2{position:absolute;inset:0;height:100%;min-height:0;margin:0;clip-path:circle(var(--story-orb-radius,150vmax) at 50% 50%);opacity:var(--story-hero-opacity,1);z-index:2}
.ms-story-active .ms-hero-v2>.ms-hero-title,.ms-story-active .ms-hero-v2>.ms-hero-bottom,.ms-story-active .ms-hero-v2>.ms-hero-eyebrow{opacity:var(--story-copy-opacity,1);transform:translateY(var(--story-copy-y,0px));animation:none;filter:none}
.ms-story-active .ms-story-message{position:absolute;inset:0;min-height:0;margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:32%;align-content:center;padding:7vw 5vw;opacity:var(--story-message-opacity,0);z-index:1;background:#f4f6f2!important}
.ms-story-active .ms-story-message .ms-kicker{grid-column:1;font-size:10px;margin:0 0 25px}
.ms-story-active .ms-story-message h2{grid-column:1;font-size:clamp(28px,3vw,46px);line-height:1.5}
.ms-story-active .ms-story-message .ms-statement-copy{grid-column:2;grid-row:1/3;align-self:center;font-size:15px;line-height:2.2}
.ms-story-active .ms-story-message [data-ms-reveal]{opacity:1;transform:none;transition:none}
.ms-story-active .ms-story-photo{position:absolute;inset:0;min-height:0;opacity:var(--story-photo-opacity,0);clip-path:circle(var(--story-photo-radius,0px) at 50% 50%);z-index:3}
.ms-story-active .ms-story-photo-image img{transform:scale(var(--story-photo-scale,1.09))}
.ms-story-active .ms-story-photo-copy{opacity:var(--story-photo-copy-opacity,0);transform:translateY(calc((1 - var(--story-photo-copy-opacity,0))*30px))}
.ms-story-stage>.motion-toggle{z-index:10!important;top:115px;right:40px}
.ms-story-stage[data-story-phase="message"]>.motion-toggle{background:#155b58;color:#fff}
@media(max-width:781px){.ms-hero-v2 h1.ms-hero-title{font-size:clamp(55px,14.6vw,110px);line-height:1.03;white-space:normal;margin:10vh 0 9vh}.ms-hero-v2 h1.ms-hero-title br{display:block}.ms-story-active{height:290svh}.ms-story-active .ms-hero-v2{padding-top:150px}.ms-story-active .ms-story-message{display:flex;flex-direction:column;justify-content:space-between;gap:0;padding:80px 25px 60px}.ms-story-active .ms-story-message .ms-kicker{margin:0 0 15px}.ms-story-active .ms-story-message h2{font-size:29px;margin:0 auto auto 0}.ms-story-active .ms-story-message .ms-statement-copy{margin:auto 0 0;font-size:13px;line-height:1.9}.ms-story-active .ms-story-message .ms-statement-copy br{display:none}.ms-story-photo{padding:50px 24px;min-height:80svh}.ms-story-photo-copy h2{font-size:34px}.ms-story-photo-copy p{font-size:13px}.ms-story-stage>.motion-toggle{top:90px;right:22px}.ms-story-active .ms-story-photo-image img{object-position:62% center}}

.ms-story-active .ms-hero-scene{transform:scale(var(--story-scene-scale,1));transform-origin:center center}
@media(max-width:781px){.ms-story-stage[data-story-phase="message"]>.motion-toggle{top:50px}}

/* Keep the photo above its own painted background in every stacking context. */
.ms-story-photo-image{z-index:0}.ms-story-photo::after{z-index:1}.ms-story-photo-copy{position:relative;z-index:2}

/* Brand-film end-card wording, kept legible at both viewport sizes. */
.ms-hero-v2 h1.ms-hero-title{font-size:6.5vw}
@media(max-width:781px){.ms-hero-v2 h1.ms-hero-title{font-size:clamp(40px,10.5vw,80px)}}
