/* =========================================================
   HOME PAGE VARIABLES
========================================================= */

:root {
    --home-navy-deep: #02172f;
    --home-navy: #032d5c;
    --home-blue: #075eae;
    --home-blue-bright: #0b8fe0;
    --home-cyan: #24b7f2;
    --home-red: #e31b2f;
    --home-red-dark: #7f0e1a;
    --home-white: #ffffff;
    --home-bg: #f5f9fd;
    --home-bg-blue: #eef7ff;
    --home-text: #10233f;
    --home-muted: #61748b;
    --home-border: #dbe7f2;
    --home-container: 1420px;
    --home-radius: 18px;
    --home-shadow: 0 18px 50px rgba(2,31,70,.10);
}

/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--home-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.home-container {
    width: min(calc(100% - 64px), var(--home-container));
    margin-inline: auto;
}

.home-section {
    position: relative;
    padding: 100px 0;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--home-blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-eyebrow::before {
    width: 26px;
    height: 2px;
    background: currentColor;
    content: "";
}

.home-title {
    max-width: 820px;
    margin: 0;
    color: var(--home-navy-deep);
    font-size: clamp(2.1rem,4vw,4rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: .99;
}

.home-intro {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.home-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: linear-gradient(135deg,var(--home-blue),var(--home-blue-bright));
    color: #fff;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(5,105,190,.24);
}

.home-button--outline {
    border-color: rgba(255,255,255,.55);
    background: rgba(1,20,48,.28);
    backdrop-filter: blur(7px);
}

.home-button--light {
    border-color: var(--home-border);
    background: #fff;
    color: var(--home-navy);
}

.home-arrow {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   HERO — FLUSH UNDER THE HEADER
========================================================= */

.home-hero {
    position: relative;
    display: flex;
    min-height: 730px;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    color: #fff;
    background-color: var(--home-navy-deep);
    background-image:
        linear-gradient(90deg,rgba(2,18,43,.99) 0%,rgba(2,31,70,.95) 25%,rgba(4,55,108,.72) 45%,rgba(4,55,108,.24) 66%,rgba(2,18,43,.04) 100%),
        linear-gradient(0deg,rgba(2,19,45,.88) 0%,rgba(2,19,45,.16) 32%,transparent 58%),
        url('/img/home-hero.jpg');
    background-position: center,center,center right;
    background-size: cover,cover,auto 100%;
    background-repeat: no-repeat;
}

.home-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 160px;
    background: linear-gradient(0deg,rgba(2,23,47,.70),transparent);
    content: "";
    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: min(760px,58%);
    padding: 80px 0 110px;
}

.home-hero__eyebrow {
    margin: 0 0 22px;
    color: #8ddfff;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(3.2rem,6vw,6.2rem);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .88;
    text-transform: uppercase;
}

.home-hero h1 span {
    display: block;
    color: #36c5ff;
}

.home-hero__lead {
    max-width: 640px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(1rem,1.4vw,1.25rem);
    line-height: 1.65;
}

/* Red highlight for key service terms inside the hero lead */
.home-hero__lead .home-hero__lead-accent {
    color: var(--home-red);
    font-weight: 800;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.home-hero__proof {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 34px;
    left: 0;
}

.home-hero__proof-inner {
    display: flex;
    width: min(calc(100% - 64px),var(--home-container));
    margin-inline: auto;
    gap: 0;
}

.home-proof {
    display: flex;
    min-width: 180px;
    align-items: center;
    gap: 11px;
    padding: 12px 25px;
    border-right: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.88);
    font-size: .74rem;
    font-weight: 650;
}

.home-proof:first-child {
    padding-left: 0;
}

.home-proof:last-child {
    border-right: 0;
}

.home-proof__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(74,205,255,.55);
    border-radius: 50%;
    color: #3bc8ff;
}

/* =========================================================
   ECOSYSTEM
========================================================= */

.home-ecosystem {
    overflow: hidden;
    background: linear-gradient(180deg,#fff 0%,#f4f9fe 100%);
}

.home-ecosystem__grid {
    display: grid;
    grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
    align-items: center;
    gap: 70px;
}

.home-ecosystem__copy {
    position: relative;
    z-index: 2;
}

.home-ecosystem__title {
    max-width: 580px;
}

.home-ecosystem__statement {
    margin: 27px 0 0;
    color: var(--home-muted);
    font-size: 1.04rem;
    line-height: 1.78;
}

.home-ecosystem__actions {
    margin-top: 30px;
}

.home-ecosystem__visual {
    position: relative;
}

.home-ecosystem__visual::before {
    position: absolute;
    z-index: 0;
    top: -15%;
    right: -15%;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: rgba(36,183,242,.13);
    filter: blur(60px);
    content: "";
}

.home-ecosystem__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
}

/* =========================================================
   SERVICES
========================================================= */

.home-services {
    background: #fff;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 46px;
}

.home-section-heading__link {
    flex: 0 0 auto;
    color: var(--home-blue);
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
}

.home-section-heading__link:hover {
    text-decoration: underline;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
}

.home-service-card {
    position: relative;
    min-height: 350px;
    padding: 29px 27px 65px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: linear-gradient(145deg,#fff,#f8fbff);
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.home-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11,143,224,.35);
    box-shadow: 0 18px 42px rgba(3,50,100,.10);
}

.home-service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.home-service-card__number {
    color: #a9c9e8;
    font-size: 1.25rem;
    font-weight: 850;
}

.home-service-card__icon {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    border-radius: 11px;
    background: #eaf6ff;
    color: var(--home-blue-bright);
}

.home-service-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-service-card h3 {
    margin: 28px 0 13px;
    color: var(--home-navy-deep);
    font-size: 1.03rem;
    line-height: 1.28;
}

.home-service-card p {
    margin: 0;
    color: var(--home-muted);
    font-size: .86rem;
    line-height: 1.62;
}

.home-service-card__link {
    position: absolute;
    right: 27px;
    bottom: 25px;
    left: 27px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--home-blue);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

/* =========================================================
   LIFECYCLE
========================================================= */

.home-lifecycle {
    overflow: hidden;
    background: var(--home-bg);
}

.home-lifecycle__top {
    display: grid;
    grid-template-columns: .62fr 1.38fr;
    align-items: center;
    gap: 58px;
}

.home-lifecycle__image {
    display: block;
    width: 100%;
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
}

.home-process {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    margin-top: 52px;
    border-top: 1px solid #cfe0ef;
    border-bottom: 1px solid #cfe0ef;
}

.home-process__step {
    position: relative;
    padding: 24px 8px 22px;
    text-align: center;
}

.home-process__step:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -7px;
    color: #75bce8;
    content: "→";
    transform: translateY(-50%);
}

