/* =================================================================== MEGA MENU (header dropdowns) section css =================================================================== */
/* Client reference (2026-12-02): hovering a header link opens a wide panel under the header —
   columns split by hairlines, each with a head row (orange square + label) and a list of links with
   line icons. Desktop (≥992px) only; the mobile menu is unchanged. Tokens only, so it follows the
   page's scene. Open state: :hover / :focus-within on the item (+ .is-open from mega-menu.js,
   which also closes it on Escape). Previous header: _backup/mega-menu-2026-12-02/ */
@media (min-width: 992px) {
    /* the nav sits in the header's middle grid column (no transform), so the panels can measure
       themselves against the whole header */
    .site-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        & .site-header__logo { justify-self: start; }
        & .site-header__actions { justify-self: end; }
        & .site-header__nav { position: static; transform: none; }
        & .site-header__item { position: static; }
    }

    .site-header .mega {
        /* the nav list has a backdrop-filter, which makes IT the containing block: the panel sits under
           the list and mega-menu.js widens it to the header's content width (--mega-x / --mega-w) */
        position: absolute; top: 100%; left: var(--mega-x, 0px); width: var(--mega-w, 100%);
        z-index: 5;
        padding-top: calc(var(--cvw) * .6);          /* hover bridge between the link and the panel */
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .25s;
    }
    .site-header .site-header__item:hover > .mega,
    .site-header .site-header__item:focus-within > .mega,
    .site-header .site-header__item.is-open > .mega {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        transition: opacity .25s ease, transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s;
    }
    .site-header .site-header__item.is-shut > .mega { visibility: hidden; opacity: 0; pointer-events: none; }

    /* the open item: plus turns to ×, its square floods orange */
    .site-header .site-header__item:is(:hover, :focus-within, .is-open):not(.is-shut) {
        & .site-header__link { color: var(--orange); }
        & .site-header__plus { background: var(--orange); color: var(--paper); }
        & .site-header__plus-svg { transform: rotate(45deg); stroke: currentColor; }
    }

    .mega__grid {
        display: grid;
        grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
        border: 1px solid var(--white-10);
        background: var(--background);
        box-shadow: var(--shadow-md);
        text-align: left;
    }
    .mega__col { display: flex; flex-direction: column; min-width: 0; }
    .mega__col + .mega__col { border-left: 1px solid var(--white-10); }
    .mega__h {
        display: flex; align-items: center;
        gap: var(--sp15);
        margin: 0;
        padding: calc(var(--cvw) * 1.5) calc(var(--cvw) * 2.4);
        border-bottom: 1px solid var(--white-10);
        font-size: var(--f17);
        color: var(--white);
        &::before { flex: 0 0 auto; width: 11px; height: 11px; background: var(--orange); content: ""; }
    }
    .mega__b { display: flex; flex-direction: column; gap: var(--sp20); padding: calc(var(--cvw) * 2) calc(var(--cvw) * 2.4) calc(var(--cvw) * 2.4); }
    .mega__list { display: flex; flex-direction: column; gap: calc(var(--cvw) * 1.1); list-style: none; }
    .mega__a {
        display: flex; align-items: flex-start;
        gap: var(--sp15);
        color: var(--white);
        transition: color var(--ease);
        & .mega__ic { flex: 0 0 auto; width: max(20px, calc(var(--cvw) * 1.5)); height: auto; margin-top: .05em; color: var(--white-75); transition: color var(--ease), transform var(--ease-expo); }
        &:hover, &:focus-visible {
            color: var(--orange);
            & .mega__ic { color: var(--orange); transform: translateX(2px); }
            & .mega__d { color: var(--white-75); }
        }
    }
    .mega__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .mega__l { font-size: var(--f17); line-height: var(--lhSnug); }
    .mega__d { font-size: var(--f15); line-height: 1.4; color: var(--light-grey); transition: color var(--ease); }

    /* overview column: a line of copy set larger, then the arrow links */
    .mega__intro { margin: 0; font-size: var(--f25); font-weight: 600; line-height: var(--lhSnug); letter-spacing: var(--ls-h3); color: var(--white); text-wrap: balance; }
    .mega__gos { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp10); }
    .mega__go {
        display: inline-flex; align-items: center;
        gap: var(--sp10);
        font-size: var(--f16); font-weight: 600;
        color: var(--white);
        transition: color var(--ease);
        & .mega__ic { width: 16px; color: var(--orange); transition: transform var(--ease-expo); }
        &:hover, &:focus-visible { color: var(--orange); & .mega__ic { transform: translateX(4px); } }
    }
    .mega__note { margin: auto 0 0; padding-top: var(--sp20); border-top: 1px solid var(--white-10); font-size: var(--f15); color: var(--light-grey); }
    .mega__note a { color: var(--white); text-decoration: underline; text-underline-offset: .2em; &:hover { color: var(--orange); } }

    /* entrance: the columns rise one after another */
    .site-header .mega .mega__col { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
    .site-header .site-header__item:is(:hover, :focus-within, .is-open):not(.is-shut) .mega__col { opacity: 1; transform: none; }
    .site-header .site-header__item:is(:hover, :focus-within, .is-open):not(.is-shut) .mega__col:nth-child(2) { transition-delay: .05s; }
    .site-header .site-header__item:is(:hover, :focus-within, .is-open):not(.is-shut) .mega__col:nth-child(3) { transition-delay: .1s; }
}
/* below 992px the header nav (and so the panels) is hidden; the full-screen menu is used */
@media (max-width: 991.98px) { .site-header .mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .site-header .mega, .site-header .mega .mega__col { transform: none !important; } }

