
:root {
    --navy: #061b31;
    --navy-2: #0d2b4a;
    --red: #e51f2a;
    --blue: #1d7fbd;
    --purple: #80449b;
    --ink: #0f1c2c;
    --muted: #5a6876;
    --soft: #f5f7f8;
    --line: #dfe5ea;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img { max-width: 100%; }

.container {
    width: min(1200px, calc(100% - 42px));
    margin: 0 auto;
}

/* smaller nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    min-height: 95.90625px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

/* Frame only the blank margins in the supplied 450 x 415 logo.
   The original artwork stays intact and scales proportionally. */
.logo-frame {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    overflow: hidden;
    background: white;
    flex: 0 0 auto;
}

.logo-frame img {
    position: absolute;
    width: 163.6364%;
    max-width: none;
    height: auto;
    left: -31.8182%;
    top: -53.0909%;
    display: block;
}

.brand-tagline {
    display: flex;
    flex-direction: column;
    padding-left: 17px;
    border-left: 1px solid #b7c0c8;
    min-width: 205px;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 800;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}

.main-nav a:not(.partner-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -18px;
    height: 2px;
    background: var(--red);
    transition: right .2s ease;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--red);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    right: 0;
}

.partner-btn {
    margin-left: 8px;
    padding: 12px 16px;
    background: var(--red);
    color: white !important;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--navy);
    color: white;
    font-size: 20px;
}

/* homepage hero */
.hero,
.page-hero,
.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
}

.hero::before,
.page-hero::before,
.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero);
    background-size: cover;
    background-position: center;
}

.hero-overlay,
.page-hero-overlay,
.contact-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(3,17,31,.94) 0%,
        rgba(3,17,31,.82) 31%,
        rgba(3,17,31,.26) 64%,
        rgba(3,17,31,.12) 100%
    );
}

.hero-brand-arcs {
    position: absolute;
    top: -95px;
    right: -120px;
    width: 360px;
    height: 510px;
    border-radius: 50%;
    border: 28px solid var(--blue);
    border-left-color: transparent;
    transform: rotate(6deg);
    opacity: .96;
}

.hero-brand-arcs::before,
.hero-brand-arcs::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 26px solid var(--red);
    border-left-color: transparent;
}

.hero-brand-arcs::after {
    inset: 58px;
    border-color: var(--purple);
    border-left-color: transparent;
}

.hero-inner {
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 45px 0;
}

.hero-copy {
    max-width: 520px;
    color: white;
}

.eyebrow-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.eyebrow-line {
    width: 36px;
    height: 2px;
    background: var(--red);
}

.hero-small {
    margin-top: 4px;
    color: #fff;
    font-size: 13px;
}

.hero h1 {
    margin: 12px 0 8px;
    color: white;
    font-size: clamp(45px, 4.7vw, 68px);
    line-height: .99;
    letter-spacing: -.04em;
}

.hero h1 strong {
    display: block;
    color: var(--red);
}

.short-line {
    width: 50px;
    height: 3px;
    margin: 14px 0;
    background: var(--red);
}

