/* Home carousel and reference follow-up changes. */
/* A continuous orange divider with a shallow downward notch, not a rotated diamond. */
.cta{--notch-center:50%;--notch-fill:#fcfdff}
.split+.cta{--notch-fill:#f4f7fb}
.cta:before,.cta:after{content:"";position:absolute;left:var(--notch-center);width:44px;height:16px;transform:translateX(-50%);clip-path:polygon(0 0,100% 0,50% 100%);border:0;pointer-events:none}
.cta:before{top:-2px;background:var(--gold)}
.cta:after{top:-4px;background:var(--notch-fill)}
.about-commitment+.cta{--notch-center:53%}
@media(max-width:900px){.about-commitment+.cta{--notch-center:50%}}
.art-frame{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}
.art-frame.art-mobile{display:none}
@media(max-width:600px){.hero-art>.art-desktop{display:none}.hero-art>.art-mobile{display:block}}
.dropdown>button>.nav-arrow{color:var(--gold);font-size:19px;line-height:1;display:inline-block;vertical-align:-2px;margin-left:7px;font-weight:400;transition:transform .2s}
.dropdown>button[aria-expanded=true]>.nav-arrow{transform:rotate(180deg)}
.home-slider{position:relative;background:#fcfdff;isolation:isolate;overflow:hidden}
.slider-stage{display:grid}
.home-slide{grid-area:1/1;position:relative;min-width:0;min-height:clamp(490px,45vw,690px);opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s;pointer-events:none;isolation:isolate}
.home-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.slide-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 55%;z-index:-2}
.home-slide:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fcfdff 0%,#fcfdfff5 30%,#fcfdffa6 43%,#fcfdff00 61%);pointer-events:none}
.slide-copy{padding:40px var(--gutter) 32px;width:57%;max-width:820px}
.slide-copy .eyebrow{font-size:11px;margin-bottom:20px}
.slide-copy .slide-heading{font-size:clamp(45px,5.15vw,78px);line-height:1.02;letter-spacing:-2px;font-weight:300;margin:0 0 17px}
.slide-copy>p{max-width:490px;font-size:clamp(15px,1.4vw,20px);line-height:1.45}
.slide-copy .hero-actions{margin-top:22px}
.slide-copy .hero-note{font-size:10px;letter-spacing:3px;margin-top:28px;line-height:1.8}
.slider-controls{position:absolute;right:3.5%;bottom:35px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:15px}
.slide-selectors{display:flex;flex-direction:column;background:#071e423d;border-radius:2px;padding:0 6px;backdrop-filter:blur(6px)}
.slide-selector{position:relative;display:block;min-width:48px;min-height:50px;padding:12px 8px;border:0;background:none;color:white;font-size:16px;font-weight:400;transition:color .2s}
.slide-selector+.slide-selector:before{content:"";position:absolute;left:8px;right:8px;top:0;height:1px;background:#ffffff80}
.slide-selector.is-active{color:var(--gold);font-size:21px}
.slider-pause{border:1px solid #ffffff80;background:#071e4259;color:white;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:13px;padding:0}
.slider-pause:hover,.slide-selector:hover{color:var(--gold)}
.home-process .section-heading{justify-content:flex-start;gap:36px}
.home-process .section-heading h2{flex-shrink:0}
.home-process .section-heading p{display:block;max-width:none;flex:1;font-size:clamp(12px,1.2vw,16px);line-height:1.5}
.home-story-image{position:relative;overflow:hidden;height:100%;min-height:300px;isolation:isolate;background:#10232f}
.home-story-image img{position:absolute;right:0;top:0;width:165%;max-width:none;height:100%;object-fit:cover;object-position:right center}
.home-story-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 65%,#071b2b88)}
.home-story>div:nth-child(2){padding:32px 15%}
.home-drawing>.art{overflow:hidden}
@media(min-width:1250px){.slide-copy{padding-top:52px}.slide-copy .eyebrow{font-size:12px}.slide-copy .hero-note{font-size:11px;margin-top:32px}.home-story-image{min-height:370px}}
@media(max-width:1100px) and (min-width:901px){.site-header nav{gap:12px}.dropdown>button>.nav-arrow{font-size:17px;margin-left:3px}.home-process .section-heading{gap:25px}.home-process .section-heading h2{font-size:22px}.home-process .section-heading p{font-size:12px}}
@media(max-width:900px){.slide-copy{width:64%;padding-top:35px}.slide-copy .slide-heading{font-size:clamp(40px,5.4vw,49px)}.slide-copy>p{font-size:15px}.home-slide{min-height:480px}.home-process .section-heading{display:grid;grid-template-columns:1fr;gap:12px}.home-process .section-heading p{font-size:14px}.home-story-image{min-height:310px}}
@media(max-width:600px){
  .home-slide{display:flex;flex-direction:column;min-height:0}
  .slide-copy{padding:28px var(--gutter);width:100%;min-height:385px;flex:1}
  .slide-copy .slide-heading{font-size:clamp(36px,10.8vw,46px);letter-spacing:-1.5px;margin-bottom:14px}
  .slide-copy .eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:16px}
  .slide-copy>p{font-size:15px;line-height:1.45;max-width:none}
  .slide-copy .hero-actions{gap:10px;margin-top:19px;flex-wrap:wrap}
  .slide-copy .hero-actions .button{font-size:10px;padding:11px;min-height:40px}
  .slide-copy .hero-note{display:none}
  .slide-image{position:relative;inset:auto;order:2;width:100%;height:250px;flex-shrink:0;object-fit:cover;object-position:80% center;z-index:0}
  .home-slide:after{display:none}
  .slider-controls{right:16px;bottom:13px;flex-direction:row;gap:10px}
  .slide-selectors{flex-direction:row;padding:0 3px;background:#071e426b}
  .slide-selector{min-width:43px;min-height:40px;font-size:14px;padding:8px}
  .slide-selector.is-active{font-size:17px}
  .slide-selector+.slide-selector:before{top:10px;bottom:10px;left:0;right:auto;width:1px;height:auto}
  .home-process .section-heading h2{flex-shrink:1;font-size:26px}
  .home-process .section-heading p{font-size:12px;line-height:1.6}
  .home-story-image{min-height:240px;height:240px;width:100%}
  .home-story-image img{width:165%;height:100%;object-fit:cover}
  .home-story>div:nth-child(2){padding:28px var(--gutter)}
}
@media(prefers-reduced-motion:reduce){.home-slide,.slide-selector,.nav-arrow{transition:none!important}}

/* About commitment composition; artwork is clipped by the shared SVG frame. */
.about-commitment{grid-template-columns:53% 47%;align-items:stretch;background:linear-gradient(110deg,#fff,#f4f7fb)}
.about-commitment>.art{min-height:0;height:auto!important;aspect-ratio:541/200!important}
.about-commitment .split-copy{display:grid;grid-template-columns:minmax(0,1fr) 24%;align-items:center;gap:5%;padding:16px 7%}
.commitment-description{min-width:0}
.about-commitment .eyebrow{font-size:clamp(9px,.9vw,13px);letter-spacing:1.8px;margin-bottom:12px;gap:10px}
.about-commitment h2{font-size:clamp(24px,2.7vw,41px);line-height:1.04;letter-spacing:-1.25px}
.about-commitment p{font-size:clamp(12px,1.25vw,18px);line-height:1.35;margin-top:8px;max-width:none}
.commitment-note{border-left:1px solid var(--gold);padding:3px 0 3px 15px;color:var(--muted);font-size:clamp(8px,.85vw,12px);line-height:1.65;letter-spacing:1.8px}

@media(max-width:900px) and (min-width:601px){.about-commitment{grid-template-columns:50% 50%}.about-commitment .split-copy{padding:15px 6%;gap:4%;grid-template-columns:minmax(0,1fr) 25%}.about-commitment h2{font-size:23px}.about-commitment .eyebrow{font-size:8px;letter-spacing:1px}.commitment-note{font-size:8px;letter-spacing:1px;padding-left:10px}}
@media(max-width:600px){.about-commitment{grid-template-columns:1fr}.about-commitment>.art{aspect-ratio:541/200!important;height:auto!important}.about-commitment .split-copy{padding:26px var(--gutter);grid-template-columns:minmax(0,1fr) 25%;gap:5%}.about-commitment .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:13px}.about-commitment h2{font-size:clamp(23px,6.2vw,34px);letter-spacing:-1px}.about-commitment p{font-size:13px;line-height:1.4}.commitment-note{font-size:9px;letter-spacing:1px;padding-left:12px}}

/* Supplied brand artwork retains its original navy and gold colours. */
.site-header .brand{width:clamp(170px,21vw,260px)}
.site-header .brand img{max-height:93px;object-fit:contain}
.footer-top .brand{background:#fff;padding:8px 12px;border-radius:3px}
.footer-top .brand img{width:100%;height:auto}
.legal-banner{padding:48px var(--gutter);background:linear-gradient(110deg,#001b33,#15354e);color:#fff;border-bottom:2px solid var(--gold)}
.legal-banner .eyebrow{color:#d7e1eb}
.legal-banner h1{font-size:clamp(34px,4.5vw,62px);font-weight:300;line-height:1.15;margin:18px 0 24px}
.legal-banner nav{display:flex;align-items:center;gap:14px;font-size:13px;color:#d7e1eb}
.legal-banner nav>span[aria-hidden]{color:var(--gold)}
.legal-banner a:hover{text-decoration:underline}
.page-legal .legal{min-height:0;padding-block:42px 60px}
@media(max-width:900px){.site-header .brand{width:190px}.site-header .brand img{max-height:70px}}
@media(max-width:600px){.site-header .brand{width:165px;max-width:45%}.site-header .brand img{max-height:64px}.legal-banner{padding-block:32px}.legal-banner nav{font-size:12px}.page-legal .legal{padding-block:28px 42px}}

/* Logo gold with navy labels for clear button contrast. */
.button,.button:hover{color:var(--navy)}
.button.outline{background:transparent}

/* Shared brand icon palette: navy backgrounds and logo gold icons. */
.icon{color:var(--gold)}
.icon-circle{background:var(--navy);border-color:var(--navy);color:var(--gold)}
.icon-circle .icon{color:inherit}

.upload>.icon{color:var(--gold)}

/* Every standalone interface icon uses the same navy-and-gold badge. */
.icon{background:var(--navy);color:var(--gold);border-radius:50%;padding:7px;box-sizing:content-box}
.icon-circle .icon{background:transparent;padding:0;box-sizing:border-box;color:var(--gold)}
.meglobal svg{background:var(--navy);color:var(--gold);border-radius:50%}
@media(max-width:600px){.icon{padding:6px}.icon-circle .icon{padding:0}}

/* EDM sequence follows the reference: number beside icon, copy aligned below icon. */
.edm-process .steps{gap:24px}
.edm-process .steps li{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:42px auto 1fr;column-gap:12px;align-content:start;padding:0;border:0;min-width:0}
.edm-process .steps .step-number{grid-column:1;grid-row:1;margin:0;line-height:1.2}
.edm-process .steps .icon{position:static;grid-column:2;grid-row:1;background:transparent;border-radius:0;padding:0;box-sizing:border-box;width:35px;height:38px;margin:0;color:var(--gold)}
.edm-process .steps h3{grid-column:2;grid-row:2;margin:12px 0 0;line-height:1.35}
.edm-process .steps p{grid-column:2;grid-row:3;margin:9px 0 0;line-height:1.5}
.edm-process .steps li:not(:last-child):after{content:"";position:absolute;right:-15px;top:48px;width:22px;height:1px;background:var(--gold)}
@media(max-width:600px){.edm-process .steps{gap:26px 20px}.edm-process .steps li{width:calc(50% - 10px);grid-template-columns:29px minmax(0,1fr);column-gap:9px}.edm-process .steps li:after{display:none}}

/* Capabilities process icons: plain gold line artwork, without circular badges. */
:is(.page-precision,.page-fixtures,.page-edm,.page-cam) .steps .icon{background:transparent;border-radius:0;padding:0;box-sizing:border-box;color:var(--gold)}

/* Balance the capabilities process symbols with their large step numbers. */
:is(.page-precision,.page-fixtures,.page-edm,.page-cam) .steps .icon{width:44px;height:46px}
.page-edm .edm-process .steps li{grid-template-rows:48px auto 1fr}
@media(max-width:600px){:is(.page-precision,.page-fixtures,.page-edm,.page-cam) .steps .icon{width:38px;height:40px}}

/* Engineering & CAM: gold line icons without badge backgrounds. */
.page-cam .icon-circle{background:transparent;border-color:transparent}
.page-cam .icon{background:transparent;color:var(--gold);border-radius:0;padding:0;box-sizing:border-box}

/* Site-wide final icon treatment: plain logo-gold artwork without badges. */
body .icon-circle{background:transparent;border-color:transparent;color:var(--gold)}
body .icon,body .icon-circle .icon{background:transparent;color:var(--gold);border-radius:0;padding:0;box-sizing:border-box}
.meglobal svg{background:transparent}
