@font-face {
    font-family: "Dubai";
    src: url("../fonts/Dubai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Dubai";
    src: url("../fonts/Dubai-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --blue: #044f7c;
    --blue-deep: #063b5b;
    --blue-dark: #062f49;
    --green: #79a631;
    --lime: #a4c552;
    --ink: #14232b;
    --muted: #63737b;
    --paper: #f3f5f1;
    --white: #fff;
    --line: #d9dfdc;
    --shadow: 0 24px 65px rgba(6, 47, 73, 0.14);
}

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

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

body {
    margin: 0;
    overflow-x: clip;
    color: var(--ink);
    background: var(--white);
    font-family: "Dubai", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.05;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 120px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--blue-dark);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.utility-bar {
    color: #dce9ee;
    background: var(--blue-dark);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.utility-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.utility-inner p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.utility-inner svg {
    width: 14px;
    fill: var(--lime);
}

.utility-tagline {
    text-transform: uppercase;
    opacity: 0.7;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    color: var(--white);
    background: var(--blue);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    background: rgba(4, 79, 124, 0.97);
    box-shadow: 0 8px 30px rgba(0, 26, 41, 0.2);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    width: min(400px, 39vw);
    flex: 0 1 400px;
}

.brand img {
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 1.8vw, 26px);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.main-nav > a:not(.nav-cta) {
    position: relative;
    padding: 32px 0;
}

.main-nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 32px 0;
}

.nav-dropdown > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: -22px;
    width: 290px;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0, 30, 48, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    white-space: normal;
    transition: color 0.2s ease, background 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    color: var(--blue);
    background: var(--paper);
}

.nav-cta {
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
    color: var(--blue-dark);
    background: var(--white);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: min(820px, calc(100vh - 88px));
    color: var(--white);
    background: var(--blue-dark);
    isolation: isolate;
    overflow: hidden;
}

.hero-image,
.hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center;
    animation: hero-zoom 14s ease-out both;
}

@keyframes hero-zoom {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(2, 31, 48, 0.9) 0%, rgba(2, 40, 60, 0.72) 52%, rgba(2, 35, 54, 0.22) 100%),
        linear-gradient(0deg, rgba(1, 27, 42, 0.44), transparent 50%);
}

.hero-inner {
    min-height: min(820px, calc(100vh - 88px));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 80px;
    padding-top: 55px;
    padding-bottom: 72px;
}

.hero-copy {
    max-width: 1050px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 34px;
    height: 2px;
    background: var(--green);
}

.eyebrow-light {
    color: #eaf3f6;
}