.hero p {
    max-width: 470px;
    color: #e7eef4;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}

.btn.red {
    background: var(--red);
    color: white;
}

.btn.outline {
    border: 1px solid rgba(255,255,255,.72);
    color: white;
}

/* feature strip */
.feature-strip {
    background: var(--navy);
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    min-height: 105px;
    align-items: center;
    padding: 16px 22px;
    border-right: 1px solid rgba(255,255,255,.18);
}

.feature-grid article:last-child {
    border-right: 0;
}

.icon-badge {
    font-size: 27px;
    color: var(--red);
}

.feature-grid h3 {
    margin: 0;
    color: white;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.35;
}

.feature-grid p {
    margin: 5px 0 0;
    color: #cad7e2;
    font-size: 12px;
    line-height: 1.45;
}

/* homepage content */
.home-content {
    padding: 18px 0 14px;
    background: white;
}

.home-grid {
    display: grid;
    grid-template-columns: .68fr 1.32fr;
    gap: 28px;
    align-items: stretch;
}

.who-panel {
    position: relative;
    min-height: 230px;
    padding: 16px 20px 14px 75px;
    border-right: 1px solid var(--line);
}

.namibia-map {
    position: absolute;
    left: 0;
    top: 10px;
    width: 60px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dce2e7;
    font-size: 10px;
    writing-mode: vertical-rl;
    border: 2px dotted #dfe4e8;
    border-radius: 48%;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.section-kicker span {
    width: 32px;
    height: 2px;
    background: var(--red);
}

.who-panel h2 {
    margin: 9px 0 10px;
    font-size: 28px;
    line-height: 1.07;
}

.who-panel p {
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--red);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
}

.sector-showcase {
    padding: 16px 0 0;
}

.sector-mini-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.mini-card {
    min-height: 182px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #d8e0e6;
    border-radius: 4px;
    background-image:
        linear-gradient(180deg, rgba(3,17,31,.04), rgba(3,17,31,.88)),
        var(--img);
    background-size: cover, var(--image-size, cover);
    background-position: var(--focus, center);
}

.mini-card span {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 7px;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

/* Namibia banner */
.namibia-banner {
    position: relative;
    isolation: isolate;
    min-height: 160px;
    overflow: hidden;
    background-image: var(--bg);
    background-size: cover;
    background-position: center 55%;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(3,17,31,.78), rgba(3,17,31,.30), rgba(3,17,31,.72));
}

.banner-grid {
    min-height: 160px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 32px;
}

.banner-message {
    color: white;
}

.banner-kicker {
    font-size: 12px;
    font-weight: 900;
}

.banner-message h2 {
    margin: 5px 0 0;
    color: white;
    font-size: 29px;
    line-height: 1.05;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: white;
}

.stats-grid article {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    border-left: 2px solid var(--red);
    text-align: center;
}

.stats-grid strong {
    font-size: 19px;
}

.stats-grid span {
    margin-top: 4px;
    text-transform: uppercase;
    font-size: 10px;
}

/* inner pages */
.page-hero-copy {
    min-height: 330px;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;
}

.page-kicker {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.page-hero h1,
.contact-hero h1 {
    margin: 12px 0 16px;
    color: white;
    font-size: clamp(42px, 4.8vw, 66px);
    line-height: 1.03;
}

.page-hero h1 strong,
.contact-hero h1 strong {
    color: var(--red);
}

.page-hero p,
.contact-hero p {
    color: #e6eef4;
    font-size: 16px;
}

.compact-strip .feature-grid article {
    min-height: 92px;
}

.content-section {
    padding: 64px 0;
}

.split-content {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 45px;
    align-items: start;
}

.copy-block h2 {
    margin: 10px 0 16px;
    font-size: 38px;
    line-height: 1.08;
}

.copy-block p {
    color: var(--muted);
}

.copy-block .lead {
    color: #273d52;
    font-size: 18px;
    font-weight: 700;
}

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.image-card {
    overflow: hidden;
    background: var(--navy);
    color: white;
}

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

.image-card div {
    padding: 16px;
}

.image-card h3 {
    margin: 0;
    font-size: 17px;
}

.image-card p {
    margin: 6px 0 0;
    color: #cbd8e2;
    font-size: 13px;
}

.vision-mission {
    padding: 38px 0;
    background: var(--soft);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vm-card {
    padding: 24px;
    background: white;
    border-top: 4px solid var(--purple);
}

.vm-card span,
.value-copy span,
.contact-info-grid article > span {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.vm-card h3 {
    font-size: 22px;
}

.vm-card p {
    color: var(--muted);
}

/* services */
.services-section,
.sectors-section,
.contact-info-section {
    padding: 60px 0;
    background: var(--soft);
}

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

.service-card {
    min-height: 220px;
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
}

.service-number {
    color: #d7dde3;
    font-size: 34px;
    font-weight: 900;
}

.service-card h3 {
    margin: 7px 0 10px;
    font-size: 18px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.service-value-section {
    padding: 62px 0;
    background: var(--navy);
    color: white;
}

.value-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

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

.value-copy h2 {
    margin: 12px 0 15px;
    font-size: 38px;
    line-height: 1.08;
}

.value-copy p {
    color: #c9d7e2;
}

/* sectors */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sector-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
}

.sector-image {
    height: 210px;
    background-image: var(--img);
    background-size: cover;
    background-position: var(--focus, center);
}

.emerging-sector .sector-image {
    background:
        radial-gradient(circle at 70% 20%, rgba(229,31,42,.5), transparent 40%),
        linear-gradient(145deg, var(--purple), var(--navy));
}

.sector-card h3 {
    margin: 16px 18px 8px;
    font-size: 19px;
}

.sector-card p {
    margin: 0 18px 20px;
    color: var(--muted);
    font-size: 14px;
}

/* contact */
.contact-layout {
    min-height: 570px;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 50px;
    align-items: center;
    padding: 46px 0;
}

.contact-copy {
    color: white;
}

.contact-form {
    padding: 26px;
    background: rgba(4,18,33,.96);
    color: white;
    border-radius: 8px;
}

.contact-form h2 {
    margin: 0;
    font-size: 25px;
}

.contact-form p {
    color: #c9d6e1;
    font-size: 14px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 10px;
    padding: 12px 13px;
    color: white;
    background: rgba(255,255,255,.05);
    border: 1px solid #718297;
    font: inherit;
}

.contact-form option {
    color: #111;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    border: 0;
    background: var(--red);
    color: white;
    text-transform: uppercase;
    font-weight: 900;
}

.form-status {
    min-height: 18px;
    color: #82c4e8 !important;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-info-grid article {
    padding: 22px;
    background: white;
    border-top: 4px solid var(--blue);
}

.contact-info-grid h3 {
    font-size: 19px;
}

.contact-info-grid p {
    color: var(--muted);
}

.small-note {
    font-size: 13px;
}

/* footer */
.site-footer {
    padding: 48px 0 20px;
    background: #04121f;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr .5fr;
    gap: 38px;
}

.footer-brand .logo-frame {
    width: 96px;
    height: 96px;
}

.footer-brand p {
    color: #c4d0da;
}

.footer-grid h4 {
    color: #68b9e5;
    text-transform: uppercase;
    font-size: 12px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-grid a,
.footer-grid span {
    color: #c2cdd7;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #8696a6;
    font-size: 11px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease;
}

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

@media (max-width: 1080px) {
    .brand-tagline {
        display: none;
    }

    .main-nav {
        gap: 18px;
    }

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

    .home-grid,
    .split-content,
    .value-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .who-panel {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 22px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        padding: 24px 0;
    }

    .stats-grid {
        max-width: 700px;
    }

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

@media (max-width: 800px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 22px;
        background: white;
        box-shadow: 0 18px 32px rgba(0,0,0,.12);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 4px;
    }

    .main-nav a:not(.partner-btn)::after {
        display: none;
    }

    .partner-btn {
        margin: 7px 0 0;
        text-align: center;
    }

    .feature-grid,
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-brand-arcs {
        display: none;
    }

    .image-pair,
    .vm-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .hero h1,
    .page-hero h1,
    .contact-hero h1 {
        font-size: 42px;
    }

    .feature-grid,
    .services-grid,
    .sectors-grid,
    .contact-info-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .who-panel {
        padding-left: 0;
    }

    .namibia-map {
        display: none;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* =========================================================
   Services page image-card redesign
   Matches the approved Redesign 1 direction more closely.
   ========================================================= */

.redesign-service-cards {
    padding-top: 56px;
    padding-bottom: 56px;
}

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

.image-service-card {
    min-height: 260px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(6, 27, 49, 0.06);
}

.image-service-card .service-copy {
    position: relative;
    z-index: 2;
    padding: 26px 18px 24px 24px;
    background: #ffffff;
}

.image-service-card .service-number {
    margin-bottom: 10px;
    color: #d7dde3;
    font-size: 31px;
    line-height: 1;
}

.image-service-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.18;
}

.image-service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.image-service-card .service-image-wrap {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.image-service-card .service-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.24) 0%,
        rgba(255, 255, 255, 0) 28%
    );
    pointer-events: none;
}

.image-service-card .service-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: block;
    object-fit: cover;
    object-position: var(--focus, center);
    transition: transform 0.35s ease;
}

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

.image-service-card:hover {
    border-color: #cad4dd;
    box-shadow: 0 16px 34px rgba(6, 27, 49, 0.1);
}

@media (max-width: 1080px) {
    .redesign-service-cards .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .redesign-service-cards .services-grid {
        grid-template-columns: 1fr;
    }

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

    .image-service-card .service-image-wrap {
        min-height: 220px;
        clip-path: none;
        order: -1;
    }

    .image-service-card .service-image-wrap img {
        min-height: 220px;
    }
}

/* Compact attribution for the licensed hydrogen photograph. */
.photo-credit {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.photo-credit a { color: inherit; text-underline-offset: 2px; }

/* Keep the sharp offshore subject to the right of the hero copy. */
.hero::before {
    left: 22%;
    background-position: center 45%;
    mask-image: linear-gradient(90deg, transparent, black 22%);
}
.page-hero-overlay {
    background: linear-gradient(90deg, rgba(3,17,31,.90), rgba(3,17,31,.78) 55%, rgba(3,17,31,.25));
}
@media (max-width: 800px) {
    .hero::before { left: 0; mask-image: none; }
}

/* Contact options remain legible on narrow screens. */
.contact-email { color: var(--navy-2); font-weight: 700; }
.contact-form a { color: #9bd5f5; }
.contact-email, .footer-grid a { overflow-wrap: anywhere; }