.home-process__number {
    display: block;
    color: var(--home-blue-bright);
    font-size: .68rem;
    font-weight: 850;
}

.home-process__title {
    display: block;
    margin-top: 5px;
    color: var(--home-navy-deep);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* =========================================================
   INDUSTRIES
========================================================= */

.home-industries {
    background: #fff;
}

.home-industries__statement {
    max-width: 950px;
}

.home-industries__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 15px;
    margin-top: 48px;
}

.home-industry {
    position: relative;
    min-height: 170px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: linear-gradient(145deg,#f8fbff,#eef7ff);
    transition: transform .2s ease,background .2s ease;
}

.home-industry:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg,#eef8ff,#e1f2ff);
}

.home-industry__number {
    color: #9dbcd9;
    font-size: .72rem;
    font-weight: 800;
}

.home-industry h3 {
    margin: 50px 0 0;
    color: var(--home-navy-deep);
    font-size: 1.2rem;
}

.home-industry::after {
    position: absolute;
    right: -25px;
    bottom: -50px;
    width: 125px;
    height: 125px;
    border: 1px solid rgba(11,143,224,.18);
    border-radius: 50%;
    content: "";
}

/* =========================================================
   OUR WORK — COMPACT PORTFOLIO INDEX
========================================================= */
.home-work {
    padding: 76px 0;
    background: var(--home-navy-deep);
    color: #fff;
}
.home-work .home-eyebrow { color: #55ceff; }
.home-work .home-title { color: #fff; }
.home-work__intro { max-width: 680px; margin-top: 18px; color: rgba(255,255,255,.67); }
.home-projects { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.15); }
.home-project {
    display: grid;
    grid-template-columns: 65px .72fr 1.28fr 38px;
    align-items: center;
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
    transition: background .18s ease,padding .18s ease;
}
.home-project:hover { padding-inline: 14px; background: rgba(255,255,255,.035); }
.home-project__number { color: #35c5ff; font-size: 1.35rem; font-weight: 850; }
.home-project__category { margin: 0 0 4px; color: #62d3ff; font-size: .61rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-project h3 { margin: 0; font-size: 1.08rem; }
.home-project__description { margin: 0; color: rgba(255,255,255,.65); font-size: .80rem; line-height: 1.48; }
.home-project__capabilities { margin-top: 5px; color: rgba(255,255,255,.90); font-size: .67rem; font-weight: 650; }
.home-project__arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; }

/* =========================================================
   TRANSFORMATION
========================================================= */

.home-transformation {
    background: #fff;
}

.home-transformation__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 65px;
}

.home-transformation__image {
    display: block;
    width: 100%;
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
}

.home-transform-list {
    display: grid;
    gap: 0;
    margin: 35px 0 0;
    padding: 0;
    list-style: none;
}

.home-transform-list li {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--home-border);
    font-size: .83rem;
}

