*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:82px}body{margin:0;font-family:Roboto,Arial,sans-serif;color:#101b31;background:#f5f9fc}a:focus-visible,button:focus-visible{outline:3px solid #0074ff;outline-offset:5px}.skip{position:fixed;top:-80px;left:20px;padding:12px;background:#fff;z-index:100}.skip:focus{top:12px}.site-header{position:sticky;top:0;z-index:50;background:#ffffffed;backdrop-filter:blur(14px);border-bottom:1px solid #dfe7ef}.site-nav{max-width:1536px;min-height:78px;padding:12px 4%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:26px}.wordmark{font-size:35px;font-weight:800;letter-spacing:-1.5px;color:#12315a;text-decoration:none;line-height:1}.wordmark .star{color:#1479cf;font-size:23px;vertical-align:top;margin-left:2px}.nav-links{display:flex;align-items:center;gap:28px}.nav-links a{font-size:14px;font-weight:600;text-decoration:none;color:#273b54}.nav-links a:hover{color:#075df5}.nav-links .nav-contact{color:white;background:#075df5;padding:12px 19px;border-radius:5px}.menu-toggle{display:none;border:1px solid #cbd7e4;border-radius:5px;padding:9px 13px;font:600 14px Roboto,Arial;background:white;color:#193153}.home-section{scroll-margin-top:82px}.site-footer{background:#eef3f8;border-top:1px solid #dbe4ef;padding:30px 4%;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#4d6078;font-size:14px}.site-footer p{margin:0}.site-footer div{display:flex;gap:22px;flex-wrap:wrap}.site-footer a{color:#244b7c;text-decoration:none}.site-footer a:hover{text-decoration:underline}#section-11:not(.editing) .logo-band{display:none}#section-11 .editor-toggle{position:static;margin:0 24px 20px auto;display:none}body.editor-enabled #section-11 .editor-toggle{display:block}#section-10 .pillar h3{white-space:normal} @media(max-width:1000px){.site-nav{min-height:68px;flex-wrap:wrap;padding:14px 24px}.wordmark{font-size:30px}.menu-toggle{display:block}.nav-links{display:none;width:100%;align-items:stretch;gap:0;flex-direction:column;padding:4px 0 8px}.nav-links.open{display:flex}.nav-links a{padding:13px 4px}.nav-links .nav-contact{margin-top:8px;text-align:center}.site-footer{padding:26px 24px;align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.merlin-footer{color:#edf3ff;font-family:Roboto,Arial,sans-serif;background:#041125}
.footer-container{width:calc(100% - 96px);max-width:1560px;margin:0 auto}
.footer-invitation{background:#081a35;padding:94px 0 110px}
.invitation-layout{display:flex;justify-content:space-between;align-items:center;gap:48px}
.footer-invitation h2{font-size:clamp(34px,3.4vw,58px);font-weight:800;line-height:1.1;letter-spacing:-.045em;color:#fff;margin:0 0 20px}
.footer-invitation p{font-size:20px;line-height:1.5;color:#bdcde3;margin:0}
.footer-cta{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:22px;padding:18px 28px;min-height:58px;border:1px solid #b8cce8;border-radius:6px;background:#fff;color:#081a35;font-size:17px;font-weight:700;text-decoration:none;transition:background .15s}
.footer-cta span{font-size:30px;line-height:.7}.footer-cta:hover{background:#eaf3ff}
.footer-details{background:#041125;padding:72px 0 22px}
.footer-columns{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:64px;padding-bottom:52px}
.footer-logo{display:inline-flex;align-items:baseline;color:#fff;text-decoration:none;font-size:38px;line-height:1;letter-spacing:2px;font-weight:400;margin-bottom:18px}
.footer-logo-i{position:relative}.footer-logo-i svg{position:absolute;width:15px;height:15px;left:50%;transform:translateX(-50%);top:-5px;fill:#041125;stroke:#fff;stroke-width:1.8}.footer-registered{font-size:8px;letter-spacing:0;margin-left:2px}
.footer-brand p,.footer-talk p{font-size:16px;line-height:1.5;color:#b5c5db;margin:0 0 22px}
.footer-brand .footer-locations{font-size:13px;line-height:1.5;color:#819bbf;text-transform:uppercase;letter-spacing:.8px;margin:28px 0 0}
.footer-link-column h3,.footer-talk h3{font-size:13px;line-height:1.5;font-weight:800;text-transform:uppercase;letter-spacing:1.7px;color:#75b3ff;margin:0 0 17px}.footer-talk h3{color:#b0c0d8;font-size:15px}
.footer-link-column ul{list-style:none;padding:0;margin:0;display:grid;gap:13px}
.footer-link-column a,.footer-talk a{font-size:15px;line-height:1.4;color:#edf3ff;text-decoration:none}
.footer-link-column a:hover,.footer-talk a:hover,.footer-bottom a:hover{color:#8cc4ff;text-decoration:underline}
.footer-talk p{font-size:15px;margin-bottom:11px}.footer-matter{display:inline-block;margin-bottom:12px}.footer-matter span{margin-left:7px}.footer-phone{display:block;width:fit-content}
.footer-bottom{border-top:1px solid #203550;padding-top:22px;display:flex;justify-content:space-between;gap:24px;align-items:center;color:#8fa8c8;font-size:13px;line-height:1.5}
.footer-bottom p{margin:0}.footer-bottom nav{display:flex;flex-wrap:wrap;gap:22px}.footer-bottom a{color:#8fa8c8;text-decoration:none}
@media(max-width:1100px){.footer-columns{gap:30px;grid-template-columns:1.3fr 1fr 1fr 1.2fr}.footer-brand p{font-size:15px}.footer-desktop-break{display:none}.footer-invitation{padding:70px 0 80px}.footer-cta{font-size:15px;padding:16px 20px}.footer-invitation p{font-size:18px}}
@media(max-width:850px){.footer-container{width:calc(100% - 48px)}.invitation-layout{align-items:flex-start;flex-direction:column;gap:28px}.footer-invitation{padding:54px 0 60px}.footer-columns{grid-template-columns:1fr 1fr;gap:38px 42px}.footer-details{padding-top:50px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:15px}}
@media(max-width:500px){.footer-columns{grid-template-columns:1fr;gap:32px;padding-bottom:38px}.footer-invitation h2{font-size:36px;max-width:350px}.footer-invitation p{font-size:18px}.footer-cta{width:100%;max-width:310px}.footer-talk{max-width:350px}.footer-bottom nav{gap:18px}.footer-details{padding-bottom:28px}}

/* Approved artwork, preserving intrinsic aspect ratios. */
.wordmark .merlin-logo-image{display:block;width:154px;height:auto;aspect-ratio:1253 / 290}
.footer-logo .footer-logo-image{display:block;width:180px;height:auto;aspect-ratio:627 / 143}
.product-logo{display:block;object-fit:contain;object-position:left center;max-width:100%;height:auto}
#section-03 .brand-eyebrow .product-logo{width:225px}
#section-07 .brand-eyebrow .product-logo{width:270px}
#section-03 .eyebrow.brand-eyebrow:after,#section-07 .eyebrow.brand-eyebrow:after,
#alchemy-section-01 .eyebrow.brand-eyebrow:after,#alchemy-section-12 .eyebrow.brand-eyebrow:before,#alchemy-section-12 .eyebrow.brand-eyebrow:after{display:none}
#section-06 .brand .product-logo{width:100%;max-width:190px;max-height:58px;height:auto;object-fit:contain}
#section-06 .merlin-services-brand{display:flex;flex-direction:column;gap:8px;font-size:17px;letter-spacing:0}
#section-06 .brand .services-merlin-logo{width:150px;height:auto;aspect-ratio:1253 / 290}
#alchemy-section-01 .brand-eyebrow .product-logo{width:270px}
#alchemy-section-12 .brand-eyebrow .product-logo{width:290px;object-position:center}
#review-section-01 .rp-hero__eyebrow .product-logo{width:275px}
@media(max-width:1000px){.wordmark .merlin-logo-image{width:135px}}
@media(max-width:760px){#alchemy-section-01 .brand-eyebrow .product-logo{width:230px}#review-section-01 .rp-hero__eyebrow .product-logo{width:235px}#section-06 .brand .product-logo{width:175px}#section-07 .brand-eyebrow .product-logo{width:245px}}

.nav-item-mega{display:flex;align-items:center;gap:3px}
.nav-item-mega:has(>.mega-toggle[aria-expanded=true]){background:#edf5fc;border-radius:6px}
.mega-toggle{display:flex;align-items:center;justify-content:center;padding:8px 4px;border:0;border-radius:4px;background:transparent;color:#273b54;cursor:pointer}
.mega-toggle svg{transition:transform .15s}
.mega-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.mega-panel[hidden]{display:none}
.mega-panel{position:absolute;top:100%;left:0;right:0;transform:none;margin:0 auto;width:min(1080px,calc(100vw - 64px));max-width:1080px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,.9fr);gap:24px;padding:28px;background:#fff;color:#09152e;border:1px solid #d6e2ef;border-radius:0 0 18px 18px;box-shadow:0 18px 40px #071b3526;max-height:calc(100dvh - 100px);overflow-y:auto;text-align:left;z-index:80}
.mega-panel>*{min-width:0}
.mega-intro{padding-right:20px;border-right:1px solid #dce5ef}
.mega-panel .mega-eyebrow{margin:0 0 24px;color:#536d96;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;line-height:1.5}
.mega-intro h2{font-size:clamp(25px,2vw,30px);letter-spacing:-.04em;line-height:1.15;margin:0 0 22px;font-weight:800;color:#08152f}
.mega-intro>p:not(.mega-eyebrow){font-size:17px;line-height:1.5;color:#536782;margin:0 0 26px}
.nav-links .mega-explore{display:inline-flex;align-items:center;gap:14px;background:#075df5;color:#fff;padding:14px 18px;border-radius:8px;font-size:15px}
.mega-capability-links{display:grid;gap:10px}
.nav-links .mega-capability-links a{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border-radius:7px;color:#0c1b35;line-height:1.35}
.mega-capability-links a:hover,.mega-capability-links a:focus-visible{background:#edf5fc}
.mega-capability-links strong{font-size:19px;letter-spacing:-.02em}
.mega-capability-links span{font-size:16px;font-weight:400;color:#536782}
.mega-image{overflow:hidden;border-radius:13px;align-self:center;height:320px;min-height:0}
.mega-image svg{display:block;width:100%;height:100%;min-height:0}
@media(max-width:1200px) and (min-width:1001px){.nav-links{gap:10px}.nav-links> a,.nav-item-mega> a{font-size:13px}.mega-panel{gap:20px;padding:24px;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,.9fr)}.mega-intro{padding-right:20px}}
@media(max-width:1000px){
 .nav-item-mega{display:grid;grid-template-columns:1fr 40px;gap:0}
 .mega-toggle{min-height:44px;padding:10px}
 .mega-panel{position:static;transform:none;grid-column:1/-1;width:100%;max-height:60dvh;grid-template-columns:1fr 1.6fr;gap:22px;padding:24px;border-radius:10px;box-shadow:none;margin:0 0 12px;background:#f7fbff}
 .mega-image{display:none}
 .mega-panel .mega-eyebrow{font-size:11px;margin-bottom:16px}
 .mega-intro h2{font-size:26px}
 .mega-intro>p:not(.mega-eyebrow){font-size:16px}
 .nav-links .mega-capability-links a{padding:8px}
 .mega-capability-links strong{font-size:18px}
 .mega-capability-links span{font-size:15px}
}
@media(max-width:560px){.mega-panel{grid-template-columns:1fr;gap:22px;padding:20px}.mega-intro{border-right:0;border-bottom:1px solid #dce5ef;padding:0 0 22px}.mega-intro h2{font-size:26px;max-width:320px;margin-bottom:14px}.mega-intro>p:not(.mega-eyebrow){margin-bottom:18px}.mega-capability-links{gap:8px}}
@media(prefers-reduced-motion:reduce){.mega-toggle svg{transition:none}}

/* Consistent full-width section bands: white, light blue, repeat. */
#main-content > .home-section:nth-child(odd){--section-bg:#ffffff;background:var(--section-bg)}
#main-content > .home-section:nth-child(even){--section-bg:#edf5fc;background:var(--section-bg)}
#section-01 .hero,
#section-02 .meet,
#section-03 .section,
#section-03 .content,
#section-03 .close,
#section-04 .lifecycle,
#section-05 .section,
#section-06 .ways,
#section-07 .review-team,
#section-08 .services,
#section-09 .cloud-section,
#section-10 .why-merlin,
#section-11 .clients{background:var(--section-bg)}
/* Match the image fades to the surface beneath each illustration. */
#section-02 .photo{z-index:0;overflow:hidden;mix-blend-mode:normal}
#section-02 .meet-photo{position:absolute;right:0;bottom:0;height:165%;width:auto;max-width:none;display:block}
#section-02 .shade,#section-02 .topwash{z-index:1}
#section-02 .inner{position:relative;z-index:2}
#section-02 .callout{z-index:2}
#section-02 .shade{background:linear-gradient(90deg,#edf5fc 0%,#edf5fc 41%,rgba(237,245,252,.93) 46%,rgba(237,245,252,.22) 61%,transparent 74%)}
#section-02 .topwash{background:linear-gradient(#edf5fce8,#edf5fcd9 65%,transparent)}
#section-03 .art:after{background:linear-gradient(90deg,transparent 44%,#ffffff 46%,transparent 50%)}
@media(max-width:1000px){#section-02 .shade{background:linear-gradient(90deg,#edf5fc 0%,#edf5fc 44%,rgba(237,245,252,.95) 51%,transparent 76%)}}
@media(max-width:1100px) and (min-width:761px){#section-03 .content{background:linear-gradient(90deg,#ffffff 96%,transparent)}}

/* Meet Merlin: half-scale document stack, below the upper-right callout. */
#section-02 .photo{position:absolute;top:auto;left:auto;right:3%;bottom:24px;width:43%;height:43%;overflow:hidden}
#section-02 .meet-photo{position:static;display:block;width:100%;height:100%;max-width:100%}
@media(max-width:1000px) and (min-width:701px){#section-02 .photo{right:2%;width:38%;height:40%}}
@media(max-width:700px){#section-02 .photo{position:relative;inset:auto;width:100%;height:240px;margin:0;z-index:0}#section-02 .meet-photo{width:100%;height:100%}}
/* Keep the callout immediately above the smaller document stack. */
@media(min-width:1001px){#section-02 .callout{top:auto;bottom:calc(43% + 48px)}}
@media(min-width:701px) and (max-width:1000px){#section-02 .callout{top:auto;bottom:calc(40% + 48px)}}

/* Section navigation: concise labels, in page order. */
.mega-panel .mega-capabilities>.mega-eyebrow{margin-bottom:14px}
.mega-capability-links{gap:4px}
.nav-links .mega-capability-links a{gap:4px;padding:8px 10px}
.mega-capability-links strong{font-size:17px;line-height:1.25}
.mega-capability-links span{font-size:14px;line-height:1.35}
@media(max-width:560px){.nav-links .mega-capability-links a{padding:10px}.mega-capability-links strong{font-size:17px}.mega-capability-links span{font-size:14px}}

