:root {
    --brand-blue: #0b8fd3;
    --brand-blue-dark: #075f98;
    --brand-orange: #f45b22;
    --brand-gold: #f5aa18;
    --brand-green: #75c94a;
    --navy: #082a43;
    --navy-deep: #061d30;
    --page: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f2f7fa;
    --surface-raised: #ffffff;
    --text: #102b40;
    --muted: #5c7080;
    --line: #d9e5eb;
    --shadow: 0 22px 60px rgba(8, 42, 67, 0.10);
    --shadow-small: 0 10px 30px rgba(8, 42, 67, 0.08);
    --radius-small: 10px;
    --radius-medium: 20px;
    --radius-large: 34px;
    --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);
    --bs-body-font-family: "IBM Plex Sans", system-ui, sans-serif;
    --bs-body-bg: var(--page);
    --bs-body-color: var(--text);
    --bs-border-color: var(--line);
    color-scheme: light;
}

[data-bs-theme="dark"] {
    --page: #071722;
    --surface: #0d2232;
    --surface-soft: #0a1c29;
    --surface-raised: #122b3e;
    --text: #eff8fd;
    --muted: #a6bac7;
    --line: #284153;
    --brand-blue: #59c1f2;
    --brand-blue-dark: #86d3f7;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.20);
    --bs-body-bg: var(--page);
    --bs-body-color: var(--text);
    --bs-border-color: var(--line);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--text);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    transition: background-color 240ms ease, color 240ms ease;
}

body.navigation-open,
body.gallery-open {
    overflow: hidden;
}

a {
    color: var(--brand-blue-dark);
    text-decoration: none;
}

a,
button {
    touch-action: manipulation;
}

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

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

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

h1 {
    font-size: clamp(3rem, 6.2vw, 6.4rem);
}

h2 {
    font-size: clamp(2.15rem, 4vw, 4rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 24px;
    color: var(--muted);
}

:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 4px;
}

.container {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
    padding-inline: 0;
}

.ti {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    vertical-align: middle;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 18px;
    background: var(--brand-gold);
    color: var(--navy-deep);
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

.utility-bar {
    position: relative;
    z-index: 1040;
    background: var(--navy-deep);
    color: #dceaf2;
    font-size: 11px;
}

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

.utility-inner > span,
.utility-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.utility-inner .ti {
    color: var(--brand-gold);
    font-size: 16px;
}

.utility-links a,
.utility-links span {
    color: #dceaf2;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--transition), background-color 240ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(8, 42, 67, 0.10);
}

.navbar {
    min-height: 104px;
    padding: 8px 0;
}

.navbar-brand {
    margin-right: 44px;
    padding: 0;
}

.navbar-brand img {
    width: 112px;
    height: 82px;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.navbar-nav {
    align-items: center;
    gap: 24px;
}

.navbar .nav-link {
    position: relative;
    padding: 16px 0 !important;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition);
}

.navbar .nav-link::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

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

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

.dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: 0.18em;
}

.dropdown-menu {
    --bs-dropdown-bg: var(--surface-raised);
    --bs-dropdown-border-color: var(--line);
    min-width: 250px;
    margin-top: 2px !important;
    padding: 10px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transform: translateY(10px);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.dropdown-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.dropdown-item {
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--surface-soft);
    color: var(--brand-blue-dark);
    transform: translateX(4px);
}

.overview-link {
    margin-bottom: 7px;
    border-bottom: 1px solid var(--line);
    color: var(--brand-blue-dark);
    font-weight: 700;
}

.nav-actions,
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-actions {
    margin-left: 32px;
}

.mobile-actions {
    display: none;
}

.theme-toggle,
.navbar-toggler {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-raised);
    color: var(--text);
    transition: color var(--transition), border-color var(--transition), transform var(--transition), background-color var(--transition);
}

.theme-toggle:hover,
.navbar-toggler:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue-dark);
    transform: rotate(8deg);
}

.navbar-toggler .ti {
    font-size: 26px;
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-105%);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover::before {
    transform: translateX(0);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-small);
}

.button span,
.button .ti {
    position: relative;
    z-index: 1;
}

.button .ti {
    font-size: 19px;
    transition: transform var(--transition);
}

.button:hover .ti {
    transform: translate(3px, -3px);
}

.button-primary,
.button-header {
    background: #087eb9;
    color: #ffffff;
}

.button-primary:hover,
.button-header:hover {
    background: #066a9d;
    color: #ffffff;
}

.button-header {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 12px;
}

.button-accent {
    background: var(--brand-gold);
    color: #10283a;
}

.button-accent:hover {
    background: #ffc84e;
    color: #10283a;
}

.button-outline {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.button-outline:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue-dark);
}

.button-ghost-light {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.button-ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.section {
    padding: 112px 0;
}

.section-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--brand-blue-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.5;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 410px);
    align-items: end;
    gap: 60px;
    margin-bottom: 52px;
}