.home-transform-list__old {
    color: #8797a9;
}

.home-transform-list__arrow {
    color: var(--home-red);
    font-weight: 800;
    text-align: center;
}

.home-transform-list__new {
    color: var(--home-blue);
    font-weight: 750;
}

/* =========================================================
   SECURITY
========================================================= */

.home-security {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    color: #fff;
    background:
        radial-gradient(circle at 90% 50%,rgba(205,16,37,.22),transparent 31%),
        linear-gradient(110deg,#090d17 0%,#061a30 62%,#16070d 100%);
    border-top: 1px solid rgba(255,49,72,.26);
    border-bottom: 1px solid rgba(255,49,72,.22);
}

.home-security::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--home-red);
    content: "";
}

.home-security__grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: center;
    gap: 65px;
}

.home-security__eyebrow {
    color: #ff5263;
}

.home-security h2 {
    max-width: 560px;
    margin: 0;
    font-size: clamp(2.3rem,4.5vw,4.6rem);
    letter-spacing: -.05em;
    line-height: .95;
}

.home-security h2 span {
    color: #ff334a;
}

.home-security__lead {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.68);
    line-height: 1.7;
}

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

.home-security-card {
    min-height: 190px;
    padding: 25px;
    border: 1px solid rgba(255,69,88,.22);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.home-security-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,57,78,.4);
    border-radius: 8px;
    color: #ff4055;
}

.home-security-card h3 {
    margin: 20px 0 8px;
    font-size: .94rem;
}

.home-security-card p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: .79rem;
    line-height: 1.55;
}

/* =========================================================
   INTERNATIONAL
========================================================= */
.home-international {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    color: #fff;
    background: radial-gradient(circle at 12% 50%,rgba(11,143,224,.18),transparent 35%),linear-gradient(135deg,#02172f 0%,#032d5c 100%);
}
.home-international__grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; gap: 70px; }
.home-international__content { max-width: 630px; }
.home-international .home-eyebrow { color: #62d3ff; }
.home-international h2 { margin: 0; font-size: clamp(2.6rem,5vw,5rem); letter-spacing: -.055em; line-height: .94; }
.home-international p { max-width: 560px; margin: 25px 0 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.75; }
.home-markets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.home-market { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.88); font-size: .71rem; font-weight: 700; }
.home-international__visual { position: relative; isolation: isolate; }
.home-international__visual::before { position: absolute; z-index: -1; inset: 10% -8% -10% 15%; border-radius: 50%; background: rgba(36,183,242,.16); filter: blur(60px); content: ""; }
.home-international__image-frame { position: relative; overflow: hidden; border: 1px solid rgba(98,211,255,.22); border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.30); }
.home-international__image-frame::after { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(2,23,47,.25),transparent 28%),linear-gradient(0deg,rgba(2,23,47,.20),transparent 35%); content: ""; pointer-events: none; }
.home-international__image { display: block; width: 100%; height: auto; transition: transform .7s ease; }
.home-international__image-frame:hover .home-international__image { transform: scale(1.025); }

