/* ==========================================================================
   DEEPLOY — AERRA EDITION v2
   Photographic, full-bleed, editorial. Inter only, tight tracking, uppercase
   micro-labels, outlined-circle "more" links, flat colour panels, navy footer.
   Part 1 re-maps parent tokens so inner pages follow. Part 2 = homepage.
   ========================================================================== */

:root {
    --ae-ink: #181818;
    --ae-body: #626262;
    --ae-navy: #0e2d3f;              /* = Deeploy Blue King */
    --ae-blue: #8ab6c6;              /* muted Deeploy Baby Blue */
    --ae-teal: #087589;
    --ae-sand: #ebe7e0;
    --ae-cream: #f5f3ef;
    --ae-line: rgba(24, 24, 24, 0.14);
    --ae-accent: #aef977;            /* reference lime; ?palette=red for Deeploy Red */
    --ae-accent-ink: #181818;
    --ae-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ae-r: 20px;
    --ae-gutter: clamp(16px, 2.1vw, 30px);
    --ae-ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* ---- Parent token overrides ---- */
    --font-family: var(--ae-sans);
    --font-display: var(--ae-sans);
    --color-dark: var(--ae-navy);
    --color-body: var(--ae-body);
    --color-light-bg: var(--ae-cream);
    --color-border: var(--ae-line);
    --track-display: -0.04em;
    --track-h1: -0.04em;
    --track-h2: -0.04em;
    --r-xl: var(--ae-r);
}
body.ae-red { --ae-accent: #d81d4d; --ae-accent-ink: #ffffff; }

/* ==========================================================================
   PART 1 — GLOBAL
   ========================================================================== */
body.ae { font-family: var(--ae-sans); color: var(--ae-body); line-height: 1.75; }
body.ae h1, body.ae h2, body.ae h3, body.ae h4, body.ae h5, body.ae h6 {
    font-family: var(--ae-sans); font-weight: 600; letter-spacing: -0.04em;
}
body.ae h3, body.ae h4 { letter-spacing: -0.03em; }
body.ae .hero-emph { background: none; -webkit-text-fill-color: currentColor; color: inherit; }

/* Micro-labels: uppercase, no ornaments */
body.ae .kicker, body.ae .ae-eyebrow {
    display: block; font-family: var(--ae-sans);
    font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
    text-transform: uppercase; color: var(--ae-ink);
    background: none; padding: 0; border: 0; margin: 0 0 22px;
}
body.ae .kicker::before { display: none; }
body.ae .ae-eyebrow--light { color: #fff; }

/* Parent buttons → pills */
body.ae .btn {
    font-family: var(--ae-sans); font-weight: 500; font-size: 14px; text-transform: uppercase;
    letter-spacing: 0; border-radius: 999px; padding: 16px 30px; box-shadow: none;
}
body.ae .btn--primary { background: var(--ae-navy); border-color: var(--ae-navy); color: #fff; }
body.ae .btn--primary:hover { background: var(--ae-accent); border-color: var(--ae-accent); color: var(--ae-accent-ink); transform: none; }
body.ae .btn--outline { border: 1px solid var(--ae-ink); color: var(--ae-ink); background: transparent; }
body.ae .btn--outline:hover { background: var(--ae-ink); color: #fff; }
body.ae .post-card, body.ae .industry-card, body.ae .service-card, body.ae .card {
    border-radius: var(--ae-r); box-shadow: none; border: 1px solid var(--ae-line);
}

/* "More" link: outlined circle overlapping the label */
.ae-more {
    position: relative; display: inline-flex; align-items: center; min-height: 56px;
    padding-left: 31px; font-size: 14px; font-weight: 500; text-transform: uppercase;
    color: var(--ae-ink) !important; text-decoration: none !important; letter-spacing: -0.01em;
}
.ae-more::before {
    content: ''; position: absolute; left: 0; top: 50%; width: 56px; height: 56px;
    border: 1px solid currentColor; border-radius: 50%; transform: translateY(-50%);
    transition: width .5s var(--ae-ease), border-radius .5s var(--ae-ease), background .4s;
}
.ae-more:hover::before { width: calc(100% + 28px); border-radius: 999px; }
.ae-more--light { color: #fff !important; }

.ae-arrow-link {
    display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500;
    text-transform: uppercase; color: var(--ae-ink) !important; text-decoration: none !important;
}
.ae-arrow-link svg { transition: transform .4s var(--ae-ease); }
.ae-arrow-link:hover svg, .ae-post a:hover .ae-arrow-link svg { transform: translateX(6px); }

.ae-pill {
    display: inline-flex; align-items: center; justify-content: center; padding: 18px 32px;
    border-radius: 999px; font-size: 14px; font-weight: 500; text-transform: uppercase;
    text-decoration: none !important; transition: background .3s, color .3s, border-color .3s;
}
.ae-pill--dark { background: var(--ae-navy); color: #fff !important; }
.ae-pill--dark:hover { background: var(--ae-ink); }
.ae-pill--outline { border: 1px solid var(--ae-ink); color: var(--ae-ink) !important; }
.ae-pill--outline:hover { background: var(--ae-ink); color: #fff !important; }

.ae-label {
    display: inline-block; font-size: 13px; font-weight: 500; text-transform: uppercase;
    margin-bottom: 28px; color: inherit;
}

/* Reveal (only when JS is running, so no-JS users always see content) */
.ae-js .ae-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ae-ease), transform .9s var(--ae-ease); }
.ae-js .ae-reveal.is-in { opacity: 1; transform: none; }

/* In-content links */
body.ae .ae-section p a, body.ae .ae-statement a, body.ae .ae-faq a {
    color: var(--ae-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

/* ---------- HEADER ---------- */
body.ae .ae-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--ae-navy); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
    transition: background .4s var(--ae-ease), padding .4s var(--ae-ease);
}
body.ae.home .ae-header { position: fixed; left: 0; right: 0; background: transparent; }
body.ae.home .ae-header.is-scrolled { background: rgba(14, 45, 63, 0.94); }
body.ae.admin-bar.home .ae-header { top: 32px; }
body.ae .ae-header .container { max-width: none; padding: 0 var(--ae-gutter); height: 110px; gap: 24px; transition: height .4s var(--ae-ease); }
body.ae .ae-header.is-scrolled .container, body.ae:not(.home) .ae-header .container { height: 84px; }
body.ae .ae-header .footer-logo img, body.ae .ae-header .site-logo img { filter: brightness(0) invert(1); width: 150px; height: auto; }

body.ae .ae-header .main-nav { margin: 0 auto; }
body.ae .ae-header .main-nav__list { gap: 4px; }
body.ae .ae-header .main-nav__list > li > a {
    display: inline-flex; align-items: center; gap: 6px; padding: 16px 16px;
    font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em;
    color: #fff; border-radius: 999px; transition: background .3s, color .3s;
}
body.ae .ae-header .main-nav__list > li > a::after { display: none; }
body.ae .ae-header .main-nav__list > li > a:hover { background: rgba(255,255,255,.14); color: #fff; }
body.ae.home .ae-header .main-nav__list > li:first-child > a { background: #fff; color: var(--ae-ink); }
body.ae .ae-header .has-mega:hover .mega-chevron { color: inherit; }

body.ae .ae-header .mega-menu { border-radius: var(--ae-r); border: 0; }
body.ae .ae-header .mega-col__title { font-size: 12px; letter-spacing: 0; color: var(--ae-body); border-bottom: 1px solid var(--ae-line); }
body.ae .ae-header .mega-col ul li a { color: var(--ae-ink); }
body.ae .ae-header .mega-col ul li a:hover { color: var(--ae-teal); }
body.ae .ae-header .mega-menu__footer { background: var(--ae-cream); }
body.ae .ae-header .mega-menu__footer a { color: var(--ae-ink); }

.ae-header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.ae-header__round {
    width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ae-ink);
    display: grid; place-items: center; transition: background .3s;
}
.ae-header__round:hover { background: var(--ae-accent); color: var(--ae-accent-ink); }
.ae-header__pill {
    height: 56px; display: inline-flex; align-items: center; padding: 0 32px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.8); color: #fff !important; font-size: 14px; font-weight: 500;
    text-transform: uppercase; text-decoration: none !important; transition: background .3s, color .3s;
}
.ae-header__pill:hover { background: #fff; color: var(--ae-ink) !important; }
body.ae .ae-header .menu-toggle span { background: #fff; }

@media (max-width: 1180px) { body.ae .ae-header .main-nav__list > li > a { padding: 14px 10px; font-size: 13px; } .ae-header__round { display: none; } }
@media (max-width: 921px) {
    .ae-header__cta { display: none; }
    body.ae .ae-header .container { height: 76px !important; }
    body.ae .ae-header .main-nav.open { background: #fff; }
    body.ae .ae-header .main-nav.open .main-nav__list > li > a { color: var(--ae-ink); background: none; }
}

/* ==========================================================================
   PART 2 — HOMEPAGE
   ========================================================================== */
.ae-section { padding: clamp(90px, 10vw, 150px) 0; }
.ae-section h2, .ae-section h3, .ae-section h4, .ae-statement h2 { color: var(--ae-ink); }
.ae-center { text-align: center; margin-top: clamp(48px, 5vw, 72px); }
.ae-head { max-width: 960px; margin-bottom: clamp(48px, 5vw, 80px); }
.ae-head h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.14; margin-bottom: 22px; }
.ae-head p { font-size: 17px; max-width: 640px; margin: 0; }
.ae-head--split { max-width: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; }
.ae-head--split h2 { margin-bottom: 0; }

/* ---------- HERO ---------- */
.ae-hero {
    position: relative; min-height: max(760px, 100vh); color: #fff; overflow: hidden;
    display: flex; background: var(--ae-navy);
}
.ae-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ae-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,45,63,.55) 0%, rgba(14,45,63,.15) 40%, rgba(14,45,63,.7) 100%);
}
.ae-hero__inner {
    position: relative; z-index: 1; width: 100%;
    display: flex; flex-direction: column; padding: 150px var(--ae-gutter) 70px;
}
.ae-hero__eyebrow { font-size: 13px; font-weight: 500; text-transform: uppercase; margin-bottom: 18px; opacity: .9; }
body.ae .ae-hero__title {
    color: #fff; margin: 0;
    font-size: clamp(54px, 13.4vw, 250px); line-height: .86; letter-spacing: -0.065em; font-weight: 600; white-space: nowrap;
}
.ae-hero__pre { display: block; font-size: .34em; letter-spacing: -0.04em; line-height: 1; margin-bottom: .12em; font-weight: 500; }
.ae-hero__bottom { margin-top: auto; padding-top: 60px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.ae-hero__tagline { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -0.035em; max-width: 560px; margin: 0 0 14px; color: #fff; }
.ae-hero__sub { font-size: 15px; line-height: 1.7; max-width: 520px; margin: 0 0 18px; color: rgba(255,255,255,.82); }
.ae-hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; font-size: 13px; color: rgba(255,255,255,.8); }
.ae-hero__trust strong { color: #fff; font-weight: 600; }
.ae-hero__cards { display: flex; gap: 10px; }
.ae-sq {
    width: 160px; height: 160px; border-radius: 16px; padding: 28px 28px 24px;
    display: flex; flex-direction: column; justify-content: space-between;
    font-size: 14px; font-weight: 500; line-height: 1.25; text-transform: uppercase;
    text-decoration: none !important; transition: transform .5s var(--ae-ease);
}
.ae-sq i { align-self: flex-end; display: flex; transition: transform .4s var(--ae-ease); }
.ae-sq:hover { transform: translateY(-6px); }
.ae-sq:hover i { transform: translateX(4px); }
.ae-sq--light { background: #fff; color: var(--ae-ink) !important; }
.ae-sq--accent { background: var(--ae-accent); color: var(--ae-accent-ink) !important; }
.ae-hero__contact {
    display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.75);
    font-size: 14px; font-weight: 500; text-transform: uppercase;
}
.ae-hero__contact a { color: #fff !important; text-decoration: none !important; }

/* ---------- STATEMENT ---------- */
.ae-statement { padding: clamp(110px, 11vw, 170px) 0 clamp(90px, 9vw, 140px); text-align: center; }
.ae-statement .ae-eyebrow { text-align: center; }
.ae-statement__big {
    font-size: clamp(26px, 3.1vw, 46px); line-height: 1.24; letter-spacing: -0.04em; font-weight: 600;
    color: var(--ae-ink); max-width: 1020px; margin: 0 auto 30px;
}
.ae-statement__small { max-width: 640px; margin: 0 auto; font-size: 16px; }

/* ---------- PANELS ---------- */
.ae-panels-wrap .ae-eyebrow { margin-bottom: 26px; }
.ae-panels { display: flex; height: clamp(460px, 38vw, 560px); }
.ae-panel {
    position: relative; flex: 1 1 0; overflow: hidden; color: #fff; outline: none;
    transition: flex-grow .8s var(--ae-ease);
}
.ae-panel.is-active { flex-grow: 2.8; }
.ae-panel--blue { background: var(--ae-blue); }
.ae-panel--navy { background: var(--ae-navy); }
.ae-panel--accent { background: var(--ae-accent); color: var(--ae-accent-ink); }
.ae-panel--photo { background: var(--ae-navy); }
.ae-panel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ae-panel--photo::after { content: ''; position: absolute; inset: 0; background: rgba(14,45,63,.25); }
.ae-panel__body {
    position: absolute; left: clamp(24px, 3.5vw, 50px); bottom: clamp(24px, 3.5vw, 50px); z-index: 1;
    width: min(440px, 60vw); opacity: 0; transform: translateY(16px);
    transition: opacity .35s, transform .5s var(--ae-ease);
}
.ae-panel.is-active .ae-panel__body { opacity: 1; transform: none; transition-delay: .3s; }
body.ae .ae-panel h3 { color: inherit; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; margin-bottom: 14px; }
.ae-panel p { color: inherit; opacity: .9; font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.ae-panel--accent .ae-more { color: var(--ae-ink) !important; }
.ae-panel__num {
    position: absolute; right: clamp(20px, 3vw, 46px); bottom: clamp(16px, 2.5vw, 36px); z-index: 1;
    font-size: clamp(110px, 13vw, 200px); font-weight: 400; line-height: .8; letter-spacing: -0.06em; color: #fff;
}

/* ---------- FEATURES (pill images on a line) ---------- */
.ae-features__line { position: relative; }
.ae-features__line::before { content: ''; position: absolute; left: 0; right: 0; top: 50px; height: 1px; background: var(--ae-ink); }
.ae-features__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.ae-feature__pill { width: 200px; height: 100px; border-radius: 999px; overflow: hidden; margin-bottom: 40px; background: var(--ae-sand); }
.ae-feature__pill img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ae-ease); }
.ae-feature:hover .ae-feature__pill img { transform: scale(1.12); }
.ae-feature__tag { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--ae-body); margin-bottom: 10px; }
body.ae .ae-feature h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.04em; margin-bottom: 18px; }
.ae-feature p { font-size: 15px; line-height: 1.8; margin: 0 0 24px; }

/* ---------- DARK BENTO ---------- */
.ae-dark { background: var(--ae-navy); color: rgba(255,255,255,.75); padding-top: clamp(100px, 10vw, 160px); overflow: hidden; }
body.ae .ae-dark h2, body.ae .ae-dark h3 { color: #fff; }
.ae-dark__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.ae-dark__intro h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; margin-bottom: 22px; }
.ae-dark__intro p { margin-bottom: 30px; }
.ae-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ae-bento__card {
    position: relative; overflow: hidden; border-radius: var(--ae-r); min-height: 270px; padding: 28px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.ae-bento__card--accent { background: var(--ae-accent); color: var(--ae-accent-ink); }
.ae-bento__card--sand { background: var(--ae-sand); color: var(--ae-ink); }
.ae-bento__card--teal { background: var(--ae-teal); color: #fff; }
.ae-bento__card--blue { background: var(--ae-blue); color: #fff; }
.ae-bento__card--photo { color: #fff; }
.ae-bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ae-bento__card--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,45,63,.1), rgba(14,45,63,.65)); }
.ae-bento__label, .ae-bento__num { position: relative; z-index: 1; }
.ae-bento__label { font-size: 13px; font-weight: 500; text-transform: uppercase; max-width: 180px; line-height: 1.35; }
.ae-bento__num { font-size: clamp(48px, 4.2vw, 62px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }

.ae-facts { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); margin-top: clamp(80px, 8vw, 120px); }
.ae-facts h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; margin-bottom: 16px; }
.ae-facts a { color: #fff !important; text-decoration: underline; }
.ae-facts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.ae-facts__list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 15px; }
.ae-facts__list strong { color: #fff; font-weight: 600; }
.ae-dark__photo { position: relative; height: clamp(280px, 30vw, 440px); margin-top: clamp(60px, 7vw, 100px); }
.ae-dark__photo img {
    width: 100%; height: 100%; object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}

/* ---------- APPROACH ---------- */
.ae-approach__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.ae-approach__card { background: var(--ae-sand); border-radius: var(--ae-r); padding: clamp(30px, 3.5vw, 50px); color: var(--ae-ink); }
.ae-approach__card--navy { background: var(--ae-navy); color: rgba(255,255,255,.8); }
body.ae .ae-approach__card--navy h3 { color: #fff; }
body.ae .ae-approach__card h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; margin-bottom: 26px; }
.ae-approach__card ul { list-style: none; margin: 0; padding: 0; }
.ae-approach__card li { padding: 14px 0; border-top: 1px solid currentColor; border-color: rgba(127,127,127,.3); font-size: 15px; }
.ae-approach__op {
    align-self: center; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ae-accent); color: var(--ae-accent-ink); font-size: 30px; font-weight: 300;
}
.ae-approach__result {
    margin-top: 20px; display: flex; gap: 28px; align-items: center;
    background: var(--ae-blue); color: #fff; border-radius: var(--ae-r); padding: clamp(28px, 3.5vw, 44px);
}
body.ae .ae-approach__result h3 { color: #fff; font-size: clamp(22px, 2vw, 30px); margin-bottom: 6px; }
.ae-approach__result p { margin: 0; color: rgba(255,255,255,.9); }
.ae-approach__eq {
    flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid #fff; font-size: 30px; font-weight: 300;
}

/* ---------- PROCESS ---------- */
.ae-process { background: var(--ae-cream); }
.ae-process__line { position: relative; }
.ae-process__line::before { content: ''; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--ae-ink); }
.ae-process__rail { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.ae-process__num {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--ae-cream); border: 1px solid var(--ae-ink); color: var(--ae-ink);
    font-size: 14px; font-weight: 500; margin-bottom: 36px; transition: background .3s, color .3s;
}
.ae-process__rail li:hover .ae-process__num { background: var(--ae-navy); border-color: var(--ae-navy); color: #fff; }
body.ae .ae-process__rail h3 { font-size: 22px; margin-bottom: 10px; }
.ae-process__rail p { font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- BIG LIST ---------- */
.ae-biglist { padding-bottom: clamp(60px, 7vw, 100px); }
.ae-biglist__wrap {
    display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(260px, 400px); gap: 40px; align-items: center;
    padding: 0 var(--ae-gutter);
}
.ae-biglist__side { font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--ae-ink); max-width: 160px; line-height: 1.35; }
.ae-biglist__items { list-style: none; margin: 0; padding: 0; }
.ae-biglist__items a { display: flex; align-items: baseline; gap: 24px; text-decoration: none !important; }
body.ae .ae-biglist__items h4 {
    margin: 0; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.12; letter-spacing: -0.055em; font-weight: 600; white-space: nowrap;
    color: #d6d6d6; transition: color .4s, transform .6s var(--ae-ease);
}
.ae-biglist__items span { display: none; font-size: 14px; color: var(--ae-body); }
body.ae .ae-biglist__items li.is-active h4 { color: var(--ae-ink); transform: translateX(clamp(16px, 3vw, 48px)); }

.ae-biglist__media { border-radius: var(--ae-r); overflow: hidden; aspect-ratio: 420 / 540; background: var(--ae-sand); }
.ae-biglist__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s; }
.ae-biglist__media img.is-swapping { opacity: 0; }
.ae-biglist__more { margin-top: 40px; }

/* ---------- MARQUEE ---------- */
.ae-marquee { position: relative; height: clamp(180px, 18vw, 260px); overflow: hidden; display: flex; align-items: center; margin: clamp(40px, 5vw, 80px) 0; }
.ae-marquee__pill {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: clamp(300px, 40vw, 570px); height: 100%; border-radius: 999px; overflow: hidden;
}
.ae-marquee__pill img { width: 100%; height: 100%; object-fit: cover; }
.ae-marquee__track { position: relative; display: flex; width: max-content; animation: ae-marquee 45s linear infinite; mix-blend-mode: multiply; }
.ae-marquee__track > div { display: flex; align-items: center; flex: none; }
.ae-marquee span { font-size: clamp(44px, 5.6vw, 84px); font-weight: 500; letter-spacing: -0.05em; color: var(--ae-teal); white-space: nowrap; padding: 0 .35em; }
.ae-marquee b { font-size: clamp(36px, 4vw, 60px); font-weight: 300; color: var(--ae-teal); }
@keyframes ae-marquee { to { transform: translateX(-50%); } }

/* ---------- CASES (photo slider) ---------- */
.ae-cases { position: relative; color: #fff; overflow: hidden; background: var(--ae-navy); }
.ae-cases__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ae-ease), transform 6s linear; }
.ae-cases__bg.is-active { opacity: 1; transform: scale(1); }
.ae-cases::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,45,63,.55), rgba(14,45,63,.75)); }
.ae-cases__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 820px; padding-top: 120px; padding-bottom: 120px; }
.ae-cases__word { font-size: clamp(120px, 17vw, 270px); font-weight: 600; line-height: .8; letter-spacing: -0.07em; color: #fff; }
.ae-cases__slides { display: grid; }
.ae-cases__slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s, transform .8s var(--ae-ease), visibility .6s; }
.ae-cases__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.ae-cases__result { display: inline-block; font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--ae-accent) !important; text-decoration: none !important; margin-bottom: 18px; }
body.ae-red .ae-cases__result { color: #fff !important; text-decoration: underline !important; }
.ae-cases__slide blockquote { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.38; font-weight: 600; letter-spacing: -0.035em; margin: 0 0 40px; color: #fff; border: 0; padding: 0; }
.ae-cases__slide figcaption strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.ae-cases__slide figcaption span { font-size: 13px; font-weight: 500; text-transform: uppercase; opacity: .85; }
.ae-cases__dots { display: flex; gap: 16px; justify-content: flex-end; align-items: center; margin-top: -30px; }
.ae-cases__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; position: relative; }
.ae-cases__dots button.is-active::after { content: ''; position: absolute; inset: -5px; border: 1px solid #fff; border-radius: 50%; }
.ae-cases__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.7); margin-top: 36px; padding-top: 24px; }
.ae-cases__foot p { margin: 0; font-size: 14px; max-width: 300px; color: rgba(255,255,255,.85); }