.section-heading h2 {
    max-width: 760px;
}

.section-heading > p {
    margin: 0 0 4px;
    font-size: 16px;
}

.motion-ready .section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms), transform 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

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

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 108px;
    background: var(--navy);
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(450px, 0.92fr);
    align-items: center;
    gap: 80px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-shape-one {
    top: -280px;
    right: -180px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(89, 193, 242, 0.18);
}

.hero-shape-two {
    bottom: -230px;
    left: -180px;
    width: 460px;
    height: 460px;
    background: rgba(11, 143, 211, 0.08);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 28px;
    color: #b9d5e5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.hero-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-gold);
}

.hero-copy {
    animation: hero-copy-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy h1 {
    margin-bottom: 32px;
    color: #ffffff;
    font-weight: 700;
}

.hero-copy h1 em {
    color: #73cbf4;
    font-style: normal;
}

.hero-copy > p {
    max-width: 590px;
    color: #c0d4df;
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 46px;
    color: #bad1df;
    font-size: 12px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hero-trust .ti {
    color: #73cbf4;
    font-size: 20px;
}

.hero-media {
    position: relative;
    animation: hero-media-in 1000ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-image-wrap {
    height: 570px;
    overflow: hidden;
    border-radius: 160px 20px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 25, 40, 0.58));
    pointer-events: none;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-media:hover .hero-image-wrap img {
    transform: scale(1.04);
}

.hero-stat {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 19px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(6, 29, 48, 0.87);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.hero-stat strong {
    color: var(--brand-gold);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 30px;
}

.hero-stat span {
    font-size: 11px;
    line-height: 1.35;
}

.hero-stat .ti {
    color: #73cbf4;
    font-size: 30px;
}

.hero-stat-top {
    top: 42px;
    left: -55px;
}

.hero-stat-bottom {
    right: -28px;
    bottom: 38px;
}

@keyframes hero-copy-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-media-in {
    from { opacity: 0; transform: translateX(35px); }
    to { opacity: 1; transform: translateX(0); }
}

.intro-band {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.intro-band-grid {
    display: grid;
    grid-template-columns: 180px 1fr 58px;
    align-items: center;
    gap: 48px;
    padding-top: 43px;
    padding-bottom: 43px;
}

.intro-band .section-kicker,
.intro-band p {
    margin: 0;
}

.intro-band p {
    max-width: 830px;
    color: var(--text);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 600;
    line-height: 1.5;
}

.circle-link {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--brand-blue-dark);
    transition: transform var(--transition), color var(--transition), background var(--transition);
}

.circle-link:hover {
    background: var(--brand-blue);
    color: #ffffff;
    transform: rotate(45deg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 44% 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--surface-raised);
    box-shadow: 0 1px 0 rgba(8, 42, 67, 0.02);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    border-color: color-mix(in srgb, var(--brand-blue) 50%, var(--line));
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.service-card-image {
    position: relative;
    min-height: 330px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-image img {
    transform: scale(1.07);
}

.service-card-image > span {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 52px;
    padding: 8px 14px;
    background: var(--surface-raised);
    color: var(--text);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 18px;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
}

.service-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand-blue) 13%, transparent);
    color: var(--brand-blue-dark);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.55rem;
}

.service-card p {
    font-size: 14px;
}

.arrow-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--brand-blue-dark);
    font-size: 13px;
    font-weight: 700;
}

.arrow-link .ti {
    font-size: 20px;
    transition: transform var(--transition);
}

.arrow-link:hover .ti {
    transform: translate(4px, -4px);
}

.story-section {
    background: var(--surface-soft);
}

.story-grid,
.projects-preview-grid,
.service-intro-grid,
.about-grid,
.narrative-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 90px;
}

.story-image,
.service-intro-image,
.projects-preview-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.story-image {
    height: 560px;
    border-radius: 20px 160px 20px 20px;
}

.story-image img,
.service-intro-image img,
.projects-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-image:hover img,
.service-intro-image:hover img,
.projects-preview-image:hover img {
    transform: scale(1.045);
}

.story-image > span,
.service-intro-image > span,
.projects-preview-image > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 18px 24px;
    background: rgba(6, 29, 48, 0.88);
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
}

.story-copy h2,
.projects-preview-copy h2,
.service-intro-copy h2 {
    margin-bottom: 28px;
}

.story-copy > p,
.projects-preview-copy > p,
.service-intro-copy > p {
    font-size: 17px;
}

.story-points {
    display: grid;
    gap: 13px;
    margin: 30px 0 35px;
}

.story-points span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 14px;
}

.story-points .ti {
    color: var(--brand-blue-dark);
    font-size: 18px;
}

.sectors-preview {
    overflow: hidden;
}