/* =================================================================== STICKY HEADER (client, 2026-12-02)
   Once the page scrolls past the top, the header is fixed to the top of the screen on a blurred band in the page
   colour (it follows the scene: dark on ink, white on paper). The band is a ::before layer, NOT a filter or
   transform on the header itself, so the fixed full-screen menu inside the header still covers the whole screen.
   mega-menu.js toggles .is-stuck. */
.site-header.is-stuck {
    position: fixed;
    top: 0;
    padding-block: calc(var(--cvw) * 1);
    animation: hdr-drop .45s cubic-bezier(.16, 1, .3, 1);
    &::before {
        position: absolute; inset: 0;
        z-index: -1;
        /* frosted glass (client, 2026-12-02): see-through page colour, a strong blur, a faint light sheen on top
           and a hairline edge, so the page reads through the header as it scrolls under it */
        border-bottom: 1px solid var(--white-10);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 60%),
            color-mix(in srgb, var(--background) 52%, transparent);
        box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
        -webkit-backdrop-filter: blur(24px) saturate(1.6);
                backdrop-filter: blur(24px) saturate(1.6);
        content: "";
    }
    & .site-header__list { background: transparent; }
    @media (max-width: 991.98px) { padding-block: 2vw; background: transparent; border-bottom: 0; }
    @media (max-width: 767.98px) { padding-block: 3.5vw; }
}
.site-header { isolation: isolate; }
@keyframes hdr-drop { from { top: -120px; } to { top: 0; } }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } }

/* homepage Solutions (client, 2026-12-04, Safari): mega-menu.js adds .is-away while the page scrolls down through the
   sticky video stage: the header slides up out of the way, and is hidden once it is gone so Safari stops drawing its blur
   over the playing film. Any scroll up brings it back. */
.site-header.is-stuck { transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s 0s; }
.site-header.is-stuck.is-away {
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s .4s;
}
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck, .site-header.is-stuck.is-away { transition: none; } }

/* the homepage's sticky video stage (Solutions) sits below the fixed header instead of under it (client, 2026-12-02):
   --hdr-h is the stuck header's height, set by mega-menu.js */
html .story .story__stage { --stage-top: calc(var(--hdr-h, 0px) + var(--cvw) * 2); }   /* story.css: top: var(--stage-top) */
@media (min-width: 992px) { html .story .story__stage { height: calc(100svh - var(--hdr-h, 0px) - var(--cvw) * 4); } }
/* tablet and phone (client, 2026-12-03): the stage keeps its shorter height from story.css (42svh / 34svh) instead of the full screen */

/* header max width (client, 2026-12-02): the logo, menu and buttons sit on the page container: same left and right edges as the content at every width (client, 2026-12-02); on large
   screens — the band itself still runs edge to edge */
@media (min-width: 992px) {
    .site-header { padding-inline: max(var(--gutter), calc((100% - 1920px) / 2 + var(--gutter))); }
}
/* the stuck header is slimmer (client, 2026-12-02): less padding, a smaller logo, shorter menu pill and buttons */
@media (min-width: 992px) {
    .site-header.is-stuck {
        padding-block: 10px;
        & .site-header__logo { width: calc(var(--cvw) * 8.2); }
        & .site-header__list { height: 40px; }
        & .site-header__actions { height: 40px; }
        & .site-header__cta { font-size: var(--f16); }
        & .site-header__logo, & .site-header__list, & .site-header__actions { transition: width .3s ease, height .3s ease; }
    }
}
@media (max-width: 991.98px) { .site-header.is-stuck { padding-block: 10px; & .site-header__actions { height: 40px; } } }