/* ---------- COMPARE ---------- */
.ae-compare { background: var(--ae-cream); }
.ae-compare__wrap { overflow-x: auto; border-radius: var(--ae-r); background: #fff; }
.ae-compare__table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.ae-compare__table th, .ae-compare__table td { text-align: left; padding: 22px 26px; border-bottom: 1px solid var(--ae-line); }
.ae-compare__table th { font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--ae-ink); }
.ae-compare__table td:first-child { color: var(--ae-ink); font-weight: 500; }
.ae-compare__table tbody tr:last-child td { border-bottom: 0; }
.ae-compare__table .is-us { background: var(--ae-navy); color: #fff !important; border-bottom-color: rgba(255,255,255,.12); }
.ae-note { margin-top: 24px; font-size: 15px; max-width: 720px; }

/* ---------- LOCAL + CHOOSE ---------- */
.ae-local__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
body.ae .ae-local h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; margin-bottom: 26px; }
.ae-local__box { margin-top: 32px; padding: 34px; border-radius: var(--ae-r); background: var(--ae-sand); }
body.ae .ae-local__box h3 { font-size: 20px; margin-bottom: 10px; }
.ae-local__box p { margin: 0; font-size: 15px; }
.ae-choose__list { list-style: none; counter-reset: ae; padding: 0; margin: 28px 0; border-top: 1px solid var(--ae-line); }
.ae-choose__list li { counter-increment: ae; position: relative; padding: 18px 0 18px 60px; border-bottom: 1px solid var(--ae-line); font-size: 15px; }
.ae-choose__list li::before {
    content: counter(ae, decimal-leading-zero); position: absolute; left: 0; top: 14px;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ae-ink);
    display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--ae-ink);
}
.ae-choose__list strong { color: var(--ae-ink); font-weight: 600; }
.ae-choose__foot { font-weight: 500; color: var(--ae-ink); }