.sector-pill-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sector-pill {
    display: flex;
    min-height: 100px;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-raised);
    color: var(--text);
    transition: color var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.sector-pill > .ti:first-child {
    color: var(--brand-blue-dark);
}

.sector-pill > .ti:last-child {
    margin-left: auto;
    font-size: 18px;
}

.sector-pill span {
    font-size: 14px;
    font-weight: 600;
}

.sector-pill:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-small);
    transform: translateY(-4px);
}

.projects-preview {
    padding-top: 0;
}

.projects-preview-image {
    height: 480px;
}

.projects-preview-image > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 98px 0 88px;
    background: var(--navy);
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::before {
    top: -280px;
    right: -130px;
    width: 590px;
    height: 590px;
    border: 1px solid rgba(89, 193, 242, 0.16);
}

.page-hero::after {
    right: 120px;
    bottom: -230px;
    width: 390px;
    height: 390px;
    background: rgba(11, 143, 211, 0.08);
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: end;
    gap: 80px;
}

.page-hero .section-kicker {
    color: #77ccf3;
}

.page-hero h1 {
    margin-bottom: 30px;
    color: #ffffff;
    font-size: clamp(3rem, 5.2vw, 5.6rem);
    animation: hero-copy-in 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #bdd1dd;
    font-size: 18px;
}

.page-hero-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: rgba(115, 203, 244, 0.70);
    animation: hero-media-in 950ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-mark .ti {
    font-size: 140px;
}

.page-hero-mark span {
    color: #95b7ca;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.process-section,
.capability-section,
.company-values {
    border-block: 1px solid var(--line);
    background: var(--surface-soft);
}

.process-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.process-card,
.value-card,
.capability-card,
.reason-card,
.sector-card {
    height: 100%;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.process-card:hover,
.value-card:hover,
.capability-card:hover,
.reason-card:hover,
.sector-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-small);
    transform: translateY(-6px);
}

.process-card > span,
.capability-card > span,
.reason-number,
.sector-card > span {
    display: block;
    margin-bottom: 38px;
    color: var(--brand-blue-dark);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 600;
}

.process-card h3,
.capability-card h3,
.reason-card h3 {
    margin-bottom: 14px;
}

.process-card p,
.capability-card p,
.reason-card p,
.sector-card p,
.value-card p {
    margin: 0;
    font-size: 14px;
}

.service-intro-grid {
    align-items: center;
}

.service-intro-image {
    height: 600px;
    border-radius: 20px 150px 20px 20px;
}

.lead-copy {
    color: var(--text);
    font-size: 19px !important;
    line-height: 1.8;
}

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

.related-services {
    padding-top: 84px;
}

.related-services h2 {
    margin-bottom: 38px;
}

.related-service-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--line);
}

.related-service-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 25px 22px;
    color: var(--text);
    transition: background-color var(--transition), color var(--transition);
}

.related-service-links a + a {
    border-left: 1px solid var(--line);
}

.related-service-links a .ti:first-child {
    color: var(--brand-blue-dark);
}

.related-service-links a .ti:last-child {
    margin-left: auto;
    font-size: 18px;
}

.related-service-links a:hover {
    background: var(--surface-soft);
    color: var(--brand-blue-dark);
}

.about-grid {
    align-items: center;
}

.about-collage {
    position: relative;
    min-height: 610px;
}

.about-collage img {
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-collage-main {
    width: 78%;
    height: 540px;
    margin-left: auto;
    border-radius: 130px 20px 20px 20px;
}

.about-collage-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 47%;
    height: 265px;
    border: 8px solid var(--page);
    border-radius: 18px;
}

.value-card > .ti {
    margin-bottom: 32px;
    color: var(--brand-blue-dark);
    font-size: 38px;
}

.value-card h3 {
    margin-bottom: 14px;
    font-size: 1.8rem;
}

.narrative-grid {
    align-items: start;
}

.narrative-sticky {
    position: sticky;
    top: 150px;
}

.narrative-copy > p {
    font-size: 17px;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 42px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.location-card > .ti {
    color: var(--brand-orange);
    font-size: 36px;
}

.location-card span,
.location-card strong {
    display: block;
}

.location-card span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.13em;
}

.location-card strong {
    color: var(--text);
    font-size: 17px;
}

.purpose-section {
    background: var(--surface-soft);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.purpose-card {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    padding: 52px;
    border-radius: 24px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-small);
}

.purpose-card > .ti {
    margin-bottom: 60px;
    color: var(--brand-blue-dark);
    font-size: 56px;
}

.purpose-card h2 {
    margin-bottom: 25px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.purpose-card p {
    font-size: 16px;
}

.purpose-number {
    position: absolute;
    top: 30px;
    right: 34px;
    color: color-mix(in srgb, var(--text) 12%, transparent);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 80px;
    font-weight: 700;
}

.mission-card {
    background: var(--navy);
}

.mission-card h2,
.mission-card .section-kicker {
    color: #ffffff;
}

.mission-card p {
    color: #bed2df;
}

.mission-card > .ti {
    color: #73cbf4;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.reason-card {
    grid-column: span 2;
    min-height: 330px;
}

.reason-card:nth-last-child(2) {
    grid-column: 2 / span 2;
}

.reason-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-blue) 13%, transparent);
    color: var(--brand-blue-dark);
}