/* =========================================================
   FINAL CTA
========================================================= */
.home-final {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background: radial-gradient(circle at 12% 45%,rgba(36,183,242,.11),transparent 30%),linear-gradient(135deg,#f4f9fe 0%,#fff 58%,#eef7ff 100%);
}
.home-final__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: 75px; }
.home-final__visual { position: relative; padding: 20px 0 20px 20px; }
.home-final__visual::before { position: absolute; top: 0; bottom: 0; left: 0; width: 42%; border-radius: 22px; background: linear-gradient(180deg,var(--home-blue-bright),var(--home-navy)); content: ""; }
.home-final__visual::after { position: absolute; right: -18px; bottom: -18px; width: 135px; height: 135px; border: 1px solid rgba(11,143,224,.22); border-radius: 50%; box-shadow: 0 0 0 20px rgba(11,143,224,.05),0 0 0 40px rgba(11,143,224,.025); content: ""; }
.home-final__image-frame { position: relative; z-index: 1; overflow: hidden; border-radius: 20px; box-shadow: 0 30px 70px rgba(2,31,70,.20); }
.home-final__image-frame::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.28); border-radius: inherit; background: linear-gradient(135deg,rgba(7,94,174,.08),transparent 42%); content: ""; pointer-events: none; }
.home-final__image { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.home-final__visual:hover .home-final__image { transform: scale(1.025); }
.home-final__content { width: 100%; max-width: 620px; }
.home-final__content p { margin: 25px 0 0; color: var(--home-muted); line-height: 1.75; }
.home-final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }


