:root {
    --aegis-blue: #0b5285;
    --aegis-blue-bright: #16689e;
    --aegis-green: #5aab4b;
    --aegis-green-dark: #3f9138;
    --ink: #071b31;
    --ink-soft: #102b45;
    --text: #1d2b38;
    --muted: #647485;
    --line: rgba(7, 27, 49, .13);
    --paper: #f5f7f5;
    --white: #ffffff;
    --section-space: clamp(5.5rem, 10vw, 10rem);
    --container-x: max(1.25rem, calc((100vw - 1320px) / 2));
    --ease: cubic-bezier(.2, .75, .25, 1);
    --shadow: 0 30px 80px rgba(4, 23, 40, .12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    color: var(--white);
    background: var(--aegis-blue);
}

.container-xl {
    max-width: 1380px;
}

.skip-link {
    position: fixed;
    z-index: 99999;
    left: 1rem;
    top: -100px;
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--ink);
    transition: top .2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.site-loader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 1.2rem;
    color: var(--white);
    text-align: center;
    background: var(--ink);
    transition: opacity .32s var(--ease), visibility .32s;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader p {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.loader-mark {
    position: relative;
    width: 52px;
    height: 52px;
    margin: auto;
    animation: loaderRotate 1.6s linear infinite;
}

.loader-mark span {
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
}

.loader-mark span:first-child {
    inset: 0;
    border-top-color: var(--aegis-blue-bright);
    border-right-color: var(--aegis-blue-bright);
}

.loader-mark span:last-child {
    inset: 10px;
    border-bottom-color: var(--aegis-green);
    border-left-color: var(--aegis-green);
}

@keyframes loaderRotate {
    to { transform: rotate(360deg); }
}

.cursor-glow {
    position: fixed;
    z-index: 8;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, rgba(90, 171, 75, .09), rgba(90, 171, 75, 0) 68%);
    transform: translate(-50%, -50%);
    transition: opacity .3s;
}

@media (pointer: fine) {
    body:hover .cursor-glow { opacity: 1; }
}

.section-pad {
    padding-block: var(--section-space);
}

.pb-section {
    padding-bottom: var(--section-space);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--aegis-blue);
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    content: "";
    background: var(--aegis-green);
}

.eyebrow.light {
    color: rgba(255, 255, 255, .7);
}