/* ---------- PARTNERS ---------- */
.ae-partners { padding-top: 0; }
.ae-partners__count { justify-self: end; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--ae-ink); line-height: 1.35; }
.ae-partners__count strong { font-weight: 600; }
.ae-partners__plus { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ae-accent); color: var(--ae-accent-ink); font-size: 26px; font-weight: 300; }
.ae-partners__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ae-line); border-left: 1px solid var(--ae-line); }
.ae-partner { min-width: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 22px 26px; border-right: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); }
.ae-partner img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.ae-partner:hover img { filter: none; opacity: 1; }

/* ---------- GPP ---------- */
.ae-gpp { padding-bottom: clamp(90px, 10vw, 150px); }
.ae-gpp__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; background: var(--ae-sand); border-radius: var(--ae-r); padding: clamp(36px, 5vw, 80px); }
.ae-gpp__badge img { width: clamp(150px, 16vw, 230px); height: auto; display: block; }
body.ae .ae-gpp h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; margin-bottom: 20px; color: var(--ae-ink); }
.ae-gpp p { margin-bottom: 26px; max-width: 640px; }
.ae-gpp p a { color: var(--ae-ink); text-decoration: underline; }

/* ---------- FAQ ---------- */
.ae-faq { padding-top: 0; }
.ae-faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.ae-faq__head { position: sticky; top: 120px; }
.ae-faq__head h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; margin-bottom: 32px; }
body.ae .ae-faq__list { max-width: none; margin: 0; border-top: 1px solid var(--ae-ink); }
body.ae .ae-faq__list .faq-item { border: 0; border-bottom: 1px solid var(--ae-line); background: none; border-radius: 0; box-shadow: none; }
body.ae .ae-faq__list .faq-question {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%;
    padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ae-ink);
    font-family: var(--ae-sans); font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.35;
}
.ae-faq__plus { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ae-ink); position: relative; transition: background .3s, transform .4s var(--ae-ease); }
.ae-faq__plus::before, .ae-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ae-ink); transform: translate(-50%, -50%); }
.ae-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .ae-faq__plus { background: var(--ae-accent); border-color: var(--ae-accent); transform: rotate(45deg); }
.faq-item.open .ae-faq__plus::before, .faq-item.open .ae-faq__plus::after { background: var(--ae-accent-ink); }
body.ae .ae-faq__list .faq-answer p { padding: 0 68px 26px 0; margin: 0; font-size: 15px; }