.hero h1 {
    max-width: 1050px;
    margin-bottom: 25px;
    font-size: clamp(52px, 4.5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero h1 em,
.process h2 em {
    color: var(--lime);
    font-style: normal;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 13px 22px;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.button svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button-primary {
    color: var(--blue-dark);
    background: var(--lime);
}

.button-primary:hover {
    background: #b8d765;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-weight: 700;
    border-bottom: 1px solid rgba(4, 79, 124, 0.35);
}

.text-link span {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.light-link {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-proof {
    display: none;
    align-self: end;
    margin-bottom: 52px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(4, 58, 84, 0.55);
    backdrop-filter: blur(10px);
}

.proof-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
}

.hero-proof > p {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.hero-proof dl {
    margin: 0;
}

.hero-proof dl div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
}

.hero-proof dt {
    color: rgba(255, 255, 255, 0.62);
}

.hero-proof dd {
    margin: 0;
    font-weight: 700;
}

.scroll-cue {
    position: absolute;
    bottom: 27px;
    left: max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-cue span {
    width: 25px;
    height: 1px;
    background: var(--lime);
}

.sector-strip {
    color: var(--white);
    background: var(--green);
}

.sector-list {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sector-list i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
}

.about {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(60px, 8vw, 110px);
}

.about-visual {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 0 0 28px 28px;
}

.image-frame::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 68%;
    background: var(--paper);
}

.image-frame img {
    width: 100%;
    height: 570px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    right: -35px;
    bottom: 60px;
    width: 190px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    color: var(--white);
    background: var(--blue);
    box-shadow: var(--shadow);
}

.about-badge strong {
    margin-bottom: 8px;
    color: var(--lime);
    font-size: 26px;
    font-style: italic;
}

.about-badge span {
    font-size: 14px;
    line-height: 1.35;
}

.about-copy h2,
.section-heading h2,
.contact-copy h2 {
    max-width: 650px;
    margin-bottom: 28px;
    font-size: clamp(42px, 4.5vw, 65px);
    letter-spacing: -0.035em;
}

.about-copy .intro {
    margin-bottom: 20px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.55;
}

.about-copy > p:not(.eyebrow):not(.intro) {
    color: var(--muted);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0;
    padding: 25px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-values div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.about-values strong {
    color: var(--green);
    font-size: 13px;
}

.about-values span {
    max-width: 110px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.services {
    background: var(--paper);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.6fr);
    align-items: end;
    gap: 80px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin: 0;
}

.section-heading > p {
    margin: 0 0 6px;
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 440px;
    color: var(--white);
    background: var(--blue-dark);
    overflow: hidden;
}

.service-card img,
.service-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-card img {
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
}

.service-shade {
    background: linear-gradient(180deg, rgba(2, 26, 39, 0.08) 18%, rgba(2, 35, 54, 0.92) 96%);
    transition: background 0.35s ease;
}

.service-top,
.service-copy {
    position: absolute;
    z-index: 1;
    right: 28px;
    left: 28px;
}

.service-top {
    top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
}

.service-arrow {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    font-size: 18px;
}

.service-copy {
    bottom: 27px;
}

.service-copy h3 {
    margin-bottom: 10px;
    font-size: 29px;
}

.service-copy p {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(15px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.service-card:hover img {
    transform: scale(1.055);
    filter: saturate(0.8);
}

.service-card:hover .service-shade {
    background: linear-gradient(180deg, rgba(4, 79, 124, 0.16), rgba(2, 35, 54, 0.97));
}

.service-card:hover .service-copy p {
    max-height: 120px;
    opacity: 0.82;
    transform: translateY(0);
}

.process {
    padding: 120px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 30%, rgba(121, 166, 49, 0.12), transparent 30%),
        var(--blue-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 110px;
}

.process-intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.process h2 {
    margin-bottom: 24px;
    font-size: clamp(50px, 5vw, 72px);
    letter-spacing: -0.04em;
}

.process-intro > p:last-child {
    max-width: 400px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
}

.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 24px;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list > li > span {
    color: var(--lime);
    font-size: 13px;
    font-weight: 700;
}

.process-list h3 {
    margin-bottom: 10px;
    font-size: 31px;
}

.process-list p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.project-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 310px 310px;
    gap: 18px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: var(--blue-dark);
}

.project-card:first-child {
    grid-row: 1 / 3;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.project-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 55px 30px 26px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(2, 33, 51, 0.88));
}

.project-overlay p {
    margin-bottom: 7px;
    color: var(--lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-overlay h3 {
    margin: 0;
    font-size: 30px;
}

.project-card:hover img {
    transform: scale(1.045);
}

.insights {
    padding: 110px 0;
    color: var(--white);
    background: var(--blue);
}

.insights-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: center;
    gap: 90px;
}

.insights-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(44px, 4.2vw, 62px);
    letter-spacing: -0.035em;
}

.insights-copy > p:not(.eyebrow) {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
}

.news-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.news-card {
    background: var(--white);
    box-shadow: 0 18px 45px rgba(0, 30, 47, 0.22);
}

.news-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
}

.news-card div {
    min-height: 145px;
    padding: 23px;
}

.news-card span {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 9px 0 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.25;
}

.contact {
    background: #fafbf9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.84fr 1.16fr;
    gap: 90px;
    align-items: start;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 500px;
    margin-bottom: 35px;
    color: var(--muted);
    font-size: 18px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.contact-detail > span {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.contact-detail div {
    display: flex;
    flex-direction: column;
}

.contact-detail small {
    color: var(--muted);
}

.form-shell {
    padding: 42px;
    background: var(--white);
    border-top: 4px solid var(--green);
    box-shadow: var(--shadow);
}

.form-alert {
    margin-bottom: 24px;
    padding: 14px 17px;
    color: #36520e;
    background: #edf5dc;
    border-left: 3px solid var(--green);
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #32444d;
    font-size: 13px;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    background: #f7f8f6;
    border: 1px solid #dce2df;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input {
    min-height: 50px;
}

.field textarea {
    min-height: 132px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(4, 79, 124, 0.1);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #b12e2e;
}

.submit-button {
    width: 100%;
    margin-top: 5px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #05273a;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(300px, 1.5fr) 0.55fr 0.7fr auto;
    gap: 70px;
    align-items: start;
    padding-top: 70px;
    padding-bottom: 60px;
}

.footer-brand img {
    width: min(390px, 100%);
    margin-bottom: 18px;
}

.footer-brand p {
    margin: 0;
    color: var(--lime);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-links strong {
    margin-bottom: 6px;
    color: var(--white);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--lime);
}

.back-top {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 22px;
}

.back-top:hover {
    color: var(--blue-dark);
    background: var(--lime);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

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

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

/* Imported WordPress content, rebuilt as native Django pages. */
.inner-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: var(--blue-dark);
    overflow: hidden;
    isolation: isolate;
}

.inner-hero > img,
.inner-hero-shade {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.inner-hero > img {
    object-fit: cover;
    object-position: center;
}

.inner-hero-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(2, 31, 48, 0.94), rgba(2, 43, 66, 0.62) 70%, rgba(2, 43, 66, 0.35));
}

.inner-hero-plain {
    background: linear-gradient(125deg, var(--blue-dark), var(--blue));
}

.inner-hero-copy {
    padding-top: 90px;
    padding-bottom: 70px;
}

.inner-hero-copy h1 {
    max-width: 960px;
    margin-bottom: 16px;
    font-size: clamp(46px, 6vw, 78px);
    letter-spacing: -0.035em;
}

.article-hero .inner-hero-copy h1 {
    max-width: 1050px;
    font-size: clamp(40px, 5vw, 67px);
}

.inner-hero-copy > p:last-child:not(.eyebrow) {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 295px;
    align-items: start;
    gap: 75px;
}

.detail-shell {
    max-width: 900px;
}

.detail-lead,
.listing-intro {
    max-width: 850px;
    margin-bottom: 50px;
    color: var(--blue-dark);
    font-size: 23px;
    line-height: 1.6;
}

.rich-content {
    min-width: 0;
    color: #3f5058;
    font-size: 18px;
    line-height: 1.75;
}

.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5 {
    margin: 42px 0 18px;
    color: var(--ink);
    line-height: 1.18;
}

.rich-content h2 { font-size: clamp(35px, 4vw, 52px); }
.rich-content h3 { font-size: 31px; }
.rich-content h4,
.rich-content h5 { font-size: 23px; }

.rich-content p,
.rich-content ul,
.rich-content ol {
    margin-bottom: 23px;
}

.rich-content li + li {
    margin-top: 8px;
}

.rich-content a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(4, 79, 124, 0.3);
    text-underline-offset: 3px;
}

.rich-content img {
    width: auto;
    max-height: 620px;
    margin: 34px 0;
    object-fit: cover;
}

.content-sidebar {
    position: sticky;
    top: 130px;
    padding: 28px;
    border-top: 4px solid var(--green);
    background: var(--paper);
}

.content-sidebar > a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 700;
}

.content-sidebar > a span {
    color: var(--green);
}

.sidebar-cta {
    margin: 28px -28px -28px;
    padding: 28px;
    color: var(--white);
    background: var(--blue-dark);
}

.sidebar-cta p {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 700;
}

.content-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
    min-width: 0;
    background: var(--white);
    box-shadow: 0 14px 40px rgba(6, 47, 73, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(6, 47, 73, 0.16);
}

.content-card-image {
    height: 245px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    overflow: hidden;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.content-card:hover .content-card-image img {
    transform: scale(1.04);
}

.content-card-copy {
    padding: 25px;
}

.content-card-copy p {
    margin-bottom: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-card-copy h2 {
    margin-bottom: 22px;
    font-size: 25px;
    line-height: 1.18;
}

.content-card-copy > span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.category-pills span {
    padding: 7px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 13px;
}

.contact-info-list {
    display: grid;
    gap: 14px;
}

.contact-info-list > * {
    display: flex;
    flex-direction: column;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.contact-info-list small {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-info-list strong {
    font-size: 20px;
}

@media (max-width: 1050px) {
    .container {
        width: min(100% - 40px, 930px);
    }

    .brand {
        width: 285px;
        flex-basis: 285px;
    }

    .nav-wrap {
        min-height: 78px;
    }

    .menu-toggle {
        position: relative;
        z-index: 102;
        width: 45px;
        height: 45px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        color: var(--white);
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.35);
        cursor: pointer;
    }

    .menu-toggle span:not(.sr-only) {
        width: 20px;
        height: 2px;
        background: currentColor;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        z-index: 101;
        top: 0;
        right: 0;
        width: min(420px, 100%);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 100px 50px 55px;
        color: var(--white);
        background: var(--blue-dark);
        box-shadow: -20px 0 60px rgba(0, 16, 25, 0.25);
        transform: translateX(105%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .main-nav.main-nav.open {
        transform: translateX(0) !important;
    }

    .main-nav > a:not(.nav-cta) {
        width: 100%;
        padding: 14px 0;
        font-size: 26px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > a {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        font-size: 26px;
    }

    .nav-dropdown > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        padding: 4px 0 8px 14px;
        color: rgba(255, 255, 255, 0.76);
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-menu a {
        padding: 6px 0;
        font-size: 14px;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus {
        color: var(--lime);
        background: transparent;
    }

    .main-nav > a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin-top: 30px;
        padding: 14px 22px;
        font-size: 17px;
    }

    .hero,
    .hero-inner {
        min-height: calc(100vh - 78px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-proof {
        padding: 22px;
    }

    .about-grid,
    .contact-grid {
        gap: 60px;
    }

    .about-badge {
        right: -15px;
    }

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

    .process-grid,
    .insights-grid {
        gap: 60px;
    }

    .footer-main {
        gap: 40px;
    }

    .content-shell {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .content-sidebar {
        position: static;
    }

    .content-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .section {
        padding: 82px 0;
    }

    .utility-tagline {
        display: none !important;
    }

    .brand {
        width: 245px;
        flex-basis: 245px;
    }

    .hero,
    .hero-inner {
        min-height: 700px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 80px;
        padding-bottom: 110px;
    }

    .hero-proof {
        display: none;
    }

    .hero h1 {
        font-size: clamp(51px, 12vw, 72px);
    }

    .sector-list {
        min-height: auto;
        justify-content: center;
        flex-wrap: wrap;
        padding: 22px 0;
        font-size: 12px;
    }

    .about-grid,
    .process-grid,
    .insights-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 600px;
    }

    .image-frame img {
        height: 480px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .process-intro {
        position: static;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 420px 300px;
    }

    .project-card:first-child {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .insights-grid {
        gap: 45px;
    }

    .contact-grid {
        gap: 45px;
    }

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

    .footer-brand {
        grid-column: 1 / 3;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(100% - 30px, 500px);
    }

    .utility-bar {
        display: none;
    }

    .nav-wrap {
        min-height: 72px;
    }

    .brand {
        width: 220px;
        flex-basis: 220px;
    }

    .main-nav {
        padding-inline: 30px;
    }

    .hero,
    .hero-inner {
        min-height: calc(100svh - 72px);
    }

    .hero-inner {
        padding-top: 60px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(2, 31, 48, 0.93), rgba(2, 40, 60, 0.6));
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: clamp(46px, 14vw, 63px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .scroll-cue {
        left: 15px;
    }

    .sector-list {
        gap: 11px;
    }

    .sector-list i:nth-of-type(even) {
        display: none;
    }

    .about-copy h2,
    .section-heading h2,
    .contact-copy h2 {
        font-size: 41px;
    }

    .image-frame {
        padding: 0 0 18px 18px;
    }

    .image-frame img {
        height: 380px;
    }

    .about-badge {
        right: -5px;
        bottom: 35px;
        width: 165px;
        min-height: 130px;
        padding: 20px;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-values div {
        flex-direction: row;
        align-items: center;
    }

    .about-values span {
        max-width: none;
    }

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

    .service-card {
        min-height: 410px;
    }

    .service-copy p {
        max-height: 120px;
        opacity: 0.82;
        transform: translateY(0);
    }

    .process {
        padding: 80px 0;
    }

    .process h2 {
        font-size: 49px;
    }

    .process-list li {
        grid-template-columns: 38px 1fr;
        gap: 15px;
    }

    .project-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 330px);
    }

    .project-card:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .news-stack {
        grid-template-columns: 1fr;
    }

    .form-shell {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 24px;
        padding-top: 55px;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }

    .back-top {
        position: absolute;
        right: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

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

    .inner-hero-copy {
        padding-top: 65px;
        padding-bottom: 48px;
    }

    .inner-hero-copy h1,
    .article-hero .inner-hero-copy h1 {
        font-size: 42px;
    }

    .content-card-grid,
    .article-list-grid {
        grid-template-columns: 1fr;
    }

    .content-card-image {
        height: 230px;
    }

    .rich-content {
        font-size: 17px;
    }

    .rich-content h3 {
        font-size: 28px;
    }
}

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

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

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