.display-heading,
.section-heading-row h2,
.offices-heading h2,
.location-inner h2 {
    margin: 1.15rem 0 0;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.6rem, 5vw, 5.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.display-heading em,
.section-heading-row h2 em,
.offices-heading h2 em,
.location-inner h2 em,
.inner-hero h1 em,
.hero-home h1 em,
.legal-hero h1 em {
    color: var(--aegis-green);
    font-style: normal;
    font-weight: 500;
}

.lead-copy {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.75;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    border-radius: 2px;
    font-family: "Manrope", sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-brand {
    position: relative;
    z-index: 0;
    overflow: hidden;
    min-height: 50px;
    padding: .8rem 1.55rem;
    border-color: var(--aegis-green);
    color: var(--white);
    background: var(--aegis-green);
    box-shadow: 0 12px 30px rgba(90, 171, 75, .2);
}

.btn-brand::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: var(--aegis-blue);
    transform: translateX(-102%);
    transition: transform .45s var(--ease);
}

.btn-brand:hover,
.btn-brand:focus {
    border-color: var(--aegis-blue);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(11, 82, 133, .22);
}

.btn-brand:hover::before,
.btn-brand:focus::before {
    transform: translateX(0);
}

.btn-lg {
    min-height: 60px;
    padding: 1rem 1.8rem;
}

.btn-outline-brand {
    min-height: 54px;
    padding: .8rem 1.5rem;
    border: 1px solid rgba(11, 82, 133, .35);
    color: var(--aegis-blue);
    background: transparent;
}

.btn-outline-brand:hover {
    color: var(--white);
    border-color: var(--aegis-blue);
    background: var(--aegis-blue);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    padding-block: .3rem;
    color: var(--aegis-blue);
    font-family: "Manrope", sans-serif;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.text-link span {
    transition: transform .3s var(--ease);
}

.text-link:hover span {
    transform: translateX(6px);
}

.text-link.light {
    color: var(--white);
}

/* Header */
.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    filter: drop-shadow(0 8px 24px rgba(7, 27, 49, .05));
}

.topbar {
    height: 34px;
    color: rgba(255, 255, 255, .72);
    background: var(--ink);
    font-size: .72rem;
    line-height: 34px;
    letter-spacing: .035em;
}

.topbar a {
    transition: color .2s ease;
}

.topbar a:hover {
    color: var(--aegis-green);
}

.site-header .navbar {
    min-height: 92px;
    padding: .65rem 0;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(7, 27, 49, .08);
    backdrop-filter: blur(18px);
    transition: min-height .35s var(--ease), background .35s;
}

.site-header.scrolled .navbar {
    min-height: 72px;
    background: rgba(255, 255, 255, .98);
}

.navbar-brand {
    width: clamp(180px, 18vw, 250px);
    padding: 0;
}

.navbar-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.navbar-nav {
    gap: clamp(.25rem, 1.2vw, 1.2rem);
}

.navbar-nav .nav-link {
    position: relative;
    padding: .7rem .55rem !important;
    color: #243649;
    font-family: "Manrope", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.navbar-nav .nav-link::after {
    position: absolute;
    right: .55rem;
    bottom: .38rem;
    left: .55rem;
    height: 2px;
    margin: 0;
    content: "";
    border: 0;
    background: var(--aegis-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--aegis-blue);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .dropdown-toggle {
    padding-right: 1.4rem !important;
}

.navbar-nav .dropdown-toggle::before {
    position: absolute;
    top: 50%;
    right: .35rem;
    width: 5px;
    height: 5px;
    content: "";
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-70%);
}

.navbar-nav .dropdown-toggle::after {
    right: 1.4rem;
}

.nav-cta {
    min-width: 132px;
}

.nav-cta.active {
    color: var(--white);
    border-color: var(--aegis-green);
    background-color: var(--aegis-green);
}

.service-menu {
    width: 620px;
    margin-top: 1rem !important;
    padding: 1.1rem;
    border: 0;
    border-top: 3px solid var(--aegis-green);
    border-radius: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 65px rgba(7, 27, 49, .18);
    columns: 2;
}

.service-menu li {
    break-inside: avoid;
}

.service-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem .9rem;
    color: #304254;
    font-size: .82rem;
    white-space: normal;
    transition: padding-left .25s ease, color .25s, background-color .25s;
}

.service-menu .dropdown-item span {
    color: var(--aegis-green-dark);
    font-family: "Manrope", sans-serif;
    font-size: .66rem;
    font-weight: 800;
}

.service-menu .dropdown-item:hover {
    padding-left: 1.15rem;
    color: var(--aegis-blue);
    background: #f2f7f3;
}

.service-menu .view-all {
    margin-top: .35rem;
    border-top: 1px solid var(--line);
    color: var(--aegis-blue);
    font-weight: 700;
}

.navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform .3s, opacity .3s;
}