.reason-number {
    float: right;
    margin: -70px 0 0;
    color: color-mix(in srgb, var(--text) 17%, transparent);
}

.sector-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.sector-card {
    grid-column: span 2;
    scroll-margin-top: 145px;
}

.sector-card:nth-last-child(1) {
    grid-column: 3 / span 2;
}

.sector-card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--brand-blue) 13%, transparent);
    color: var(--brand-blue-dark);
}

.sector-card > span {
    float: right;
    margin-top: -69px;
    color: color-mix(in srgb, var(--text) 18%, transparent);
}

.sector-card h2 {
    margin-bottom: 17px;
    font-size: 1.55rem;
}

.project-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.project-toolbar > p {
    max-width: 380px;
    margin: 0;
    font-size: 13px;
    text-align: right;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-filter {
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-raised);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.project-filter:hover,
.project-filter.active {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    grid-column: span 4;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    transition: opacity 300ms ease, transform var(--transition), box-shadow var(--transition);
}

.project-card:nth-child(1),
.project-card:nth-child(6) {
    grid-column: span 8;
}

.project-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.project-card[hidden] {
    display: none;
}

.project-card > button {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: var(--surface-soft);
}

.project-card:nth-child(1) > button,
.project-card:nth-child(6) > button {
    height: 420px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6, 29, 48, 0.26);
    color: #ffffff;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-overlay .ti {
    font-size: 38px;
    transform: scale(0.8);
    transition: transform var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-overlay .ti {
    transform: scale(1);
}

.project-meta {
    padding: 22px 24px 25px;
}

.project-meta > span {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-blue-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.project-meta h2 {
    font-size: 1.35rem;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 16px;
    padding: 70px;
    background: rgba(3, 15, 25, 0.94);
    backdrop-filter: blur(14px);
    animation: gallery-in 240ms ease both;
}

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal figure {
    display: grid;
    height: min(78vh, 780px);
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
}

.gallery-modal figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-modal figcaption {
    padding-top: 17px;
    color: #ffffff;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 17px;
    text-align: center;
}

.gallery-nav,
.gallery-close {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background var(--transition), transform var(--transition);
}

.gallery-nav:hover,
.gallery-close:hover {
    background: var(--brand-blue);
    transform: scale(1.07);
}

.gallery-close {
    position: absolute;
    top: 24px;
    right: 28px;
}

@keyframes gallery-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-grid {
    align-items: start;
}

.contact-details h2 {
    margin-bottom: 24px;
}

.contact-details > p {
    font-size: 16px;
}

.contact-details > a,
.contact-details > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    transition: color var(--transition), padding-left var(--transition);
}

.contact-details > div {
    grid-template-columns: 30px minmax(0, 1fr);
}

.contact-details > a:hover {
    padding-left: 8px;
    color: var(--brand-blue-dark);
}

.contact-details > a > .ti:first-child,
.contact-details > div > .ti {
    color: var(--brand-blue-dark);
}

.contact-details small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.contact-details span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.enquiry-form {
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-raised);
    box-shadow: var(--shadow);
}

.form-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 27px;
    border-bottom: 1px solid var(--line);
}

.form-number {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-blue) 13%, transparent);
    color: var(--brand-blue-dark);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-weight: 700;
}

.form-intro h2 {
    margin-bottom: 3px;
    font-size: 1.7rem;
}

.form-intro p {
    margin: 0;
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 50px;
    border-color: var(--line);
    border-radius: 9px;
    background-color: var(--page);
    color: var(--text);
    font-size: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    background-color: var(--page);
    color: var(--text);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-blue) 14%, transparent);
}

textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

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

.form-note,
.form-status {
    margin: 15px 0 0;
    font-size: 12px;
}

.form-status:empty {
    display: none;
}

.contact-cta {
    padding: 0 0 80px;
}

.contact-cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
    padding: 60px;
    border-radius: 24px;
    background: var(--navy);
}

.contact-cta-panel::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -250px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(89, 193, 242, 0.20);
    border-radius: 50%;
}

.contact-cta-panel > * {
    position: relative;
    z-index: 1;
}

.contact-cta-panel .section-kicker {
    color: #77ccf3;
}

.contact-cta-panel h2 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.contact-cta-panel p {
    margin: 0;
    color: #bad0dd;
}

.contact-cta-panel > .button {
    flex: 0 0 auto;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr;
    gap: 64px;
    padding: 72px 0 58px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
    padding: 9px;
    border-radius: 7px;
    background: #ffffff;
}

