/* AME Partners 4.0 - restrained editorial design adapted from the approved AME wireframe. */
:root{--ame40-paper:#f7f8f5;--ame40-ink:#0b2223;--ame40-teal:#215159;--ame40-gold:#d4aa45}
body.public-mode{background:#fff!important}
body.public-mode .top{height:83px!important;min-height:83px!important;background:linear-gradient(110deg,#23585c 0%,#102c2f 40%,#040b0c 100%)!important;border:0!important;border-radius:0 0 28px 28px;z-index:110!important;box-shadow:none!important}
body.public-mode .top .nav-container{width:min(calc(100% - 80px),1500px)!important;min-height:83px!important}
body.public-mode .top .brand-sub{color:#e1e9e6!important}
body.public-mode .top .main-nav{gap:clamp(14px,2.3vw,40px)}
body.public-mode .top .main-nav a{color:white!important;font-weight:800!important;text-transform:uppercase!important;font-size:clamp(10px,.85vw,13px)!important;letter-spacing:.015em!important}
body.public-mode .top .main-nav a:hover{color:var(--ame40-gold)!important}
body.public-mode .top .header-login{color:white!important;font-size:11px!important}
body.public-mode .top .header-apply{background:#d4aa45!important;color:#08181a!important;text-transform:uppercase;font-size:10px!important;font-weight:800!important;border-radius:80px!important;padding:12px 18px!important;white-space:nowrap}
body.public-mode .top .language-switch{border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.09)!important}
body.public-mode .top .language-switch a,body.public-mode .top .language-switch span{color:#fff!important}
body.public-mode .top .language-switch a.active{color:#eaca70!important}
body.public-mode .top .nav-toggle{color:white!important;border:1px solid rgba(255,255,255,.4)!important}
body.public-mode .public-content.home-content{padding:0!important;margin:0!important;max-width:none!important;background:white!important;overflow:clip}
body.public-mode .public-content.home-content .ame40-hero,body.public-mode .public-content.home-content .ame40-how,body.public-mode .public-content.home-content .ame40-events{max-width:none!important}
.ame40-wrap{width:min(calc(100% - 140px),1460px);margin:0 auto}
.ame40-hero{background:white;padding:7px clamp(14px,2.7vw,45px) 0}
.ame40-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:min(690px,calc(100svh - 95px));}
.ame40-hero-choice{position:relative;isolation:isolate;overflow:hidden;min-height:550px;display:flex;align-items:center;justify-content:center;text-align:center;background:#222426;color:white!important;text-decoration:none!important;transition:background .4s}
.ame40-hero-choice--sponsor{background:#1a2929}
.ame40-hero-photo{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;opacity:.22;filter:grayscale(.5);transform:scale(1.03);transition:opacity .6s,transform 1.1s ease}
.ame40-hero-choice--standhouder .ame40-hero-photo{background-image:var(--ame-photo-hero-standhouder)}
.ame40-hero-choice--sponsor .ame40-hero-photo{background-image:var(--ame-photo-hero-sponsor);background-position:center 35%;opacity:.13}
.ame40-hero-choice:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,13,13,.4),rgba(19,21,21,.62));z-index:-1}
.ame40-hero-choice:hover .ame40-hero-photo,.ame40-hero-choice:focus-visible .ame40-hero-photo{transform:scale(1.1);opacity:.32}
.ame40-hero-content{padding:50px 20px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:12px;position:relative;width:100%}
.ame40-hero-overline{font-size:10px;font-weight:800;letter-spacing:.2em;color:#e9d3a1}
.ame40-hero-overline span{color:white}
.ame40-hero-content strong{font-size:clamp(39px,5vw,80px);line-height:1.02;letter-spacing:-.07em;font-weight:800;color:#fff;white-space:normal}
.ame40-hero-content small{font-size:clamp(12px,1vw,16px);font-weight:700;letter-spacing:.12em;color:#f5f7f4;max-width:90%}
.ame40-choice-btn{display:inline-flex;align-items:center;justify-content:center;gap:38px;background:var(--ame40-gold);color:#102224;border-radius:60px;padding:13px 24px;margin-top:26px;min-width:185px;font-size:12px;font-weight:800;transition:background .2s,transform .25s}
.ame40-hero-choice:hover .ame40-choice-btn{background:white;transform:translateY(-3px)}
.ame40-logo-band{background:#0d1716}
.ame40-logo-band .sp38-network{padding:0!important}
.ame40-logo-band .partners-strip{background:#071819!important;border:0!important;padding:32px 0 41px!important}
.ame40-logo-band .partners-strip .section-label{margin-bottom:16px!important}
.ame40-logo-band .partners-strip .section-label h2{font-size:clamp(19px,2vw,32px)!important;font-weight:800!important}
.ame40-logo-band .partners-strip .logo-chip{background:#182c2c!important;border:1px solid #3c5552!important;border-radius:4px!important}
.ame40-logo-band .partners-strip .logo-chip img{filter:none;opacity:1}
.ame40-how{padding:clamp(78px,8vw,140px) 0 clamp(80px,8vw,134px);background:var(--ame40-paper);color:var(--ame40-ink)}
.ame40-how-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.13fr);align-items:center;column-gap:clamp(50px,6vw,124px)}
.ame40-how-copy{min-width:0}
.ame40-kicker{font-size:11px;letter-spacing:.22em;font-weight:800;color:#97702c;display:block;margin-bottom:23px}
.ame40-how h2{font-size:clamp(47px,5.1vw,87px)!important;line-height:.99!important;letter-spacing:-.075em!important;max-width:600px;font-weight:800!important;color:#0c2426!important;margin:0 0 27px!important}
.ame40-how-lead{font-size:clamp(14px,1.15vw,17px);line-height:1.8;color:#516467;max-width:610px;margin:0 0 35px}
.ame40-how-steps{padding:0;margin:0;list-style:none;border-top:1px solid #b9c9c6}
.ame40-how-steps li{display:grid;grid-template-columns:45px 1fr;gap:20px;align-items:start;border-bottom:1px solid #b9c9c6;padding:20px 0 18px}
.ame40-step-number{font-size:12px;font-weight:800;color:#98712e;padding-top:3px}
.ame40-step-copy{display:flex;flex-direction:column;gap:5px}
.ame40-step-copy strong{font-size:16px;line-height:1.35;font-weight:800;color:#112829}
.ame40-step-copy small{font-size:12px;line-height:1.6;color:#536769}
.ame40-how-link{display:inline-flex;gap:28px;align-items:center;margin-top:31px;border-bottom:1px solid #10282a;padding-bottom:11px;font-size:12px;font-weight:800;color:#0d292a!important;text-decoration:none!important}
.ame40-how-link:hover{gap:40px}
.ame40-collage{display:grid;grid-template-columns:1.02fr 1fr .52fr;grid-template-rows:1fr 1fr;gap:12px;aspect-ratio:1.35;min-width:0}
.ame40-tile{overflow:hidden;background:#132c30;margin:0;min-width:0;min-height:0}
.ame40-tile img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .85s cubic-bezier(.2,.7,.2,1)}
.ame40-tile:hover img{transform:scale(1.045)}
.ame40-tile--one{grid-column:1;grid-row:1 / 3}.ame40-tile--one img{object-position:50% 25%}
.ame40-tile--two{grid-column:2;grid-row:1}
.ame40-tile--three{grid-column:3;grid-row:1}
.ame40-tile--four{grid-column:2 / 4;grid-row:2}
.ame40-events{background:linear-gradient(115deg,#081f21 0%,#153a3d 62%,#215159 100%);color:white;padding:clamp(70px,8vw,127px) 0}
.ame40-events-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.ame40-events-kicker{display:block;color:#d4aa45;font-size:10px;font-weight:800;letter-spacing:.2em;margin-bottom:15px}
.ame40-events h2{font-size:clamp(47px,5vw,82px)!important;color:#fff!important;font-weight:800!important;line-height:.98!important;letter-spacing:-.07em!important;margin:0 0 20px!important}
.ame40-events p{color:#dce9e6;font-size:14px;max-width:620px;line-height:1.7;margin:0}
.ame40-events-button{flex:0 0 auto;display:inline-flex;align-items:center;gap:34px;background:#fff;color:#0b2527!important;padding:17px 25px;border-radius:100px;font-size:12px;font-weight:800;transition:background .2s,transform .2s;text-decoration:none!important}
.ame40-events-button:hover{background:#d4aa45;transform:translateY(-3px)}
body.public-mode .site-footer{background:#040a0b!important;color:#fff!important}
body.public-mode .footer-main{width:min(calc(100% - 140px),1460px)!important;max-width:none!important;padding:70px 0!important;grid-template-columns:1.6fr 1fr 1fr 1fr!important;gap:clamp(20px,5vw,86px)!important}
body.public-mode .footer-brand img{max-width:140px!important}
body.public-mode .footer-main strong{color:white!important;text-transform:none;font-size:12px;font-weight:800}
body.public-mode .footer-main a{color:#b5c8c5;font-size:12px}
body.public-mode .footer-main a:hover{color:#d4aa45}
body.public-mode .footer-base{max-width:none!important;width:min(calc(100% - 140px),1460px)!important;padding:26px 0!important;border-top:1px solid #29403e!important}
/* A clean application overlay keeps the approved one-page composition uncluttered. */
.ame40-modal{display:none;position:fixed;z-index:9999;inset:0;align-items:center;justify-items:center;padding:24px}
.ame40-modal:target,.ame40-modal.is-open{display:grid}
.ame40-modal-scrim{position:absolute;inset:0;background:rgba(2,13,15,.83);backdrop-filter:blur(8px);cursor:default}
.ame40-modal-window{position:relative;z-index:1;width:min(1100px,100%);max-height:min(92dvh,1000px);overflow:auto;overscroll-behavior:contain;background:#0d1716;border:1px solid rgba(255,255,255,.18);box-shadow:0 35px 100px rgba(0,0,0,.42);border-radius:18px}
.ame40-modal-close{position:sticky;float:right;top:14px;right:17px;margin:13px 16px -40px 0;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff;color:#081719!important;font-size:30px;text-decoration:none!important;z-index:15}
.ame40-modal .sp38-contact{background:transparent!important;color:white!important;padding:clamp(34px,5vw,70px) clamp(24px,4vw,60px)!important}
.ame40-modal .sp38-contact-grid{gap:36px!important;grid-template-columns:.8fr 1.2fr!important}
.ame40-modal .sp38-contact h2{font-size:clamp(34px,3.2vw,54px)!important}
body.ame40-no-scroll{overflow:hidden!important}
body.public-mode .sp38-testimonials{background:#f7f8f5!important}
/* hide legacy homepage blocks, only new authored sections are used */
@media(max-width:1150px){.ame40-wrap{width:calc(100% - 80px)}.ame40-hero-grid{min-height:570px}.ame40-hero-choice{min-height:510px}.ame40-how-grid{gap:45px}body.public-mode .footer-main,body.public-mode .footer-base{width:calc(100% - 80px)!important}}
@media(max-width:900px){.ame40-how-grid{grid-template-columns:1fr;gap:45px}.ame40-how-copy{max-width:670px}.ame40-collage{aspect-ratio:1.8}.ame40-modal .sp38-contact-grid{grid-template-columns:1fr!important}.ame40-modal .sp38-contact-intro>p:not(.sp38-kicker){font-size:13px;margin-top:12px}}
@media(max-width:760px){body.public-mode .top{height:73px!important;min-height:73px!important;border-radius:0 0 21px 21px}body.public-mode .top .nav-container{min-height:73px!important;width:calc(100% - 32px)!important}body.public-mode .top .main-nav{top:73px!important;background:#0a2527!important}body.public-mode .top .header-apply{display:none!important}body.public-mode .top .header-login{display:none!important}.ame40-hero{padding:7px 10px 0}.ame40-hero-grid{grid-template-columns:1fr;gap:8px;min-height:0}.ame40-hero-choice{min-height:300px}.ame40-hero-content strong{font-size:clamp(40px,10vw,72px)}.ame40-choice-btn{margin-top:12px}.ame40-wrap{width:calc(100% - 36px)}.ame40-how{padding:65px 0 74px}.ame40-how-grid{gap:37px}.ame40-how h2{font-size:clamp(44px,9vw,69px)!important}.ame40-how-lead{font-size:14px;margin-bottom:27px}.ame40-collage{gap:7px;aspect-ratio:1.2}.ame40-events{padding:75px 0}.ame40-events-inner{align-items:flex-start;flex-direction:column;gap:27px}.ame40-events h2{font-size:clamp(44px,10vw,70px)!important}.ame40-events-button{padding:15px 22px}.ame40-modal{padding:7px}.ame40-modal-window{max-height:96dvh;border-radius:10px}.ame40-modal .sp38-contact{padding:52px 22px!important}.ame40-modal .sp38-contact-grid{gap:18px!important}.ame40-modal .sp38-fields{grid-template-columns:1fr!important}.ame40-modal-close{margin-right:10px}body.public-mode .footer-main,body.public-mode .footer-base{width:calc(100% - 40px)!important}body.public-mode .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 18px!important;padding:54px 0!important}body.public-mode .footer-brand{grid-column:1/-1}}
@media(max-width:420px){.ame40-hero-choice{min-height:260px}.ame40-hero-content{padding:35px 15px}.ame40-hero-content strong{font-size:45px}.ame40-collage{aspect-ratio:1.06}.ame40-how-steps li{grid-template-columns:30px 1fr;gap:12px}.ame40-modal .sp38-sentence{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){.ame40-tile img,.ame40-hero-photo,.ame40-choice-btn,.ame40-events-button{transition:none!important}.ame40-hero-choice:hover .ame40-hero-photo,.ame40-tile:hover img{transform:none!important}}

body.public-mode .top .main-nav .ame40-mobile-link{display:none!important}
@media(max-width:1020px){body.public-mode .top .main-nav.is-open .ame40-mobile-link{display:block!important}}