.navbar-toggler[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Home hero */
.hero-home {
    position: relative;
    min-height: 850px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-media,
.hero-media::after,
.hero-grid,
.hero-glow {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
    animation: cinematicPush 24s ease-in-out infinite alternate;
}

.hero-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-media::after {
    content: "";
    background:
        linear-gradient(90deg, rgba(3, 19, 36, .96) 0%, rgba(3, 19, 36, .83) 37%, rgba(3, 19, 36, .35) 64%, rgba(3, 19, 36, .13) 100%),
        linear-gradient(0deg, rgba(3, 19, 36, .62) 0%, transparent 45%);
}

@keyframes cinematicPush {
    from { transform: scale(1.02); }
    to { transform: scale(1.1) translateX(-1.2%); }
}

.hero-grid {
    opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-glow {
    top: auto;
    right: auto;
    bottom: -250px;
    left: -250px;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    background: rgba(13, 83, 133, .25);
    filter: blur(100px);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    to { transform: translate(120px, -60px) scale(1.15); opacity: .7; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .row {
    padding-top: 160px;
    padding-bottom: 9rem;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .7);
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    animation: heroIn .7s .06s both var(--ease);
}

.hero-kicker > span {
    display: inline-block;
    width: 38px;
    height: 1px;
    background: var(--aegis-green);
}

.hero-home h1,
.inner-hero h1,
.legal-hero h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(3.8rem, 7.7vw, 8.2rem);
    font-weight: 700;
    line-height: .94;
    letter-spacing: -.07em;
}

.hero-home h1 {
    max-width: 1050px;
    animation: heroIn .8s .1s both var(--ease);
}

.hero-copy {
    max-width: 650px;
    margin: 2.1rem 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.72;
    animation: heroIn .75s .15s both var(--ease);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.4rem;
    animation: heroIn .75s .2s both var(--ease);
}

@keyframes heroIn {
    from { opacity: .32; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
    position: absolute;
    z-index: 2;
    right: max(3rem, var(--container-x));
    bottom: 3.25rem;
    align-items: flex-end;
    gap: 2.5rem;
}

.hero-meta div {
    min-width: 100px;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, .25);
}

.hero-meta b,
.hero-meta span {
    display: block;
}

.hero-meta b {
    margin-bottom: .2rem;
    color: rgba(255, 255, 255, .46);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-meta span {
    font-family: "Manrope", sans-serif;
    font-size: .9rem;
    font-weight: 700;
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 3.3rem;
    left: max(1.25rem, var(--container-x));
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, .55);
    font-size: .68rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.scroll-cue i {
    position: relative;
    display: block;
    width: 48px;
    height: 1px;
    overflow: hidden;
    background: rgba(255,255,255,.2);
}

.scroll-cue i::after {
    position: absolute;
    inset: 0;
    content: "";
    background: var(--aegis-green);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    from { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}

.trust-ribbon {
    overflow: hidden;
    height: 70px;
    color: var(--white);
    background: var(--aegis-blue);
}

.ribbon-track {
    display: flex;
    width: max-content;
    height: 100%;
    align-items: center;
    gap: 2.4rem;
    animation: marquee 28s linear infinite;
}

.ribbon-track span {
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ribbon-track i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--aegis-green);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

.intro-section {
    background: var(--paper);
}

/* Services showcase */
.services-showcase,
.values-section,
.offices-section {
    color: var(--white);
    background: var(--ink);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading-row h2,
.offices-heading h2,
.location-inner h2 {
    color: var(--white);
}

.section-heading-row > p {
    max-width: 420px;
    margin: 0 0 .7rem;
    color: rgba(255, 255, 255, .55);
    font-size: 1.05rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.service-card {
    position: relative;
    display: flex;
    min-height: 365px;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.7rem, 3vw, 2.7rem);
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: var(--white);
    background: rgba(255,255,255,.01);
    transition: background .5s var(--ease), transform .5s var(--ease);
}

.service-card::before {
    position: absolute;
    inset: 100% 0 0;
    content: "";
    background: linear-gradient(155deg, var(--aegis-blue), #0d654f);
    transition: inset .55s var(--ease);
}

.service-card:first-child {
    grid-column: span 2;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card-top span {
    color: rgba(255,255,255,.4);
    font-size: .75rem;
    letter-spacing: .15em;
}

.service-card-top b {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    font-weight: 400;
    transition: transform .4s var(--ease), border-color .3s;
}

.service-card p {
    margin: 0 0 .75rem;
    color: var(--aegis-green);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.service-card h3 {
    max-width: 500px;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.55rem, 2.5vw, 2.4rem);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.04em;
}

.service-card:first-child h3 {
    font-size: clamp(2rem, 3.3vw, 3.2rem);
}

.card-summary {
    max-width: 480px;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    opacity: 0;
    transition: max-height .5s var(--ease), margin-top .5s var(--ease), opacity .4s;
}

.service-card:hover::before { inset: 0; }
.service-card:hover .service-card-top b { transform: rotate(45deg); border-color: var(--aegis-green); }
.service-card:hover .card-summary { max-height: 100px; margin-top: 1rem; opacity: 1; }

/* Legacy / company section */
.legacy-section {
    position: relative;
    background: var(--paper);
}

.legacy-word {
    position: absolute;
    top: -1.8vw;
    right: -1vw;
    color: transparent;
    font-family: "Manrope", sans-serif;
    font-size: 17vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.09em;
    -webkit-text-stroke: 1px rgba(11, 82, 133, .07);
}

.legacy-visual {
    position: relative;
    display: grid;
    min-height: 590px;
    overflow: hidden;
    place-items: center;
    background:
        linear-gradient(rgba(7,27,49,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,27,49,.08) 1px, transparent 1px),
        linear-gradient(145deg, #0b5285, #071b31 68%);
    background-size: 55px 55px, 55px 55px, auto;
    box-shadow: var(--shadow);
}

.legacy-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at center, rgba(90,171,75,.25), transparent 45%);
}

.legacy-panel {
    position: relative;
    z-index: 2;
    padding: 3rem 4rem;
    border-left: 2px solid var(--aegis-green);
    color: var(--white);
    background: rgba(5, 24, 42, .7);
    backdrop-filter: blur(14px);
}

.legacy-panel strong {
    display: block;
    margin: .6rem 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(4.7rem, 9vw, 8rem);
    line-height: 1;
    letter-spacing: -.08em;
}

.legacy-panel p {
    margin: 0;
    color: rgba(255,255,255,.65);
}

.signal-rings,
.signal-rings span {
    position: absolute;
    inset: 50% auto auto 50%;
    border: 1px solid rgba(90,171,75,.35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.signal-rings {
    width: 480px;
    height: 480px;
    border-color: rgba(255,255,255,.1);
}

.signal-rings span:first-child { inset: 12%; }
.signal-rings span:nth-child(2) { inset: 25%; }
.signal-rings span:last-child { inset: 39%; background: rgba(90,171,75,.12); }

.principle-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 2.5rem;
}

.principle-list span {
    display: inline-flex;
    gap: .75rem;
    align-items: center;
    color: var(--aegis-green-dark);
    font-size: .7rem;
    letter-spacing: .1em;
}

.principle-list b {
    color: var(--ink);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Client sections */
.client-section {
    background: var(--white);
}

.client-list {
    border-top: 1px solid var(--line);
}

.client-row {
    display: grid;
    grid-template-columns: 55px 1fr 1.35fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.65rem .3rem;
    border-bottom: 1px solid var(--line);
    transition: padding-left .3s var(--ease), background .3s;
}

.client-row:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, rgba(90,171,75,.08), transparent);
}

.client-row > span {
    color: var(--aegis-green-dark);
    font-size: .7rem;
}

.client-row h3 {
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.client-row p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

.location-band {
    padding: 5rem 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--aegis-blue), #07395f 60%, var(--ink));
}

.location-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr auto;
    gap: 4rem;
    align-items: center;
}

.location-inner h2 {
    font-size: clamp(2.3rem, 4vw, 4.5rem);
}

.city-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.city-cloud span {
    padding: .65rem 1.1rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    color: rgba(255,255,255,.78);
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.round-link {
    display: grid;
    width: 145px;
    height: 145px;
    flex: 0 0 auto;
    place-content: center;
    gap: .5rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    color: var(--white);
    font-size: .78rem;
    text-align: center;
    transition: color .4s, background .4s, transform .4s var(--ease);
}

.round-link b {
    font-size: 1.3rem;
    font-weight: 400;
}

.round-link:hover {
    color: var(--ink);
    background: var(--aegis-green);
    transform: rotate(8deg);
}

.round-link.small {
    width: 125px;
    height: 125px;
}

/* Inner hero */
.inner-hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.inner-hero-media {
    position: absolute;
    inset: 0;
    opacity: .42;
    background-image:
        linear-gradient(90deg, rgba(3,19,36,.95) 0%, rgba(3,19,36,.8) 48%, rgba(3,19,36,.3) 100%),
        url('../images/hero-aegis-cinematic-v2.webp');
    background-position: center, center;
    background-size: cover;
    animation: cinematicPush 24s ease-in-out infinite alternate;
}

.inner-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .13;
    background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 90px 90px;
}

.inner-hero .container-xl {
    position: relative;
    z-index: 2;
}

.inner-hero-content {
    max-width: 1120px;
    padding-top: 260px;
    padding-bottom: 95px;
}

.inner-hero h1 {
    font-size: clamp(3.4rem, 6.5vw, 7rem);
}

.inner-hero-content > p:last-child {
    max-width: 600px;
    margin: 2rem 0 0;
    color: rgba(255,255,255,.7);
    font-size: 1.12rem;
}

.page-number {
    position: absolute;
    z-index: 2;
    right: max(1.25rem, var(--container-x));
    bottom: 45px;
    color: rgba(255,255,255,.12);
    font-family: "Manrope", sans-serif;
    font-size: clamp(5rem, 11vw, 11rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.08em;
}

/* About page */
.story-section {
    background: var(--paper);
}

.story-year {
    margin-top: 2rem;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: .78rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.story-year strong {
    color: var(--aegis-blue);
    font-size: clamp(4.5rem, 9vw, 8rem);
    line-height: 1;
    letter-spacing: -.08em;
}

.story-copy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    color: var(--muted);
    font-size: 1.04rem;
}

.story-copy p:first-child {
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1.6;
}

.story-signoff {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 3rem;
}

.story-signoff span {
    width: 60px;
    height: 1px;
    background: var(--aegis-green);
}

.story-signoff p {
    margin: 0;
    color: var(--aegis-blue);
    font-family: "Manrope", sans-serif;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(255,255,255,.14);
    border-left: 1px solid rgba(255,255,255,.14);
}

.value-card {
    min-height: 350px;
    padding: 2.2rem 1.8rem;
    border-right: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14);
    transition: background .4s, transform .4s var(--ease);
}

.value-card:hover {
    background: var(--aegis-blue);
    transform: translateY(-8px);
}

.value-card > span {
    display: block;
    margin-bottom: 7rem;
    color: var(--aegis-green);
    font-size: .7rem;
}

.value-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.value-card p {
    margin: 1rem 0 0;
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    line-height: 1.7;
}

.presence-section {
    background: var(--white);
}

.office-list {
    border-top: 1px solid var(--line);
}

.office-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    padding: 1.5rem .2rem;
    border-bottom: 1px solid var(--line);
}

.office-row > span {
    color: var(--aegis-green-dark);
    font-size: .68rem;
}

.office-row h3 {
    margin: 0 0 .4rem;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.office-row p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
}

/* Services page */
.services-intro {
    background: var(--paper);
}

.services-detail-section {
    padding-bottom: var(--section-space);
    background: var(--paper);
}

.service-index {
    position: sticky;
    top: 115px;
    display: flex;
    flex-direction: column;
    padding-right: 1.5rem;
}

.service-index > span {
    padding-bottom: 1rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.service-index a {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: .55rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.4;
    transition: color .25s, padding-left .25s;
}

.service-index a small {
    color: var(--aegis-green-dark);
}

.service-index a:hover,
.service-index a.is-active {
    padding-left: .4rem;
    color: var(--aegis-blue);
}

.service-detail {
    scroll-margin-top: 110px;
    padding: clamp(2.3rem, 5vw, 4.5rem);
    border-bottom: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    background: var(--ink);
}

.service-detail:nth-child(even) {
    background: var(--aegis-blue);
}

.service-detail-head {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.service-detail-head > span {
    color: var(--aegis-green);
    font-size: .78rem;
    letter-spacing: .14em;
}

.service-detail-head p {
    margin: 0 0 .65rem;
    color: rgba(255,255,255,.5);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-detail-head h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.service-detail-body {
    margin-left: 80px;
    padding: 2.5rem 0 0 1.5rem;
}

.service-detail-body > p {
    max-width: 730px;
    color: rgba(255,255,255,.72);
    font-size: 1.06rem;
}

.service-detail-body ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
    margin: 2rem 0 2.5rem;
    padding: 0;
    list-style: none;
}

.service-detail-body li {
    position: relative;
    padding: .85rem 0 .85rem 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.75);
    font-size: .88rem;
}

.service-detail-body li::before {
    position: absolute;
    top: 1.45rem;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: var(--aegis-green);
}

.service-detail .text-link {
    color: var(--white);
}

.approach-section {
    background: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 5rem;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.approach-grid article {
    min-height: 300px;
    padding: 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.approach-grid span {
    display: block;
    margin-bottom: 6rem;
    color: var(--aegis-green-dark);
    font-size: .7rem;
}

.approach-grid h3 {
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.approach-grid p {
    margin: .7rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

/* Clientele page */
.clientele-intro {
    background: var(--white);
}

.clientele-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.clientele-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    transition: color .45s, background .45s, transform .45s var(--ease);
}

.clientele-card:first-child {
    grid-column: span 2;
}

.clientele-card:hover {
    z-index: 2;
    color: var(--white);
    background: var(--aegis-blue);
    transform: scale(1.015);
    box-shadow: var(--shadow);
}

.clientele-card > span {
    color: var(--aegis-green-dark);
    font-size: .72rem;
}

.clientele-card h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 3vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.05em;
    transition: color .4s;
}

.clientele-card p {
    max-width: 550px;
    margin: 1rem 0 0;
    color: var(--muted);
    transition: color .4s;
}

.clientele-card i {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    color: var(--aegis-green);
    font-size: 1.5rem;
    font-style: normal;
}

.clientele-card:hover h2,
.clientele-card:hover p { color: var(--white); }
.clientele-card:hover > span { color: var(--aegis-green); }

.partnership-section {
    padding: 0 0 var(--section-space);
}

.partnership-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 7rem);
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(90,171,75,.22), transparent 28%),
        linear-gradient(120deg, var(--ink), var(--aegis-blue));
}

.partnership-panel::after {
    position: absolute;
    top: -55%;
    right: -10%;
    width: 600px;
    height: 600px;
    content: "";
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02);
}

.partnership-panel blockquote {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    margin: 2rem 0 4.5rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.2rem, 4.6vw, 5rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.055em;
}

.partnership-points {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partnership-points div {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.22);
}

.partnership-points b,
.partnership-points span {
    display: block;
}

.partnership-points b {
    margin-bottom: .4rem;
    font-family: "Manrope", sans-serif;
    font-size: .92rem;
}

.partnership-points span {
    color: rgba(255,255,255,.55);
    font-size: .82rem;
}

.clientele-cta {
    background: var(--paper);
}

/* Contact page */
.contact-main {
    background: var(--paper);
}

.direct-contact {
    margin-top: 3.5rem;
    border-top: 1px solid var(--line);
}

.direct-contact a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}

.direct-contact span {
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.direct-contact strong {
    color: var(--aegis-blue);
    font-family: "Manrope", sans-serif;
    font-size: .9rem;
}

.enquiry-card {
    padding: clamp(2rem, 5vw, 4.5rem);
    background: var(--white);
    box-shadow: var(--shadow);
}

.floating-field {
    position: relative;
}

.floating-field input,
.floating-field textarea,
.floating-field select {
    width: 100%;
    height: 64px;
    padding: 1.45rem 0 .35rem;
    border: 0;
    border-bottom: 1px solid rgba(7,27,49,.24);
    border-radius: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    transition: border-color .25s;
}

.floating-field textarea {
    height: 130px;
    padding-top: 1.7rem;
    resize: vertical;
}

.floating-field select {
    padding-top: 1.35rem;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--aegis-blue) 50%), linear-gradient(135deg, var(--aegis-blue) 50%, transparent 50%);
    background-position: calc(100% - 15px) 28px, calc(100% - 10px) 28px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.floating-field label {
    position: absolute;
    top: 1.25rem;
    left: 0;
    color: var(--muted);
    font-size: .85rem;
    pointer-events: none;
    transition: top .2s, font-size .2s, color .2s;
}

.select-field label,
.floating-field input:focus + label,
.floating-field input:not(:placeholder-shown) + label,
.floating-field textarea:focus + label,
.floating-field textarea:not(:placeholder-shown) + label {
    top: .25rem;
    color: var(--aegis-blue);
    font-size: .65rem;
}

.floating-field input:focus,
.floating-field textarea:focus,
.floating-field select:focus {
    border-color: var(--aegis-green);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.3rem;
}

.form-submit-row p {
    max-width: 280px;
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.5;
}

.hp-field {
    position: absolute;
    left: -99999px;
}

.form-status {
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid;
    font-size: .86rem;
}

.form-status.success {
    color: #256723;
    border-color: var(--aegis-green);
    background: rgba(90,171,75,.1);
}

.form-status.error {
    color: #9a3030;
    border-color: #c84c4c;
    background: rgba(200,76,76,.08);
}

.offices-section {
    padding-block: var(--section-space);
}

.offices-heading {
    margin-bottom: 4rem;
}

.offices-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
}

.office-map {
    min-height: 600px;
    overflow: hidden;
    filter: saturate(.35) contrast(1.05);
}

.office-map iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: 0;
}

.office-addresses {
    border-top: 1px solid rgba(255,255,255,.14);
}

.office-addresses article {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.office-addresses article > span {
    color: var(--aegis-green);
    font-size: .68rem;
}

.office-addresses h3 {
    margin: 0 0 .4rem;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.office-addresses p {
    margin: 0;
    color: rgba(255,255,255,.55);
    font-size: .84rem;
    line-height: 1.6;
}

/* Legal */
.legal-hero {
    padding: 250px 0 90px;
    color: var(--white);
    background: var(--ink);
}

.legal-hero h1 {
    font-size: clamp(3.3rem, 6vw, 6.5rem);
}

.legal-content h2 {
    margin: 3rem 0 1rem;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.legal-content p:not(.lead-copy) {
    color: var(--muted);
}

.legal-content a {
    color: var(--aegis-blue);
    text-decoration: underline;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: clamp(5rem, 8vw, 8rem);
    color: var(--white);
    background: #041321;
}

.footer-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 50%;
}

.orbit-one {
    top: 8%;
    right: -180px;
    width: 520px;
    height: 520px;
}

.orbit-two {
    top: 17%;
    right: -70px;
    width: 300px;
    height: 300px;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: clamp(4rem, 7vw, 7rem);
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-cta h2 {
    margin: 1.2rem 0 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.8rem, 5.6vw, 6rem);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -.06em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr .75fr 1fr 1.25fr;
    gap: 4rem;
    padding-block: 5rem;
}

.footer-logo {
    display: inline-block;
    width: 220px;
    padding: .45rem .65rem;
    background: var(--white);
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-brand > p {
    max-width: 340px;
    margin: 1.6rem 0;
    color: rgba(255,255,255,.5);
    font-size: .9rem;
}

.footer-grid h3 {
    margin: 0 0 1.4rem;
    color: rgba(255,255,255,.4);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) > a,
.footer-contact-links a {
    display: block;
    width: fit-content;
    margin: .65rem 0;
    color: rgba(255,255,255,.75);
    font-size: .86rem;
    transition: color .25s, transform .25s;
}

.footer-grid a:hover {
    color: var(--aegis-green);
    transform: translateX(3px);
}

.footer-grid address {
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    font-style: normal;
    line-height: 1.75;
}

.footer-grid .map-link {
    color: var(--aegis-green) !important;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.34);
    font-size: .7rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 2rem;
}

.footer-bottom a:hover {
    color: var(--white);
}

.whatsapp-link {
    position: fixed;
    z-index: 900;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    transition: transform .3s var(--ease), box-shadow .3s;
}

.whatsapp-link:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 18px 40px rgba(37,211,102,.3);
}

.whatsapp-link svg {
    width: 26px;
    fill: var(--white);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.reveal-delay-1 {
    transition-delay: .12s;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        animation: menuIn .3s var(--ease) both;
    }

    @keyframes menuIn {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 1199.98px) {
    .hero-meta {
        gap: 1.25rem;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .value-card:last-child {
        grid-column: span 2;
    }

    .location-inner {
        grid-template-columns: 1.3fr 1fr;
    }

    .location-inner .round-link {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-space: 6rem;
    }

    .site-header .navbar {
        min-height: 78px;
    }

    .navbar-brand {
        width: 190px;
    }

    .navbar-collapse {
        position: fixed;
        top: 78px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
        padding: 1.5rem 1.25rem 3rem;
        background: rgba(255,255,255,.985);
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding: 1rem .25rem !important;
        border-bottom: 1px solid var(--line);
        font-size: .9rem;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .nav-cta {
        width: 100%;
        margin-top: 1.2rem;
    }

    .service-menu {
        width: auto;
        margin: 0 !important;
        padding: .4rem;
        border-top: 0;
        box-shadow: none;
        columns: 1;
    }

    .hero-home {
        min-height: 760px;
    }

    .hero-content .row {
        padding-top: 150px;
        padding-bottom: 8rem;
    }

    .hero-home h1 {
        font-size: clamp(3.6rem, 10vw, 6.3rem);
    }

    .section-heading-row {
        align-items: start;
        flex-direction: column;
    }

    .service-cards {
        grid-template-columns: 1fr 1fr;
    }

    .service-card:first-child {
        grid-column: span 2;
    }

    .legacy-visual {
        min-height: 500px;
    }

    .location-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .inner-hero {
        min-height: 610px;
    }

    .inner-hero-content {
        padding-top: 210px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-card:last-child {
        grid-column: span 2;
    }

    .service-detail-body {
        margin-left: 0;
        padding-left: 0;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offices-layout {
        grid-template-columns: 1fr;
    }

    .office-map,
    .office-map iframe {
        min-height: 450px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-space: 4.8rem;
    }

    body {
        font-size: 15px;
    }

    .hero-home {
        min-height: 720px;
    }

    .hero-media img {
        object-position: 62% center;
    }

    .hero-media::after {
        background: linear-gradient(90deg, rgba(3,19,36,.95), rgba(3,19,36,.65)), linear-gradient(0deg, rgba(3,19,36,.72), transparent 50%);
    }

    .hero-content .row {
        padding-top: 135px;
        padding-bottom: 7.5rem;
    }

    .hero-home h1 {
        font-size: clamp(2.55rem, 10.7vw, 5.2rem);
        line-height: .98;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem;
    }

    .scroll-cue span {
        display: none;
    }

    .trust-ribbon {
        height: 60px;
    }

    .display-heading,
    .section-heading-row h2,
    .offices-heading h2,
    .location-inner h2 {
        font-size: clamp(2.45rem, 11vw, 4.2rem);
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:first-child {
        grid-column: auto;
        min-height: 310px;
    }

    .service-card:first-child h3 {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .card-summary {
        max-height: 100px;
        margin-top: 1rem;
        opacity: 1;
    }

    .legacy-visual {
        min-height: 420px;
    }

    .legacy-panel {
        padding: 2.2rem 2rem;
    }

    .client-row {
        grid-template-columns: 45px 1fr;
    }

    .client-row p {
        grid-column: 2;
    }

    .inner-hero {
        min-height: 540px;
    }

    .inner-hero-content {
        padding-top: 170px;
        padding-bottom: 70px;
    }

    .inner-hero h1 {
        font-size: clamp(3rem, 13vw, 5rem);
        line-height: .98;
    }

    .page-number {
        right: 1rem;
        bottom: 20px;
        font-size: 5rem;
    }

    .story-copy {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card,
    .value-card:last-child {
        grid-column: auto;
        min-height: 280px;
    }

    .value-card > span {
        margin-bottom: 4.5rem;
    }

    .service-detail {
        margin-inline: -12px;
        padding: 2rem 1.35rem 2.5rem;
    }

    .service-detail-head {
        grid-template-columns: 42px 1fr;
        gap: .6rem;
    }

    .service-detail-body ul {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid article {
        min-height: 250px;
    }

    .approach-grid span {
        margin-bottom: 4rem;
    }

    .clientele-cards {
        grid-template-columns: 1fr;
    }

    .clientele-card,
    .clientele-card:first-child {
        grid-column: auto;
        min-height: 300px;
    }

    .partnership-points {
        grid-template-columns: 1fr;
    }

    .form-submit-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-submit-row .btn {
        width: 100%;
    }

    .direct-contact a {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .office-map,
    .office-map iframe {
        min-height: 360px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .round-link {
        width: 120px;
        height: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-grid > div:last-child {
        grid-column: span 2;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }

    .whatsapp-link {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 420px) {
    .hero-home h1 {
        font-size: 2.55rem;
    }

    .navbar-brand {
        width: 165px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .cursor-glow {
        display: none;
    }
}