.footer-logo img {
    width: 148px;
    height: auto;
}

.footer-brand-column > p {
    max-width: 360px;
    font-size: 14px;
}

.profile-download {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-blue-dark);
    font-size: 13px;
    font-weight: 700;
}

.profile-download .ti {
    font-size: 19px;
}

.footer-grid h2 {
    margin: 9px 0 24px;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.footer-links a {
    display: block;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 13px;
    transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
    color: var(--brand-blue-dark);
    transform: translateX(4px);
}

.footer-contact > a,
.footer-contact > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}

.footer-contact > a:hover {
    color: var(--brand-blue-dark);
}

.footer-contact .ti {
    margin-top: 4px;
    color: var(--brand-blue-dark);
    font-size: 17px;
}

.footer-contact span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 23px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

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

.footer-bottom a:hover {
    color: var(--brand-blue-dark);
}

.footer-bottom .ti {
    margin-left: 6px;
    font-size: 15px;
}

@media (max-width: 1199.98px) {
    .navbar {
        min-height: 94px;
    }

    .navbar-brand img {
        width: 100px;
        height: 74px;
    }

    .mobile-actions {
        display: flex;
    }

    .desktop-theme {
        display: none;
    }

    .navbar-collapse {
        max-height: calc(100dvh - 130px);
        overflow-y: auto;
        margin-top: 7px;
        padding: 22px 0 28px;
        border-top: 1px solid var(--line);
    }

    .navbar-nav {
        align-items: stretch;
        gap: 2px;
    }

    .navbar .nav-link {
        padding: 13px 5px !important;
        font-size: 16px;
    }

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

    .dropdown-menu {
        margin: 0 0 8px !important;
        box-shadow: none;
        transform: none;
        opacity: 1;
    }

    .nav-actions {
        margin: 20px 0 0;
    }

    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
        gap: 50px;
    }

    .hero-image-wrap {
        height: 510px;
    }

    .hero-stat-top {
        left: -20px;
    }

    .hero-stat-bottom {
        right: -10px;
    }

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

    .service-card-image {
        min-height: 270px;
    }

    .sector-pill-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .reason-card,
    .sector-card {
        grid-column: span 3;
    }

    .reason-card:nth-last-child(2),
    .sector-card:nth-last-child(1) {
        grid-column: span 3;
    }
}

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

    .home-hero {
        padding: 70px 0 88px;
    }

    .home-hero-grid,
    .story-grid,
    .projects-preview-grid,
    .service-intro-grid,
    .about-grid,
    .narrative-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

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

    .hero-media {
        width: min(100%, 720px);
        margin-inline: auto;
    }

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

    .section-heading > p {
        max-width: 640px;
    }

    .intro-band-grid {
        grid-template-columns: 140px 1fr 54px;
        gap: 28px;
    }

    .story-image,
    .service-intro-image {
        height: 500px;
    }

    .story-copy,
    .service-intro-copy,
    .projects-preview-copy {
        max-width: 720px;
    }

    .page-hero-grid {
        grid-template-columns: 1fr 180px;
        gap: 45px;
    }

    .page-hero-mark .ti {
        font-size: 105px;
    }

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

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

    .related-service-links a + a {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .narrative-sticky {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 46px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

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

    .utility-links {
        display: none;
    }

    .utility-inner {
        justify-content: center;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: clamp(2.75rem, 13vw, 4.4rem);
    }

    .hero-copy > p,
    .page-hero p {
        font-size: 16px;
    }

    .hero-image-wrap {
        height: 430px;
        border-radius: 100px 18px 18px 18px;
    }

    .hero-stat-top {
        top: 20px;
        left: -7px;
    }

    .hero-stat-bottom {
        right: -7px;
        bottom: 20px;
    }

    .intro-band-grid {
        grid-template-columns: 1fr 52px;
    }

    .intro-band .section-kicker {
        grid-column: 1 / -1;
    }

    .service-grid,
    .process-grid,
    .value-grid,
    .purpose-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 40% 1fr;
    }

    .service-card-image {
        min-height: 340px;
    }

    .service-card-body {
        padding: 25px;
    }

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

    .page-hero {
        padding: 70px 0 65px;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-mark {
        display: none;
    }

    .about-collage {
        min-height: 520px;
    }

    .about-collage-main {
        height: 450px;
    }

    .reason-grid,
    .sector-card-grid {
        grid-template-columns: 1fr;
    }

    .reason-card,
    .reason-card:nth-last-child(2),
    .sector-card,
    .sector-card:nth-last-child(1) {
        grid-column: auto;
    }

    .project-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-toolbar > p {
        text-align: left;
    }

    .project-card,
    .project-card:nth-child(1),
    .project-card:nth-child(6) {
        grid-column: span 6;
    }

    .project-card > button,
    .project-card:nth-child(1) > button,
    .project-card:nth-child(6) > button {
        height: 290px;
    }

    .gallery-modal {
        grid-template-columns: 45px minmax(0, 1fr) 45px;
        gap: 6px;
        padding: 55px 10px 24px;
    }

    .gallery-nav,
    .gallery-close {
        width: 42px;
        height: 42px;
    }

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

    .form-field-full {
        grid-column: auto;
    }

    .contact-cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 42px;
    }

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

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

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

@media (max-width: 575.98px) {
    .container {
        width: min(100% - 32px, 1280px);
    }

    .navbar {
        min-height: 86px;
    }

    .navbar-brand img {
        width: 88px;
        height: 66px;
    }

    .theme-toggle,
    .navbar-toggler {
        width: 42px;
        height: 42px;
    }

    .home-hero {
        padding: 55px 0 78px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-trust {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-image-wrap {
        height: 350px;
    }

    .hero-stat {
        position: relative;
        inset: auto;
        display: inline-flex;
        margin-top: 12px;
        margin-right: 8px;
        padding: 12px 15px;
    }

    .intro-band-grid {
        grid-template-columns: 1fr;
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .circle-link {
        width: 48px;
        height: 48px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

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

    .service-card-image {
        min-height: 235px;
    }

    .story-image,
    .service-intro-image,
    .projects-preview-image {
        height: 350px;
        border-radius: 16px 70px 16px 16px;
    }

    .sector-pill-grid {
        grid-template-columns: 1fr;
    }

    .purpose-card {
        min-height: 0;
        padding: 31px;
    }

    .purpose-card > .ti {
        margin-bottom: 42px;
    }

    .purpose-number {
        font-size: 60px;
    }

    .about-collage {
        min-height: 420px;
    }

    .about-collage-main {
        width: 87%;
        height: 360px;
        border-radius: 80px 16px 16px 16px;
    }

    .about-collage-small {
        width: 52%;
        height: 190px;
    }

    .process-card,
    .value-card,
    .capability-card,
    .reason-card,
    .sector-card {
        padding: 27px;
    }

    .project-card,
    .project-card:nth-child(1),
    .project-card:nth-child(6) {
        grid-column: 1 / -1;
    }

    .project-card > button,
    .project-card:nth-child(1) > button,
    .project-card:nth-child(6) > button {
        height: 270px;
    }

    .project-filters {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .enquiry-form {
        padding: 25px;
        border-radius: 16px;
    }

    .contact-cta {
        padding-bottom: 54px;
    }

    .contact-cta-panel {
        padding: 30px;
        border-radius: 17px;
    }

    .contact-cta-panel > .button {
        width: 100%;
    }

    .footer-grid {
        gap: 36px 24px;
        padding: 50px 0 42px;
    }
}

/* Shared navigation states and interaction polish. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 4px;
}
.navbar-nav { gap: 5px; }
.navbar .nav-link {
    padding: 12px 14px !important;
    border-radius: 10px;
    font-weight: 700;
    transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.navbar .nav-link::before {
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}
.navbar .nav-link:hover, .navbar .nav-link:focus-visible, .navbar .nav-link.show {
    background: var(--surface-soft);
    color: var(--brand-blue-dark);
}
.navbar .nav-link.active {
    background: color-mix(in srgb, var(--brand-blue) 11%, var(--surface));
    color: var(--brand-blue-dark);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-blue) 18%, transparent);
}
.navbar .nav-link:active { transform: translateY(1px); }
.navbar .nav-link:focus-visible::before, .navbar .nav-link.show::before { transform: scaleX(1); }
.dropdown-toggle::after {
    border: 0;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    vertical-align: .2em;
    transition: transform 240ms ease;
}
.dropdown-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.dropdown-item { white-space: normal; }
.dropdown-item.active, .dropdown-item.active:hover, .dropdown-item[aria-current="page"] {
    color: var(--brand-blue-dark);
    background: color-mix(in srgb, var(--brand-blue) 12%, var(--surface));
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--brand-blue);
}
.dropdown-menu { border-top: 3px solid var(--brand-blue); }
@media (min-width: 1200px) {
    .navbar-brand { margin-right: 26px; }
    .navbar .dropdown-menu {
        display: block;
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        top: 100%;
        transform: translateY(12px) scale(.98);
        transform-origin: top left;
        transition: opacity 220ms ease, transform 280ms cubic-bezier(.22,1,.36,1), visibility 220ms;
    }
    .navbar .dropdown-menu.show {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    .navbar { transition: min-height 300ms ease; }
    .site-header.is-scrolled .navbar { min-height: 88px; }
}
@media (max-width: 1199.98px) {
    .navbar .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px !important; }
    .navbar-nav { gap: 5px; }
    .dropdown-menu.show { animation: menu-enter 220ms ease both; }
}
@keyframes menu-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.footer-bottom { flex-wrap: wrap; gap: 12px 24px; }
.developer-credit a { color: var(--text); font-weight: 600; }
.developer-credit .ti { display: inline-block; transition: transform var(--transition); }
.developer-credit a:hover .ti { transform: translate(2px,-2px); }
.footer-bottom a { text-underline-offset: 5px; transition: color var(--transition); }
.footer-bottom a:hover { text-decoration: underline; }
.value-card, .capability-card, .contact-detail, .sector-card {
    transition: translate 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .value-card:hover, .capability-card:hover, .contact-detail:hover, .sector-card:hover {
        translate: 0 -5px;
        border-color: var(--brand-blue);
        box-shadow: var(--shadow-small);
    }
}
.button:active, .project-filter:active, .theme-toggle:active { transform: scale(.97); }
.form-control, .form-select { transition: border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease; }
.project-card:not([hidden]) { animation: project-enter 450ms ease both; }
@keyframes project-enter { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.gallery-modal:not([hidden]) { animation: menu-enter 240ms ease both; }

/* Compact typography, quiet navigation, and coordinated surface colors. */
:root {
    --page: #fffefa;
    --surface: #ffffff;
    --surface-soft: #edf5f6;
    --line: #dce7e8;
    --text: #16333e;
    --muted: #59707a;
}
[data-bs-theme="dark"] {
    --page: #0b1b22;
    --surface: #112830;
    --surface-soft: #142f36;
    --line: #2b464d;
    --text: #edf6f6;
    --muted: #abc1c6;
}
body { font-size: 15px; line-height: 1.75; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4.75rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
.section { padding-block: 72px; }
.section-kicker { font-size: 11px; letter-spacing: .14em; }
.section-heading > p, .lead-copy { font-size: 16px; }
.page-hero {
    padding: 44px 0 42px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
}
.page-hero-grid { grid-template-columns: minmax(0,1fr) 160px; align-items: center; gap: 40px; }
.page-hero h1 { margin-bottom: 14px; color: var(--text); font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.16; }
.page-hero p { max-width: 700px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.page-hero .section-kicker { color: var(--brand-blue-dark); margin-bottom: 12px; }
.page-hero-mark { gap: 12px; color: var(--brand-blue-dark); }
.page-hero-mark .ti { font-size: 48px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 24px; background: color-mix(in srgb, currentColor 10%, transparent); }
.page-hero-mark span { color: var(--muted); font-size: 9px; }
.page-hero::before { border-color: var(--line); }
.page-hero::after { background: color-mix(in srgb, var(--brand-green) 7%, transparent); }
.home-hero { padding-block: 62px; }
.home-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); }
.home-hero .hero-image-wrap { height: 440px; }
.process-section, .company-values { background: color-mix(in srgb, #cba65d 7%, var(--page)); }
.capability-section, .story-section { background: var(--surface-soft); }
main > .section:nth-of-type(even):not(.purpose-section):not(.process-section):not(.company-values) { background: color-mix(in srgb, var(--brand-blue) 3%, var(--page)); }
.service-card, .value-card, .reason-card, .capability-card, .sector-card { background: var(--surface); }
/* Each decorative icon uses a translucent tint of its own foreground. */
.service-card-icon, .reason-icon, .sector-card-icon,
.value-card > .ti, .location-card > .ti, .purpose-card > .ti,
.contact-details > a > .ti:first-child, .contact-details > div > .ti,
.story-points .ti, .footer-contact .ti {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 14px;
    color: var(--brand-blue-dark);
    background: color-mix(in srgb, currentColor 11%, transparent);
    font-size: 24px;
    transition: background-color 250ms ease, transform 250ms ease;
}
.value-card:nth-child(3n+2) > .ti, .sector-card:nth-child(3n+2) .sector-card-icon, .service-card:nth-child(3n+2) .service-card-icon { color: #b75b23; }
.value-card:nth-child(3n) > .ti, .sector-card:nth-child(3n) .sector-card-icon, .service-card:nth-child(3n) .service-card-icon { color: #27836e; }
[data-bs-theme="dark"] .value-card:nth-child(3n+2) > .ti,
[data-bs-theme="dark"] .sector-card:nth-child(3n+2) .sector-card-icon,
[data-bs-theme="dark"] .service-card:nth-child(3n+2) .service-card-icon { color: #f4ad78; }
[data-bs-theme="dark"] .value-card:nth-child(3n) > .ti,
[data-bs-theme="dark"] .sector-card:nth-child(3n) .sector-card-icon,
[data-bs-theme="dark"] .service-card:nth-child(3n) .service-card-icon { color: #7ad3b4; }
.purpose-card > .ti { width: 64px; height: 64px; font-size: 32px; }
.mission-card > .ti { color: #8dd8f6; }
.story-points .ti { width: 30px; height: 30px; border-radius: 9px; font-size: 17px; }
.contact-details > a { grid-template-columns: 42px minmax(0,1fr) 20px; gap: 12px; }
.contact-details > div { grid-template-columns: 42px minmax(0,1fr); }
.contact-details > a > .ti:first-child, .contact-details > div > .ti { width: 40px; height: 40px; font-size: 20px; }
/* Open, typographic navigation with a single warm accent line. */
.site-header { background: var(--surface); backdrop-filter: none; }
.navbar, .site-header.is-scrolled .navbar { min-height: 86px; }
.navbar-brand img { width: 94px; height: 66px; }
.navbar-nav { gap: 22px; }
.navbar .nav-link { padding: 18px 0 !important; border-radius: 0; font-size: 13px; font-weight: 600; letter-spacing: .01em; box-shadow: none; }
.navbar .nav-link:hover, .navbar .nav-link:focus-visible, .navbar .nav-link.show, .navbar .nav-link.active { background: transparent; box-shadow: none; color: var(--brand-blue-dark); }
.navbar .nav-link::before { left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 0; background: var(--brand-orange); }
.navbar .nav-link.active { font-weight: 700; }
.nav-actions { padding-left: 22px; margin-left: 28px; border-left: 1px solid var(--line); }
.button-header { border-radius: 6px; padding: 12px 18px; }
.dropdown-menu { min-width: 270px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 45px #082a4320; }
.dropdown-item { padding: 12px 14px; border-radius: 4px; font-size: 13px; }
.dropdown-item.active, .dropdown-item.active:hover, .dropdown-item[aria-current="page"] { box-shadow: inset 2px 0 var(--brand-orange); background: var(--surface-soft); }
.utility-bar { background: #10323b; }
/* Deep teal footer with an editorial opening and separated contact column. */
.site-footer {
    --text: #f0f7f6; --muted: #b6cdcf; --line: #30515a; --brand-blue-dark: #91d8e7;
    background: #102f38; color: var(--muted); border-top: 0;
}
.footer-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 42px 0 32px; border-bottom: 1px solid var(--line); }
.footer-intro .section-kicker { color: #92d1be; margin-bottom: 10px; }
.footer-intro h2 { color: var(--text); font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.footer-enquiry { display: inline-flex; align-items: center; gap: 16px; color: var(--text); font-weight: 600; white-space: nowrap; }
.footer-enquiry .ti { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: background-color 250ms ease, transform 250ms ease; }
.footer-enquiry:hover { color: #91d8e7; }
.footer-enquiry:hover .ti { background: #234b56; transform: rotate(45deg); }
.footer-grid { grid-template-columns: 1.2fr .8fr .9fr 1.35fr; gap: 36px; padding: 40px 0; }
.footer-logo { padding: 6px; margin-bottom: 18px; }
.footer-logo img { width: 104px; }
.footer-brand-column > p { color: var(--muted); font-size: 13px; }
.footer-grid h2 { color: var(--text); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 20px; }
.footer-contact { border-left: 1px solid var(--line); padding-left: 24px; }
.footer-contact .ti { margin-top: 0; width: 30px; height: 30px; border-radius: 8px; font-size: 16px; }
.footer-contact > a, .footer-contact > span { align-items: center; }
.footer-bottom { font-size: 11px; padding-block: 20px; }
.footer-bottom .developer-credit a { color: #e4f1f1; }
.contact-cta { padding-block: 48px; background: var(--page); }
.contact-cta-panel { background: #164651; padding: 36px 42px; border-radius: 12px; }
.contact-cta-panel h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
@media (max-width: 1199.98px) {
    .navbar-nav { gap: 0; }
    .navbar .nav-link { padding: 13px 8px !important; border-bottom: 1px solid var(--line); }
    .navbar .nav-link.active { border-left: 3px solid var(--brand-orange); padding-left: 13px !important; }
    .nav-actions { border-left: 0; padding-left: 0; margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { border-left: 0; padding-left: 0; }
}
@media (max-width: 767.98px) {
    body { font-size: 14px; }
    .section { padding-block: 48px; }
    .page-hero { padding-block: 30px; }
    .page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
    .page-hero h1 { font-size: 30px; margin-bottom: 12px; }
    .page-hero p { font-size: 14px; }
    .page-hero-mark { display: none; }
    .home-hero { padding-block: 38px; }
    .home-hero h1 { font-size: 38px; }
    .home-hero .hero-image-wrap { height: 330px; }
    .navbar, .site-header.is-scrolled .navbar { min-height: 76px; }
    .navbar-brand img { width: 82px; height: 58px; }
    .footer-intro { align-items: flex-start; flex-direction: column; padding-block: 30px; }
    .footer-grid { gap: 28px 20px; }
    .footer-brand-column, .footer-contact { grid-column: 1 / -1; }
    .contact-cta-panel { padding: 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;
    }

    .motion-ready .section-reveal {
        opacity: 1;
        transform: none;
    }
}