/* ---------- BLOG ---------- */
.ae-blog { background: var(--ae-cream); }
.ae-blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ae-post a { display: block; text-decoration: none !important; color: var(--ae-body); }
.ae-post__media { border-radius: var(--ae-r); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 22px; background: var(--ae-sand); display: grid; place-items: center; }
.ae-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ae-ease); }
.ae-post a:hover .ae-post__media img { transform: scale(1.06); }
.ae-post__placeholder { font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--ae-ink); opacity: .5; }
body.ae .ae-post h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; color: var(--ae-ink); }
.ae-post p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; }

/* ---------- CTA BAND ---------- */
.ae-cta { background: var(--ae-blue); padding: clamp(90px, 10vw, 150px) 0; }
.ae-cta__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
body.ae .ae-cta h2 { color: #fff; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.055em; margin: 0; }
.ae-cta p { color: #fff; font-size: 17px; margin-bottom: 28px; }
.ae-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ae-cta .ae-pill--outline { border-color: #fff; color: #fff !important; }
.ae-cta .ae-pill--outline:hover { background: #fff; color: var(--ae-ink) !important; }

/* ---------- FOOTER ---------- */
body.ae .ae-footer { background: var(--ae-navy); color: rgba(255,255,255,.85); padding: clamp(80px, 8vw, 120px) 0 60px; }
body.ae .ae-footer::before, body.ae .ae-footer::after { display: none; }
.ae-footer__grid { display: grid; grid-template-columns: 1fr 1.3fr; }
.ae-footer__left { padding-right: clamp(24px, 5vw, 70px); border-right: 1px solid rgba(255,255,255,.2); }
body.ae .ae-footer .footer-logo img { filter: brightness(0) invert(1); width: 150px; opacity: 1; }
.ae-footer__tagline { font-size: 20px; line-height: 1.5; color: #fff; letter-spacing: -0.02em; margin: 30px 0 40px; max-width: 320px; }
body.ae .ae-footer__big { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.25; color: #fff; text-decoration: none; }
body.ae .ae-footer__big:hover { color: var(--ae-accent); }
body.ae .ae-footer .footer-address { flex-direction: column; align-items: flex-start; gap: 4px; margin: 28px 0 36px; font-size: 15px; color: rgba(255,255,255,.75); }
body.ae .ae-footer .footer-address__name { color: #fff; }
body.ae .ae-footer .footer-social { gap: 22px; }
body.ae .ae-footer .footer-social a { width: auto; height: auto; background: none; border: 0; border-radius: 0; color: #fff; }
body.ae .ae-footer .footer-social a:hover { transform: none; color: var(--ae-accent); background: none; }
body.ae .ae-footer .footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.ae-footer__right { padding-left: clamp(24px, 5vw, 70px); display: flex; flex-direction: column; }
.ae-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 32px; }
.ae-footer__title { display: block; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.04em; color: #fff; margin-bottom: 28px; }
.ae-footer__cols ul { list-style: none; margin: 0; padding: 0; }
.ae-footer__cols li { margin-bottom: 12px; }
body.ae .ae-footer a { color: #fff; text-decoration: none; }
body.ae .ae-footer__cols a:hover { color: var(--ae-accent); }
.ae-footer__field { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 17px; }
.ae-footer__small { font-size: 14px; margin-top: 18px; color: rgba(255,255,255,.75); }
body.ae .ae-footer__bottom {
    margin-top: auto; padding-top: 60px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    font-size: 15px; color: #fff; border: 0;
}
body.ae .ae-footer__bottom p { margin: 0; }
body.ae .ae-footer__bottom .footer-nav { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .ae-features__grid { grid-template-columns: repeat(2, 1fr); row-gap: 64px; }
    .ae-features__line::before { display: none; }
    .ae-blog__grid { grid-template-columns: repeat(2, 1fr); }
    .ae-partners__grid { grid-template-columns: repeat(4, 1fr); }
    .ae-process__rail { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
    .ae-process__line::before { display: none; }
    .ae-biglist__wrap { grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); }
    .ae-biglist__side { display: none; }
    .ae-footer__cols { grid-template-columns: 1fr 1fr; }
    .ae-footer__cols > div { grid-column: 1 / -1; }
}
@media (max-width: 921px) {
    .ae-hero__inner { padding-top: 120px; padding-bottom: 40px; }
    .ae-hero__bottom, .ae-head--split, .ae-dark__grid, .ae-facts, .ae-local__grid,
    .ae-faq__grid, .ae-gpp__grid, .ae-cta__grid, .ae-cases__inner, .ae-footer__grid { grid-template-columns: 1fr; }
    .ae-hero__contact { flex-direction: column; gap: 6px; }
    body.ae .ae-hero__title { white-space: normal; font-size: clamp(54px, 15vw, 120px); }
    body.ae .ae-biglist__items h4 { white-space: normal; }
    .ae-panels { flex-direction: column; height: auto; }
    .ae-panel { flex: none !important; min-height: 320px; }
    .ae-panel__body { position: relative; left: auto; bottom: auto; padding: 32px 24px 120px; width: auto; opacity: 1; transform: none; }
    .ae-panel__num { font-size: 100px; }
    .ae-approach__grid { grid-template-columns: 1fr; }
    .ae-approach__op { justify-self: center; }
    .ae-approach__result { flex-direction: column; align-items: flex-start; }
    .ae-faq__head { position: static; }
    .ae-partners__count { justify-self: start; }
    .ae-biglist__wrap { grid-template-columns: 1fr; }
    .ae-biglist__media { display: none; }
    .ae-biglist__items span { display: block; }
    .ae-biglist__items a { display: block; padding: 8px 0; }
    body.ae .ae-biglist__items h4 { color: var(--ae-ink); transform: none !important; }
    .ae-biglist__items li span { transform: none !important; }
    .ae-cases__inner { min-height: 0; }
    .ae-cases__word { font-size: 110px; }
    .ae-footer__left { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 48px; margin-bottom: 48px; }
    .ae-footer__right { padding-left: 0; }
}
@media (max-width: 640px) {
    .ae-hero__cards { width: 100%; }
    .ae-sq { flex: 1; width: auto; height: 140px; padding: 20px; }
    .ae-features__grid, .ae-blog__grid, .ae-process__rail { grid-template-columns: 1fr; }
    .ae-bento { gap: 12px; }
    .ae-bento__card { min-height: 170px; padding: 20px; }
    .ae-bento__num { font-size: 40px; }
    .ae-bento__label { font-size: 11px; }
    .ae-partners__grid { grid-template-columns: repeat(3, 1fr); }
    .ae-cases__foot { flex-direction: column; align-items: flex-start; }
    .ae-footer__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .ae-marquee__track { animation: none; }
    .ae-js .ae-reveal { opacity: 1; transform: none; }
}
body.ae .ae-header .menu-toggle:hover, body.ae .ae-header .menu-toggle.active { background: rgba(255,255,255,.14); }
body.ae .ae-header .menu-toggle.active span { background: #fff; }
body.ae.home .ae-header:has(.main-nav.open) { background: var(--ae-navy); }

/* ==========================================================================
   PART 3 — INNER PAGES (parent templates re-skinned to the Aerra language)
   ========================================================================== */
body.ae { --color-primary: var(--ae-teal); --color-primary-dark: var(--ae-navy); --color-primary-soft: var(--ae-sand); --color-blue: var(--ae-blue); }

/* ---- Hero: left-aligned, big type, photo under a flat navy veil ---- */
body.ae .about-hero, body.ae .legal-hero, body.ae .hero--centered {
    background: var(--ae-navy); color: #fff; text-align: left;
    padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 8vw, 110px);
}
body.ae .about-hero::before { display: none; }
body.ae .about-hero__bg { opacity: .5; filter: saturate(.7); }
body.ae .about-hero__overlay { background: linear-gradient(90deg, rgba(14,45,63,.92) 0%, rgba(14,45,63,.7) 55%, rgba(14,45,63,.45) 100%); }
body.ae .about-hero .container, body.ae .legal-hero .container, body.ae .hero--centered .container { max-width: none; padding: 0 var(--ae-gutter); }
body.ae .about-hero__content { max-width: 1100px; margin: 0; text-align: left !important; }
body.ae .about-hero__content .kicker, body.ae .legal-hero .kicker {
    display: block; background: none; padding: 0; border-radius: 0; letter-spacing: -0.01em;
    color: #fff !important; opacity: .9; margin-bottom: 22px;
}
body.ae .about-hero h1, body.ae .legal-hero h1, body.ae .hero--centered h1 {
    color: #fff; font-size: clamp(42px, 5.8vw, 92px); line-height: .98; letter-spacing: -0.055em;
    font-weight: 600; max-width: 18ch; margin: 0 0 28px;
}
body.ae .about-hero p, body.ae .hero--centered p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 620px; margin: 0 0 12px; text-align: left; }
body.ae .legal-hero__updated { color: rgba(255,255,255,.7); }
body.ae .hero--centered .btn { margin-top: 24px !important; }

/* ---- Stats strip after the hero → colour bento cards ---- */
body.ae .hp-stats { background: var(--ae-navy); padding: 0 0 clamp(70px, 8vw, 110px); }
body.ae .about-hero + .hp-stats { margin-top: -1px; }
body.ae .hp-stats__bg, body.ae .hp-stats__overlay { display: none; }
body.ae .hp-stats__grid { gap: 20px; }
body.ae .hp-stat {
    border: 0; border-radius: var(--ae-r); backdrop-filter: none; text-align: left;
    min-height: 210px; padding: 26px; display: flex; flex-direction: column-reverse; justify-content: space-between; gap: 24px;
}
body.ae .hp-stat:hover { transform: none; }
body.ae .hp-stat:nth-child(4n+1) { background: var(--ae-accent); color: var(--ae-accent-ink); }
body.ae .hp-stat:nth-child(4n+2) { background: var(--ae-sand); color: var(--ae-ink); }
body.ae .hp-stat:nth-child(4n+3) { background: var(--ae-teal); color: #fff; }
body.ae .hp-stat:nth-child(4n+4) { background: var(--ae-blue); color: #fff; }
body.ae .hp-stat__number { color: inherit !important; font-size: clamp(42px, 4.2vw, 62px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; background: none; -webkit-text-fill-color: currentColor; }
body.ae .hp-stat__label { color: inherit !important; opacity: 1; font-size: 13px; font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.35; }
body.ae .hp-stat__number .accent { color: inherit; }

/* ---- Sections & headings ---- */
body.ae .section { padding: clamp(90px, 9vw, 140px) 0; }
body.ae .section h2, body.ae .hp-cta h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -0.045em; }
body.ae .section .text-center h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
body.ae .section .text-center p { margin-left: auto; margin-right: auto; }
body.ae .section h3, body.ae .h4-look { letter-spacing: -0.03em; font-weight: 600; }
body.ae .section--dark { background: var(--ae-navy); }
body.ae .section--light, body.ae .section--alt, body.ae .section[style*="light-bg"] { background: var(--ae-cream) !important; }
body.ae .mb-4 { margin-bottom: clamp(40px, 4vw, 64px) !important; }

/* ---- Cards: flat, sand, rounded; translucent on dark ---- */
body.ae .about-how-card, body.ae .svc-included, body.ae .value-card, body.ae .service-card,
body.ae .contact-card, body.ae .lp-benefit, body.ae .lp-offer-tile, body.ae .lp-cert, body.ae .industry-card {
    background: var(--ae-sand); border: 0 !important; box-shadow: none !important; border-radius: var(--ae-r);
    padding: clamp(26px, 2.6vw, 38px); transition: background .4s var(--ae-ease), transform .4s var(--ae-ease);
}
body.ae .about-how-card:hover, body.ae .value-card:hover, body.ae .service-card:hover, body.ae .svc-included:hover { transform: translateY(-4px); box-shadow: none; }
body.ae .section--dark .svc-included, body.ae .section--dark .about-how-card, body.ae .section--dark .value-card,
body.ae .hp-stats .svc-included { background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }
body.ae .section--dark .svc-included h4, body.ae .section--dark h3, body.ae .section--dark h2 { color: #fff; }
body.ae .about-how-card__num { color: var(--ae-teal) !important; font-weight: 400; font-size: 44px; letter-spacing: -0.05em; opacity: 1; }
body.ae .svc-included__icon, body.ae .value-card__icon {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; font-size: 22px; margin-bottom: 18px;
}
body.ae .section--dark .svc-included__icon { background: rgba(255,255,255,.12); }
body.ae .service-card h3, body.ae .service-card h4 { color: var(--ae-ink); }
body.ae .service-card p { color: var(--ae-body) !important; }

/* ---- Service blocks (services index) ---- */
body.ae .svc-block { border: 0 !important; }
body.ae .svc-block img, body.ae .section img[style*="border-radius"], body.ae .section .grid img { border-radius: var(--ae-r) !important; box-shadow: none !important; }
body.ae .svc-block__num { color: var(--ae-teal); }
body.ae .svc-tag { border-radius: 999px; background: transparent; border: 1px solid var(--ae-line); color: var(--ae-ink); font-weight: 500; }
body.ae .svc-tag--link:hover { background: var(--ae-ink); color: #fff; border-color: var(--ae-ink); }
body.ae .svc-block__link, body.ae .hp-service-v2__link { color: var(--ae-ink); text-transform: uppercase; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }

/* ---- Google Premier banner ---- */
body.ae .gpp-banner { background: var(--ae-sand); border: 0; box-shadow: none; border-radius: var(--ae-r); }
body.ae .gpp-section { background: transparent !important; }

/* ---- Closing CTA band (all inner pages) ---- */
body.ae .hp-cta { background: var(--ae-blue) !important; color: #fff; padding: clamp(90px, 10vw, 150px) 0; }
body.ae .hp-cta::before, body.ae .hp-cta::after { display: none; }
body.ae .hp-cta .container { text-align: left !important; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
body.ae .hp-cta h2 { color: #fff; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -0.055em; margin: 0; grid-row: span 2; }
body.ae .hp-cta p { color: #fff; font-size: 17px; margin: 0; max-width: 520px; }
body.ae .hp-cta .hp-hero__actions, body.ae .hp-cta [class*="actions"] { justify-content: flex-start !important; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
body.ae .btn--white-outline { border: 1px solid #fff; color: #fff; background: transparent; }
body.ae .btn--white-outline:hover { background: #fff; color: var(--ae-ink); }

/* ---- FAQ on inner pages ---- */
body.ae .faq-list { border-top: 1px solid var(--ae-ink); }
body.ae .faq-item { background: none; border: 0; border-bottom: 1px solid var(--ae-line); border-radius: 0; box-shadow: none; margin: 0; }
body.ae .faq-question { font-size: clamp(16px, 1.4vw, 19px); padding: 22px 0; background: none; }
body.ae .faq-chevron { width: 36px; height: 36px; padding: 9px; border: 1px solid var(--ae-ink); border-radius: 50%; flex: none; }
body.ae .faq-item.open .faq-chevron { background: var(--ae-accent); border-color: var(--ae-accent); }

/* ---- Cases ---- */
body.ae .caso-item { border: 0; box-shadow: none; border-radius: var(--ae-r); background: transparent; }
body.ae .caso-item__visual { border-radius: var(--ae-r); overflow: hidden; }
body.ae .caso-item__tag, body.ae .cs-meta__tag { border-radius: 999px; background: transparent; border: 1px solid var(--ae-line); }
body.ae .cs-kpi { border-radius: var(--ae-r); box-shadow: none; border: 0; background: var(--ae-sand); }
body.ae .cs-quotes, body.ae .cs-quotes__card { border-radius: var(--ae-r); box-shadow: none; }

/* ---- Forms / landing pages ---- */
body.ae .lp-form-card, body.ae .dcf-form, body.ae .contact-form-card { border-radius: var(--ae-r); box-shadow: none !important; }
body.ae input[type="text"], body.ae input[type="email"], body.ae input[type="tel"], body.ae input[type="url"], body.ae select, body.ae textarea {
    border-radius: 12px; font-family: var(--ae-sans);
}
body.ae button[type="submit"], body.ae input[type="submit"] {
    border-radius: 999px !important; background: var(--ae-navy) !important; border-color: var(--ae-navy) !important;
    color: #fff !important; text-transform: uppercase; font-weight: 500; letter-spacing: 0;
}
body.ae button[type="submit"]:hover, body.ae input[type="submit"]:hover { background: var(--ae-ink) !important; }

/* ---- Blog ---- */
body.ae .post-card { background: transparent; border: 0 !important; }
body.ae .post-card__image { border-radius: var(--ae-r); }
body.ae .entry-content h2, body.ae .single-post h2 { font-size: clamp(26px, 2.4vw, 36px); }

@media (max-width: 921px) {
    body.ae .hp-cta .container { grid-template-columns: 1fr; }
    body.ae .hp-cta h2 { grid-row: auto; }
    body.ae .hp-stats__grid { grid-template-columns: repeat(2, 1fr); }
    body.ae .hp-stat { min-height: 160px; padding: 20px; }
}
body.ae .about-hero h1 br, body.ae .legal-hero h1 br { display: none; }
body.ae .about-hero h1 { max-width: 20ch; }

/* ---- Casos index ---- */
body.ae .casos-hero { background: var(--ae-navy); color: #fff; text-align: left; padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); }
body.ae .casos-hero__bg { opacity: .35; }
body.ae .casos-hero .container { max-width: none; padding: 0 var(--ae-gutter); }
body.ae .casos-hero__inner { max-width: 1100px; margin: 0; text-align: left; }
body.ae .casos-hero .kicker { color: #fff !important; background: none; padding: 0; }
body.ae .casos-hero h1 { color: #fff; font-size: clamp(42px, 5.8vw, 92px); line-height: .98; letter-spacing: -0.055em; font-weight: 600; margin: 0 0 28px; max-width: 18ch; }
body.ae .casos-hero h1 br { display: none; }
body.ae .text-gradient { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--ae-accent) !important; }
body.ae-red .text-gradient { color: #fff !important; }
body.ae .casos-hero__lead { color: rgba(255,255,255,.82); margin: 0; max-width: 640px; font-size: 17px; }
body.ae .casos-filter { border: 0; box-shadow: none; background: var(--ae-cream); border-radius: var(--ae-r); }
body.ae .casos-filter__label { text-transform: uppercase; color: var(--ae-ink); }
body.ae .casos-filter__pill { border-radius: 999px; border: 1px solid var(--ae-line); background: #fff; color: var(--ae-ink); }
body.ae .casos-filter__pill.is-active { background: var(--ae-navy); border-color: var(--ae-navy); color: #fff; }
body.ae .caso-item__cta { color: var(--ae-ink); text-transform: uppercase; font-weight: 500; }
body.ae .casos-cta, body.ae .casos-cta__inner { background: var(--ae-blue) !important; border-radius: var(--ae-r); box-shadow: none; }
body.ae .casos-cta__inner::before, body.ae .casos-cta__inner::after { display: none; }
body.ae .casos-cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -0.05em; }
body.ae .casos-cta p { color: #fff; }

/* ---- 404 & thank-you ---- */
body.ae .hero--centered .btn--primary { background: #fff; border-color: #fff; color: var(--ae-ink); }
body.ae .hero--centered .btn--primary:hover { background: var(--ae-accent); border-color: var(--ae-accent); color: var(--ae-accent-ink); }
body.ae .thank-you { background: var(--ae-navy) !important; color: #fff; padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); }
body.ae .thank-you h1 { color: #fff; font-size: clamp(48px, 7vw, 110px); letter-spacing: -0.06em; font-weight: 600; }
body.ae .thank-you p { color: rgba(255,255,255,.85); }
body.ae .thank-you__icon { background: var(--ae-accent) !important; color: var(--ae-accent-ink) !important; }

/* ---- Accessibility: visually hidden text (missing in the parent theme) ---- */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ---- Blog index / category ---- */
body.ae .blog-hero { background: var(--ae-navy); color: #fff; text-align: left; padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); }
body.ae .blog-hero::before, body.ae .blog-hero::after { display: none; }
body.ae .blog-hero .container { max-width: none; padding: 0 var(--ae-gutter); }
body.ae .blog-hero__content { max-width: 1100px; margin: 0; text-align: left; }
body.ae .blog-hero .kicker { color: #fff !important; background: none; padding: 0; }
body.ae .blog-hero h1 { color: #fff; font-size: clamp(42px, 5.8vw, 92px); line-height: .98; letter-spacing: -0.055em; font-weight: 600; margin: 0 0 24px; max-width: 18ch; }
body.ae .blog-hero p { color: rgba(255,255,255,.82); margin: 0; max-width: 640px; font-size: 17px; }
body.ae .blog-filters { border-bottom: 1px solid var(--ae-line); background: #fff; }
body.ae .blog-filter { text-transform: uppercase; font-size: 13px; font-weight: 500; color: var(--ae-body); border-radius: 999px; padding: 10px 18px; }
body.ae .blog-filter--active, body.ae .blog-filter:hover { background: var(--ae-navy); color: #fff !important; border-color: transparent; }
body.ae .blog-filter--active::after { display: none; }
body.ae .blog-featured__card { border: 0; box-shadow: none; border-radius: var(--ae-r); background: var(--ae-sand); overflow: hidden; }
body.ae .blog-featured__image { border-radius: 0; }
body.ae .post-card__category, body.ae .post-header .post-card__category, body.ae [class*="__category"] {
    background: transparent; border: 1px solid var(--ae-line); border-radius: 999px; color: var(--ae-ink); text-transform: uppercase;
}
body.ae .post-card h3, body.ae .post-card h2 { color: var(--ae-ink); letter-spacing: -0.03em; }
body.ae .pagination .page-numbers, body.ae .nav-links .page-numbers { border-radius: 999px; }
body.ae .nav-links .page-numbers.current { background: var(--ae-navy); color: #fff; border-color: var(--ae-navy); }

/* ---- Single post ---- */
body.ae .post-header { background: var(--ae-navy); color: #fff; padding: clamp(110px, 11vw, 160px) 0 clamp(60px, 6vw, 90px); }
body.ae .post-header h1 { color: #fff; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.05em; font-weight: 600; }
body.ae .post-header a, body.ae .post-header__meta, body.ae .post-header .breadcrumbs, body.ae .post-header nav { color: rgba(255,255,255,.75) !important; }
body.ae .post-header [class*="__category"] { color: #fff; border-color: rgba(255,255,255,.4); }
body.ae .post-hero-image img, body.ae .post-hero-image { border-radius: var(--ae-r); }
body.ae .entry-content a, body.ae .post-content a { color: var(--ae-teal); }
body.ae .entry-content h2, body.ae .post-content h2 { letter-spacing: -0.045em; }

/* ---- Blog CTA banner ---- */
body.ae .cta-banner { background: var(--ae-blue) !important; color: #fff; text-align: left; padding: clamp(90px, 10vw, 150px) 0; }
body.ae .cta-banner::before, body.ae .cta-banner::after { display: none; }
body.ae .cta-banner .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; text-align: left; }
body.ae .cta-banner h2 { color: #fff; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; letter-spacing: -0.055em; margin: 0; grid-row: span 2; }
body.ae .cta-banner p { color: #fff; margin: 0; }
body.ae .cta-banner .btn { justify-self: start; }
@media (max-width: 921px) { body.ae .cta-banner .container { grid-template-columns: 1fr; } body.ae .cta-banner h2 { grid-row: auto; } }
body.ae .post-header [class*="category"], body.ae .post-header .kicker { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; border-radius: 999px; }
body.ae .post-card__cat { background: transparent !important; border: 1px solid var(--ae-line); border-radius: 999px; color: var(--ae-ink) !important; text-transform: uppercase; letter-spacing: 0; }
body.ae .post-header .post-card__cat { color: #fff !important; border-color: rgba(255,255,255,.45); }