/* the "—" menu button is for phones and tablets only (client, 2026-12-02); desktop uses the header links + mega menu */
@media (min-width: 992px) { .site-header .site-header__menu-btn { display: none; } }

/* no icons beside the menu links (client, 2026-12-02); the small arrows on the overview links stay */
.mega .mega__a .mega__ic { display: none; }
.mega .mega__a { gap: 0; }

/* =================================================================== MEGA MENU — reference layout (client, 2026-12-02)
   Each column: a large heading with an orange arrow square (links to the section's hub) over a rule, then the links as
   rows on hairlines — small index, the name, a chevron. Descriptions are hidden; alternate columns are a shade lighter. */
@media (min-width: 992px) {
    .mega__col:nth-child(even) { background: transparent; }   /* one colour for every column (client, 2026-12-02) */
    .mega__h {
        display: flex; align-items: center; justify-content: space-between; gap: var(--sp20);
        margin: 0 calc(var(--cvw) * 2.4);
        padding: calc(var(--cvw) * 2) 0 var(--sp20);
        border-bottom: 1px solid var(--white-40);
        &::before { display: none; }
    }
    .mega__ht { font-size: var(--f25); font-weight: 600; line-height: var(--lhTight); letter-spacing: var(--ls-h3); color: var(--white); }
    .mega__hgo {
        display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
        width: 40px; height: 40px;
        background: var(--orange); color: #fff;
        transition: transform var(--ease-expo), filter var(--ease);
        & svg { width: 13px; height: 13px; }
        &:hover, &:focus-visible { filter: brightness(1.1); transform: rotate(45deg); }
    }
    .mega__b { padding-top: var(--sp10); }
    .mega__list { gap: 0; counter-reset: mg; }
    .mega__list > li { counter-increment: mg; }
    .mega .mega__a {
        position: relative;
        align-items: center;
        gap: var(--sp15);
        padding: 15px 22px 15px 0;
        border-bottom: 1px solid var(--white-10);
        &::before { flex: 0 0 auto; width: 22px; content: counter(mg, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--f12); color: var(--light-grey); }
        &::after { position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--light-grey); border-right: 1.5px solid var(--light-grey); content: ""; transform: translateY(-50%) rotate(45deg); transition: transform var(--ease-expo), border-color var(--ease); }
        &:hover::after, &:focus-visible::after { border-color: var(--orange); transform: translate(3px, -50%) rotate(45deg); }
        &:hover::before, &:focus-visible::before { color: var(--orange); }
    }
    .mega .mega__l { font-size: var(--f17); }
    .mega .mega__d { display: none; }
    .mega__list > li:last-child .mega__a { border-bottom: 0; }
}

/* page overlay while a mega menu panel is open (client, 2026-12-02): the page dims and softly blurs behind the header */
.mega-scrim {
    position: fixed; inset: 0;
    z-index: calc(var(--z-sticky) - 1);
    background: rgba(8, 8, 8, .6);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility 0s linear .3s;
}
@media (min-width: 992px) {
    html.mega-open .mega-scrim { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
}

/* =================================================================== MOBILE MENU (phones / tablets, client 2026-12-02)
   Each top link has a + toggle; it opens that section's links (the same as the desktop mega panel) underneath. */
@media (max-width: 991.98px) {
    .site-header .mm-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-top: 1px solid var(--white-10); }
    .site-header .mm-item > .site-header__menu-link { border-top: 0; }
    .site-header .mm-toggle {
        position: relative;
        width: 44px; height: 44px;
        border: 1px solid var(--white-20);
        color: var(--orange);
        &::before, &::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: currentColor; content: ""; transform: translate(-50%, -50%); transition: transform var(--ease-expo); }
        &::after { transform: translate(-50%, -50%) rotate(90deg); }
        &[aria-expanded="true"] { border-color: var(--orange); background: var(--orange); color: #fff; }
        &[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0deg); }
    }
    .site-header .mm-sub { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--sp20); padding: 0 0 var(--sp25); }
    .site-header .mm-sub[hidden] { display: none; }
    .site-header .mm-head { margin: 0 0 6px; font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; text-transform: none; color: var(--light-grey); }
    .site-header .mm-group ul { list-style: none; }
    .site-header .mm-link {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid var(--white-08);
        font-size: var(--f17);
        color: var(--white-75);
        transition: color var(--ease);
        &::after { flex: 0 0 auto; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; content: ""; transform: rotate(45deg); opacity: .6; }
        &:hover, &:focus-visible { color: var(--orange); }
    }
    .site-header .mm-group li:last-child .mm-link { border-bottom: 0; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .site-header .site-header__menu-cta { --btn-pad: 24px; padding-block: 14px; font-size: 16px; }
    .site-header .site-header__menu-link { font-size: 22px; }
}