/* =========================================================
   REFINEMENT — CONTROLLED RED ACCENTS + INTERNATIONAL BLEND
========================================================= */
.home-eyebrow--red { color: var(--home-red); }
.home-services .home-eyebrow::before,
.home-industries .home-eyebrow::before { background: linear-gradient(90deg,var(--home-red),var(--home-blue-bright)); }
.home-service-card:nth-child(4n+2)::before,
.home-industry:nth-child(4n+3)::before {
    position: absolute;
    top: 0;
    left: 24px;
    width: 38px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--home-red);
    content: "";
}
.home-service-card:nth-child(4n+2) .home-service-card__number,
.home-industry:nth-child(4n+3) .home-industry__number { color: #cf5260; }
.home-work::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent 0%,var(--home-red) 18%,transparent 42%);
    content: "";
}
.home-work { position: relative; }
.home-international {
    background:
        radial-gradient(circle at 8% 45%,rgba(11,143,224,.22),transparent 32%),
        radial-gradient(circle at 95% 14%,rgba(227,27,47,.10),transparent 22%),
        linear-gradient(120deg,#02172f 0%,#032d5c 48%,#032a55 100%);
}
.home-international__grid { gap: 0; }
.home-international__content {
    position: relative;
    z-index: 3;
    padding: 28px 58px 28px 0;
}
.home-international__content::after {
    position: absolute;
    z-index: -1;
    top: -50px;
    right: -145px;
    bottom: -50px;
    width: 270px;
    background: linear-gradient(90deg,rgba(3,45,92,.96) 0%,rgba(3,45,92,.74) 35%,rgba(3,45,92,0) 100%);
    content: "";
    pointer-events: none;
}
.home-international .home-eyebrow::before {
    background: linear-gradient(90deg,var(--home-red),#62d3ff);
}
.home-international__visual {
    margin-left: -30px;
}
.home-international__image-frame {
    border: 0;
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.home-international__image-frame::before {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 32%;
    background: linear-gradient(90deg,#032d5c 0%,rgba(3,45,92,.78) 22%,rgba(3,45,92,.28) 62%,transparent 100%);
    content: "";
    pointer-events: none;
}
.home-international__image-frame::after {
    z-index: 1;
    background:
        linear-gradient(90deg,rgba(2,23,47,.32),transparent 42%),
        linear-gradient(0deg,rgba(2,23,47,.28),transparent 38%),
        linear-gradient(180deg,rgba(227,27,47,.055),transparent 26%);
}
.home-market:nth-child(2),
.home-market:nth-child(5) {
    border-color: rgba(255,82,99,.42);
}
.home-final .home-eyebrow::before { background: linear-gradient(90deg,var(--home-red),var(--home-blue-bright)); }
.home-final__visual::after {
    border-color: rgba(227,27,47,.28);
    box-shadow: 0 0 0 20px rgba(11,143,224,.05),0 0 0 40px rgba(227,27,47,.025);
}
.home-final__image-frame::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg,var(--home-blue-bright),var(--home-red));
    content: "";
}
@media (max-width: 900px) {
    .home-international__grid { gap: 34px; }
    .home-international__content { padding: 0; }
    .home-international__content::after { display: none; }
    .home-international__visual { margin-left: 0; }
    .home-international__image-frame::before {
        inset: 0 0 auto 0;
        width: 100%;
        height: 28%;
        background: linear-gradient(180deg,rgba(3,45,92,.58),transparent);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1180px) {
    .home-services__grid,.home-industries__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-lifecycle__top { grid-template-columns: .75fr 1.25fr; }
    .home-process { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .home-process__step:nth-child(4)::after { display: none; }
}
@media (max-width: 900px) {
    .home-container { width: calc(100% - 36px); }
    .home-section { padding: 75px 0; }
    .home-hero {
        min-height: 760px;
        align-items: flex-end;
        background-color: var(--home-navy-deep);
        background-image: linear-gradient(0deg,rgba(2,18,43,.99) 0%,rgba(2,27,61,.96) 37%,rgba(2,27,61,.55) 65%,rgba(2,27,61,.10) 100%),url('/img/home-hero-mobile.jpg');
        background-position: center,center top;
        background-size: cover,100% auto;
        background-repeat: no-repeat;
    }
    .home-hero__content { width: 100%; padding: 290px 0 150px; }
    .home-hero h1 { font-size: clamp(3rem,10vw,5.4rem); }
    .home-hero__proof-inner { width: calc(100% - 36px); }
    .home-proof { min-width: 0; flex: 1; padding-inline: 14px; }
    .home-ecosystem__grid,.home-lifecycle__top,.home-transformation__grid,.home-security__grid,.home-international__grid,.home-final__grid { grid-template-columns: 1fr; }
    .home-ecosystem__grid,.home-lifecycle__top,.home-transformation__grid { gap: 42px; }
    .home-ecosystem__copy { order: 1; }
    .home-ecosystem__visual { order: 2; }
    .home-project { grid-template-columns: 55px 1fr auto; }
    .home-project__body,.home-project__description-wrap { grid-column: 2; }
    .home-project__arrow { grid-column: 3; grid-row: 1 / span 2; }
    .home-security__grid { gap: 42px; }
    .home-international { padding: 75px 0; }
    .home-international__grid { gap: 42px; }
    .home-international__content { max-width: none; }
    .home-final { padding: 75px 0; }
    .home-final__grid { gap: 48px; }
    .home-final__visual { padding: 16px 0 16px 16px; }
    .home-final__content { max-width: none; }
}
@media (max-width: 650px) {
    .home-container { width: calc(100% - 28px); }
    .home-section { padding: 62px 0; }
    .home-title { font-size: clamp(2rem,9vw,3rem); }
    .home-intro { font-size: .95rem; }
    .home-section-heading { display: block; margin-bottom: 32px; }
    .home-section-heading__link { display: inline-block; margin-top: 18px; }
    .home-hero { min-height: 720px; }
    .home-hero__content { padding: 260px 0 145px; }
    .home-hero__eyebrow { font-size: .64rem; line-height: 1.6; }
    .home-hero h1 { font-size: clamp(2.65rem,13vw,4.2rem); }
    .home-hero__lead { margin-top: 20px; font-size: .95rem; }
    .home-hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 25px; }
    .home-button { width: 100%; }
    .home-hero__proof { bottom: 20px; }
    .home-hero__proof-inner { width: calc(100% - 28px); }
    .home-proof { justify-content: center; padding: 8px 6px; border-right: 0; font-size: .62rem; text-align: center; }
    .home-proof__icon { display: none; }
    .home-services__grid,.home-industries__grid,.home-security__cards { grid-template-columns: 1fr; }
    .home-service-card { min-height: 280px; }
    .home-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-process__step:nth-child(even)::after,.home-process__step:nth-child(4)::after { display: none; }
    .home-work { padding: 58px 0; }
    .home-projects { margin-top: 28px; }
    .home-project { grid-template-columns: 38px 1fr; gap: 11px; padding: 15px 0; }
    .home-project__number { font-size: 1.05rem; }
    .home-project__body,.home-project__description-wrap { grid-column: 2; }
    .home-project__description { font-size: .76rem; }
    .home-project__arrow { display: none; }
    .home-transform-list li { grid-template-columns: 1fr 25px 1fr; font-size: .76rem; }
    .home-security { padding: 70px 0; }
    .home-security h2 { font-size: 2.65rem; }
    .home-international { padding: 62px 0; }
    .home-international h2 { font-size: 2.8rem; }
    .home-international__grid { gap: 34px; }
    .home-international__image-frame { border-radius: 15px; }
    .home-final { padding: 62px 0 68px; }
    .home-final__grid { gap: 40px; }
    .home-final__visual { padding: 12px 0 12px 12px; }
    .home-final__visual::after { width: 90px; height: 90px; right: -8px; bottom: -8px; }
    .home-final__image-frame { border-radius: 15px; }
    .home-final__actions { display: grid; grid-template-columns: 1fr; }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* =========================================================
   HERO SECTION DIRECTORY — TRANSPARENT HORIZONTAL MENU
   Only the menu is changed; hero dimensions and image remain intact.
========================================================= */
.home-hero > .home-container {
    display: block;
}
.home-hero__content {
    width: min(760px, 58%);
    min-width: 0;
}
.home-hero__directory {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(calc(100% - 64px), var(--home-container));
    margin: 0 auto;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.home-hero__directory-title {
    flex: 0 0 auto;
    margin: 0;
    padding-left: 12px;
    border-left: 1px solid var(--home-red);
    color: #8ddfff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.home-hero__directory-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-hero__directory-list li,
.home-hero__directory-list li + li {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.home-hero__directory-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: .73rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease;
}
.home-hero__directory-list a::before {
    content: "";
    width: 9px;
    height: 2px;
    flex: 0 0 9px;
    border-radius: 2px;
    background: var(--home-red);
}
.home-hero__directory-list a:hover,
.home-hero__directory-list a:focus-visible { color: #8ddfff; }
.home-hero__directory-list a:focus-visible { outline: 2px solid #8ddfff; outline-offset: 3px; }
.home-section[id], .home-security[id], .home-international[id], .home-final[id] { scroll-margin-top: 100px; }
@media (max-width: 900px) {
    .home-hero__content { width: 100%; padding: 290px 0 150px; }
    .home-hero__directory { width: calc(100% - 36px); gap: 10px; }
    .home-hero__directory-title { font-size: .68rem; }
    .home-hero__directory-list { flex-wrap: nowrap; overflow-x: auto; gap: 16px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
    .home-hero__directory-list li { flex: 0 0 auto; }
}
@media (max-width: 650px) {
    .home-hero__content { padding: 260px 0 145px; }
    .home-hero__directory { width: calc(100% - 28px); display: block; padding-top: 10px; }
    .home-hero__directory-title { margin-bottom: 7px; }
    .home-hero__directory-list a { font-size: .71rem; }
}