/* =================================================================== MEGA MENU — RIQ-Final layout in this site's style (client, 2026-12-02)
   Left: the overview statement, its links and the note, with "Behind every build" as a small link list under it.
   Right: the pages as a grid of links on hairlines — title + one line of description. No numbers, chevrons or
   heading bars; a section with two lists (Our Work, Company) shows a small label over each. */
@media (min-width: 992px) {
    .mega__grid {
        grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr) !important;
        grid-auto-flow: row dense;
        column-gap: calc(var(--cvw) * 4);
        padding: calc(var(--cvw) * 2.4) calc(var(--cvw) * 3) calc(var(--cvw) * 2.8);
    }
    .mega__col + .mega__col { border-left: 0; }
    .mega__col:first-child { grid-column: 1; grid-row: 1; }
    .mega__col--aside { grid-column: 1; grid-row: 2; }
    .mega__col:not(:first-child):not(.mega__col--aside) { grid-column: 2; }
    .mega__col:nth-child(3):not(.mega__col--aside) { margin-top: var(--sp25); }
    .mega__grid:has(.mega__col:nth-child(3):not(.mega__col--aside)) .mega__col:nth-child(2) { grid-row: 1; }
    .mega__grid:has(.mega__col--aside) .mega__col:nth-child(2) { grid-row: 1 / span 2; }

    /* headings: hidden on the overview; a small label elsewhere; no arrow squares */
    .mega__col:first-child .mega__h { display: none; }
    .mega__h { margin: 0 0 var(--sp10); padding: 0; border: 0; }
    .mega__ht { font-family: var(--font-body); font-size: var(--f12) !important; font-weight: 600; letter-spacing: .08em; text-transform: none; color: var(--light-grey) !important; }
    .mega__hgo { display: none !important; }
    .mega__b { padding: 0 !important; gap: var(--sp15); }

    /* overview column */
    .mega__intro { font-size: var(--f25); max-width: 18em; }
    .mega__go { padding-bottom: 4px; border-bottom: 2px solid var(--orange); }
    .mega__go .mega__ic { display: none; }
    .mega__note { margin-top: var(--sp10); padding-top: 0; border-top: 0; }

    /* right: link grid with descriptions */
    .mega__col:not(:first-child):not(.mega__col--aside) .mega__list {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 calc(var(--cvw) * 2.4);
    }
    .mega .mega__a {
        flex-direction: column; align-items: flex-start; gap: 4px;
        padding: 14px 0 !important;
        border-top: 1px solid var(--white-10); border-bottom: 0 !important;
        &::before, &::after { content: none !important; }
        &:hover .mega__l, &:focus-visible .mega__l { color: var(--orange); }
    }
    .mega .mega__l { font-size: var(--f17); font-weight: 600; transition: color var(--ease); }
    .mega .mega__d { display: block !important; font-size: var(--f15); color: var(--light-grey); }

    /* aside: plain underlined links */
    .mega__col--aside { margin-top: var(--sp25); }
    .mega__col--aside .mega__list { gap: 6px; }
    .mega__col--aside .mega__a { padding: 0 !important; border: 0 !important; }
    .mega__col--aside .mega__l { font-size: var(--f15); font-weight: 400; text-decoration: underline; text-decoration-color: var(--white-40); text-underline-offset: 3px; }
    .mega__col--aside .mega__d { display: none !important; }
}
/* the page links: always three columns, with more space between them (client, 2026-12-02) — every sub-menu */
@media (min-width: 992px) {
    .mega__col:not(:first-child):not(.mega__col--aside) .mega__list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: calc(var(--cvw) * 4) !important; }
}
/* more breathing room in the page-link grid (client, 2026-12-02) */
@media (min-width: 992px) {
    .mega__col:not(:first-child):not(.mega__col--aside) .mega__list { row-gap: var(--sp20) !important; }
    .mega__col:not(:first-child):not(.mega__col--aside) .mega__a { gap: 10px; padding: 22px 0 !important; }
    .mega__col:not(:first-child):not(.mega__col--aside) .mega__d { line-height: 1.5; max-width: 32em; }
    .mega__col:not(:first-child):not(.mega__col--aside) .mega__h { margin-bottom: var(--sp15); }
}
/* space between a link's title and its description (client, 2026-12-02) */
@media (min-width: 992px) {
    .mega .mega__a .mega__t { gap: 0; }
    .mega .mega__a .mega__d { margin-top: 12px; }
}
/* left overview block: orange background, white text (client, 2026-12-02) */
@media (min-width: 992px) {
    .mega__col:first-child,
    .mega__col--aside { background: var(--orange); padding: calc(var(--cvw) * 2) calc(var(--cvw) * 2); }
    .mega__grid:has(.mega__col--aside) .mega__col:first-child { padding-bottom: var(--sp25); }
    .mega__col--aside { margin-top: 0 !important; padding-top: 0; }
    .mega__col:first-child .mega__intro,
    .mega__col:first-child .mega__go,
    .mega__col--aside .mega__a,
    .mega__col--aside .mega__l { color: var(--white); }
    .mega__col:first-child .mega__go { border-bottom-color: var(--white); }
    .mega__col:first-child .mega__go:hover,
    .mega__col:first-child .mega__go:focus-visible { color: var(--white); opacity: .8; }
    .mega__col:first-child .mega__note { color: rgba(255, 255, 255, .85); }
    .mega__note a { color: var(--white); text-decoration-color: var(--white); text-decoration-thickness: 1px; }
    .mega__note a:hover { color: var(--white); opacity: .8; }
    .mega__col--aside .mega__ht { color: rgba(255, 255, 255, .8) !important; }
    .mega__col--aside .mega__l { text-decoration-color: rgba(255, 255, 255, .6); text-decoration-thickness: 1px; }
    .mega__col--aside .mega__a:hover .mega__l,
    .mega__col--aside .mega__a:focus-visible .mega__l { color: var(--white); text-decoration-color: var(--white); }
}
/* overview title in black on the orange block (client, 2026-12-02) */
@media (min-width: 992px) {
    .mega__col:first-child .mega__intro { color: #111; }
}
/* "Behind every build" as a proper sub-section (client, 2026-12-02): a divider, a clear heading, links as an arrow list */
@media (min-width: 992px) {
    .mega__col--aside .mega__h { margin: 0 0 14px; padding-top: var(--sp20); border-top: 1px solid rgba(255, 255, 255, .4); }
    .mega__col--aside .mega__ht {
        font-family: var(--font-body);
        font-size: var(--f17) !important; font-weight: 600; letter-spacing: 0; text-transform: none;
        color: #111 !important;
    }
    .mega__col--aside .mega__list { gap: 10px; }
    .mega__col--aside .mega__l {
        display: inline-flex; align-items: center; gap: 10px;
        font-size: var(--f16); font-weight: 500; text-decoration: none;
    }
    .mega__col--aside .mega__l::before {
        flex: 0 0 auto; width: 14px; height: 1.5px; background: currentColor; content: "";
        transition: width var(--ease-expo);
    }
    .mega__col--aside .mega__a:hover .mega__l,
    .mega__col--aside .mega__a:focus-visible .mega__l { text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 3px; }
    .mega__col--aside .mega__a:hover .mega__l::before,
    .mega__col--aside .mega__a:focus-visible .mega__l::before { width: 22px; }
}
/* client (2026-12-02): "Behind every build" leaves the orange block and sits under AI Services on the right,
   as three blocks styled like the AI Services ones (title + one line, on hairlines). Overrides the aside rules above. */
@media (min-width: 992px) {
    .mega__grid:has(.mega__col--aside) .mega__col:first-child { grid-row: 1 / span 2; padding-bottom: calc(var(--cvw) * 2); }
    .mega__grid:has(.mega__col--aside) .mega__col:nth-child(2) { grid-row: 1; }
    .mega__col--aside { grid-column: 2 !important; grid-row: 2 !important; background: transparent !important; padding: 0 !important; margin-top: var(--sp30) !important; }

    .mega__col--aside .mega__h { margin: 0 0 var(--sp10); padding: 0; border: 0; }
    .mega__col--aside .mega__ht { font-size: var(--f12) !important; font-weight: 600; letter-spacing: .08em; color: var(--light-grey) !important; }

    .mega__col--aside .mega__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 calc(var(--cvw) * 4) !important; }
    .mega__col--aside .mega__a { gap: 0; padding: 22px 0 !important; border-top: 1px solid var(--white-10) !important; }
    .mega__col--aside .mega__l,
    .mega__col--aside .mega__a .mega__l {
        display: block; font-size: var(--f17); font-weight: 600; color: var(--white);
        text-decoration: none;
    }
    .mega__col--aside .mega__l::before { content: none; }
    .mega__col--aside .mega__d { display: block !important; margin-top: 12px; font-size: var(--f15); line-height: 1.5; color: var(--light-grey); }
    .mega__col--aside .mega__a:hover .mega__l,
    .mega__col--aside .mega__a:focus-visible .mega__l { color: var(--orange); text-decoration: none; }
}
/* client (2026-12-02): the orange overview block moves to the RIGHT of the dropdown; inside it the title is white, the rest dark */
@media (min-width: 992px) {
    .mega__grid { grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr) !important; }
    .mega__col:first-child { grid-column: 2 !important; }
    .mega__col:not(:first-child):not(.mega__col--aside),
    .mega__col--aside { grid-column: 1 !important; }
    .mega__grid:has(> .mega__col:nth-child(3)) > .mega__col:first-child { grid-row: 1 / span 2; }

    .mega__col:first-child .mega__intro { color: var(--white); }
    .mega__col:first-child .mega__go { color: #111; border-bottom-color: #111; }
    .mega__col:first-child .mega__go:hover,
    .mega__col:first-child .mega__go:focus-visible { color: #111; opacity: .7; }
    .mega__col:first-child .mega__note { color: rgba(17, 17, 17, .85); }
    .mega__col:first-child .mega__note a { color: #111; text-decoration-color: #111; }
    .mega__col:first-child .mega__note a:hover { color: #111; opacity: .7; }
}
/* client (2026-12-02): the orange block only as tall as its content; more room under its title */
@media (min-width: 992px) {
    .mega__col:first-child { align-self: start; }
    .mega__col:first-child .mega__intro { margin-bottom: var(--sp15); }
}
/* client (2026-12-02): the orange block's links with a normal text underline instead of the thick bar */
@media (min-width: 992px) {
    .mega__col:first-child .mega__go {
        padding-bottom: 0; border-bottom: 0;
        text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
        text-decoration-color: currentColor;
    }
}
/* orange-block links turn white on hover; the underline stays still (client, 2026-12-03: line animation removed) */
@media (min-width: 992px) {
    .mega__col:first-child .mega__go,
    .mega__col:first-child .mega__note a {
        text-decoration: none;
        padding-bottom: 3px;
        background: linear-gradient(currentColor, currentColor) no-repeat 0% 100% / 100% 1px;
        transition: color .25s ease;
        -webkit-box-decoration-break: clone; box-decoration-break: clone;   /* the note link wraps: a line under each part */
    }
    .mega__col:first-child .mega__go:hover,
    .mega__col:first-child .mega__go:focus-visible,
    .mega__col:first-child .mega__note a:hover,
    .mega__col:first-child .mega__note a:focus-visible {
        color: var(--white); opacity: 1;
    }
}
/* client (2026-12-02): the orange block runs the full height of the dropdown again; the note sits at its bottom */
@media (min-width: 992px) {
    .mega__col:first-child { align-self: stretch; }
    .mega__col:first-child .mega__b { flex: 1 1 auto; }
    .mega__col:first-child .mega__note { margin-top: auto; padding-top: var(--sp20); }
}
/* client (2026-12-02): blocks without a note get one at the bottom, with a "Discuss Your Project" button */
.mega__foot { display: none; }
@media (min-width: 992px) {
    .mega__col:first-child .mega__foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp20); margin-top: auto; padding-top: var(--sp20); }
    .mega__col:first-child .mega__foot .mega__note { margin: 0; padding: 0; }
    .mega__col:first-child .mega__btn { background: #111; color: #fff; border-color: transparent; }
    .mega__col:first-child .mega__btn:hover,
    .mega__col:first-child .mega__btn:focus-visible { background: #fff; color: #111; }
}
